ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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" 
>    <classpath>
>      <pathelement path="${targetdir}"/>
>	</classpath>
>    </java>

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">	
        <path refid="libraries"/>
        <pathelement path="${targetdir}"/>


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

View raw message