AW: setting up jdk from within Ant

2008-09-15 Thread Jan.Materne
You cant really "set" the environman. On some tasks you can set the executable to use (e.g. or ). But I think it would be easier to have a batch file which invokes Ant with the right environment. @echo off set JAVA_HOME=... set ANT_HOME=... set PATH=...some...stan

RE: Re: svn-ant how to get latest revision?

2008-09-15 Thread DW Dennis Wheeler
or you can simply use svnversion -c on your working directory (both before and after an 'svn update' for starting and ending revision numbers to generate changelogs for the build) > -Original Message- > From: Mark Reibert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 20

setting up jdk from within Ant

2008-09-15 Thread Res Pons
Is there any way to set up my jdk environment from within the Ant file? I'm on Windows Vista and build different products with different JDK versions from within a DOS window and would like the build.xml to load the respective jdk. But not sure how Ant can overwrite the system environment. A

RE: ANT Script to do tasks like running tom compile updated source file ...

2008-09-15 Thread Barry Pape
That is not likely to happen. Ant build scripts come in many shapes and sizes and it is very unlikely that someone will have one that will work in your environment. You will want to start with the manual: http://ant.apache.org/manual/index.html, and create your script. Along the way you can post