Classpath problems using the scp task
- From: flarosa <frank@xxxxxxxxxxxxxxx>
- Date: Thu, 12 Jul 2007 15:06:47 -0700
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.
The jars are checked into my project in a lib directory. I know
exactly where this lib directory is. The problem is that Ant (it would
seem) does not give me a way to specify this path when I invoke the
task.
I find it difficult to believe that I'm the first person who's had
this problem. Surely there's some way to solve it?
Thanks,
Frank
.
- Follow-Ups:
- Re: Classpath problems using the scp task
- From: Olle
- Re: Classpath problems using the scp task
- From: Roedy Green
- Re: Classpath problems using the scp task
- Prev by Date: Re: Printing source with line numbers and pages?
- Next by Date: Ant complaint
- Previous by thread: Printing source with line numbers and pages?
- Next by thread: Re: Classpath problems using the scp task
- Index(es):
Relevant Pages
|