ant-dev mailing list archives

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

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


is not an absolute path

and should be resolved as :

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"/>



(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 name="make" description="builds the tprocessor">
    <copy todir="${lib}" file="${jdom.jar}" overwrite="yes" />


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message