ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Prouvost <olivier.prouv...@anyware-tech.com>
Subject Pb when calling the java task with a long line of arguments ?
Date Thu, 08 Mar 2001 14:46:40 GMT

Hi

I try to call xalan directly with the java task. (I know, I should use
the style task, but I need to call xalan1 or xalan2)...

Here is my taks :


<java fork="true" classpath="${myClasspath}" classname="${xalanClass}">
     <arg line="-TT -OUT ${OUT} -IN ${IN} -XSL
file://${wrapideXsl}/${XSL}  ${PARAM}"/>
</java>

In verbose mode, ant write this :

[java] Forking java -classpath ... org.apache.xalan.xslt.Process -TT
-OUT /home/olivier/GestionProjet.aad -IN
file:///home/olivier/GestionProjet.asd
-XSL file:///home/olivier/xslt/asd2aad.xsl -PARAM entity GestionProjet

But it does not work !   Whereas the generated command works well !!
(if I copy the generated command and execute it it works...)....

Is there a limitation for the line argument ? or a special encoding
generated ???

Thanks.

--
--------------------------------------------
  Olivier Prouvost     Anyware Technologies
  Tel : 05 61 00 52 90 Fax : 05 61 00 51 46
  Web : http://www.anyware-tech.com
--------------------------------------------




Mime
View raw message