On Tue, Sep 13, 2011 at 2:06 AM, Kristian Waagan <[email protected]> wrote: > On 13.09.11 03:21, [email protected] wrote: >> >> Author: myrnavl >> Date: Tue Sep 13 01:21:14 2011 >> New Revision: 1169998 >> >> URL: http://svn.apache.org/viewvc?rev=1169998&view=rev >> Log: >> DERBY-5287; adjusting executable to ant.bat for my environment > > Would it be an idea to script this, such that 'ant' or 'ant.bat' is chosen > based on the operating system? > > It can be done with some code duplication at least, I'm not sure if it can > be done in a more elegant way as well. > > > -- > Kristian > Yes, it would be good to have this scripted, this should be independent of platform. But - I do not understand why it didn't work; when I run 'ant' from the command line, the OS *knows* it need to run ant.bat, but it failed when it was called from build.xml. Perhaps someone knows the explanation? I can spend some more time on this later and/or will log a separate bug.
Myrna
