ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Pichugin <>
Subject (java arg) Problem with full path
Date Tue, 07 Aug 2001 19:02:43 GMT

I'm trying to run xalan with ant1.3

My build.xml is:

<target name="task1" depends="prepare">
   <echo message="[-IN ${tomcat-conf}/jboss.jcml -XSL ${stylesheet} -OUT
   <java classname="org.apache.xalan.xslt.Process">
       <arg line="-IN ${tomcat-conf}/jboss.jcml -XSL ${stylesheet} -OUT
       <classpath refid="xalan-path"/>
   <copy file="${result}" tofile="${jboss-conf}/jboss.jcml"

I've got the following:
     [echo] [-IN /disk1/local/jakarta-tomcat/conf/jboss.jcml -XSL
test.xsl -OUT build/result.xml]

XSLT Error (javax.xml.transform.TransformerException):
/disk1/java/xsl/disk1/local/jakarta-tomcat/conf/jboss.jcml (No such file
or directory)

The message attribute at <echo/> and line attribute at <arg/> are
BUT while running <java/> there are incorrect substitution of
${tomcat-conf} in arg's line.
The  current directory [/disk1/java/xsl] was INCORRECTLY  added before

NOTE: Everything goes fine while I use relative path.

Dmitriy Pichugin

View raw message