Re: Variable substitution in target descriptions

2022-07-20 Thread Roger Whitcomb
Would it be as simple as calling PropertyHelper.replaceProperties(…) at line 1143 in Main with the “targetDescription” string? Thanks, ~Roger > On Jul 20, 2022, at 12:46 AM, Stefan Bodewig wrote: > > On 2022-07-19, Roger Whitcomb wrote: > >> I have a target de

Variable substitution in target descriptions

2022-07-19 Thread Roger Whitcomb
I have a target description that has “${result.jar}” embedded within. But “ant -p” doesn’t do the substitution. I’m presuming that’s because the “-p” processing doesn’t evaluate condition or property tasks. But, should it? Would that be a huge code change? Thanks, ~Roger Whitcomb

Javadoc command too long with JDK 10

2018-08-06 Thread Roger Whitcomb
ar;c:\Program Files\Java\jdk-10.0.2\lib\plugin.jar;C:\Projects\pivot\trunk\web-server\lib\servlet-api.jar;C:\Projects\pivot\trunk\wtk\lib\commons-logging-1.2.jar;C:\Projects\pivot\trunk\wtk\lib\commons-vfs2-2.1-SNAPSHOT.jar;C:\Projects\pivot\trunk\wtk\lib\svgSalamander-tiny.jar' [javadoc] '-version' [javadoc] '-author' . . . Roger Whitcomb

Task for "javapackager"?

2017-08-17 Thread Roger Whitcomb
Hi all, Does anyone use "javapackager" with Ant? It has a ton of options, and can be run with just

RE: Test for JUnit version?

2017-07-07 Thread Roger Whitcomb
Perfect! Somehow missed that ... :) Thank you. -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Thursday, July 06, 2017 8:58 PM To: user@ant.apache.org Subject: Re: Test for JUnit version? On 2017-07-06, Roger Whitcomb wrote: > Hi all, >

Test for JUnit version?

2017-07-06 Thread Roger Whitcomb
but is there a way to test for the specific version of JUnit? I see there is a "org.junit.runner.JUnitCore.getVersion()" method, which presumably could be used, but I'm guessing I'd have to write Javascript in my "build.xml" in order to test that. Anyone have a better idea? Thanks, Roger Whitcomb

Test for JUnit version?

2017-07-06 Thread Roger Whitcomb
but is there a way to test for the specific version of JUnit? I see there is a "org.junit.runner.JUnitCore.getVersion()" method, which presumably could be used, but I'm guessing I'd have to write Javascript in my "build.xml" in order to test that. Anyone have a better idea? Thanks, Roger Whitcomb

Re: Question about Copy task with empty PatternSet

2014-05-16 Thread Roger Whitcomb
e is enabled or not, which avoids the problem of an empty list implying "copy everything". So, thank you very much! ~Roger Whitcomb > On May 14, 2014, at 9:04 PM, Antoine Levy Lambert wrote: > > Hi, > > you can try this (untested): > >> >>

Question about Copy task with empty PatternSet

2014-05-13 Thread Roger Whitcomb
copy everything in the source directory to the target. But what I want is to copy nothing. So, any thoughts / suggestions as to how to achieve what I want? Thanks, ~Roger Whitcomb P.S. Using Ant 1.9.3 if that makes a difference. -