ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@comcast.net>
Subject Re: how to get one class file into classpath in ant?
Date Wed, 09 Nov 2005 18:00:27 GMT
At 06:47 AM 11/9/2005, you wrote:
> >        <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

ok. but it seems like there should be some way to get just a few 
classes on a classpath without having to jar them up.

thanks 


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


Mime
View raw message