AW: editstring macro

2013-05-15 Thread jhm
No props is one of the developed antlibs, which were never released. Sources and tests are all available under ASL at ASF servers. But there is not binary distro, so you must build it yourself (which shouldn't be more difficult than invoking "ant"). Jan > -Ursprüngliche Nachricht- > Von:

Re: How to invoke the JDK 1.6 annotation processing engine?

2013-05-15 Thread OrlandoDFree
In Java 1.6, you access the annotation processor by a flag sent to the compiler. So you can do the same thing in ANT, using the javac ANT task. -- View this message in context: http://ant.1045680.n5.nabble.com

Re: editstring macro

2013-05-15 Thread Peter West
Thanks Jan. I saw the description of propertyhelper in the manual, but got the impression that it was for developing implementations external to the distribution. Is the props antlib part of the standard distribution? There is nothing that I could see about props antlib in the downloads sectio

Re:

2013-05-15 Thread Eric Fetzer
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: Wednesday, May 15, 2013 9:36

RE:

2013-05-15 Thread McNish, Budd
Eric, Okay try this one. setting the value to 1.2.3.4 testit = ${testit} C:\IBM>ant -f /temp/throw.xml Buildfile: C:\temp\throw.xml invalid: setvalue: [echo] setting the val

Re:

2013-05-15 Thread Eric Fetzer
Sorry Budd, it looks like I wasn't clear on one aspect of this.  The value of this property must be set inside of the first target called.  In reality, the first target called has a depends target that may set this property.  Based on whether it sets that property, we may or may not want to come

RE:

2013-05-15 Thread McNish, Budd
This works. C:\IBM>ant -f /temp/throw.xml Buildfile: C:\temp\throw.xml invalid: test1: [echo] in test1 and value of testit is: true test2: BUILD SUCCESSFUL Total time: 0 seconds C:\IBM> Budd A. McNish

user@ant.apache.org

2013-05-15 Thread Eric Fetzer
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

Java task - why is redirecting out stream to file not compatible with spawn

2013-05-15 Thread Grzegorz Słowikowski
Hi I'm starting a process by configuring and executing Ant Java task from my software, see: https://maven-play-plugin.googlecode.com/svn/mavensite/1.0.0-beta5/play-maven-plugin/xref/com/google/code/play/AbstractAntJavaBasedPlayMojo.html https://maven-play-plugin.googlecode.com/svn/mavensite/1.0.0-