Re: Request - Native Java "Script" Support

2012-09-20 Thread Jeffrey E Care
Anders Rundgren wrote on 09/20/2012 09:27:10 AM: > I guess I knew that this idea wouldn't get a big hooray... > > If you had tried NAnt you would probably agree that in-line Java > is cooler than custom tasks because you (can) have the entire script > in one file. > > The proposal wasn't to sa

Re: Request - Native Java "Script" Support

2012-09-20 Thread Jeffrey E Care
Anders Rundgren wrote on 09/20/2012 07:55:13 AM: > I haven't tried with Groovy script and my request is really about getting > a core feature already verified being useful in NAnt into the default Ant > installation so you can ship build scripts to anybody (having an upgraded > Ant NB...) wit

Re: nested ant properties

2012-07-11 Thread Jeffrey E Care
Smitha wrote on 07/11/2012 09:33:16 AM: > I have property > > > > > the output of container is sample/{node} > > now > > which returns = Test2 > > > is returning sample/{node} but i am looking for sample/Test2 > thanks Please submit such questions to the user list in the future.

Re: Force all location properties to be resolved in Unix Style

2012-06-11 Thread Jeffrey E Care
Raja Nagendra Kumar wrote on 06/05/2012 10:21:36 AM: > Is it possible for ant location property to be resolved or echoed always in > unix style path seperator.. irrespective of os on which ant is used.. > > e.g > > location="c:\\java\\portals\\liferay\\vers/"/> > > > > sho

Re: chown task in ant

2012-05-03 Thread Jeffrey E Care
The manual page (http://ant.apache.org/manual/Tasks/chown.html) is pretty clear about this. Jeffrey E. (Jeff) Care ca...@us.ibm.com IBM WebSphere Application Server WAS Release Engineering F

Re: Archetype for Ant

2012-04-22 Thread Jeffrey E Care
Isn't this what EasyAnt is for? Jeffrey E. (Jeff) Care ca...@us.ibm.com IBM WebSphere Application Server WAS Release Engineering Mansour Al Akeel wrote on 04/22/2012 03:38:55 PM: > From: Man

Re: Tasks to be contributed

2012-03-09 Thread Jeffrey E Care
So this is some long running process? It sits there & blocks until a change is dropped? I think we need more details. Jeffrey E. (Jeff) Care ca...@us.ibm.com IBM WebSphere Application Server WAS Re

Re: import remote file

2012-03-08 Thread Jeffrey E Care
import remote file > > Jeffery, > thank you. I will try it soon. > Can you please let me know what makes you think it's terrible idea ? > > > On Thu, Mar 8, 2012 at 3:01 PM, Jeffrey E Care wrote: > > Mansour Al Akeel wrote on 03/08/2012 02:53:55 > >

Re: import remote file

2012-03-08 Thread Jeffrey E Care
Mansour Al Akeel wrote on 03/08/2012 02:53:55 PM: > I am looking for a functionality to allow me to import remote files > that contains tasks to be used in multiple projects. Something like: > > http://path/to/reusable/file.xml"; /> > > I know I can include this in an antlib inside a jar, ant

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-15 Thread Jeffrey E Care
Mansour Al Akeel wrote on 02/15/2012 02:05:28 PM: > Is there something wrong with antlib ? Would OSGI be more convenient and > appealing for programmers to create and contribute their plugins rather > than writing their own build system ? Derivatives of eclipse exists, but > mainly they are just

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Jeffrey E Care
Bruce Atherton wrote on 02/13/2012 01:25:30 PM: > I actually wanted to discuss Java 7 on the list. I went through its > features a while ago and got really excited when I read through NIO 2.0. > It does so much that Ant has to struggle with, and so much that Ant > can't do. > > I spent some

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Jeffrey E Care
Mansour Al Akeel wrote on 02/13/2012 01:57:56 PM: > From: Mansour Al Akeel > To: Ant Developers List > Cc: Stefan Bodewig > Date: 02/13/2012 01:58 PM > Subject: Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support > > Bruce, > In fact I was thinking about the same thing. The idea of forking Ant

Re: Possible bug in ResourceUtils and/or FileResource?

2012-02-09 Thread Jeffrey E Care
Matt Benson wrote on 02/09/2012 07:24:31 PM: > Hi, Jeff. It does look like it would be nice for FileResource's (File) > constructors to set basedir. I'm looking into this. Actually I may have spoken too soon when I said that just setting basedir was a good fix. It was for one of my test scena

Possible bug in ResourceUtils and/or FileResource?

2012-02-09 Thread Jeffrey E Care
I was trying to track down some strange behavior in one of our custom resource collections and I think that I might have stumbled across a potential but in ResourceUtils. Specifically, in the "asFileResource" method: /** * Convenience method to turn any fileProvider into a basic *

Re: [VOTE] Drop JDK 1.4 after 1.8.3

2012-01-27 Thread Jeffrey E Care
> From: Jesse Glick > To: dev@ant.apache.org > Date: 01/27/2012 01:44 PM > Subject: [VOTE] Drop JDK 1.4 after 1.8.3 > > As suggested in 1.8.3 thread, I propose we drop JDK 1.4 support in > trunk after Ant 1.8.3 is released. It is long past EOL >

Re: Running Ant with a remote buildfile

2011-11-08 Thread Jeffrey E Care
cederb...@gmail.com wrote on 11/08/2011 01:59:23 AM: > Thought it would be neat to setup or compile projects with a remote > buildfile. Like this: > > #> ant -f http://www.myproject.org/setup-1.0.xml > > So I hacked up some support for it in the following GitHub branch: > https://github.com/cede

RetryHandler

2011-10-07 Thread Jeffrey E Care
Is there a particular reason why RetryHandler expects a Task as a construction parameter as opposed to a ProjectComponent, or a Project? AFAIK the supplied task is only used as a hook for the logging system so ProjectComponent could do that too. _

nested types with ambiguous matches

2011-09-16 Thread Jeffrey E Care
I'm having an issue a nested type matching multiple "add" methods on a task; I've added a redacted trace below. The problem is that I *want* all of the matching add methods to be called but Ant seems to specifically check if multiple add methods match & if so it keels over. I tried changing fro

archive.apache.org acting up?

2011-08-18 Thread Jeffrey E Care
Has anyone else noticed that archive.apache.org is acting up? I tried pulling some old commons libraries from there the past few days & they are all corrupted. Jeffrey E. (Jeff) Care ca...@us.ibm.com

Re: Do we want to break BWC in AntClassLoader$ResourceEnumeration? (was Re: DO NOT REPLY [Bug 51579] ...)

2011-08-06 Thread Jeffrey E Care
Stefan Bodewig wrote on 08/06/2011 12:43:28 PM: > On 2011-07-29, wrote: > > > https://issues.apache.org/bugzilla/show_bug.cgi?id=51579 > > The Enumeration returned by AntClassloader#getResources violates the > Enumeration contract in that getNextElement() returns null rather than > throwing a

Re: Limit PropertyHelper delegates to a certain scope?

2011-07-27 Thread Jeffrey E Care
eate a new project. :/ Matt On Wed, Jul 27, 2011 at 1:39 PM, Jeffrey E Care wrote: > I have a situation where I'm retrofitting some old code to use the > PropertyHelper delegates that where added in Ant 1.8; in particular I need > to limit that scope to which a certain del

Limit PropertyHelper delegates to a certain scope?

2011-07-27 Thread Jeffrey E Care
I have a situation where I'm retrofitting some old code to use the PropertyHelper delegates that where added in Ant 1.8; in particular I need to limit that scope to which a certain delegate is active. I know how to add a delegate but there doesn't seem to be any way of removing a delegate once

Re: Has anyone got any thoughts (positive or negative) about this?

2011-04-05 Thread Jeffrey E Care
Kevin Jackson wrote on 04/05/2011 04:40:12 AM: > http://code.google.com/p/winant/ > > I'm just looking at html5boilerplate and the build script is IMHO > fairly standard for a none build person and I came across this > reference to an 'installer for ant' > > Weird? I can't say that I understan

Re: Preserving file permissions in copy and zip tasks [patch]

2011-01-23 Thread Jeffrey E Care
Haven't reviewed the code here but if it's not there already I would suggest having some sort of abstraction layer for this function instead of tying Ant directly to this jna-posix library. Last time I checked Java 7 is *supposed* to provide access to "bulk file attributes" (such as permissions

Re: How do I share data between custom Ant tasks?

2010-10-25 Thread Jeffrey E Care
Kevin Connor Arpe wrote on 10/25/2010 12:19:06 PM: > I wrote a StackOverflow.com post, but was unable to get help on this issue. > I realise this is not a simple issue. To encourage others to take a > look, I am willing to contribute a patch if someone can explain the > bug (if it is one). > >

Re: antlib.xml : defining taskdefs with attributes

2010-10-17 Thread Jeffrey E Care
I'm not sure that I completely understand your question, but maybe is what you're looking for? Jeffrey E. (Jeff) Care ca...@us.ibm.com IBM WebSphere Application Server WAS Release Engineering

Re: mappedresources question

2010-07-14 Thread Jeffrey E Care
Jon Stevens wrote on 07/14/2010 12:19:22 AM: > say i have this: > > > > > > > > > > > > but i want to exclude some files from the WEB-INF/lib that are > includ

Re: using subant with multiple projects with specific build order

2010-06-03 Thread Jeffrey E Care
videophool wrote on 06/03/2010 02:40:12 PM: > > IIRC you can use a filelist to enforce ordering. > > > > Any details or sample code would be greatly appreciated. Especially > declaring the filelist once and using it for multiple targets. Thanks. The manual has information about declaring & u

Re: using subant with multiple projects with specific build order

2010-06-03 Thread Jeffrey E Care
videophool wrote on 06/03/2010 02:16:30 PM: > I am new to ant, and am setting up a master build.xml. There are several > projects (each with build.xml) that the master will build, and there is a > dependency chain so that they must be built in a specific order. All of the > subant examples t

Re: Check that path elements exist?

2010-04-19 Thread Jeffrey E Care
Stefan Bodewig wrote on 04/15/2010 12:01:56 AM: > On 2010-04-15, Jeffrey E Care wrote: > > > Before I write my own, if there a way to check that the elements of a path > > actually exist (or optionally that at least one exists)? > > I assume you mean the 

Check that path elements exist?

2010-04-14 Thread Jeffrey E Care
Before I write my own, if there a way to check that the elements of a path actually exist (or optionally that at least one exists)? I've checked the manual backwards & forwards and I don't see a way to check this with existing tasks or conditions. ___

Re: unsubscribing

2010-03-08 Thread Jeffrey E Care
> I have sent so many emails to unsubscribe me from this mailing list > but I keep on receiving emails from this yahoo group. Who are the > stupid people who manages this group. So unprofessional people. This isn't a yahoo group...perhaps that is your problem? Are you using some sort of proxy

Re: Small ivy patch for command line interface

2010-03-03 Thread Jeffrey E Care
I'm fairly certain that the listserv strips attachments. Jeffrey E. (Jeff) Care ca...@us.ibm.com IBM WebSphere Application Server WAS Release Engineering Terence Lewis wrote on 03/03/2010 04:1

Re: Ant picks class files from current directory rather than provided jar in classpath

2010-02-19 Thread Jeffrey E Care
krats wrote on 02/19/2010 05:17:33 PM: > I am sorry about that. Dint know it was a user-list question. But we have a > common src folder starting with package structure com.company_name and > subpackages within that maintained by different groups. > I might be wrong but I think it is a genuine r

Re: Ant picks class files from current directory rather than provided jar in classpath

2010-02-19 Thread Jeffrey E Care
krats wrote on 02/19/2010 04:59:00 PM: > They are two packages within the same source folder. So does that mean, I > cant create a jar for one package and make the other package use it? This is really a user-list question but since you're already here... Why would you want to invoke the compil

Re: svn commit: r810793 - /ant/core/trunk/src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java

2009-09-03 Thread Jeffrey E Care
Gilles Scokart wrote on 09/03/2009 02:51:46 PM: > Re: svn commit: r810793 - /ant/core/trunk/src/main/org/apache/tools/ > ant/filters/util/ChainReaderHelper.java > > What is the benefits of having the parameters final ? It prevents you from inadvertently changing which object the parameter name

Re: Fetch properties with name matching to a regular expression

2009-09-01 Thread Jeffrey E Care
> Does Ant API has any property query mechanism to find the declared > properties either by regular expression value. > > Currently I am looking to read all the properties with name dID, > irrespective of case ie.. did, dId etc.. > > We could definitely write our own wrapper.. if some thing alre

Re: Ant java task running in different process

2009-08-27 Thread Jeffrey E Care
renuka.k...@marsh.com wrote on 08/27/2009 07:35:00 AM: > I am using ANT Java task to run some class. I want to run this Java task > in different process, so that ANT build completes, but Java task runs in > separate process. > > If I use fork="true", it creates 2JVMs (1 for running ant and an

Re: discussion about conditional structures

2009-06-22 Thread Jeffrey E Care
We've already discussed various schemes for expanding the conditional execution of targets, most recently by allowing conditions as top-level children of targets. Check the archives. Jeffrey E. (Jeff)

Re: JDK version in javac tag

2009-05-28 Thread Jeffrey E Care
peibel wrote on 05/28/2009 08:50:47 AM: > Is there a way to bind the javac tag to compile whith JDKS 1.5 java > version. Are you talking about the JLS level (i.e. language features) or the APIs?

Target enablement via nested conditions?

2009-04-23 Thread Jeffrey E Care
Off and on we've discussed more robust ways of determining target enablement, such as adding some type of EL syntax to if/unless. It dawned on me yesterday that we might already have the makings of a very robust system: why not use conditions nested in targets to determine if the target is enab

Re: IDE's integration with Ant any clues

2009-04-05 Thread Jeffrey E Care
Raja Nagendra Kumar wrote on 04/05/2009 12:22:41 AM: > Nice to note that there is some code available as part of apache ant tools > and get to know your integration experience. To further think big.. does > the forum member think that there should more such support from ant > libraries to int

Re: Enhancing eclipse plugins for Ivy and Ant

2009-03-27 Thread Jeffrey E Care
The Ant plugin is core part of Eclipse itself. Siddhartha Purkayastha wrote on 03/27/2009 06:53:02 AM: > I know this is the dev mailing list for IvyDE but, am not sure about Ant. If > this is not the correct place for ant, does someone know where I should be > writing for the Ant plugin?

Re: buildlist/subant in parallel

2009-01-28 Thread Jeffrey E Care
> > Of particular concern is logging: your logger must be able to deal with the > > fact that you have projects running in parallel or your logs will be an > > incomprehensible jumble. > > Thanks for the tip! Prefixing logging lines, and/or writing to > separate log files per project look like r

Re: buildlist/subant in parallel

2009-01-27 Thread Jeffrey E Care
We don't use Ivy, but we do have our own set of extensions that has some similar concepts in terms of multiple projects with dependencies between them. We use multithreaded build dispatching based on a dependency graph & let me tell you: it's not an easy thing to get right. I've had to make sev

Re: New iterating task

2008-12-18 Thread Jeffrey E Care
Martin Holst Swende wrote on 12/18/2008 04:16:21 AM: > Anyway, it is a kind of file iterator meant to be used on tasks that are > not written to handle multiple files. Also a few other uses, such as > manipulating and/or preserve paths and filenames in the process . Here > is how I use it :

Re: FileSet with copy fails with NPE..

2008-12-15 Thread Jeffrey E Care
Raja Nagendra Kumar wrote on 12/15/2008 08:40:48 AM: > patterns="${deviceID}.*,*.xml,vendor.*, global.*"> > > This is very simple: Ant is creating DeepCopy & that's it. Since Ant is creating DeepCopy as a result of parsing a project file (i.e. build.xml) it wi

Re: FileSet with copy fails with NPE..

2008-12-12 Thread Jeffrey E Care
Raja Nagendra Kumar wrote on 12/12/2008 09:00:57 AM: > Still not clear, why should the custom task developer know these, when > this could be automatically inherited due to ant extention. I think this discussion has crossed the line into "titlting at windmills" territory...

Re: How to call a task from a directory

2008-12-03 Thread Jeffrey E Care
"m.sudan" <[EMAIL PROTECTED]> wrote on 12/03/2008 09:27:01 AM: > I create a target t1 in C:\abc\build.xml directory as > > [snip] Again, this is not a proper question for the Ant developer mailing list. We're not looking for more details: we're looking for you to take this up on the user mail

Re: How to call a task from a directory

2008-12-03 Thread Jeffrey E Care
"m.sudan" <[EMAIL PROTECTED]> wrote on 12/03/2008 09:11:36 AM: > How to call target, say t1 from a directory C:\abc\build.xml file into > target, say x1 (D:\xyz\build.xml file)? > > Both build files are defined in two different directories. This is a user list question.

Re: EasyAnt phases

2008-11-12 Thread Jeffrey E Care
"Remie Bolte" <[EMAIL PROTECTED]> wrote on 11/12/2008 11:42:05 AM: > > By declaring your target to be part of a given group, you are indeed > > adding yourself as an *unordered* dependency on that phase (which is > > just like a body-less target), but as you target you still have > > dependencies,

Re: EasyAnt phases

2008-11-11 Thread Jeffrey E Care
"Remie Bolte" <[EMAIL PROTECTED]> wrote on 11/11/2008 11:05:48 AM: > Can you explain the concept of targets being able to add themselfs as > dependencies? > I can't really picture this :) I wasn't involved in the definition of this so don't take my word as gospel, but this is my understanding:

Re: EasyAnt phases

2008-11-11 Thread Jeffrey E Care
-0 on the concept; my preference would be to let the function prove it's usefulness in EasyAnt & move it into core later if it truly proves useful -1 on the "phase" name +1 on using "target-group" for the name __

Re: ProjectHelper

2008-10-30 Thread Jeffrey E Care
The services mechanism was added to the JAR spec in JDK 1.3 or 1.4; Sun didn't add public classes to use services until JDK 6. Before JDK 6 you either had to use sun.misc.Service or write your own loader; IIRC there was also a loader available with one of the optional JDK extensions (something

Re: Java version required for trunk

2008-10-15 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 10/15/2008 12:31:21 AM: > [snip] > > There has been some discussion about dropping support for Java 1.3 in > trunk. One of the aguments against it was that 1.4 doesn't offer > anything new and going from 1.3 to Java5 was too big a step. > > Given that

Re: How to configure batch file in build.xml

2008-09-18 Thread Jeffrey E Care
Jan K <[EMAIL PROTECTED]> wrote on 09/18/2008 02:54:57 AM: > I am new to ant.I need to configure batch file in Ant.I have Apache ActiveMq > installed for my mobile application.I need to include the activemq.bat file > in build.xml.Can you help me how to do this.I tried with exec command. This t

Re: Allowing antlibs to contribute diagnostics & version info

2008-09-04 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 09/02/2008 12:14:15 AM: > OTOH at least the -diagnostics part may need more logic than can be > (conveniently) placed into an antlib descriptor but could be more > easily expressed in Java so really using the service API may benefit > us here. FYI, I've

Re: Allowing antlibs to contribute diagnostics & version info

2008-09-01 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 08/28/2008 11:28:40 AM: > OK. Maybe the antlib would just point to the antlib.xml file(s) there > and we add the description and versioning stuff into the antlib > descriptor? I think you meant that the service file would point to the antlib.xml? The

Re: Allowing antlibs to contribute diagnostics & version info

2008-09-01 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 09/01/2008 11:00:55 AM: > On Mon, 01 Sep 2008, Steve Loughran <[EMAIL PROTECTED]> wrote: > > > You could also run through all antlibs defined in the root of the > > project, list which are there and diagnose them. Since they are the > > ones that matter

Re: Allowing antlibs to contribute diagnostics & version info

2008-08-27 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 08/27/2008 09:29:02 AM: > > I'm using META-INF/services from the JAR spec, > > would it be possible to somehow use antlib.xml instead? Right now > antlibs don't need to do anything to META-INF at all. I would have preferred this but to my knowledge th

Re: Allowing antlibs to contribute diagnostics & version info

2008-08-26 Thread Jeffrey E Care
> I haven't looked at the code in question, but I would > think the hardest part of this whole effort would be > providing the means for Ant to look up antlib version > info. I'm actually fairly enthusiastic about using > the combination of existing arguments, mostly just > because of the number o

Re: Allowing antlibs to contribute diagnostics & version info

2008-08-26 Thread Jeffrey E Care
Tony Sweeney <[EMAIL PROTECTED]> wrote on 08/26/2008 11:24:47 AM: > Why not use '-V' for version, and '-v' for verbose (or vice versa)? > Perl and Python both do this (opposite ways round, as it happens). > Ruby uses '-v' for both (see man page); make and cc use '-v' for > version, awk and gre

Re: Allowing antlibs to contribute diagnostics & version info

2008-08-26 Thread Jeffrey E Care
"Gilles Scokart" <[EMAIL PROTECTED]> wrote on 08/19/2008 02:01:53 PM: > Why not using the same logic that we have with ant -p and ant -p -v.? > We could have ant -v -version and ant -v -diagnostics. Having started working on this now, I've discovered there are a few issues with this approach. 1

Re: Allowing antlibs to contribute diagnostics & version info

2008-08-18 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 08/18/2008 10:52:50 AM: > > I've been thinking about ways that installed antlibs could > > contribute diagnostic modules and version information. Is there > > anything like this in the works already that I've missed? > > I don't thinks so, but I agree t

Allowing antlibs to contribute diagnostics & version info

2008-08-17 Thread Jeffrey E Care
I've been thinking about ways that installed antlibs could contribute diagnostic modules and version information. Is there anything like this in the works already that I've missed? If not I'd be happy to submit a patch if there's sufficient interest. Regards, JEC __

Re: svn commit: r683552 - in /ant/ivy/core/trunk: ./ doc/use/ src/java/org/apache/ivy/ant/ src/java/org/apache/ivy/core/report/ src/java/org/apache/ivy/core/resolve/ test/java/org/apache/ivy/ant/

2008-08-14 Thread Jeffrey E Care
"Gilles Scokart" <[EMAIL PROTECTED]> wrote on 08/14/2008 04:46:55 AM: > I remember a discussion about lower case / mixed case attributes of > the ivy ant task but I don't remind me the conclusion and I didn't > find it back. I don't think the parser cares, right? I've seen plenty of build.xml fil

Re: Logging and synchronization

2008-07-17 Thread Jeffrey E Care
Stefan Bodewig <[EMAIL PROTECTED]> wrote on 07/17/2008 04:01:34 AM: > > I spent a lot of time & effort writing a thread-safe logger for our > > own internal use. > > Sounds as if it was more painful than I had expected. It's been quite a while, so my memory is a little hazy, but IIRC much of th

Re: Logging and synchronization

2008-07-11 Thread Jeffrey E Care
I spent a lot of time & effort writing a thread-safe logger for our own internal use. If there's sufficient interest I'd be willing to get the ball rolling on getting the contribution approved by our internal IP folks... __

Can't find JUnit test runner on zOS 1.9?

2008-04-03 Thread Jeffrey E Care
I'm not expecting much help on this one, but it's worth a shot... I have a user complaining about junit test failures running on zOS 1.9. I've included what I think is the relevant portion of the log below; if anyone is willing/able to help but needs more info please let me know. I'm baffled on

Re: Tasks in parallel

2008-02-26 Thread Jeffrey E Care
One thread per file? Hows that going to help for a fileset that selects 50 files? 100? 1000? Don't get me wrong - to build WebSphere we have many custom tasks that spawn worker threads. My point is that you have to be smart about how you build in multthreading support; simply spawning a thread

Re: !!!! Please can you remove me from this email list. I have been sending so many emails to remove me.

2008-02-21 Thread Jeffrey E Care
http://ant.apache.org/mail.html Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server WAS Release Engineering Niamath Khan <[EMAIL PROTECTED]> 02/21/2008 11:24 AM Please

Re: Suppress redirector input stream?

2008-01-31 Thread Jeffrey E Care
Matt Benson <[EMAIL PROTECTED]> wrote on 01/31/2008 11:58:26 AM: > Hi Jeff--I think you should be able to do: > > The empty string works & is cleaner than the hack I had come up with, so thanks for that! I'm still thinking that redirector should have an explicit flag that could be used to si

Suppress redirector input stream?

2008-01-31 Thread Jeffrey E Care
Is there a way to tell redirector to not pump stdin to a forked process? In the WAS build we have to fork quite a few times (either with or with ); these forked processes do not expect any input on their stdin, but I couldn't find a way to tell redirector to not pump Ant's stdin to the forked p

Re: nested mkdir tasks

2007-12-19 Thread Jeffrey E Care
I'm having trouble envisioning a use case were nested declarations are more valuable or intuitive than the existing methodology that others have already pointed out. Can you enlighten us as to situations where you found a nested approach to be more desirable than the standard methodology, besid

Re: Optional target support?

2007-11-06 Thread Jeffrey E Care
Steve Loughran <[EMAIL PROTECTED]> wrote on 11/06/2007 07:13:55 AM: > you cant control common import files once you also include third party > projects into your build tree and use ivy to choreograph it. > > For the new executor I'm doing for smartfrog, I looked at and > decided to change it t

Re: Optional target support?

2007-11-02 Thread Jeffrey E Care
"Peter Reilly" <[EMAIL PROTECTED]> wrote on 11/02/2007 02:54:38 PM: > The easy way is to have a common.xml that is included in > by each subproject. The common.xml would have a "foo" > target with an empty implementation. > > > > Any sub project could then have there own "foo" target that > wo

Optional target support?

2007-11-02 Thread Jeffrey E Care
I've been trying to remember: is there any support for optional targets? The scenario is that I have a very large tree, with many (i.e. several hundred) subprojects; I want to run a certain target (let's call it "foo") on each project that defines the target, but I don't have a good way of know

Re: Contribute: use zipfileset to extract sub-path of zips

2007-08-08 Thread Jeffrey E Care
Why bother to go through all that when you can just unzip the file in your copy case? Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture

RE: help needed

2007-06-05 Thread Jeffrey E Care
No, Rob: it's a trap! Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture & Development "Anderson, Rob (Global Trade)" <[EMAIL PROTEC

Re: Retry task container

2007-05-14 Thread Jeffrey E Care
How do you signal a task to clean up after itself after a failed attempt? Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture & Development

RE: class loading speed can be improved in AntClassLoader.java

2007-04-25 Thread Jeffrey E Care
It may be better to open a feature request in bugzilla and attach the patch there. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture & D

Re: someone playing with bugzilla

2007-04-23 Thread Jeffrey E Care
Sounds like the right thing to me. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture & Development Matt Benson <[EMAIL PROTECTED]

Re: [Ant Wiki] Trivial Update of "AntTutorials" by ParisHilton

2007-04-13 Thread Jeffrey E Care
Who is the wiki administrator? I'm tired of having this page defaced. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture & Development

Re: DO NOT REPLY [Bug 41985] - Zip task changes the file attributes of entries when updating the archive

2007-04-10 Thread Jeffrey E Care
I've already replied to BugZilla for reasons why Ant behaves the way that it does, but my standard advice to people who need to preserve permissions in archives is to exec the proper native archiver.

Re: [Ant Wiki] Update of "AntTutorials" by JeffCare

2007-04-08 Thread Jeffrey E Care
Yeah, hopefully the idiot who keeps putting it up there will finally get the message...or the wiki admins can protect the page somehow. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Applicat

Re: per-task diagnostics

2007-02-20 Thread Jeffrey E Care
I know I'm a little late to this party - I've been tied up in my new assignment. Anyway, FWIW here's my opinion: > I've been thinking about how we could improve our diagnostics, by moving > more of the diags into tasks themselves. Every task could have a > diagnostics(PrintStream) method that

Re: JRake - replacing build.xml files with a scripting language...

2006-12-18 Thread Jeffrey E Care
Yawn. Consultants and "thought leaders" are always interested in shiny, sparkly baubles. It never ceases to amaze me how people love to reinvent the wheel over & over again. Jeffrey E. (Jeff) Care

Re: access values

2006-11-17 Thread Jeffrey E Care
Try the user list for questions like this, or check out the FAQ/wiki. In this case, I'll be generous: http://wiki.apache.org/ant/AntOddities#head-f7da8fc33101c31a8d31dd0c0ca06810bf9b0e84 Jeffrey E. (J

Re: warnings when building javadoc

2006-10-23 Thread Jeffrey E Care
Looks like a couple of problems here: #1 @see is only supposed to be used to refer to Java elements or methods; it's not there for just general links to whatever #2 the elements/methods referred to by @see must be on the classpath or sourcpath that javadoc is using #3 the rest look like custom ta

Re: AbstractFileSet optimization

2006-10-19 Thread Jeffrey E Care
o "Ant Developers List" To Ant Developers List cc Subject Re: AbstractFileSet optimization Jeffrey E Care wrote: > Actually, WAS doesn't use ClearCase; we're still on IBM CMVC. what, you're not scared of it, are you :) -steve --

Re: AbstractFileSet optimization

2006-10-18 Thread Jeffrey E Care
Actually, WAS doesn't use ClearCase; we're still on IBM CMVC. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS 7.0 Lead Release Engineer "Dominiqu

Re: AbstractFileSet optimization

2006-10-18 Thread Jeffrey E Care
FWIW I'm -1 on this change. What happens when the contents of the directory changes? With your proposed patch new files will not be picked up & deleted files will not be removed. Might I suggest using pathconvert instead? That way you can construct the path once, convert it to a property & then

Re: Ant log statements being created even when not used

2006-09-27 Thread Jeffrey E Care
I don't know the history on why the loggers/listeners are setup the way that they are, but I find it quite useful to have different listeners operating at different logging levels. I could see a scenario where the listeners/loggers register their logging level with the runtime such that the runti

Re: Bug# 36903

2006-08-30 Thread Jeffrey E Care
Have you tried a more recent version of the 1.6 tree? Have you tried the 1.7 beta? Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release En

Re: Can DefaultLogger record the time on each target transition?

2006-08-21 Thread Jeffrey E Care
ue ) > > Bugzilla bug 27771 is in the same realm too - http:// > issues.apache.org/bugzilla/show_bug.cgi?id=27771 and hints that an   > additional temporal element to the Default Logger output would be   > problematic. > > - Paul > > > On Aug 14, 2006, at 4:58 AM, Jeffrey

Re: Can DefaultLogger record the time on each target transition?

2006-08-14 Thread Jeffrey E Care
I wouldn't make the assumption that ALL automated log analyzers use the XML format. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release E

Re: Text scripts

2006-08-11 Thread Jeffrey E Care
I don't think this is an appropriate question for the Ant developer list, but text processing is what Perl was designed for. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Serv

Re: class casting betwn build xmls

2006-07-11 Thread Jeffrey E Care
Sounds like a classloader issue; how are the custom types being loaded? Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer

Re: AntLauncher: avoid exiting VM!

2006-07-01 Thread Jeffrey E Care
AFAIK the Launcher is not intended to be used in the manner you are using it. Please check the manual for instructions on how to use Ant programmatically. Jeffrey E. (Jeff) Care [EMAIL PROTECTED]

Re: ResourceUtils.selectOutOfDateSources: ant rebuilds class file again?

2006-06-28 Thread Jeffrey E Care
AFAIK you would normally use SourceFileScanner to find source files that are out of date relative to their destination files. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Ser

  1   2   >