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.
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
--
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
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
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
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
If I understand correctly, adding the prefix attribute should do the
trick:
Regards,
Barry
-Original Message-
From: Mitja B. [mailto:[EMAIL PROTECTED]
Sent: Fri
30 matches
Mail list logo