Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread Matt Benson
Usually this "top one" is a shell script rather than a compiled executable. Matt On Mon, Nov 22, 2021, 7:02 AM David Garratt wrote: > In my ant bin directory for example I have the following and I am running > the top one which I assume is compiled for intel machines. > &

Re: Creating task/macro wrappers

2019-02-25 Thread Matt Benson
You could conditionally with or without the desired attributes, depending on the structure of your build. :| Matt On Mon, Feb 25, 2019 at 12:39 PM Isaac Jurado wrote: > Thanks for the info, I didn't know about either. > > By the looks of it, seems that is the opposite of wha

Re: Creating task/macro wrappers

2019-02-23 Thread Matt Benson
Look into the task with conditionally executed (using if/unless namespaces, antcontrib , or similar) blocks. HTH, Matt On Sat, Feb 23, 2019, 3:37 AM Isaac Jurado wrote: > Hello Ant users, > > I'm trying to create a wrapper over . The idea is > to have my macro expose th

Re: Javac Run By Ant Script is Unable to Find External Jars

2019-02-17 Thread Matt Bertolini
like this: Try that and see how it goes. Matt Bertolini On Sun, Feb 17, 2019 at 10:02 AM Dennis Putnam wrote: > I apologize for being a pest but this is a problem I cannot resolve on my > own. The more I read the more confusing it gets. It seems like there are > thousands of ways to a

Re: Ant Dependency Management

2017-10-28 Thread Matt Benson
If you're referring to Java compilation, tools like Ant and Maven generally perform incremental compilation unless explicitly forced to do otherwise, such as by "cleaning" (deleting) existing classfiles from a previous compilation. HTH, Matt On Sat, Oct 28, 2017 at 5:17 PM

Re: Apache Tomcat 9

2016-05-02 Thread Matt Sicker
gt; > > On 5/2/16 5:13 PM, Matt Sicker wrote: > >> This is the Ant mailing list. Did you mean to post to the Tomcat mailing >> list? >> >> On 2 May 2016 at 16:04, Frederick Piña wrote: >> >> Hi ! Can I ask you a question ? >>> >>> >>> >>> >> > -- Matt Sicker

Re: Apache Tomcat 9

2016-05-02 Thread Matt Sicker
This is the Ant mailing list. Did you mean to post to the Tomcat mailing list? On 2 May 2016 at 16:04, Frederick Piña wrote: > Hi ! Can I ask you a question ? > > > -- Matt Sicker

Re: conditional flatten mapping

2015-02-05 Thread Matt Benson
I can't think of anything offhand. Instead I'd say do two pathconverts filtering your classpath two ways and concatenate the results. HTH, Matt On Thu, Feb 5, 2015 at 8:54 AM, Jason Ricles wrote: > I have the following flatten mapping i

Parse jar:file prefix to Resource

2014-12-17 Thread Matt Bertolini
like FileResource, URLResource, etc. Thanks. Matt Bertolini

Re: delete task and symlinks

2014-11-11 Thread Matt Benson
27;t add anything to the conversation. Feel free to add your ideas to the open RFE. br, Matt On Nov 10, 2014 11:10 PM, "Alan Snyder" wrote: > I realize that I am late to the party and that there is an open RFE < > https://issues.apache.org/bugzilla/show_bug.cgi?id=56700>

Re: How to use a variable value in ANT refid

2014-09-12 Thread Matt Sicker
vileged and confidential information intended only for the use of the > intended addressee. Any dissemination, distribution, copying or action > taken in reliance on the contents of this email by anyone other than the > intended recipient is strictly prohibited. If you have received this email > in error please immediately delete it and notify sender at the above CSX > email address. Sender and CSX accept no liability for any damage caused > directly or indirectly by receipt of this email. > -- Matt Sicker

Re: Installation question

2014-02-23 Thread Matt Benson
It appears that YCSB is intended to be built with Apache Maven rather than Apache Ant. :-) Matt On Feb 23, 2014 12:19 PM, "Matt Benson" wrote: > > On Feb 23, 2014 12:15 PM, "Mahmood Naderan" wrote: > > > > OK. Problem is I want to build YCSB with Ant. &g

Re: Installation question

2014-02-23 Thread Matt Benson
t; YCSB or Ant. > It sounds like, in the directory you have entered, there is no build.xml file. I'm not sure what YCSB is or whether there is supposed to be a build.xml file there, but it sounds as though Ant is behaving perfectly normally. Matt > > Regards, > Mahmood > > > On

Re: Installation question

2014-02-23 Thread Matt Benson
u only installed it. Everything appears to be absolutely fine with your installation as far as I can tell. Matt > Regards, > Mahmood > > > > On Sunday, February 23, 2014 3:41 PM, Martin Gainty wrote: > > BASH>ant -version > > Martin > ___

Re: How to merge jars and directories specified by path resource into a single jar

2014-02-14 Thread Matt Benson
files in a particular package in the jar. Matt On Feb 14, 2014 11:21 AM, "Edwin Castro" <0ptikgh...@gmx.us> wrote: > On 2/13/14, 11:45 PM, Matt Benson wrote: > > The problem is that, presumably, you want the classes beneath the > > class.dirs elements to be added to t

Re: How to merge jars and directories specified by path resource into a single jar

2014-02-13 Thread Matt Benson
The problem is that, presumably, you want the classes beneath the class.dirs elements to be added to the jar relative to each element. Off the top of my head it occurs to me that you could iterate using antcontrib and update the jar for each directory. HTH, Matt On Feb 13, 2014 3:27 PM, "

Re: Resource collections - Linux vs. windows

2014-02-11 Thread Matt Benson
using the pathconvert task to create a list of includes for a fileset and pass *that* to the delete task. Keep us updated on your progress. Matt On Tue, Feb 11, 2014 at 9:30 AM, Kimpton, C (Chris) < chris.kimp...@rabobank.com> wrote: > Good idea. > > It initially worked ok, when

Re: Resource collections - Linux vs. windows

2014-02-11 Thread Matt Benson
Can you expand your example into a self-contained example that builds up an appropriate structure first, then still fails on Linux? Matt On Tue, Feb 11, 2014 at 2:21 AM, Kimpton, C (Chris) < chris.kimp...@rabobank.com> wrote: > Hi, > > I have a target that is trying to delete s

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Matt Benson
No, off the top of my head i can't think of a simple way to do this with a basic Ant installation. Matt On Mon, Oct 7, 2013 at 9:57 AM, Raja Nagendra Kumar < nagendra.r...@tejasoft.com> wrote: > ** > Hi Matt, > > I meant rename as smart rename... nothing related to move

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Matt Benson
To rename files in the same directory you probably want to use the move task with a glob mapper; just be careful what files you select to begin with. Matt On Oct 7, 2013 9:14 AM, "Raja Nagendra Kumar" wrote: > Hi Matt, > > Are there any pre-packaged mappers in ant.. which d

Re: Copy task not to overwrite but rename the file as _1 _2 etc..

2013-10-07 Thread Matt Benson
It sounds like you want the functionality provided by filename mappers. Matt On Oct 7, 2013 4:20 AM, "Raja Nagendra Kumar" wrote: > Hi > > Does copy task have any option to rename to be copie file as > existing_file_1.xx etc.. just like windows does rename the existi

Re: target not exist issue

2013-09-08 Thread Matt Benson
Vincent, I have recreated your example and it works fine for me. With which versions of Ant have you tried this? Matt On Sun, Sep 8, 2013 at 3:04 AM, Vincent Cai wrote: > Dear All, > > > l Ant files listed as below > > n A.xml > > n B.xml > > l In A.xml, B

Re:

2013-08-25 Thread Matt Benson
I haven't deeply evaluated the targets you are invoking via antcalls, but I have very rarely found the need for them since the introduction of macrodefs around Ant 1.6--ancient history! I would recommend you experiment and see if you can't accomplish your goals with stock Ant. Matt

Re: Annotations Stripping or Transformation at Build time

2013-08-24 Thread Matt Benson
Boss Forge java-parser project and it can probably be made to do what you want, although it won't be the most trivial of tasks. I have no idea about the antlrjavaparser project, but since it was also released relatively recently there's no harm in your looking there if you l

Re: Annotations Stripping or Transformation at Build time

2013-08-23 Thread Matt Benson
Google is your friend. See http://en.m.wikipedia.org/wiki/Java_backporting_tools Matt On Aug 24, 2013 12:34 AM, "Matt Benson" wrote: > Thinking more on this, you'd at least have to remove generics signature > information from the bytecode. Those are the main differences b

Re: Annotations Stripping or Transformation at Build time

2013-08-23 Thread Matt Benson
hough. Matt On Aug 24, 2013 12:23 AM, "Matt Benson" wrote: > Interesting. There is a project in the Apache Commons sandbox, the > [weaver] component, which provides a general infrastructure for performing > bytecode transformations. An Ant task is provided. It might be fairly

Re: Annotations Stripping or Transformation at Build time

2013-08-23 Thread Matt Benson
Interesting. There is a project in the Apache Commons sandbox, the [weaver] component, which provides a general infrastructure for performing bytecode transformations. An Ant task is provided. It might be fairly trivial to rewrite 1.5 bytecode to v1.3; I'm not sure. Matt On Aug 23, 2013 10:

Re: AW: AW: Problems with ANTLR

2013-08-20 Thread Matt Benson
assing the antlib definition. Matt On Aug 20, 2013 3:35 AM, "Ernst Reissner" wrote: > Hi Matt, > thanks: one step further! > I tried now > > > > > > > > > > classname="org.apache

Re: AW: AW: Problems with ANTLR

2013-08-19 Thread Matt Benson
t@localhost:~/Software> ant genParser > Buildfile: /home/ernst/Software/build.xml > > init: > > genParser: > > BUILD FAILED > /home/ernst/Software/build.xml:377: Unable to determine generated class > > Total time: 0 seconds > > Who can tell me what

Re: AW: Problems with ANTLR

2013-08-18 Thread Matt Benson
Okay, I apologize. The ANTLR wiki does in fact specify the XML namespace you are using, but technically they should not be hijacking an org.apache namespace in this manner, hence my confusion. :-( Matt On Aug 18, 2013 5:44 PM, "Ernst Reissner" wrote: > H, > what

Re: AW: Problems with ANTLR

2013-08-18 Thread Matt Benson
That is not the namespace of the ANTLR task; its jar may not even be set up as an antlib as such. You'll need to consult the documentation for the task to find out the proper way to set it up. Matt On Aug 18, 2013 10:48 AM, "Ernst Reissner" wrote: > Hello Jan, > you mean t

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Matt Benson
I'm not in a position to verify just at the moment, but I don't think Martin was suggesting you write code so much as showing you the properties used by the task which should translate into XML attributes. Matt On Aug 16, 2013 11:40 AM, "Kerry, Richard" wrote: > Goodness

Re: If and unless

2013-08-05 Thread Matt Benson
Hi, Tom. The examples in the manual are wrong. if/unless:set references a property name as described, but for if/unless:true/blank the attribute value should be the actual value you want to evaluate, e.g. ${has.css.overrides}. Sorry for the trouble! :) Matt On Mon, Aug 5, 2013 at 11:31 AM

Re: How to run a single junit test method with ant

2013-05-10 Thread Matt Benson
Typically this would be done using separate targets. Ant's own build.xml provides an example. HTH, Matt On Thu, May 9, 2013 at 11:33 PM, 肖谋 wrote: > Hi, Users. >I am using ant in Linux. I can use ant junit task to run all test > methods in a junit4 test class but fail to f

Re: how to compare two directores ?

2012-08-21 Thread Matt Benson
Hello, I think you'd get more assistance if you explained what you are trying to do, and/or showed us a snippet from the part of your build where things aren't going as you expect. Matt On Tue, Aug 21, 2012 at 12:33 AM, GNSH wrote: > how to compare two directores ? comparing

Re: a simple question regarding condition if/unless

2012-05-21 Thread Matt Benson
If I understand your question correctly, yes, you would have to add unless="test" everywhere you want to make target execution optional. Matt On Mon, May 21, 2012 at 11:06 AM, xsli2 wrote: > The target "test" calls two other targets: > > > > Now, I want to ad

Re: Embedding Ant Into a Java Jar

2012-05-07 Thread Matt Benson
Indeed; all produced jars for the last few Ant releases are available in Maven Central. You'll certainly need ant.jar, possible ant-launcher.jar, and depending on which optional tasks you might want to use, any number of additional jars and their dependencies. HTH, Matt On Fri, May 4, 2012

Re: Selecting the largest or oldest files in a directory

2012-02-08 Thread Matt Benson
do this. Is there some "ant-contrib"-y place I could > find a custom selector that does something like this?  Or do I need to > write my own? > Hi, Harold--see http://ant.apache.org/manual/Types/resources.html#last . HTH, Matt > Thanks, > > Harold > > -- >

Re: Where is the issues site

2012-02-04 Thread Matt Benson
On Sat, Feb 4, 2012 at 4:42 AM, Mansour Al Akeel wrote: > I was looking for ant's bug and enhancement request, but all I was able to > find is ivy and ivyIDE under jira ! Ant is on Bugzilla; see http://ant.apache.org/bugs

Re: Extension Points?

2011-12-16 Thread Matt Benson
can define a basic "lifecycle" for any build, then contribute targets to the well-known "phases" of the build (Maven terminology in quotes) as you specialize for a certain type of project. Matt > > > I have to maintain a fairly large Ant framework, but I'm not

Re: Property not loaded

2011-12-16 Thread Matt Benson
ity is the nested PropertyExpander provided by http://ant.apache.org/antlibs/proper.html#props . Matt > -Original Message- > From: Vinodh Kumar [mailto:vinoh...@gmail.com] > Sent: Thursday, December 15, 2011 12:23 PM > To: user@ant.apache.org > Subject: Property not loaded >

Re: How can i build latex, asy... with ANT

2011-12-16 Thread Matt Benson
omething typically handled internally to a given task. If the task you want to use doesn't support this, try http://ant.apache.org/manual/Tasks/uptodate.html . HTH, Matt > > - > To unsubscribe, e-mail: user-

Re: Performance of fileset containing a large number of files

2011-08-19 Thread Matt Benson
could do is make a > wrapper script to set the Java path to a newer version in order to be > able to use ant 1.8.1, but some of my tasks call our app which > requires Java 1.3. You have an app that will *only* run on Java 1.3? :/ Matt > I'll look into separating the ta

Re: Equivalent:

2011-07-08 Thread Matt Benson
lse" > attribute.  I find that I often have targets that are just wrappers for > macrodef or use antcontrib's if/else tasks to accomplish this. Embedding some unit of work in a target that is conditionally executed *is* the "Ant way" of doing things. :) Matt > > -

Re: Equivalent:

2011-07-08 Thread Matt Benson
d a problem that would formerly have been solved by e.g. that couldn't be solved with , and so reducing dependencies on external libraries while still avoiding the overhead of the additional project instance. Matt > >> -Original Message- >> From: Steve Amerige [mailto:st

Fwd: Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th

2011-07-03 Thread Matt Benson
-- Forwarded message -- From: Gavin McDonald Date: Sat, Jul 2, 2011 at 7:16 PM Subject: Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th To: p...@apache.org PMCs, please re-post this reminder to your user and dev lists and anywhere else you see fit. - Hi All,

Re: Syntax for Names: target, property, macrodef, etc.

2011-06-30 Thread Matt Benson
lare a "level of locality" for a named property, i.e. "any changes made to property P at or below the current scope are considered local to this block." The manual page for this task describes its use in what I consider adequate (at least) detail. As it took some doing (by Pet

Re: Syntax for Names: target, property, macrodef, etc.

2011-06-30 Thread Matt Benson
;s probably the same > for property and macro names. A property name would be expanded as in . I never thought about macrodefs, and I don't think we have any generic way to call a macro defined in such a fashion (though ISTR having played with such at some point long ago), but I think it

Re: Zipfileset on classpath

2011-06-16 Thread Matt Benson
ropped a sandbox antlib called fscache (see http://ant.apache.org/antlibs/sandbox.html) to do this on-the-fly. YMMV, but its tests still pass FWIW. Matt - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Travel Assistance applications open for ApacheCon North America 2011

2011-06-06 Thread Matt Benson
The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is now accepting applications for ApacheCon North America 2011, 7-11 November in Vancouver BC, Canada. The TAC is seeking individuals from the Apache community at-large --users, developers, educators, students, Committers, an

Re: Custom task to force build success

2011-05-18 Thread Matt Benson
} try { super.buildFinished(event); } finally { event.setException(error); } } } Then simply use in your buildfile. HTH, Matt - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: How can I check if file exists in gz compress file?

2011-05-08 Thread Matt Benson
On Sat, May 7, 2011 at 4:00 PM, Ben Tu wrote: > thanks Nicolas. I'll look into it. > Of course something along the lines of what Nicolas suggests should work. I didn't see gzipresource in the manual. :/ Matt > 2011/5/7 Nicolas Lalevée > >> I think this kind of

Re: How can I check if file exists in gz compress file?

2011-05-06 Thread Matt Benson
to gunzip it first, you can use the resource collection. Matt > > Here is the content of myfile.tar.gz after extracted. > > Dir1/ > >   fileA > >   fileB > > dir2/ > >   fileC > > > > I want to check if fileC exists in myfile.tar.gz without e

Re: Weird observation with echoxml w.r.t. order of node text

2011-04-08 Thread Matt Benson
gt; So yeah, I'm afraid it's by design... A proper was need > access to the full infoset provided by the parser, and thus require > deeper changes into Ant core to provide that infoset. --DD > EchoXML has, I'm afraid, been a largely unsu

Re: Loading resource or property files embedded in jar file that distributes shared build files?

2011-04-08 Thread Matt Benson
crodefs to include-relative and import-relative which themselves delegate back to the all-important macro that actually determines what a relative resource looks like. It might be possible for similar properties to be added to Ant for Antlibs, but from what I can tell so far it would indeed be a good

Re: Using as a resource collection in

2011-04-05 Thread Matt Benson
n, I have no problem with this theoretically; however, it would seem to violate the backward compatibility principles that we of the Ant project hold second to none. :) Occasionally we temper the application of this rule with

Re: Curling throug a list of files

2011-03-28 Thread Matt Benson
Can you not use the various type tasks available with Ant, or indeed simply a number of resources? Matt > Here comes my Code; > [default.properties] > file.index = index.html start.html > > Running Curl with

Re: How to manage properties for identical tasks/macros run in parallel?

2011-03-12 Thread Matt Benson
You should see the task, whereby you can set up scoped property "shadowing." Matt On Sat, Mar 12, 2011 at 10:59 PM, Parag Doke wrote: > Any ideas anyone ? > Thanks in advance, > Parag Doke > Save paper, save trees. Do not print emails/documents unless > absolutely

Re: Accessing classes in a path from a custom task

2011-02-21 Thread Matt Benson
t;my.path"/> > > > > < mytask classpathref="my.runtime.path" classname="com.foo.Bar"/> > > > > What has to happen in order to get 'com.foo.Bar' available to my task at > runtime? > > You might find org.apache.tools.ant.AntClassLoader useful for your purposes. HTH, Matt

Re: Change property value

2011-02-18 Thread Matt Benson
On Feb 18, 2011, at 9:27 AM, Stefan Bodewig wrote: > On 2011-02-18, shaffic wrote: > >> is the any alter method to change the property value which is initializd > > No. In Ant properties are immutable by design. > Do check out the task and see if it will help, how

Re: Alternative to if else task.

2011-02-11 Thread Matt Benson
On Fri, Feb 11, 2011 at 9:49 AM, ritchie wrote: > > Matt, > The target option would be good if the other target does not fail, but in > my build file i have target which executes perforce command and i capture > the result of the exec task in resultproperty. If the value of resul

Re: Alternative to if else task.

2011-02-11 Thread Matt Benson
ars to run? > The alternative is structured target dependencies per http://ant.apache.org/manual/targets.html#targets . HTH, Matt > -- > View this message in context: > http://ant.1045680.n5.nabble.com/Alternative-to-if-else-task-tp3381392p3381392.html > Sent from the A

Re: Possible to dynamically reference a property?

2011-01-25 Thread Matt Benson
een a formal release, and the blog posting you referenced seems in order. :) Matt (primary/only? author of the props Antlib) > Hope this helps. --DD > > - > To unsubscribe, e-mail: user-unsubscr...@ant.

Re: echo a property

2010-10-27 Thread Matt Benson
On Oct 27, 2010, at 4:25 PM, Gilbert Rebhan wrote: > Original Message > Subject: Re: echo a property > From: Matt Benson > To: Ant Users List > Date: 27.10.2010 23:07 > >> Are you talking about the props antlib? >> http://ant.apache.org/antl

Re: echo a property

2010-10-27 Thread Matt Benson
o follows > Are you talking about the props antlib? http://ant.apache.org/antlibs/props/index.html -Matt > --- On Wed, 10/27/10, ritchie wrote: > > From: ritchie > Subject: Re: echo a property > To: user@ant.apache.org > Date: Wednesday, October 27, 20

Re: conditional global variables?

2010-09-26 Thread Matt Benson
On Sep 26, 2010, at 8:23 AM, Marina wrote: > Hello! > In essence, I would like to know how to define a global property > conditionally, > and then have it available to all build files via . > Um, use the task? -Matt > Now the details: > I have a build.common.xml

Re: Other than looking at the Ant source...

2010-09-13 Thread Matt Benson
Scot: Have you read http://ant.apache.org/manual/developlist.html ? -Matt On Sep 13, 2010, at 1:06 PM, Scot P. Floess wrote: > > Yes, I was aware of those projects - thanks! > > Do you know of any how-to documentation as well? I know - I am being very > very lazy :) >

Re: ant-contrib 1.0b3 broken?

2010-09-07 Thread Matt Benson
This is because late-ish versions of antcontrib are defined as an antlib, so newer tasks aren't in the old-style properties file. Using xml namespace mapping, for example, works fine. HTH, Matt On Sep 7, 2010, at 7:55 PM, Jonathan Rosenberg wrote: > I had to declare the task via its

Re: How to get the last folder name?

2010-09-03 Thread Matt Benson
. To get direct children only, use includes="*". -Matt > Regards > > Peter > > > Matt Benson schrieb: >> Your example should work if you only use ${toString:_lastname}. References >> are not properties. >> >> HTH, >> Matt >>

Re: How to get the last folder name?

2010-09-03 Thread Matt Benson
Your example should work if you only use ${toString:_lastname}. References are not properties. HTH, Matt On Sep 3, 2010, at 9:27 AM, P.N. wrote: > > Hello! > > I want to get the path to the last child folder in some parent directory.

Re: AW: Conditional target problem

2010-08-19 Thread Matt Benson
; visibility issues with antcall? > Certainly, aside from the fact that macrodef is not really that new, having been released with Ant 1.6 IIRC. ;) -Matt > --- On Thu, 8/19/10, Knuplesch, Juergen wrote: > > From: Knuplesch, Juergen > Subject: AW: Conditional target problem >

Re: Ant: want to copy a file if it exists

2010-07-30 Thread Matt Benson
? By creating a destination file that doesn't exist? That's crazy talk! :) So copy simply ignores nonexistent resources. In this particular example your job of only copying a file that exists has been done for you first by and then by . You should be covered. :) HTH

Re: Ant task to convert files from one encoding to another encoding

2010-07-21 Thread Matt Benson
on to do the encoding conversion? Thanks > -Matt > Jingguo Yao - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Loading a list of filtered files

2010-07-13 Thread Matt Benson
fortunaltely I cannot apply a filterchain on a fileset. > Why don't you apply the filterchain to the concat? -Matt > Maybe there are some other way to do that with resources ? > Or should I use copy and have some temporary files ? > > Nicolas > > --

Re: Constructing patterns for use in fileset includes

2010-07-05 Thread Matt Benson
On Jul 5, 2010, at 10:17 AM, Bailey, Darragh wrote: Thought I'd send the final results of what I got working to the list. [SNIP] I must say this is probably the first example of used in anger in the wild. I'm gratified that it's working so well for you. :) Regards, Ma

Re: Augment task and use cases

2010-07-01 Thread Matt Benson
On Jul 1, 2010, at 11:07 AM, Michael Ludwig wrote: Matt Benson schrieb am 01.07.2010 um 10:26 (-0500): On Jul 1, 2010, at 9:52 AM, Michael Ludwig wrote: Wouldn't it be nicer to have , which is still young and flexible, have augment/@refid to refer to an existing reference, and augmen

Re: Augment task and use cases

2010-07-01 Thread Matt Benson
pport the nested "augment" element: pathconvert's documentation, I expect, makes no assertion that you can nest a task inside pathconvert. The intended usage of is: 1. declare a reference; 2. augment it as many times as desired; 3.

Re: Constructing patterns for use in fileset includes

2010-07-01 Thread Matt Benson
On Jul 1, 2010, at 8:26 AM, Bailey, Darragh wrote: -Original Message- From: Matt Benson [mailto:gudnabr...@gmail.com] Sent: 30 June 2010 15:57 To: Ant Users List Subject: Re: Constructing patterns for use in fileset includes You're in luck. I would recommend using antcontri

Re: Constructing patterns for use in fileset includes

2010-06-30 Thread Matt Benson
and I'll have to go to antcontrib for that or am I missing any other > options? > You're in luck. I would recommend using antcontrib:for to iterate over a resourcecollection built from your property + the new task. See http://markmail.org/thread/4qskrvmiyk6qpjdg for a

Re: Copying a static list of files

2010-06-25 Thread Matt Benson
s) of your list and add each as a separate include to your fileset. Ain't that slick? ;P -Matt Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-

Re: Atomic/Synchronized Task

2010-06-24 Thread Matt Benson
behoove you to join in the development effort of the parallel executor (if its author is open to outside participation). It could be close enough or lead to something that is. HTH, Matt > > -Original Message- > From: Matt Benson [mailto:gudnabr...@gmail.com] > Sent: Thursd

Re: Atomic/Synchronized Task

2010-06-24 Thread Matt Benson
On Jun 24, 2010, at 4:04 PM, Perrier, Nathan wrote: > Hello all, > > > > I was curious if there exists a means to atomically execute tasks when > running targets in parallel. > ? -Matt > > > I.E., I would like to d

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Matt Benson
rom the environment in >> a cross-platform way given that it has to happen at the top of the >> script? > > I'm probably missing something, but what's wrong with the following, > which is provided by Ant out of the box: > Provided by Java out of t

Re: How to echo the empty directories of a fileset ?

2010-05-17 Thread Matt Benson
On May 15, 2010, at 4:30 AM, Bruno Medeiros wrote: On Thu, May 13, 2010 at 7:14 PM, Matt Benson wrote: On May 13, 2010, at 12:48 PM, Bruno Medeiros wrote: Hello. If I do something like this: and projects.dir has

Re: How to echo the empty directories of a fileset ?

2010-05-13 Thread Matt Benson
ply want to copy a fileset and not get empty directories, has an includeemptydirs attribute which defaults to true. -Matt Regards, Bruno - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional comman

Re: AW: Passing a list of files to javac

2010-03-11 Thread Matt Benson
Have you tried wrapping a refid'd fileset in a (path) element nested in ? That, according to the manual, should work (note that you can nest any filesystem-based resource collection into a path). This presumes you're using Ant 1.7+... HTH, Matt On Mar 11, 2010, at 4:42

Re: Ivy + hudson CI - problems downloading artifacts, please, help

2010-03-04 Thread Matt Benson
This bit me today... updated to tip Ivy and seems to be resolved-- thanks Maarten! -Matt On Feb 26, 2010, at 5:50 PM, Maarten Coene wrote: ok, I've found a place in the Ivy code that could cause the resolve to hang. I've fixed that particular problem in SVN trunk. Could you try

Re: how to detect a file while looping thru a list of directories

2010-03-04 Thread Matt Benson
Just describe the path with a fileset (or use the fileset directly as this deprecated approach should still work): or if you're wanting to match test.xml at any point in that directory structure... HTH, Matt On Mar 4, 2010, at 5:09 AM, Michael Powe wrote: On Wed, Mar 03, 20

Re: AW: Jar and duplicate=preserve

2010-02-26 Thread Matt Benson
Sorry about that--per Stefan's email, it is duplicates="add" that has the behavior I described. :) -Matt On Feb 26, 2010, at 9:37 AM, Knuplesch, Juergen wrote: Hello, Thabks for the replies. I could now reproduce this behaviour under Windows, because I have now the env

Re: Jar and duplicate=preserve

2010-02-26 Thread Matt Benson
I think duplicate="preserve" actually implies that both entries are retained, per the ability of the format to handle this seemingly illogical situation. -Matt On Feb 26, 2010, at 9:21 AM, Antoine Levy Lambert wrote: Hello Juergen, my spontaneous answer is that duplicate="

Re: Include Macros Defined in a Single Directory

2010-02-20 Thread Matt Benson
Ant 1.8.0 shipped with the ability to nest any resourcecollection into your import task: Should work for you. -Matt On Feb 19, 2010, at 5:52 PM, James Kennard wrote: Hi, I have been defining macros in individual files and as a result every time I add a new macro I am adding an

Re: Ant task to get artifacts from Nexus Repository

2010-02-18 Thread Matt Benson
Maven Ant tasks or Ivy can pull from Nexus, which is fundamentally a Maven repository. -Matt On Feb 18, 2010, at 11:13 AM, Sridhar Bitkuri wrote: Looking for any Ant task to get the ear files or war files from Nexus Repository. Appreciated. -- Sent from my Palm Prē

Invalid report WAS [IvyDE] Ivy project menu disappears running Hudson IvyDE

2010-02-10 Thread Matt Benson
Actually, I think I lied. I was running an Eclipse profile that was using IvyDE 2.0.0. Sorry! On Feb 10, 2010, at 11:08 AM, Matt Benson wrote: I had to use the Unlocker utility on Windows to unlock the jars from my Ivy cache that Eclipse was using. That freaked out Eclipse such that I

[IvyDE] Ivy project menu disappears running Hudson IvyDE

2010-02-10 Thread Matt Benson
, Matt

Re: with refid to support further narrowing

2010-02-03 Thread Matt Benson
limited case. HTH, Matt On Feb 3, 2010, at 7:29 AM, Raja Nagendra Kumar wrote: Is it possible to convert the restricted files into new fileset with xyz id. We need fileset, because the task we are using supports only fileset as nested element. Regards, Nagendra Raja Nagendra Kumar

Re: Add new resource to existing ResourceCollection (path) in ANT build script

2010-01-28 Thread Matt Benson
such is not trivial. In the meantime you could/should probably script something like this. HTH, Matt - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-

Re: Getting the name of the only file in a directory

2010-01-07 Thread Matt Benson
Another way to keep this as a resourcecollection is: -Matt On Jan 7, 2010, at 4:47 PM, leroybrownbpj wrote: Thank you! ddevienne wrote: On Thu, Jan 7, 2010 at 4:02 PM, leroybrownbpj wrote: I'm working on a project currently where we need to deploy an artifact to a serve

Re: AW: AW: should ant 'id' value be a static string

2009-12-21 Thread Matt Benson
Well, theoretically if some user were using a ${foo} construct as an explicit id, then yes, that would break BC, but I would imagine such situations to be extremely rare and wouldn't have a problem with adding property expansion to the id attribute. -Matt On Dec 21, 2009, at 7:

Re: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Matt Benson
You want the condition. See the list of supported conditions under the task. On Dec 16, 2009, at 6:02 AM, Raja Nagendra Kumar wrote: Thank you jan. It may be good idea to have api to know the list of macros available too (it may be of help in few other contexts than this). Pl. consi

Re: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread Matt Benson
That should work. Have you verified that build.classpath is not empty? You could run Ant in -v verbose or -d debug mode for more information... On Dec 15, 2009, at 2:47 PM, KARR, DAVID (ATTCINW) wrote: I have a path variable that I set in my build script. I'm trying to assemble a deploy

  1   2   3   4   5   6   7   8   >