ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mastrorillo Laurence <>
Subject problem executing subproject with ant task
Date Tue, 23 Jul 2002 12:46:53 GMT
Hi All,
using ant since 2 days, i have problem executing subproject with ant
Here is my main build file :
    <target name="compile">
        <ant dir="${MF_OPER}" target="compile" />
    <target name="execute" depends="compile">
        <ant dir="${MF_OPER}" target="execute"/>

and the subproject build file :
<target name="compile" depends="clean">
    <javac srcdir="${src}" destdir="${build}" deprecation="true" />
  <!-- execution du programme -->
  <target name="execute" depends="compile">
    <java classname="${prog}" fork="true">
      <arg value="${filesToRead}" />
         <pathelement location="${build}"/>
         <pathelement path="${classpath}"/>
         <pathelement path="${additional.path}"/>

    Here 's what i got in return :
            [java] Java Result : 255

    Note that "compile" works fine, and if i execute the subproject
independently, it works to.
    Can anyone help?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message