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
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
> 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
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
> 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
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
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: