Re: Classpath problems using the scp task
- From: Olle <olle.sundblad@xxxxxxxxx>
- Date: Sun, 15 Jul 2007 08:34:14 -0000
On Jul 13, 12:06 am, flarosa <fr...@xxxxxxxxxxxxxxx> wrote:
I want to add an scp task to my build script. I'm aware that it
depends on some nonstandard jars, and I have those jars.
Here is the problem. I work in a company with a number of developers.
Our build script is under version control. I need to modify the script
such that it will work for everyone in my group, not just me, and
without having to go to each person's computer and install jar files.
Ant's documentation says I can put the extra jars in one of four
places:
(1) ANT_HOME/lib. This would only solve the problem for me.
(2) /Users/myname/.ant/lib. Again, this only helps me.
(3) On the command line with a -lib parameter. This would mean I'd
have to explain to everyone in my team that they have to type a giant
command line where they now just type "ant". Unworkable.
(4) In the CLASSPATH environment variable. Another way that won't
work.
(5) Check in ant in your project (including the extra jar file(s)) and
use that ant while working in the project. That way you know that
everybody will run the same ant version have access to the same tasks
thus all targets will work for all project members.
--
Olle Sundblad
.
- References:
- Classpath problems using the scp task
- From: flarosa
- Classpath problems using the scp task
- Prev by Date: Re: Classpath problems using the scp task
- Next by Date: Apache Java Caching System - configuring issues with the cache file
- Previous by thread: Re: Classpath problems using the scp task
- Next by thread: Ant complaint
- Index(es):
Relevant Pages
|