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:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 2:59 PM
To: [EMAIL PROTECTED]
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

Reply via email to