How to reference Shared Libraries in Ant

2009-06-02 Thread Sarva
The User Library in WTP allows external JARs to be loaded in the project at runtime, this allows reducing the overall WAR files, and reuse the common libraries from many Web Applications, but somehow I cannot get the WAR to reference the Shared Library location here is my ANT file, what do I need

Clarification on definition of "reference"

2009-06-02 Thread Jim Garrison
The ANT docs use the term "reference" in a way that, at least to me, is a little confusing. The term "reference" seems to mean both the act of referring to an object defined elsewhere (as in "refid=...") and also the object being referred to. Are the following correct? 1. A "Property" is a

inheritRefs bug in 1.6.0RC1?

2009-06-02 Thread Jim Garrison
I've inherited a VERY complex ant-based build that is currently running on 1.6.0RC1, and I'm in the process of upgrading ANT to 1.7.1. I've run into some curious behavior that looks like a bug in 1.6, that does not occur in 1.7.1, and the build scripts seem to depend on this anomalous behavior.

Running multiple ant projects from threaded java project

2009-06-02 Thread Cole, Derek E
Hi All. I have a java project that is creating a thread for the purpose of creating and running an ant project in each thread so I can run multiple ant builds at the same time. The java program is using the ant API to set up the project, add a listener, etc. The problem is, if I add a logger to e

Error when attempting to run TestNG tests in ANT

2009-06-02 Thread ted_hankey
Hi, I cannot get TestNG tests to run in ANT. It complains of a "Cannot load class from file: " error. This is the snippet from my ANT build file. Start: TestNG Unit Testing

AW: Taskdef classloader issue

2009-06-02 Thread Knuplesch, Juergen
Hello Martin Thanks for the deep insight and your help! I finally gave up, and used the workaround to put this special jar on the classpath of ANT (instead of the classpath of taskdef). This works, but I do not really understand why. Maybe I will find out after Pentacoast (how do you spell this?