On Mon, 19 Dec 2005, Rhino <[EMAIL PROTECTED]> wrote:
> However, the target that I set up to do a simple echo of a message
> when that property is set, fails to execute.
I would have guessed the target for the not-failing one would be
executed. The if/unless on target only checks for the existan
On Tue, 20 Dec 2005, Kamal Bhatt <[EMAIL PROTECTED]> wrote:
> I used whenempty="fail" and instead of failure I get a stupid
> message telling me that a jar file is never empty (because of the
> manifest file).
I wouldn't call it stupid ...
> Is there a way of making it work the way I expect it t
Hi
I am creating a jar file and I would like the script to fail if the jar
file is not going to be composed of any significant files (I do not view
the manifest files as significant in this case)
I used whenempty="fail" and instead of failure I get a stupid message
telling me that a jar file
> > >
> > > Now, suppose I branch the project to create REL_4_1.
> > > Development is still occuring in the head, but REL_4_1 is gearing
> > > towards production.
> > > The version number would get bumped in this branch, and not
> > > reflected back into the head. Is there a way to do the
> CVS
Hello,
--- Petar Tahchiev <[EMAIL PROTECTED]> wrote:
> I am not quite sure that I understood your ideas
> clearly enough to answer
> this, but I would like to suggest you this: why not
> just use
> value="${property.Containg.The.Desired.String}"/>
In XML files you have to escape < and > with < a
I'm not sure. I'll check with the system administrator and get back to
you
Rhino
- Original Message -
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Monday, December 19, 2005 2:11 PM
Subject: RE: Question re sshexec task
It may be that your
On 12/19/05, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote:
> > We're looking to attach a buildnumber to our current build process.
> > Only test and production builds will need to have the
> > buildnumber incremented.
>
> It's OK to increment the buildnumber for development builds too.
>
> We're looking to attach a buildnumber to our current build process.
> Only test and production builds will need to have the
> buildnumber incremented.
It's OK to increment the buildnumber for development builds too.
> I've noticed the buildnumber task
> in ant and am curious how others are
We're looking to attach a buildnumber to our current build process.
Only test and production builds will need to have the buildnumber
incremented. I've noticed the buildnumber task in ant and am curious
how others are using this task?
Working from the head, it would seem fairly simple:
- update t
> Also, just a little thing but how do I notify the developer
> of this task about the typo in the error message; he/she's
> got "invalid" spelled without the 'l'. This is an optional
> task so I'm not sure if I have to contact them directly or if
> I can get a message to them via this mailing
It may be that your ssh keyfile is in the wrong format. What
version/vendor of ssh did you use to generate the keyfile?
-Rob Anderson
> -Original Message-
> From: Rhino [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 17, 2005 3:31 PM
> To: ant-user
> Subject: Question re sshexec tas
I'm getting a bit confused about a simple condition in one of my build
scripts. Can anyone help?
One of my targets is trying to run a couple of WinSCP3 scripts. Both scripts
are rather trivial - for the moment - and simply connect to a server and
list the contents of a directory. The first scr
Hi Jan,
> Have you tried ?
Oh - very good again. So I am able to do the whole
setting of the property in one element. Very good.
Thank you very much again! :-)
cu,
Thomas
--
>Oham - I was just going to ask, how the docu can be used e.g.
>to find all possible subelements of a given element, since the
>ant docu doesn't work too well for me...
Should be in the manual, isnt it?
>Now I ended up with
>
>
>
>
>
>
Hi, Rhino
-Original Message-
From: Rhino [mailto:[EMAIL PROTECTED]
Sent: Monday, December 19, 2005 2:55 PM
To: Ant Users List
Subject: Re: Question re sshexec task
>Oh dear, this looks like it is going to be a lot more involved than
just
>using the sshexec and scp tasks
for me the
> psst - little secret: ...
Oham - I was just going to ask, how the docu can be used e.g.
to find all possible subelements of a given element, since
the ant docu doesn't work too well for me...
BTW: I could reduce the "fileB if FileA is not there" to this:
Oh dear, this looks like it is going to be a lot more involved than just
using the sshexec and scp tasks
If I understand this example correctly, it appears that you are actually
executing a script on the remote server so that the server uploads from the
PC; Ant is just telling the server t
I had the same issue yesterday so the solution is still fresh in my mind.
I'm using Eclipse 3.1.1 with Ant 1.6.5 so I'm going to assume that the
instructions for 3.1.1 will be the same as for 3.1 and whatever version of
Ant you are using.
You have a decision to make about the placement of you
Hi,
-Original Message-
From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED]
Sent: Monday, December 19, 2005 1:25 PM
To: Ant Users List
Subject: Re: Question re sshexec task
>Thanks for providing the example of exec.
>I have questions:
>Which system is the ant script running on?
Runnin
psst - little secret: a look into Ant´s buildfile will show some secrets ;-)
Jan
>-Ursprüngliche Nachricht-
>Von: Com Pegasus-CC-Hotline
>[mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 19. Dezember 2005 14:08
>An: Ant Users List
>Betreff: AW: How to conditionally add something to a path
Hi Jan,
wunderbar, your example works! (And I managed to adapt it
to my build file.)
Thank you very much, I was really close to giving up! :-)
cu,
Thomas
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 19. Dezember 2005 12:48
An: user@ant
Thanks for providing the example of exec.
I have questions:
Which system is the ant script running on?
Is the also executing on that system?
I am looking for a way to remotely execute ant code on multiple systems and
with multiple executions per system.
I have gotten sshexec to work (once per sc
Try selectors.
Example:
- create two files (echo . > lib1.txt)
lib1.txt: symbol for a library
lib1b.txt : symbol for a library depending on lib1
- copy the code provided into a build.xml
- run ant
Buildfile: build.xml
[echo] Path:
[echo] - C:\TEMP\ant-conditionalSelector\bu
Hello,
I am trying to add an entry to a path, if some other
entry is not existant. I'm trying since hours now,=20
without success. I am somewhere here:
On 19/12/05, Hooper, Paul <[EMAIL PROTECTED]> wrote:
>
> I know this but it doesn't help with the problem :
>
> How to capture stdout and stderr from junit
> How to use dir and file names with spaces
>
>
> Thanks
>
> Paul
>
> -Original Message-
> From: Petar Tahchiev [mailto:
I know this but it doesn't help with the problem :
How to capture stdout and stderr from junit
How to use dir and file names with spaces
Thanks
Paul
-Original Message-
From: Petar Tahchiev [mailto:[EMAIL PROTECTED]
Sent: 19 December 2005 09:32
To: Ant Users List
Su
Hello Petar,
Thanks for quick reply. According to your opinion problem is not with
eclipse but some days before I was using some other IDE(commercial) the same
code was working.
But this problem is arise when I started using ant to build the project.
Let i will explain you the project. The projec
On 19/12/05, Hooper, Paul <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm running ant on Solaris 9.
> All seems to be well. I have my Java project building etc.
> As part of the build script I am running various junit tests.
> My question is two fold:
>
> How do I ensure that I am able to capture the
Hi, Rhino
-Original Message-
From: Rhino [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 18, 2005 3:30 PM
To: Ant Users List
Subject: Re: Question re sshexec task
/*
Could you possibly post a small example of the technique you're using?
I'm
not sure how to combine exec with ssh/scp.
Hello,
I'm running ant on Solaris 9.
All seems to be well. I have my Java project building etc.
As part of the build script I am running various junit tests.
My question is two fold:
How do I ensure that I am able to capture the stdout and stderr from the
unittests.
I am having problems captur
The simplest thing would be a with a nested s and
s.
Your TAG would be an Ant property in the snippet.
Jan
http://ant.apache.org/manual/CoreTypes/filterchain.html#expandproperties
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 19. Deze
On 19/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there an ANT task to replace a in the source with the
> contents of the specified file???
>
> That is I working with some scripting languages where I'd like to
> identify common code and keep these in separate files (e.g. lik
32 matches
Mail list logo