ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Ant didn't include image resource into classpath?
Date Mon, 24 Sep 2007 05:33:32 GMT
>	<target name="run" depends="compile">
>    <java fork="true" classname="view.MyFrame" 
>classpathref="libraries">	
>    <classpath>
>      <pathelement path="${targetdir}"/>
>	</classpath>
>    </java>
></target>


I think you cant combine classpathref with a nested classpath.
Have you tried running with -verbose or -debug? There 'should' be an
error message on that (otherwise we have to implement that ;)

Change the target to

  <target name="run" depends="compile">
    <java fork="true" classname="view.MyFrame">	
      <classpath>
        <path refid="libraries"/>
        <pathelement path="${targetdir}"/>
	</classpath>
    </java>
  </target>


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message