ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Donie <sdo...@zycor.lgc.com>
Subject RE: <exec executable="javac"> not working on SunOS
Date Thu, 11 Jan 2001 21:48:18 GMT
I think the problem is that you can't use multiple <arg line=...>
statements. These should all be in one line I think,
or as multiple <value=...> statements

Steve 

-----Original Message-----
From: Filip Hanik [mailto:filip@filip.net]
Sent: Thursday, January 11, 2001 2:59 PM
To: ant-user@jakarta.apache.org
Subject: <exec executable="javac"> not working on SunOS


the output into my manual_javac.log file is
"can not read com/filip/swing/*.java"

if I copy the command out into my shell environment, everything works fine.

any ideas why this would happen?
below is the command I run,

<exec dir="${src.dir}"
 executable="javac"
 output="manual_javac.log"
 failonerror="on">
        <arg line="-classpath
${javac.classpath}:${output.dir}:${classpath}"/>
 <arg line="-d ${output.dir}"/>
 <arg line="${src.dir}/com/filip/swing/*.java"/>
 <arg line="${src.dir}/com/filip/swing/applet/*.java"/>
 <arg line="${src.dir}/com/filip/swing/cache/*.java"/>
 <arg line="${src.dir}/com/filip/swing/field/*.java"/>
 <arg line="${src.dir}/com/filip/swing/model/*.java"/>
 <arg line="${src.dir}/com/filip/swing/renderer/*.java"/>
 <arg line="${src.dir}/com/filip/swing/test/*.java"/>
 <arg line="${src.dir}/com/filip/swing/util/*.java"/>
</exec>

thanks in advance
Filip

Mime
View raw message