ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: how to get one class file into classpath in ant?
Date Wed, 09 Nov 2005 14:47:21 GMT
>        <target name="runsanscp" depends="compile" description="runusingjar">
>                <java classname="Main">
>                        <classpath>
>                                <dirset dir="${bin}/src">
>                                        <include name="Main.class" />
>                                </dirset>
>                        </classpath>
>                </java>
>        </target>
> anybody got a clue?

I'm afraid you don't understand what a Java classpath is. Please do
some reading on it. Just like you do list individual programs in a
PATH, you don't list individual classes in a CLASSPATH. --DD

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


Mime
View raw message