I have to update a database one way or another based on project success or
failure. So I'm messing around with the task with errorproperty
attribute. I'm trying to make it so that failure will test one way vs. success
testing another. The best thing I can come up with is the following:
<---
Of course this presents me another issue. How do I gather up all of the
command
line arguments that were passed to me so that I can re-pass them to the next
ant
script. Is there a way to say: ?
Thanks,
Eric
From: Eric Fetzer
To: Ant Users
Sent: Thu
n Systems Architect, Wind River
direct: +1.613.270.5796 | robert.ech...@windriver.com
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, June 02, 2011 11:20 AM
> To: Ant Users List
> Subject: Re: Do things based on project success or failu
Not sure what you're answering here Robert. Are you saying inside the exists
target, call the other build file with subant and if it succeeds it will go to
do.true or do.false?
Thanks,
Eric
From: "Echlin, Robert"
To: Ant Users List
Sent: Thu, June 2, 2011
Sent: Thu, June 2, 2011 1:29:18 PM
Subject: RE: Do things based on project success or failure
Hi Eric,
I didn't get that ant was failing out on you. Sorry.
I will check on that.
Rob
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, Ju
ss or failure
You could also use the trycatch task from antcontrib. the try task has a catch
block that executes when any of the tasks within the try block fails.
--- On Thu, 6/2/11, Eric Fetzer wrote:
From: Eric Fetzer
Subject: Re: Do things based on project success or failure
To: "Ant
Worked wonderfully, thanks!
On Jun 2, 2011, at 3:37 PM, Vimil Saju wrote:
> You could also use the trycatch task from antcontrib. the try task has a
> catch block that executes when any of the tasks within the try block fails.
>
> --- On Thu, 6/2/11, Eric Fetzer wrote:
>
All,
I'm having some issue with the propertyfile task. I'm simply trying to
substitute a value for one property. For some reason, the propertyfile task is
modifying everything with a :/ to be a \:/. I've attached a simple repro. Any
help would be appreciated!
> ant -version
Apache Ant ve
Sorry, you may want this as well:
> cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
From: Eric Fetzer
To: Ant Users
Sent: Wednesday, November 30, 2011 12:02 PM
Subject: propertyfile task issues
All,
I'm having so
Sent: Wednesday, November 30, 2011 1:24 PM
Subject: Re: propertyfile task issues
On 2011-11-30, Eric Fetzer wrote:
> I'm having some issue with the propertyfile task. I'm simply trying to
> substitute a value for one property. For some reason, the propertyfile
> task is modifying ev
I am getting beat up by the following bug. Any advise on getting past it?
https://issues.apache.org/bugzilla/show_bug.cgi?id=40946
I need to check out based on label and have it NOT converteol. I'm running
1.7.0.
Thanks,
Eric
All,
I'm having the mail task fail if the tolist or cclist have ANY invalid
addresses.
[mail] Sending email: My Subject
[mail] Failed to send email: Invalid Addresses
I'm running 1.7.0 and here's the code:
This is my message.
Any
lid to fix it.
On Mar 27, 2012, at 2:45 PM, Joe Attardi wrote:
> What's the point of sending email to an invalid address? :)
>
> On Tue, Mar 27, 2012 at 2:22 PM, Eric Fetzer wrote:
> All,
>
> I'm having the mail task fail if the tolist or cclist have ANY inval
ddress no longer exists? If the email address doesn't exist should'nt
> the sender get back a bounced email notification?
>
>
> ________
> From: Eric Fetzer
> To: Joe Attardi
> Cc: Ant Users List
> Sent: Tuesday, March 27, 2012 12:24 P
> something
>
>
> ________
> From: Eric Fetzer
> To: Ant Users List
> Sent: Tuesday, March 27, 2012 6:11 PM
> Subject: Re: Mail Task
>
> The email address no longer exists. For some reason it won't even try to
> send the email. Even the valid addresses do
This turned out to be an issue with our mail server not allowing this machine
to send external emails. Thanks!
On Mar 29, 2012, at 6:01 AM, Eric Fetzer wrote:
> Nope, all formed well. Could it be exchange server rules?
>
>
>
> On Mar 27, 2012, at 10:05 PM, Vimil Saju wr
This is very strange to me. Here are the 2 scenarios.
Scenario 1:
1) Log on to buildMachine as user builduser
2) >bash
3) >cd /my/builddir
3) >/opt/apache-ant-1.7.1/bin/ant -f build.xml -Dfull.buildnumber=3.0.2.8
4) Build succeeds without issue
Scenario 2:
1) From a different machine:
__
From: "Perrier, Nathan"
To: Ant Users List ; Eric Fetzer
Sent: Monday, May 7, 2012 1:17 PM
Subject: RE: Build directly on machine vs. SSH to machine and start build
Add -v in your call (or -debug):
ant [-v|-d] -f build.xml
-----Original Message-
From: Eric Fetzer [mailto:
hostname or on windows read the output of
> WScript.Network.ComputerName
>
>
> Regards, Simon
>
> On 8/05/2012, at 8:28 AM, Eric Fetzer wrote:
>
>> Thanks Nathan, very helpful. This is at the top of my build file:
>>
>>
>>
>> When runni
Robert,
Notice in my command:
>>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd
>>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml
>>> -Dfull.buildnumber=3.0.2.8
that I'm sourcing my bash profile, which also runs .bashrc. Will this not
switch me to the bash shell. I type
Bash is this user's default shell.
On May 8, 2012, at 9:41 AM, Eric Fetzer wrote:
> Robert,
>
> Notice in my command:
>
>>>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd
>>>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml
ake the script executable - just in case you don't know, if the
script is called "ant.start", the command would be:
chmod a+x ant.start
And you would run it with:
ssh -f builduser@buildMachine ant.start
Hope this helps,
Rob
-Original Message-
From: Eric Fetzer [mailto:
I don't get it, I do the following and it crashes:
Anyone have a clue why that would be? I'm on redhat 5.5 (Tikanga). I can type
umask 0002 on the command line all day long... Here's the error:
/app/rosstr/test.xml:5: Execute failed: java.io.IOException: Cannot run progra
Sorry, ant version is 1.7.1
On Aug 2, 2012, at 4:32 PM, Eric Fetzer wrote:
> I don't get it, I do the following and it crashes:
>
>
>
>
>
> Anyone have a clue why that would be? I'm on redhat 5.5 (Tikanga). I can
> type umask 000
Thanks everyone, moved over to chmod.
On Aug 2, 2012, at 8:15 PM, Andreas Krey wrote:
> On Thu, 02 Aug 2012 16:00:11 +, Bruce Atherton wrote:
> ...
>> If you still can't find it, change the executable to start your shell
>> and tell it to execute the umask command. Something like this:
>>
Hi! I've found that my unless= is somewhat useless when using .
Here's a repro for what I'm trying to do:
And the results that I'm sure you anticipate as you understand how antcall
works:
[me@myMachine]$ ant -f test.xml
Buildfile: tes
!
Thanks,
Eric
- Original Message -
From: "McNish, Budd"
To: Ant Users ; 'Eric Fetzer'
Cc:
Sent: Wednesday, May 15, 2013 8:48 AM
Subject: RE:
This works.
C:\IBM>ant -f /temp/throw.xml
Buildfi
Ahhh, you're using var instead of property. I missed that before. Since you
instantiate it first, the scope remains over the antcalls. Beautiful, thanks
Budd!
Eric
- Original Message -
From: "McNish, Budd"
To: Ant Users List ; 'Eric Fetzer'
Cc:
Sent: Wed
e.
Consider the following example:
setting the value to true
testit = ${testit}
It won't go into setvalue ever because testit is already instantiated. I want
it to go in once. Anyone able to help me on this?
Thanks,
Eric
- Original Message -
From: Eric Fetzer
test2
[echo] value of labelset is: true
BUILD SUCCESSFUL
It loses the setting that happened in setvalue... Anybody?
- Original Message -
From: Eric Fetzer
To: "McNish, Budd" ; Ant Users List
Cc:
Sent: Wednesday, August 21, 2013 3:31 PM
Subject: Re:
I just thre
rib's runtarget may fit better for your use-case.
Peter
On Thu, Aug 22, 2013 at 9:52 AM, Eric Fetzer wrote:
> This is insane! Is there no way to preserve information set in an
> antcall? I tried to change strategy a little and
We're upgrading our StarTeam version from 2009 to 14.2 and somewhere between
2009 and 14, there was a complete rewrite in the SDK. I'm wondering if my
StarTeam tasks will work once I get on the other side of the upgrade? Any help?
Thanks,
Eric
-
What is "sth" Jürgen?
> On Jul 21, 2014, at 9:38 AM, Knuplesch, Jürgen
> wrote:
>
> Try and ask if sth. wont work
>
> -Ursprüngliche Nachricht-
> Von: Eric Fetzer [mailto:elstonk...@yahoo.com.INVALID]
> Gesendet: Donnerstag, 17. Juli 2014 18:48
&
Anything?
> On Jul 21, 2014, at 8:19 PM, Peter West wrote:
>
> Something
>
> Peter West
>
> "...thou hast hidden these things from the wise and understanding and
> revealed them to babes."
>
>> On 22 Jul 2014, at 12:10 am, Eric Fetzer
>> w
StarTeam for over 10 so I'm not the go-to-guy anymore.
>
> Good luck, though!
>
> Steve
>
>> On 07/22/2014 09:05 AM, Stefan Bodewig wrote:
>>> On 2014-07-17, Eric Fetzer wrote:
>>>
>>> We're upgrading our StarTeam version from 2009 to 14.
All,
I've tried all I can figure out to try on a simple unix command in redhat. I
can run the command line and it works fine, but ant can't run it to save its
life:
I've tried putting all the args together, putting some of the args together...
If I run it like this, I get "sort:
Note that I also tried:
Which produced: sort: stat failed: >: No such file or directory
I'm using ant 1.7.1.
Thanks,
Eric
On Friday, December 5, 2014 11:24 AM, Eric Fetzer
wrote:
All,
I've tried all I can figure out to try on a simple unix command in redhat
Thanks for all of the replies! I've got it working with:
On Friday, December 5, 2014 12:11 PM, Earl Hood wrote:
On Fri, Dec 5, 2014 at 1:04 PM, Dominique Devienne wrote:
> Strange, I'd have thought the XML parser would choke before you even got to
> running something. > is one of
I'm running Ant 1.7 and having an issue I don't understand. I see sshexec
finish with a successful status, then it gets back to the calling task and
bombs out. I upped the timeout value and that seemed to work once, but not
after that even though it's WAY over the value that the ssh command is
OK, seems to work one time, fail another, work one time, fail another...
Anyone even have a hint on how to trouble-shoot it? I already have sshexec set
to verbose and that just gives the stack trace. Makes no sense to me.
On Tuesday, February 10, 2015 2:36 PM, Eric Fetzer
wrote
ou actually see, when you "see sshexec finish with a
successful status?" Obviously it's no the return value.
Where's the javascript happening, and what is it doing that causes a security
violation?
Peter West
And he marvelled because of their unbelief.
> On 12 Feb 20
shexec finish with a
>> successful status?" Obviously it's no the return value.
>>
>> Where's the javascript happening, and what is it doing that causes a
>> security violation?
>>
>> Peter West
>> And he marvelled because of their unb
y case, I hope she is well now.
>
> Peter West
> "Yes, Lord; yet even the dogs under the table eat the children's crumbs."
>
>> On 13 Feb 2015, at 11:18 am, Eric Fetzer wrote:
>>
>> Yes Peter, the one line left is in the calling ant script. When it re
The MySql server I'm accessing upgraded to version 8.0.17:
mysql> select version();+---+| version() |+---+| 8.0.17
|+---+1 row in set (0.00 sec)
So, accordingly, I downloaded the proper driver and linked to it in my task:
Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> The MySql server I'm accessing upgraded to version 8.0.17:
> So, accordingly, I downloaded the proper driver and linked to it in my task:
>
> BUILD FAILEDc:\BuildDeploySc
Is there a way to set that version JUST for this call? We're building a
legacy application here that CANNOT upgrade to a newer version of Java...
Thanks!
On Wednesday, August 28, 2019, 12:28:55 PM MDT, Stefan Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> Thanks Stefa
Also, any clue what version of Java do I need to use with this? 1.8?
On Wednesday, August 28, 2019, 12:57:34 PM MDT, Eric Fetzer
wrote:
Is there a way to set that version JUST for this call? We're building a
legacy application here that CANNOT upgrade to a newer version of
Thanks Stefan! Took the easy path and outsourced the update to a simple bash
script that ssh's to the MySql Server and runs the SProc there. Thanks for all
your help!
On Wednesday, August 28, 2019, 04:02:17 PM EDT, Stefan Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
ds to be established from build machine to mySql
machine...On Thursday, August 29, 2019, 09:48:01 AM EDT, Eric Fetzer
wrote:
Thanks Stefan! Took the easy path and outsourced the update to a simple bash
script that ssh's to the MySql Server and runs the SProc there. Thanks for al
Hi! Can anyone tell me what the command line equivalent to the following
directive in ant is?
We've found a bug with this command in RHEL 8 and the RedHat folks won't
consider the sshexec command as a repro. I've tried the best I can figure
and the command works from the command line h
cryption algorithms
> which you'll also have to force. See
> https://linux.die.net/man/5/ssh_config
>
>
> On 28.12.2022 21:39, Eric Fetzer wrote:
> > Hi! Can anyone tell me what the command line equivalent to the following
> > directive in ant is?
> &
d reproduce it in a way that
the RedHat folks could reproduce it on their end, then I may get a fix for
it other than commenting out the PAM module.
Thanks,
Eric
On Wed, Dec 28, 2022 at 1:42 PM Ilya Basin wrote:
> I don't think we'll help more without seeing the problem details.
&g
teractive shell or was it
> always being launched by Jenkins?
>
> On 29.12.2022 0:14, Eric Fetzer wrote:
> > OK, here's what we've put together:
> >
> > On the server that this is trying to ssh to and run a command, it gets
> an error: PAM: pam_open_session(
lways being launched by Jenkins?
>
> On 29.12.2022 0:14, Eric Fetzer wrote:
> > OK, here's what we've put together:
> >
> > On the server that this is trying to ssh to and run a command, it gets
> an error: PAM: pam_open_session(): Cannot make/remove an entry f
Well it turns out this wasn't the fix. The SA accidentally left security
relaxed. Still need to figure this out. Is there a way to call JSCH from
the command line to reproduce the issue? Thanks - Eric
On Fri, Dec 30, 2022 at 8:51 AM Eric Fetzer wrote:
> One of our SA's figur
Hi! I'm an ex-NAnt user coming over to the Ant side. Most things are close to
identical, but I have a question about something I'm not finding. In NAnt, you
can create properties:
which will go to the corresponding onsuccess or onfailure targets when finished
based on whether it succeede
--- On Thu, 4/9/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: onsuccess or onfailure
> To: "Ant Users"
> Date: Thursday, April 9, 2009, 2:42 PM
> Hi! I'm an ex-NAnt user coming over
> to the Ant side. Most things are close to identical, but I
> h
ce with me Matt!
From: Matt Benson
To: Ant Users List
Sent: Friday, April 10, 2009 9:19:44 AM
Subject: Re: onsuccess or onfailure
--- On Fri, 4/10/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: onsuccess or onfailure
> To: "An
Thanks Matt! So if in target2 it fails out, it will still make it to target3?
In NAnt, when it fails anywhere, that's it unless there's an onfailure
declared... Would it still work my way (I don't like depends because of
readability):
multiple
s, you should consider using multiple nested elements in a
single for efficiency (ac antcallback does not support this,
however). Depends are really okay! They're the Ant way!
HTH,
Matt
--- On Mon, 4/13/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: onsuc
atic library management.
-Matt
P.S. Never use CLASSPATH! ;)
--- On Mon, 4/13/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: onsuccess or onfailure
> To: "Ant Users List"
> Date: Monday, April 13, 2009, 3:34 PM
> I'm an old dog, but I can learn new
&g
:
From: Matt Benson
To: Ant Users List
Sent: Monday, April 13, 2009 4:26:55 PM
Subject: Re: onsuccess or onfailure
--- On Mon, 4/13/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: onsuccess or onfailur
I will be using MailLogger, Matt. I'm just trying to understand this
behavior. THANKS for all your help!
From: Eric Fetzer
To: Ant Users List
Sent: Tuesday, April 14, 2009 11:08:41 AM
Subject: Re: onsuccess or onfailure
OK, getting closer but no ciga
Sorry, newb question. Is there a way to tell a build to use MailLogger without
adding it to the command line?
i.e.: >ant -logger org.apache.tools.ant.listener.MailLogger
ll be automatically appended to
the command line presuming you're using the bundled invocation scripts
(ant/Unix, ant.bat/Windows...).
HTH,
Matt
--- On Mon, 4/20/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: MailLogger
> To: "Ant Users"
> Date: Monday, April
T_OPTS
environment variable on your system, and that will be automatically appended to
the command line presuming you're using the bundled invocation scripts
(ant/Unix, ant.bat/Windows...).
HTH,
Matt
--- On Mon, 4/20/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: MailLogger
Cool, thanks.
From: Matt Benson
To: Ant Users List
Sent: Tuesday, April 21, 2009 11:48:07 AM
Subject: Re: MailLogger
Quite sorry--use ANT_ARGS. I always forget--OPTS is for JVM options; ARGS is
for Ant itself. :)
-Matt
--- On Tue, 4/21/09, Eric Fetzer
Quite sorry--use ANT_ARGS. I always forget--OPTS is for JVM options; ARGS is
for Ant itself. :)
-Matt
--- On Tue, 4/21/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: MailLogger
> To: "Ant Users List"
> Date: Tuesday, April 21, 2009, 12:00 PM
> W
Found it:
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ08156
From: Matt Benson
To: Ant Users List
Sent: Tuesday, April 21, 2009 1:51:20 PM
Subject: Re: MailLogger
Not I. Sorry. -Matt
--- On Tue, 4/21/09, Eric Fetzer wrote:
> From: Eric Fet
Eric
From: Eric Fetzer
To: Ant Users List
Sent: Tuesday, April 21, 2009 3:29:02 PM
Subject: Re: MailLogger
Found it:
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ08156
From: Matt Benson
To: Ant Users List
Sent: Tuesday, April 21, 2009 1:
What is the prescribed method of setting properties in a property file?
Specifically, I'm speaking of a file that keeps track of one of the build
numbers. Here's a simple example with what I'd like to do in it:
So, here's how I'd do it. Is there a better way?
____
From: Eric Fetzer
To: Ant Users
Se
Yeah, the macrodef was overkill, huh. How about:
From: Eric Fetzer
To: Ant Users List
Sent: Friday, May 1, 2009 10:17:24 AM
t;ant -f TestBuildNumber.xml
Buildfile: TestBuildNumber.xml
main:
[echo] 4.1
BUILD SUCCESSFUL
Total time: 0 seconds
***That's what I would have expected***
Can someone explain why it seems to skip the first run of and
then work every time afterward?
From: E
this.
${full.buildnumber}
Anyone have an easier way?
From: Eric Fetzer
To: Ant Users List
Sent: Friday, May 1, 2009 11:00:07 AM
Subject: Re: Reset BuildNumber
OK, yeah, I totally
Thanks Francis, this cleaned it up A LOT!
From: Francis Galiegue
To: Ant Users List
Sent: Saturday, May 2, 2009 2:50:06 AM
Subject: Re: Reset BuildNumber
Le Friday 01 May 2009 19:46:14 Eric Fetzer, vous avez écrit :
> So to make it work, here's what
I had to go a little deeper, David. I wanted to be able to rebuild the same
build number and also, have a 5th build element when built by continuous
integration. Something that bugs me about Ant properties (I've been writing
with NAnt for the past 6 years) is that you can't simply set a new va
Thank you very much Francis! I really appreciate the hand holding as I
transition over to Ant...
From: Francis Galiegue
To: Ant Users List
Sent: Monday, May 4, 2009 1:48:44 PM
Subject: Re: Reset BuildNumber
Le Monday 04 May 2009 21:03:58 Eric Fetzer, vous
That message comes straight from StarTeam as a result of access rights
lacking. Try to do the same thing you're doing with the stcmd tool.
C:\Program Files\Borland\StarTeam 2005 R2>stcmd -?
A sample checkout command with the stcmd tool would be:
stcmd co -p "username:passw...@stserver:port/stP
Get sidetracked?
From: Francis Galiegue
To: Ant Users List
Sent: Monday, May 4, 2009 2:26:40 PM
Subject: Re: Reset BuildNumber
Le Monday 04 May 2009 22:02:04 Eric Fetzer, vous avez écrit :
> Thank you very much Francis! I really appreciate the hand hold
From: Francis Galiegue
To: Ant Users List
Sent: Wednesday, May 6, 2009 3:23:37 PM
Subject: Re: Reset BuildNumber
Le Wednesday 06 May 2009 19:17:25 Eric Fetzer, vous avez écrit :
> Get sidetracked?
>
Yup, but I got the result ;)
Here it is. Feel free to ask questions. This fi
ay 06 May 2009 19:17:25 Eric Fetzer, vous avez écrit :
> Get sidetracked?
>
Yup, but I got the result ;)
Here it is. Feel free to ask questions. This file is based on a build.number
file which contains the major.number, minor.number, etc properties, and
rewrites said file with the new val
Eric Fetzer, vous avez écrit :
> Get sidetracked?
>
Yup, but I got the result ;)
Here it is. Feel free to ask questions. This file is based on a build.number
file which contains the major.number, minor.number, etc properties, and
rewrites said file with the new values when it is done. Cur
, May 7, 2009 10:20:17 AM
Subject: Re: Reset BuildNumber
Le Thursday 07 May 2009 17:50:34 Eric Fetzer, vous avez écrit :
> So what do you think about this?
>
Even better than what I came up with to my eyes ;) I'd still have used the
macro, though.
It also tells me that you have th
Download Antcontrib here:
http://sourceforge.net/project/showfiles.php?group_id=36177
Install it and then:
Copy ant-contrib-1.0b3.jar from ant-contrib\lib to \lib
The reason I use so much code to change build numbers is that I have major,
minor, hotfix, revision, and sometimes continuous build
Regarding the redirect to a file, PSExec has problems with redirection. What I
ended up having to do is push a batch file to the machine, run the batch file
using psexec, and then delete the batch file when it finished. Check out the
psexec forum, it's loaded with stuff about that:
http://for
It looks like you're using a batch file to call psexec and run the process on
another machine. That's pretty much the same thing as running psexec from exec
to run the process on the other machine. If you want your file output redirect
to work:
1. Create a bat file that runs the program you
In explaination, psexec OWNS stderr and stdout. In a psexec command line, you
CANNOT redirect stderr or stdout to another file. Thus you use psexec to call
another process that does the redirecting of stdout or stderr.
From: Eric Fetzer
To: Ant Users List
What version of Java are you using?
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ08156
From: "Richard, Troy"
To: "user@ant.apache.org"
Sent: Tuesday, May 12, 2009 2:09:09 PM
Subject: Problem with Ant and MailLogger
I'm getting the following error me
0428_1800_r8
GC - 20060501_AA)
JCL - 20060511a
-----Original Message-
From: Eric Fetzer [mailto:elstonk...@yahoo.com]
Sent: Tuesday, May 12, 2009 2:45 PM
To: Ant Users List
Subject: Re: Problem with Ant and MailLogger
What version of Java are you using?
http://www-01.ibm.com/
The first statement will load in all of the env dependant properties. The
second will load in all of the others. Someone correct me if I'm wrong, but I
don't believe the second statement will overwrite any of the properties that
were already set by the first because you would have to "unset
build script itself.
2. The setting property files are unknown to the Ant script at the time of
writing the script. In other words, they cannot be directly referenced by
the Ant script.
Thanks.
Eric Fetzer wrote:
>
>
>
>
> The first statement will load in all of the env depend
Subject: Re: Merge base settings with environment specific ones
Thanks Eric. If I understood you correctly, it's that program you wrote that
did the trick for you, not the NAnt script. Is it correct? Thanks.
Eric Fetzer wrote:
>
> OK, so here's what I did with NAnt and a C# .Net
ev.properties", ... etc, so that each pair of files
can be merged together to form a new setting file to be packaged into the
application that is being built...
Eric Fetzer wrote:
>
> Yeah, the NAnt script would use the task to call the program with
> th
you say "just copy a.dev.properties to a.properties and that's the end
of it", I assume you mean doing it manually. But whole idea is to have all
the subprojects follow the same scheme so that merging base settings with
environment specific settings can be done at the build time by an
h pair of files can be merged
together to form a new setting file to be packaged into the application that
is being built...
Eric Fetzer wrote:
>
> Since they don't contain the same settings couldn't you just append one
> file to the end of the other or something similar with
Try:
Then use the following in your javac task:
executable="${compiler.folder}"
From: Frances Laverty
To: user@ant.apache.org
Sent: Thursday, May 21, 2009 7:30:58 AM
Subject: Using ant to change the compiler for javac tasks
Hi,
I'm trying to set up Cruis
I was looking at the mapper task. I didn't fully get it, but I think it could
handle what you're looking for.
From: "Knuplesch, Juergen"
To: Ant Users List
Sent: Thursday, May 28, 2009 2:23:58 AM
Subject: AW: clone fake environment variables as real ones for
I've seen a lot of folks following tasks with sleep. Doesn't the exec
task wait for a return code prior to returning to the caller? I inherited A
BUNCH of Ant build files that were just RIDDLED with 5 minutes of sleep here 10
minutes of sleep there... The build takes half of a day to finish
es about 9
minutes to build.
There's no reason for a build to take longer than 15 minutes. After
that, you can't use it for continuous build testing because the builds
take too long.
On Fri, May 29, 2009 at 11:45 AM, Eric Fetzer wrote:
> I've seen a lot of folks following ta
1 - 100 of 157 matches
Mail list logo