morrijr 02/05/24 09:07:37 Modified: . build.xml Log: user.home != basedir for cygwin Revision Changes Path 1.216 +5 -0 xml-cocoon2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/build.xml,v retrieving revision 1.215 retrieving revision 1.216 diff -u -r1.215 -r1.216 --- build.xml 24 May 2002 13:06:18 -0000 1.215 +++ build.xml 24 May 2002 16:07:37 -0000 1.216 @@ -1813,12 +1813,17 @@ <filter token="JARS" value="${all.jars}"/> </filterset> </copy> + <!-- split the path in 'jar' XML elements --> <replace file="${build.dir}/current-jars.xml" token="${path.separator}" value="</jar>
 <jar>"/> <!-- relativize file names by removing the current directory --> <replace file="${build.dir}/current-jars.xml" token="${user.dir}${file.separator}lib${file.separator}" value=""/> + <!-- and incase that fails, remove the base directory --> + <replace file="${build.dir}/current-jars.xml" + token="${basedir}${file.separator}lib${file.separator}" value=""/> + <!-- replace platform-dependent path separator by '/' --> <replace file="${build.dir}/current-jars.xml" token="${file.separator}" value="/"/>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]