You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Yiu Wing <yi...@yahoo.com> on 2001/12/23 23:35:46 UTC
classpath
Hello All,
How can I add something to the classpath with the refid already in place?
What I want to do is something like,
<classpath refid=app.classpath>
<pathelement path="${myclass}/>
</classpath>
So I want to reuse the app.classpath for a classpath, but I also want to
finetune classpath as well.
Thank you.
Merry Christmas!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: classpath
Posted by Yiu Wing <yi...@yahoo.com>.
> Like this:
>
> <classpath>
> <path refid="app.classpath">
> <pathelement path="${myclass}"/>
> </classpath>
>
Thanks a lot for the quick reply. Yeah, that's what I'm looking for.
> ----- Original Message -----
> From: "Yiu Wing" <yi...@yahoo.com>
> To: "Ant Users List" <an...@jakarta.apache.org>
> Sent: Sunday, December 23, 2001 5:35 PM
> Subject: classpath
>
>
> > Hello All,
> >
> > How can I add something to the classpath with the refid already in
place?
> > What I want to do is something like,
> >
> > <classpath refid=app.classpath>
> > <pathelement path="${myclass}/>
> > </classpath>
> >
> > So I want to reuse the app.classpath for a classpath, but I also want to
> > finetune classpath as well.
> >
> > Thank you.
> >
> > Merry Christmas!
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: classpath
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Like this:
<classpath>
<path refid="app.classpath">
<pathelement path="${myclass}"/>
</classpath>
----- Original Message -----
From: "Yiu Wing" <yi...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Sunday, December 23, 2001 5:35 PM
Subject: classpath
> Hello All,
>
> How can I add something to the classpath with the refid already in place?
> What I want to do is something like,
>
> <classpath refid=app.classpath>
> <pathelement path="${myclass}/>
> </classpath>
>
> So I want to reuse the app.classpath for a classpath, but I also want to
> finetune classpath as well.
>
> Thank you.
>
> Merry Christmas!
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: classpath
Posted by Yiu Wing <yi...@yahoo.com>.
> > <classpath refid=app.classpath>
> > <pathelement path="${myclass}/>
> > </classpath>
> >
> > So I want to reuse the app.classpath for a classpath, but I also want to
> > finetune classpath as well.
>
> For javac you can use for example
>
> <javac ...>
> <classpath refid="app.classpath"/>
> <classpath>
> ...
> </classpath>
> ...
> </javac>
Another quick reply. I didn't know I had such good luck tonight, I thought
everyone was on holiday ;-)
I'll try it out, too.
Thanks for that.
> This should be possible with most (if not all) of the tasks accepting a
> classpath.
>
> Nico
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: classpath
Posted by Nico Seessle <ni...@apache.org>.
----- Original Message -----
From: "Yiu Wing" <yi...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Sunday, December 23, 2001 11:35 PM
Subject: classpath
> <classpath refid=app.classpath>
> <pathelement path="${myclass}/>
> </classpath>
>
> So I want to reuse the app.classpath for a classpath, but I also want to
> finetune classpath as well.
For javac you can use for example
<javac ...>
<classpath refid="app.classpath"/>
<classpath>
...
</classpath>
...
</javac>
This should be possible with most (if not all) of the tasks accepting a
classpath.
Nico
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>