ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject [SOS] Gump build of jakarta-slide - strange file resolution problem
Date Fri, 12 Mar 2004 10:19:10 GMT
Hi,

I have been advising the slide developers (particularly Unico Hommes) 
about changing their build files to make them work better with gump.

I wonder whether there is a *problem* with *FileUtils.resolveFile* 
deciding that

/data3/gump/jdom/build/jdom.jar

is not an absolute path

and should be resolved as :
/data3/gump/jakarta-slide/data3/gump/jdom/build/jdom.jar

when used here :

called basically like ant -D"jdom.jar=/data3/gump/jdom/build/jdom.jar"

called from 



(simplification of build.xml)



<project name="Slide" default="all" basedir=".">

    <property name="lib.dir" value="./lib"/>

    <property name="jdom.jar" value="${lib.dir}/jdom-20040226-.jar"/>

    <target name="all" >

        <ant dir="testsuite"/>

    </target>

</project>


(simplification of testsuite/build.xml)

<project default="all">

  <property name="lib" value="${basedir}/lib" />
  <property name="jdom.jar" value="${basedir}/../lib/jdom-20040226-.jar"/>
  

  <!-- =============================================================== -->
  <target name="all">
    <antcall target="make" />
  </target>


  <!-- =============================================================== -->
  <target name="make" description="builds the tprocessor">
    <copy todir="${lib}" file="${jdom.jar}" overwrite="yes" />
  </target>
  
</project>




Footnotes
[1] http://lsd.student.utwente.nl/gump/jakarta-slide/jakarta-slide.html
[2] http://cvs.apache.org/viewcvs.cgi/jakarta-slide/build.xml?view=markup
[3] 
http://cvs.apache.org/viewcvs.cgi/jakarta-slide/testsuite/build.xml?view=markup


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message