Re: Gump and Jaxp?
Sam Ruby <[email protected]> Thu, 02 Jan 2003 09:00:33 -0500
| Newsgroups | gmane.comp.jakarta.alexandria.devel |
|---|---|
| Message-ID | <[email protected]> |
Conor MacNeill wrote:
>
> I don't use gen.sh at all. Under JDK 1.4, I just do
>
> ant -Dworkspace=conor.xml
>
> and away it goes. Don't know if this means I am missing something ? :-)
No, it means that you have something extra: a prebuilt version of ant. ;-)
I sure hope that gump's build.xml doesn't ever rely on new features that
are added to ant...
> I've just committed a change to allow the execution of the generated
> publish scripts to be automated too.
>
> So, now I use
>
> ant -Dworkspace=conor.xml exec-scripts
>
> to generate the update and build scripts.
>
> I've tested it on Linux - anyone care to test on Windows?
Works for me on linux, fails on windows. Here's the -verbose output:
exec-scripts:
[exec] Current OS is Windows XP
[exec] Executing 'cmd.exe' with arguments:
[exec] 'puball.bat'
[exec] '../rubypad.xml'
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[exec] 'ubypad.xml' is not recognized as an internal or external
command,
[exec] operable program or batch file.
[exec] Result: 1
This doesn't make any sense to me...
> The property setting code is currently a bit cumbersome, but I am
> working on a change to Ant to make that more elegant (<propertyset>)
... cool! And since I always bootstrap and then use the latest version
of ant, this won't cause me any problems. ;-)
- Sam Ruby