Re: xmlproperty not expanding

2012-06-06 Thread Simon Murcott
Hi Ronald, if you look at the manual for XmlProperty you will find the following statement: "By default, this load does *no* processing of the input. In particular, unlike the Property task , property references (i.e., ${foo}) are not resolved." Un

Re: taskdef defined in project or target

2012-05-16 Thread Simon Murcott
. But since the initialisation of that task is done regardless, I cannot see this making a performance difference or memory difference. That is; unless your task spawns a new thread that is constantly churning. Regards, Simon On 17/05/2012, at 6:15 AM, "Perrier, Nathan" wrote: &

Re: Set an env variable?

2012-05-09 Thread Simon Murcott
This is a limitation of Java rather than Ant. See this article for a bit more information: http://stackoverflow.com/questions/318239/how-do-i-set-environment-variables-from-java I'd recommend that you keep a list of environment variables you care about as properties. When you call it has a parame

Re: Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Simon Murcott
I ended up writing a custom ant task to do this. Unfortunately in both *nix and windows you can't always rely on environment variables. On *nix you need to read the output of /bin/hostname or on windows read the output of WScript.Network.ComputerName Regards, Simon On 8/05/2012, at 8:

Re: FTP works in 1.6.5, fails in 1.7.1

2010-01-26 Thread Simon Keen
Any news on this one as I seem to be hitting a related problem? I noticed you had a chmod entry in your ftp put. I can get the ftp put to work but if I include a chmod or try to use the chmod action it affects the first file in the fileset and then crashes with a null pointer error. It does perf

RE: How do I escape the " in the replace command?

2008-06-24 Thread Simon Jeffrey
MAIL PROTECTED] Sent: Tuesday, June 24, 2008 2:27 PM To: Ant Users List Subject: RE: How do I escape the " in the replace command? > From: Gilbert Rebhan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 24, 2008 1:15 PM > To: Ant Users List > Subject: Re: How do I escape the "

RE: How do I escape the " in the replace command?

2008-06-24 Thread Simon Jeffrey
Users List Subject: Re: How do I escape the " in the replace command? Gilbert Rebhan schrieb: > Simon Jeffrey schrieb: >> I am trying to execute the command below as part of our weblogic >> install. >> >> Yes the string is part of a file. >> >> I have tri

RE: How do I escape the " in the replace command?

2008-06-24 Thread Simon Jeffrey
ert Rebhan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 1:50 PM To: Ant Users List Subject: Re: How do I escape the " in the replace command? Simon Jeffrey schrieb: > I am new to ant and I am trying to use the replace command to replace > a string that contains the " chara

How do I escape the " in the replace command?

2008-06-24 Thread Simon Jeffrey
I am new to ant and I am trying to use the replace command to replace a string that contains the " character. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with Ant and CVS?

2007-07-30 Thread Simon Renshaw
. In the delegated build file in my work directory, I have the following lines for CVS: When I look in the email report, I see the following: Last log entry: Second test by Simon This is the comment that I wrote when I did the latest commit but when I looked in the checkout directory, I don

Re: 'get' decompressing tar.gz files on-the-fly, sometimes

2007-07-23 Thread Simon P. Ditner
It seems that apache2 was triggering it. I commented out 'AddEncoding x-gzip gz tgz' from my apache2.conf, and that seems to be enough for it to arrive still compressed. On Sat, 21 Jul 2007, Alex Egg wrote: > Could apache be doing it?? > > On 7/21/07, Simon P. Ditner <[E

Re: 'get' decompressing tar.gz files on-the-fly, sometimes

2007-07-21 Thread Simon P. Ditner
It seems that apache2 was triggering it. I commented out 'AddEncoding x-gzip gz tgz' from my apache2.conf, and that seems to be enough for it to arrive still compressed. On Sat, 21 Jul 2007, Alex Egg wrote: > Could apache be doing it?? > > On 7/21/07, Simon P. Ditner <[E

'get' decompressing tar.gz files on-the-fly, sometimes

2007-07-21 Thread Simon P. Ditner
I have a simple build file downloading a few .tar.gz files from my web server running a stock Apache2 from Ubuntu 6.06, using Ant 1.7.0. One command in my build.xml is: http://myserver/project1/file1.tar.gz"; dest="src/file1.tar.gz" /> And then I have a second command that is nearly identical:

Re: UNSUBSCRIBE ME PLEASE

2006-06-12 Thread Simon Chappell
. So, try checking your outgoing message format and ensure that it's text and not HTML or some other enhanced output. Simon On 6/12/06, Steve Loughran <[EMAIL PROTECTED]> wrote: jason suplizio wrote: > Yes, about 6 times now. > > > From: Keith Hall <[EMAIL PROTECTED]>

Re: keep going after error

2006-02-09 Thread simon
On Mit, 2006-02-08 at 14:33 +, Steve Loughran wrote: > simon wrote: > > hello list > > > > i have a target for a cruisecontrol test. > > > > > > Starting Lenya.. > >

keep going after error

2006-02-08 Thread simon
webapp. it works fine as long as the tests are working fine, but as soon a test fails the whole things is stoped and does not execute the stop script for the webapp. but it is important execute the last step even if the step before fails. does sombody have a hint for me? TIA simon -- Simon

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
Simon Kitching wrote: Thanks for the responses. I've managed to create a simple example that demonstrates the problem. See the attached files. Running the ant script for me generates no errors. Oddly, removing the from the input.in file does cause the errors to be emitted. Hmm..the

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
Thanks for the responses. I've managed to create a simple example that demonstrates the problem. See the attached files. Running the ant script for me generates no errors. Oddly, removing the from the input.in file does cause the errors to be emitted. Cheers, Simon [EMAIL PROTECTED]

Obtaining error messages from xslt task

2005-11-28 Thread Simon Kitching
gratefully received. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Anyone used ANT to build EJB from Session Bean class

2005-10-04 Thread Cockayne, Simon
Hi Jan, I was excluding Xdoclet, because I know I can accomplish the task using Xdoclet. I am trying to gauge the existence and plausibility of any alternatives. Cheers, Simon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 October 2005 08:15 To: user

Anyone used ANT to build EJB from Session Bean class

2005-09-29 Thread Cockayne, Simon
e who will share their approach/experiences with me, (joyous or otherwise). Cheers, Simon. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: Improving the manual

2005-07-28 Thread Simon Chappell
On 7/28/05, Steve Loughran <[EMAIL PROTECTED]> wrote: > Simon Chappell wrote: > > On 7/27/05, Roedy Green <[EMAIL PROTECTED]> wrote: > > > >>The big problem with the Ant manual is the people who wrote it knew > >>too much. I can see various ways to mak

Fwd: Improving the manual

2005-07-28 Thread Simon Chappell
I'd be dangerous if I was clever. This was meant to go to the list, not just to Jay. I may not be a newbie, but I can act like one somedays. :-) -- Forwarded message -- From: Simon Chappell <[EMAIL PROTECTED]> Date: Jul 28, 2005 10:11 AM Subject: Re: Improving the man

Re: Improving the manual

2005-07-28 Thread Simon Chappell
e it's time and that explained the concepts would be very useful. I'd volunteer to help, but I'm actually working on some tutorials for the Groovy folks. Simon -- www.simonpeter.com - To unsubscribe, e-mail: [EMAIL PR

Re: New article on Ant and BeanShell

2005-07-27 Thread Simon Chappell
style sheet for it? I normally like to print articles like yours and read them in the evenings. Simon On 7/27/05, Pankaj Kumar <[EMAIL PROTECTED]> wrote: > Hi Folks, > > I have self-published an article on using Ant tasks from BeanShell > scripts titled "Supercharging Bean

Re: using arguments after the java command

2005-07-19 Thread Simon Kitching
On Tue, 2005-07-19 at 22:07 -0400, James Black wrote: > This is the error I get: > Exception caught: java.lang.IllegalArgumentException: Unknown command > line argument: -o filename.tini You should carefully read the ant manual for re the difference between Regard

Re: Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Simon Kitching
the xalan > classes (com.sun.org.apache.xalan...) and sorting in ant?? > See "Changes in JAXP RI version 1.3" in http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/ReleaseNotes_150.html Regards, Simon - To u

Re: need help adding a command to the compile task

2005-07-17 Thread Simon Kitching
tag in the javac task documentation. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Simon Kitching
ather than in the build tool, and the fix is by reducing unnecessary includes, using opaque types, etc. Or by brute force using distributed builds to build on multiple machines concurrently as Juergen mentions. Or via a bigger build machine :). [NB: I hadn&#

Re: Creating tasks in Ant for C++ project

2005-07-14 Thread Simon Kitching
te. Ant is a much more conventional approach, more like custom shell-scripting of commands to perform a build. I would have thought that converting from one approach to the other would have been a major project... Regards, Simon

optional tasks and the ant/lib dir

2005-07-14 Thread Simon Kitching
to ant without major surgery. I do currently use the $HOME/.ant/lib approach and it isn't *bad*. However it would be nice to use standard ant variables to point to the optional libs (and set them in build.properties or similar

Re: Does Ant improves the performance in large c++ project than make?

2005-07-14 Thread Simon Kitching
not resolve your build issues. You may wish to read "Large-scale C++ Software Design" by John Lakos. I found it an extremely useful book. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Executing junit tests with differing classpaths

2005-07-05 Thread Simon Kitching
On Sun, 2005-06-26 at 12:07 +0200, Stefan Bodewig wrote: > On Sun, 26 Jun 2005, Simon Kitching <[EMAIL PROTECTED]> wrote: > > > Am I right in thinking that the task provides no way for the > > classloader setup in the forked JVM to be tweaked before the test is > >

Re: Ant task for remote ant execution

2005-06-30 Thread Steve Simon Joseph Fernandez
//sourceforge.net/mailarchive/forum.php?thread_id=7433601&forum_id=2912 > > -- Larry > > > -Original Message- > > From: Steve Simon Joseph Fernandez [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 30, 2005 8:05 AM > > To: Ant Users L

Re: Ant task for remote ant execution

2005-06-30 Thread Steve Simon Joseph Fernandez
t tasks: > http://ant-contrib.sourceforge.net/tasks/tasks/server_tasks.html > 2. anthill: http://www.urbancode.com/projects/anthill/default.jsp > you should be able to tailor your builds to one of these solutions > > Steve Simon Joseph Fernandez wrote: > > >Hi, > > > >I was w

Ant task for remote ant execution

2005-06-30 Thread Steve Simon Joseph Fernandez
Hi, I was wondering if Ant has a task that can be used to invoke Ant on a remote machine, and pass it a build file to execute? Unlike rexec, which is generic in nature, I'd like to see an Ant specific listener that would be running on the remote machine, to which an Ant buildfile could be passed t

Executing junit tests with differing classpaths

2005-06-25 Thread Simon Kitching
rClass" which defaults to org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner rather than hardwiring that string into the JUnitTask class. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Executing a command on a Unix/Linux box

2005-03-29 Thread Simon Chappell
Not all of us are in a position to use ant 1.6. For example, my employer still mandates 1.5.1. On Tue, 29 Mar 2005 08:33:57 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ...snip... > I wouldnt write a task for "just" executing that one liner. > > Jan ...snip... ---

Self-contained builds

2005-03-24 Thread Simon Chappell
was going fairly well, until I got to actually running the tests. Ant cannot see JUnit when it invokes the task. Any advice on using JUnit with Ant outside of the ANT_HOME/lib directory would be appreciated? Simon - To unsubscribe,

RE: New Ant GUI - 'Ant's Nest'

2005-01-10 Thread Chappell, Simon P
Luxury! We're the reason that they had to invent CMM level zero! You have it easy! :-) >-Original Message- >From: Erik Hatcher [mailto:[EMAIL PROTECTED] >Sent: Friday, January 07, 2005 12:47 PM >To: Ant Users List >Subject: Re: New Ant GUI - 'Ant's Nest' > > > >On Jan 7, 2005, at 12:20 PM

RE: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chappell, Simon P
True, but it does mean that we Mac OS X folks can't tinker with it. We have a great, stable 1.4.2 environment, but no sign of JDK 1.5 until Apple decide to ship it. Maybe it'll be in 10.4, supposed to be released this summer. Simon >-Original Message- >From: Alex

Re: Verifying Ant Build Files

2004-10-25 Thread Simon Oldham
parse your build.xml file manually (probably using the Document class!) and then add the various tasks/targets to your Project class, as you encounter them whilst parsing build.xml, using the Project class methods provided. That is my understanding anyway! Cheers, Simon -Original Message- From:

Verifying Ant Build Files

2004-10-25 Thread Simon Oldham
le myself but I have no wish to "reinvent the wheel" if the ANT API can do it for me. Any guidance would be greatly appreciated. Thanks, Simon Oldham - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] RE: winning the case for ANT

2004-10-20 Thread Chappell, Simon P
t. :-) > >whenever i see the word "LaTeX" it brings back memories of painfully >creating documents in LaTeX using emacs :-O > > >--- "Chappell, Simon P" <[EMAIL PROTECTED]> wrote: > >> I used to agree, but now, on my Mac, I use TexShop and

RE: [OT] RE: winning the case for ANT

2004-10-20 Thread Chappell, Simon P
>Sent: Wednesday, October 20, 2004 11:58 AM >To: Ant Users List >Subject: [OT] RE: winning the case for ANT > > >eww, LaTeX > >might as well do your postscript documents using binary, lol :-) > > >--- "Chappell, Simon P" <[EMAIL PROTECTED]> wrote: &

RE: winning the case for ANT

2004-10-20 Thread Chappell, Simon P
mes it can be difficult to keep these two aspects separate, but ultimately it works better when you do. Ant is the same way, everything works better when you keep what and how separate. :-) Simon >-Original Message- >From: Erskine, Chris [mailto:[EMAIL PROTECTED] >Sent: Tuesday

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
ely agree, but I just wanted to defend make, because there are times when it really is the best tool for the job. Simon

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
makes C/C++ >compilation >much easier. This may be true, but we know that just compiling the source code is only a small part of building a system. :-) >- Alexey. Simon

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
>-Original Message- >From: Laconia Data Systems [mailto:[EMAIL PROTECTED] >Sent: Monday, October 18, 2004 12:25 PM >To: Ant Users List >Subject: Re: winning the case for ANT > > >Simon >Could you give us an example where make is more (cheaper/faster/better >p

RE: winning the case for ANT

2004-10-18 Thread Chappell, Simon P
a popular as it is. It's popular, it's used by many people ... sounds like a de-facto standard to me. >Chris Erskine Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist

RE: Using Ant to test whether a web app is installed on Tomcat

2004-03-22 Thread Simon Toens
Hi Michael, To check the property's value, you could do something like: (assuming resultprop has been set by the exec task) Simon -Original Message- From: Michael Woinoski [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 11:43 AM To: [EMAIL PROTECTED] Subject: Using A

RE: Basic setup question

2004-03-17 Thread Chappell, Simon P
to be installed had actually been installed? just a thought. Simon >-Original Message- >From: Kenneth Litwak [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 17, 2004 11:52 AM >To: Ant Users List >Subject: RE: Basic setup question > > > >Hi Rob. lib was EMPTY

RE: Basic setup question

2004-03-17 Thread Chappell, Simon P
Does it help if I say that 1.6.1 works just fine on my iBook? :-) Have you considered trying an earlier version? I'd be tempted to try 1.5.1, that's what we run here and it's rock solid stable on W2K. Get that working and then upgrade to 1.6.1. Simon >-Original

RE: scp task error

2003-11-12 Thread Chappell, Simon P
WSAD 4 comes with JDK 1.3, so I'll check and see if I have the jsse.jar. Thanks. >-Original Message- >From: Dale Anson [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 11, 2003 5:35 PM >To: Ant Users List >Subject: Re: scp task error > > >Hi Simon, > &g

Re: win vs linux with ant

2003-03-19 Thread Simon David Kelly
er of appearance in accordance with their declared position in the DTD. So if in the DTD we were to have The xml doc must do this and not If this is the case, check the DTD related to your xml file and get the correct position for the xmlproperties element. Hope this helps Cheers --

RE: ANT visions and best practices

2003-02-28 Thread Chappell, Simon P
best practices > > >Hi Simon, > >thank you for your advice. > >> 2. look at junit, httpunit and cactus, if you havent >already. Java tools >> for >> Extreme Programming is another book in this area. > >So you suggest to run auto-tests during the build pro

RE: ANT visions and best practices

2003-02-27 Thread Chappell, Simon P
I'll second that. Also, let this list know what manner of project you are building for and perhaps someone here might have a suitable build.xml that you can use as a starting point. I know that I have one for building a Struts based WAR file that I could donate to a good cause.