ant.java.version set incorrectly

2010-11-09 Thread Eric Smith
Hi, I am using gcj as my only jdk, so I am limited to using java 1.5. After installing ant-1.8.1, however, I am having problems building packages with ant because ant.java.version is set to 1.6. I have never had a jdk that supports java 1.6 on my system, so why would this be set like that? # a

Apply argument wrapping with msiexec

2010-11-09 Thread Bailey, Darragh
I have the following target in a project Basically the problem appears to be with the TARGETDIR line. If I remove that line, then the msiexec command will run just fine, but will extract the msi contents to the wrong location (C

RE: How to script database upgrade using ANT script

2010-11-09 Thread Ludwig, Michael
> I have tried using the and other examples > from Google but I can't get it to work. Then you should try a little harder, it is not difficult, certainly way less difficult than anything involving JBoss. Start with a minimum script and the Ant manual. You shouldn't need more. Good luck, Michael

RE: How to script database upgrade using ANT script

2010-11-09 Thread Java Jboss
Hi Michael, I have tried using the and other examples from Google but I can't get it to work. I just want the "db-upgrade:" bit to stop when it cant meet the next condition. At the moment it still tries to run the script looking for dir2 and dir3 even though these don't exist at the moment bu

RE: How to script database upgrade using ANT script

2010-11-09 Thread Ludwig, Michael
> having difficulty scripting a > routine to tell it that when a condition is not met it should exit. Look at the docs for to see how to set the property. Michael - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For

Re: How to script database upgrade using ANT script

2010-11-09 Thread Java Jboss
Hi Michael, With my limited ANT knowledge I have got the script to work almost. I have had a look at the link that you sent but having difficulty scripting a routine to tell it that when a condition is not met it should exit. I would really appreciate a soultion for this. I need to get this imp

RE: How to script database upgrade using ANT script

2010-11-09 Thread Ludwig, Michael
I commented on the task: > Note that the first example given in the manual is sort of > stupid, as it is wasteful to call "ls -l" once for each file > in a list of possibly hundreds of files, spawning a new > process each time around. You can have Ant execute the batch all at once by supplying: