Re: Using SCP and Email Ant targets

Jani Mikkonen <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Im not 100% sure but i do have faint recollection about setting the
classpath .. You basicly do not put the directory where the jars are
into the classpath but you put the whole jar file. But when you have
*.class files, you just put the directory ..

For example, if you have a file  /home/user/lib/stuff.jar  that you
need to add to your classpath  you should propably try something like
this:

export CLASSPATH=${CLASSPATH}:/home/user/lib/stuff.jar


Could this be the case ?



On Fri, May 1, 2009 at 1:30 AM, Thomas Amundsen <[email protected]> wrote:
> Hi all,
>
> I was having trouble trying to do SCP and Email CruiseControl commands, so I just created Ant targets that I can run just fine. In order to get them working, I put some jar files into ~/.ant/lib. However, when I go to run an ant task within cruise control that calls one of these targets, I am getting errors saying that it couldn't find the library that it needed. The funny thing is that it told me to fix it by putting the appropriate jars into one of three places, one of them being ~/.ant/lib. I also set my CLASSPATH variable to include .ant/lib.
>
> So, I'm not quite sure what is going on, but I would really like to get this to work. Does anyone have any clue what is going on?
>
> - Tom
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.