-
I have a build.xml, and I am trying to use references so I can re-use my PCTConnection definitions. However, I am seeing different behavior depending on how I set up my PCT taskdef. For reference:
If I do this:
Then, I get this error during the PCTCompile when it tries to reference the PCTConnection:
BUILD FAILED However, if I change to this:
Why is this? The Wiki suggests that the former approach will work, but it clearly isn't working for me. Is there something I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Do you specify the classpath in the |
Beta Was this translation helpful? Give feedback.
Do you specify the classpath in the
<taskdef>
node ? If so, you should switch toant -lib /path/to/pct.jar
, or drop pct.jar in your $ANT_HOME/lib directory. You shouldn't see this problem anymore.