ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Sayk" <s.s...@actosoft.de>
Subject pathconvert don't match dir
Date Tue, 05 Aug 2003 09:00:30 GMT
Hello,<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />



I'm starting with ant, can you please help me? The following build code is
written for

build a classpath relative:





<fileset id="accept-jars" dir="${lib}">

  <include name="**/*.jar"/>

</fileset>



<pathconvert property="accept-classpath"

             refid="accept-jars"

             pathsep=" "

             dirsep="/">

  <map from="${lib}" to="./lib" />

</pathconvert>



<echo message="accept-jars-dir: ${lib}"/>

<echo message="accept-classpath: ${accept-classpath}"/>



I expected this:



[echo] accept-jars-dir: C:/Entwicklung/actosoft/lib

[echo] accept-classpath: ./lib/cast...



but I get this:



[echo] accept-jars-dir: C:/Entwicklung/actosoft/lib

[echo] accept-classpath: C:/Entwicklung/actosoft/lib/cast...



What's wrong :-(



Stefan




Stefan Sayk

E.-Mail:  s.sayk@actosoft.de



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message