Property File load issue

2010-04-14 Thread Barry Pape
Hello All, I have a user experiencing a frustrating issue with our ant + ivy integration. The issue really has nothing to do with ivy except the properties it needs are not loaded by ant. For some reason, on a single desktop (that I know of) ant is not loading ${user.home}/build.properties.

RE: Exec Connection Not Closing

2010-02-24 Thread Barry Pape
d.xml file and is executed through an antpublisher in the CruiseControl config file. Thanks, Barry -Original Message- From: Antoine Levy-Lambert [mailto:anto...@gmx.de] Sent: Monday, February 22, 2010 1:17 PM To: Ant Users List Subject: Re: Exec Connection Not Closing Barry Pape wrote

RE: Exec Connection Not Closing

2010-02-22 Thread Barry Pape
Original Message- From: Antoine Levy Lambert [mailto:anto...@gmx.de] Sent: Saturday, February 13, 2010 4:36 PM To: Ant Users List Subject: Re: Exec Connection Not Closing Barry Pape wrote: > Hi Everyone, > > > > I seem to have an issue with an exec task not closing the ssh conn

Exec Connection Not Closing

2010-02-12 Thread Barry Pape
Hi Everyone, I seem to have an issue with an exec task not closing the ssh connection it opens. Basically we use CruiseControl and Ant to build and deploy our code. In the CruiseControl build.xml I have an ant task that ssh's to a remote server and starts a shell script. Once the script comp

ivy:publish question

2009-02-18 Thread Barry Pape
Hi all, I am trying to publish multiple jars and not having any luck so far. From what I've read it is possible, but I must be missing some part of the correct configuration. We have a build that produces 5 different jar files that are depended on by other builds, so we need to publish them to ou

RE: ANT failing from command line

2008-12-02 Thread Barry Pape
If you run the command 'which ant' does it return the location of the 1.6.2 version that is being picked up? -Original Message- From: Ammar Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 8:44 AM To: Ant Users List Subject: RE: ANT failing from command line Thanks Mike f

RE: ANT Script to do tasks like running tom compile updated source file ...

2008-09-15 Thread Barry Pape
That is not likely to happen. Ant build scripts come in many shapes and sizes and it is very unlikely that someone will have one that will work in your environment. You will want to start with the manual: http://ant.apache.org/manual/index.html, and create your script. Along the way you can post

RE: Using scp -- how to find or make a keyfile?

2008-08-19 Thread Barry Pape
Can you use ssh keys? Here's a nice walkthrough: http://www.sshkeychain.org/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOW TO-4.html -Original Message- From: RobG [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 3:03 PM To: Ant Users List Subject: Using scp -- how to find or make a

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-23 Thread Barry Pape
27;s wrong here.. I tried with nohup set to true and false and my log shows this: Pseudo-terminal will not be allocated because stdin is not a terminal. sudo: sorry, you must have a tty to run sudo Barry Pape wrote: > > I went through this type of thing back in January. Maybe my finding

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-22 Thread Barry Pape
I went through this type of thing back in January. Maybe my findings can help you out, the full thread is here: http://marc.info/?l=ant-user&m=120128316829325&w=2 -Original Message- From: mindspin311 [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 11:08 AM To: user@ant.apache.org

RE: Ant loop

2008-05-22 Thread Barry Pape
Maybe the task is what you want: http://ant.apache.org/manual/index.html -Original Message- From: I am Who i am [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 9:31 AM To: Ant Users List Subject: Re: Ant loop Thanks for answering, may be i was not clear on my question,,, i actua

RE: Strip directory from fileset includesfile jar location

2008-05-19 Thread Barry Pape
Zipfileset works with jars also, I don't know if there is a reason not to use it with them though. The prefix attribute allows you to change the path for the files of the fileset in the archive. http://ant.apache.org/manual/CoreTypes/zipfileset.html -Barry -Original Message- From: Tom Co

RE: how to define task sshexec

2008-02-11 Thread Barry Pape
Maybe this will help you out: http://ant.apache.org/manual/OptionalTasks/sshexec.html -Original Message- From: serdsch [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 10:49 AM To: user@ant.apache.org Subject: how to define task sshexec Hi @all! I want to use sshexec and I'm t

RE: well-defined ant/xslt problem: (how) can I do this?

2008-02-07 Thread Barry Pape
There is a target attribute for the foreach task. So I'm thinking you would want to do something like this: -Original Message- From: Bill Milbratz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 12:55 PM To: user@ant.apache.org Subject: Re: well-defined ant/xslt problem:

RE: -lib and saxon8 on SUSE 10.3

2008-02-06 Thread Barry Pape
Is the saxon jar on the classpath on the suse machine? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Schröder Sent: Tuesday, February 05, 2008 7:53 AM To: user@ant.apache.org Subject: -lib and saxon8 on SUSE 10.3 Hi, if this is a FAQ, pointers ar

RE: nohup and Ant question

2008-01-28 Thread Barry Pape
The post on CruiseControl's Confluence maybe easier to follow (http://confluence.public.thoughtworks.org/display/CC/Running+Servertest s+with+Ant), but basically you use the script as a wrapper to call yours. I actually added the 'ANTRUN_OUTPUT' variable to the wrapper script and just execute an s

RE: nohup and Ant question

2008-01-28 Thread Barry Pape
Sounds similar to the issue I just had. The solution that worked for me came from here: http://marc.info/?l=ant-user&m=100621497023872&w=2 -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 3:25 PM To: Ant Users List Subject: Re: nohup and Ant question

RE: exec with -t argument

2008-01-25 Thread Barry Pape
g+Servertests+with+Ant -Original Message- From: Barry Pape [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 5:41 PM To: Ant Users List Subject: RE: exec with -t argument Unless I'm overlooking something with sshexec it doesn't accomplish my task either. That may be

RE: exec with -t argument

2008-01-21 Thread Barry Pape
nt.apache.org Subject: AW: exec with -t argument ? That uses a java api instead of using a command line executable. Jan > -Ursprüngliche Nachricht- > Von: Barry Pape [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 18. Januar 2008 18:34 > An: Ant Users List > Betreff: R

RE: exec with -t argument

2008-01-18 Thread Barry Pape
January 18, 2008 12:34 AM To: user@ant.apache.org Subject: AW: exec with -t argument Can you run Ant in -verbose or -debug mode and post the execution command? Maybe you could try that generated command directly on command line. Jan > -Ursprüngliche Nachricht- > Von: Barry Pape [ma

exec with -t argument

2008-01-17 Thread Barry Pape
Howdy Ant Friends, I am having an issue with running a deploy script on a remote server. This command works beautifully: ssh -t myserver.net /usr/local/bin/sudo -u myuser /path/to/deploy_build.sh But when I invoke this command using exec in ant the '-t' argument does not get used. Otherwise the

RE: environment attribute

2008-01-08 Thread Barry Pape
HOSTNAME variable is exported to sub shells? Does cruisecontrol execute under your ID or asynchronously? It is possible that cruisecontrol runs under a different ID even if you kick it off manually. The output of the env command should give an indication. Barry Pape <[EMAIL PROTECTED]> wrote: Than

RE: environment attribute

2008-01-04 Thread Barry Pape
just tried this on a Solaris VM on my desktop and HOSTNAME is not defined by default. You may want to issue "export HOSTNAME=`hostname`" in your .profile. Change this as appropriate for your shell. Dominique Devienne <[EMAIL PROTECTED]> wrote: On 1/4/08, Barry Pape wrote: > Hopef

environment attribute

2008-01-04 Thread Barry Pape
Howdy all, Hopefully this is a quick and easy question. Is the environment attribute of the property task supported on Solaris? I've been trying to use ${env.HOSTNAME} but it doesn't appear to resolve. For instance: Using ${hostname} for host name

RE: How to conditionally run a group of targets?

2007-12-14 Thread Barry Pape
Someone recently mentioned the antcallback task which is part of ant-contrib. It's the same as antcall but allows properties set in the called target to be available for use in the calling target. Maybe that would work for you. http://antelope.tigris.org/nonav/docs/manual/bk03ch20.html Barry --

RE: zip update

2007-10-30 Thread Barry Pape
Fixing my last example...100 not 500 files. -Original Message- From: Barry Pape [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 4:56 PM To: Ant Users List Subject: zip update Howdy Ant Gurus, We recently experienced a dramatic increase in our build time (~100

zip update

2007-10-30 Thread Barry Pape
Howdy Ant Gurus, We recently experienced a dramatic increase in our build time (~100 minutes) for one of our projects. Upon looking into this, I came to the conclusion that the adding 4 more passes of a task that updates a zip file is the culprit. This increased the size of the jar by ~40MB, and

RE: using ANT to check for any code changes in CVS

2007-10-09 Thread Barry Pape
You may want to take a look at Hudson as well: https://hudson.dev.java.net/ -Original Message- From: Saladin Sharif [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 2:04 PM To: Ant Users List Subject: Re: using ANT to check for any code changes in CVS >You should look at Cruise

RE: ant script just hang when checking out of CVS

2007-09-24 Thread Barry Pape
I seem to remember having issues when trying to use passfile and ended up using ssh keys on the client and server instead. http://www.sshkeychain.org/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOW TO-4.html -Original Message- From: Theepan. T [mailto:[EMAIL PROTECTED] Sent: Monday, Septemb

RE: war inlcude problem

2007-09-14 Thread Barry Pape
If I understand correctly, adding the prefix attribute should do the trick: Regards, Barry -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent: Fri