-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello :)
I have an ant script like this:
<property name="jdo.lib" value="lib/jdo"/>
<path id="compile.path">
<!-- Does not work with maven -->
<pathelement location="${jdo.lib}/odbfe.jar"/>
<!-- works with maven -->
<pathelement location="lib/jdo/odbfe.jar"/>
</path>
<!-- Persistence enhance classes -->
<target name="persistence-enhancer">
<java classname="com.objectdb.Enhancer" fork="false"
classpathref="compile.path">
<arg value="txn.Account"/>
</java>
</target>
..and a maven script like this:
<goal name="persistence-enhance">
<ant:ant dir="${basedir}" antfile="build.xml"
target="persistence-enhancer"/>
</goal>
When I use "lib/jdo/odbfe.jar" in compile.path it works, but I get a
classnotfound error when using "${jdo.lib}/odbfe.jar". I wonder if this
is a known bug or is it not allowed to use refs when calling an ant
target from maven?
BTW: I am using maven 1.1-beta-2.
Thank you.
- --
Rohnny
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFDKY0/JQxWxLw8G9QRAuwHAJ4hMLXwJrp0oTBX1F08pELiiRSj7QCfWnYS
upJRmP/F29yISoAIKRZFG5Q=
=q9ND
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]