RE: Running ANT as a Windows Service

2005-03-26 Thread Ninju Bohra
Cool.. it worked Thanx, "Burgess, Benjamin" <[EMAIL PROTECTED]> wrote: If you have successfully set up java as a service then don't use the batch file. Start ant directly from java. From the manual: http://ant.apache.org/manual/running.html#viajava Hope this helps, Ben Burgess TIAA-CREF -Ori

set Path id/reference in cutom task?

2005-03-26 Thread Doklovic, Jonathan
Hi. I'm creating a custom task where I need to create a path and then set it's id so it can be used as a reference via the build.xml I've tried doing something like: Path myPath = new Path(antProject, path); antProject.setReference("my.compilePath",myPath); but when I try to reference my.comp

Forcing the classpath

2005-03-26 Thread Steve McIntosh
I am attempting to find a way to force the contents of the classpath passed to javac. To put that another way, I would like to remove the ability for a user on my network to pass any classpath to javac other than the one I (the administrator) specify. Ideally, a user could write a build.xml which