RE: AW: ant return status

2005-12-16 Thread Stephen McConnell
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > >> > >>The ant commandline script under windows (NT/XP/etc.) > >>returns either 0 or 1. > >>A zero value indicates that the build was successful. A value of 1 > >>indicates an error. Under Windows you can use th

Re: Failed to initialise MIME mail

2005-12-16 Thread Ivan Ivanov
Hello, --- "Chon, Ae H" <[EMAIL PROTECTED]> wrote: > > subject = "BUILD FAILED: > ${product.name} > ${major.ver}.${minor.ver}.${patch}.${build.num}" > > charset = "utf-8" > > failonerror = "false" > >

Failed to initialise MIME mail

2005-12-16 Thread Chon, Ae H
All, Following is the mail task setting...and I'm getting a "Failed to initialize MIME mail" error message. Don't really know what's going on. Build failed due to errors! View attached log file for details. (Also look for a separate ema

Re: OutOfMemory exception after introducing task

2005-12-16 Thread Ivan Ivanov
Hello, you might want to take a look at ANT_OPTS environment variable [1] combined with -Xmx or -Xms java options: export ANT_OPTS=-Xmx512m -Xms512m Regards Ivan [1]http://ant.apache.org/manual/running.html#envvars --- "Brown, Carlton" <[EMAIL PROTECTED]> wrote: > Anybody ever get an OutOfMem

OutOfMemory exception after introducing task

2005-12-16 Thread Brown, Carlton
Anybody ever get an OutOfMemory exception after introducing the task into their build? Where and how exactly do I increase my memory to avoid this exception?

RE: Re: Access to OS environment variables?

2005-12-16 Thread cknell
Thanks. It helps to know where to look. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Matt Benson <[EMAIL PROTECTED]> Sent: Fri, 16 Dec 2005 13:13:06 -0800 (PST) To: Ant Users List Subject: Re: Access to OS environment variables? --- [EMAIL PROTECT

Re: Access to OS environment variables?

2005-12-16 Thread Ninju Bohra
Take a look at the task with the environment="env" attribute to allow to access the OS enviroment variables as ANT properties You should be able to do the following Note the names of the created properties will be case-sensitive to the name of the OS environment variables. later, Ninju

Re: Access to OS environment variables?

2005-12-16 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > Am I just looking in the wrong place, or is there no > way to read or capture the value of an operating > system environment variable from within an ant build > file. For example. I would like to use the fop task, > but in order to do so I must create a property name

Access to OS environment variables?

2005-12-16 Thread cknell
Am I just looking in the wrong place, or is there no way to read or capture the value of an operating system environment variable from within an ant build file. For example. I would like to use the fop task, but in order to do so I must create a property named "fop.dir" and enter the path to my

Re: AW: ant return status

2005-12-16 Thread Steve Loughran
[EMAIL PROTECTED] wrote: I'm charged with learning more about ant return status variables. I have no clue where to start. Links to documentation that will help me understand it would be most welcome. Pointing to specific sections of documentation would be helpful. To clarify my inte

Re: Compiling enums in Ant 1.6.5

2005-12-16 Thread Alexey N. Solofnenko
Actually there should be no tools.jar in both locations. ANT will automatically use tools.jar from JDK specified by JAVA_HOME. Please add a target to dump all properties and run it to see what was actually executed. There is also a possibility that will work with fork="true". - Alexey. Rhi

Re: Fun with Ant: Sound task

2005-12-16 Thread Rhino
- Original Message - From: "Emmanouil Batsis" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Friday, December 16, 2005 11:23 AM Subject: Re: Fun with Ant: Sound task Rhino wrote: I don't know if anyone is remotely interested but I have created a bit of common code for playing soun

RE: JBoss ejb building

2005-12-16 Thread EJ Ciramella
Seems that this works: -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:22 AM To: Ant Users List Subject: JBoss ejb building I'm currently working on tri

JBoss ejb building

2005-12-16 Thread EJ Ciramella
I'm currently working on trimming back our build scripts and have reached a stopping point. Is there anyway to get this jboss option to take a refid instead of an actual property like this?

Re: Fun with Ant: Sound task

2005-12-16 Thread Emmanouil Batsis
Rhino wrote: I don't know if anyone is remotely interested but I have created a bit of common code for playing sound files as part of the Sound task in Ant. Pretty cool, thanks for sharing! MAnos - To unsubscribe, e-mail:

RE: Ant 1.7

2005-12-16 Thread David M. Lee
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > On Thu, 15 Dec 2005, David M. Lee <[EMAIL PROTECTED]> wrote: > > Anyone have any idea when Ant 1.7 will become official? > > I wouldn't hold my breath. We haven't added too many really big > changes, but one of them (ResourceCollections) is onl

Fun with Ant: Sound task

2005-12-16 Thread Rhino
I don't know if anyone is remotely interested but I have created a bit of common code for playing sound files as part of the Sound task in Ant. Here's how it gets used. Within each of my build scripts, I include these lines: This code refers to a new directory, called 'imports', th