AW: Packaging ant scripts into a jar

2013-01-17 Thread RZF, SG 481
If I read the source of Ants main class [1] I would think, that the buildfile must be a real file on the file system. It cannot be run from the classpath. What do you expect from bundling the buildfile in a jar? A workaround is using a "launcher buildfile" which extracts the content oft he jar

RE: Which javac does ant use in its "javac" task?

2013-01-17 Thread WebServices Development
I do not want to continue to use the below construct because this lists the complete set of jars and the classpath length is going above 14000 characters. Want to shorten it. This is what we are doing at the moment. Ant should accept wildcard classpath because it is supposed to be implemented

RE: Which javac does ant use in its "javac" task?

2013-01-17 Thread WebServices Development
Yes, I have done it and I get the following error. I indicates something is happening in the Javac class in taskdefs. I would like to debug into ant code when running but do not know how to do it. Is it possible to put a breakpoint in ANT source when testing it from RAD / Eclipse? BUILD FAIL

Packaging ant scripts into a jar

2013-01-17 Thread Jose Rojas
Hello, I have an ant build process that I would like bundle into a jar. Is it possible for ant to run a build.xml found within a jar file instead of a file within the local file system? I know I can script Ant within a custom Java program to possibly handle some of this, but I also have special