nm, I solved my own problem...and I made a typo in the first email...it
wasn't this line that was causing the problem:
<condensity logfile="${basedir}/obfus.log">
...it was:
<libClassPath refid="${maven.dependency.classpath}"/>
...which I realized needed to be:
<libClassPath refid="maven.compile.classpath"/>
-Dave
-----Original Message-----
From: Dave Comeau
Sent: Tuesday, June 13, 2006 4:00 PM
To: Maven list (E-mail)
Subject: Antrun task config problems (Reference
${maven.dependency.classpa th} not found)
I'm stuck with my first real Maven project, which is porting over an
existing ant based build system.
I'm trying to use the Antrun plugin to call an ant script to do my
obfuscation. However, I get the Embedded error:
The following error occurred while executing this line:
C:\build-sandbox\d2e-vision\d2e-vision-engine\obfuscate.build.xml:10:
Reference ${maven.dependency.classpath} not found.
The root cause of the exception is:
Caused by: Reference ${maven.dependency.classpath} not found.
at
org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:110)
at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:468)
at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:476)
at org.apache.tools.ant.types.Path.list(Path.java:292)
at
com.plumbdesign.condensity.ant.CondensityTask.execute(CondensityTask.java:15
3)
... 31 more
The line in question (line 10) of my obfuscate.build.xml is:
<condensity logfile="${basedir}/obfus.log">
Is there an easy way to get around this? I did find this thread:
http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/%3CBEEBLFKF
[EMAIL PROTECTED]
... but it seems like a very awkward solution, especially since I'd have to
write my own ant task to generate the classpath string from a java.util.List
reference :(