tion of the Ant language anywhere?
Can anyone help me to understand authoritatively what is allowed for name values and where in the Ant manual or specification I can
read more?
Many thanks for any assistance!
Best regards,
Steve Amerige
SAS Institute, Deployment Software Development
ith a dot, so there is never a problem with conflicts. I had considered both the
"-" and the "." as a leading character to indicate the name is local. But, you've given a good reason to avoid "-". Thanks!
Enjoy,
Steve Amerige
SAS Institute, Deployment Software D
Is there any notion of scoping? I'd love to hear what Ant
is capable of doing with respect to var, property, macrodef, scriptdef, etc. scoping for Ant 1.6, 1.7, and 1.8.
Thanks for your help.... it's very much appreciated!
Best regards,
Steve Amerige
SAS Institute, Deployment Softwa
this would make the outline view in
Eclipse better for Ant scripts. Ideas?
Thanks,
Steve Amerige
SAS Institute, Deployment Software Development
me="...") are validated. But, the Ant code doesn't match what is specified by the XML BNF. Also,
the XML BNF doesn't seem to allow spaces in a *Name* object. Is there an Ant BNF specification that reflects the code?
Is there any formal specification for Ant syntax? Where do
Are the two statements below equivalent?
Enjoy,
Steve Amerige
SAS Institute, Deployment Software Developer
/8/2011 11:27 AM, Perrier, Nathan wrote:
No, because antcall creates a new project underneath the hood, whereas
runtarget (antcontrib task) does not.
-Original Message-----
From: Steve Amerige [mailto:steve.amer...@sas.com]
Sent: Friday, July 08, 2011 10:21 AM
To: Ant Users List
Subject:
whether there are any practical (e.g., perfomance) reasons for favoring macrodef over runtarget.
Gotta love this group... good technical discussions here!
Enjoy,
Steve Amerige
SAS Institute, Deployment Software Developer
* P.S.
On 7/8/2011 11:49 AM, Dominique Devienne wrote:
Using and is IMHO a sy
ow significant are they?
Because of the syntax and Eclipse issues above, I tend to prefer runtarget over macrodef for zero-argument functions. Is there any
compelling reason to argue against using runtarget given the assumptions above?
Enjoy
doesn't seem to be well maintained. Nor are the results particularly professional looking. I'm hoping you can recommend
something better that is being maintained.
Thanks!
Enjoy,
Steve Amerige
SAS Institute, Deployment Software Developer
te
doesn't fix this issue, it just changes the badness from one form to another.
The task doesn't mention the 2-second granularity problem, but even with , the documentation seems to imply that
it damages the modes (see the filemode and dirmode attributes).
When I get a chance, I&
Steve Amerige
SAS Institute, Deployment Software Development
On 10/18/2011 7:17 AM, Stefan Bodewig wrote:
On 2011-10-18, Steve Amerige wrote:
I'm wondering if the task might get you what you're looking for.
Although, I'm baffled over the the statement that "Zip archives stor
e entire JVM to be loaded (e.g., as with antcall).
My environment is Ant 1.7 and allows for the use of Ant-Contrib and Groovy.
Any ideas on how to do this? Even better, any solutions anyone have to share?!
Thanks,
Steve Amerige
SAS Institute, Deployment Software Development
Hi Vimil,
Thanks for the feedback. Any specifics on just how to do what you mention
(even if untested)?
Thanks again,
Steve Amerige
SAS Institute, Deployment Software Development
On 11/3/2011 9:55 AM, Vimil Saju wrote:
I think you can use the scriptdef task to do this. You can write a
s to check for a macrodef, not sure about targets?
The conditions <http://ant.apache.org/manual/Tasks/conditions.html> page tells us: "Types include tasks, datatypes, scriptdefs,
macrodefs and presetdefs." So, I'm not sure if target is a task. I'll check it out.
Than
, can you show an example of how the mymacrodef would be
coded?
Thanks!
Steve Amerige
SAS Institute, Deployment Software Development
like. Also, I'd like to be able to add *optional="true"* to the element. But, I don't know how to
check in the macrodef whether an element was actually used or not by the caller (again, in Ant only, possibly with Ant-Contrib).
What do you think? Can you improve on the
uming that an element has optional="true", is there a way to test whether the
element, in fact, is being used by the caller? This might be useful information to know inside the definition of the macrodef.
Thanks for your response, again!
Enjoy,
Steve Amerige
SAS Institute, Deployment
See the regular expression page on this:
http://www.regular-expressions.info/lookaround.html
Thanks for any assistance!
Enjoy,
Steve Amerige
SAS Institute, Deployment Software Development
Thanks!
Steve Amerige
SAS Institute, Deployment Software Development
On 11/9/2011 3:40 PM, Steve Amerige wrote:
Hi all,
Is negative lookahead supported at all in Ant 1.7 and higher (Ant-Contrib,
too)? Maybe my syntax is off:
The first result should be the empty string and the second r
I've also wondered if a groovy script might be the best way to go. Any
pointers for either of these workarounds?
Enjoy,
Steve Amerige
SAS Institute, Deployment Software Development
On 11/10/2011 8:44 AM, Vimil Saju wrote:
Th
t version.
Please feel free to improve on the code below and please do share with me directly or in this list with your comments and/or
improvements. Again, thanks to Scot for his energetic, fun, and useful contributions!
Enjoy!
Steve Amerige
SAS Institute, Deployment Software Development
*
(essentially, Java), that something might still be possible.
Any ideas?
Many thanks,
Steve Amerige
SAS Institute, Deployment Software Development
will define the
*mytokenizer *macrodef or scriptdef in the same file as the *myentrypoint *and I can use Ant 1.7, Ant-Contrib, and Groovy code.
I'm trying to figure out how to define *mytokenizer *to solve this problem.
Thanks,
Steve Amerige
SAS Institute, Deployment Software Development
ut the above doesn't work.
Enjoy,
Steve Amerige
SAS Institute, Deployment Software Development
*build.xml:*
*doit.groovy:*
import org.apache.tools.ant.Task
def groovydoit()
{
e. Can anyone suggest how I
can do the above?
Thanks,
Steve Amerige
SAS Institute, Deployment Software Development
On 1/25/2012 1:12 PM, Scot P. Floess wrote:
Steve,
Definitely gonna need to think about this ;) At this point, "I got
nothin'" ;)
On Wed, 25 Jan 2012, Steve Am
rious tasks, macros, etc. that are
defined back on the Ant side and I want logging information to go to the
same logfile as well.
*Can anyone think of a way to execute some Groovy 2.0 code given that
the classpath already includes a 1.7 Groovy jar file?*
Thanks,
Steve Amerige
SAS Inst
is for this problem, even if
it is (1) above.
Enjoy,
Steve Amerige
SAS Institute, Deployment Developer
On 8/3/2012 1:57 PM, Steve Amerige wrote:
Hi all,
My Ant script is being called with an environment including the
classpath that includes the folder containing the
groovy-all-1.7.10.jar file.
ter way to give my classpath priority other than the
*reverseloader *trick, can someone provide example code that works in
both Ant 1.7 and 1.8 (even if conditional code is used) so that I get it
right?
Many thanks!
Steve Amerige
SAS Institute, Deployment Developer
*build.xml:*
Please see:
http://ant.apache.org/manual/Tasks/checksum.html
Enjoy,
Steve Amerige
SAS Institute, Deployment Developer
On 8/8/2012 7:58 AM, GNSH wrote:
How to get the files checksum. ?
suppose i have two files or more like one.jar and two.jar .geting these two
file checksum and comparing with
it as a message to be ignored.
Many thanks again for your input and help!
Steve Amerige
SAS Institute, Deployment Developer
*build.xml:*
println GroovySystem.getVersion()
*output with Ant 1.7.1:*
*without reverseloader="true":*
main:
[echo] ant: Apache An
really means "*prepend *the given classpathref
before other classpaths, including the system classpath." This turns
out to be exceedingly useful. And, while the reverseloader attribute is
marked as deprecated (and has been since the beginning), I have been
assured that it isn
32 matches
Mail list logo