And to elaborate even more, it also happens to ${pom.build.unitTestSourceDirectory}

<target name="compile-tests" depends="compile">
<mkdir dir="${testclassesdir}">
</mkdir>
<javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="/x1/home/mdiggory/jakarta-commons/math/src/test">


Is this something that changed just recently?

-Mark

Mark R. Diggory wrote:

Just to elaborate, it happens on *nix too.

<pathelement location="/x1/home/mdiggory/jakarta-commons/math/src/java"></pathelement>

I have my <sourceDirectory> tag set properly in the POM. It appears that the path is getting turned into an absolute before the template in the ant plugin is run...

-Mark

Mark R. Diggory wrote:

I have a problem with the ant:generate task, it seems to be producing hardcoded paths, when I cut a release this is very problematic.

Is there a configuration option for this?


<SNIP>


<target name="compile" description="o Compile the code" depends="get-deps">
<mkdir dir="${classesdir}">
</mkdir>
<javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="C:\eclipse\workspace\math\src\java">
</pathelement>
</src>
<classpath>


</SNIP>



-- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to