RE: cvs commit: ant/src/etc/testcases/taskdefs/exec apply.xml

2004-11-16 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > makes sense, although force > would have been a good > name too, by does not necessarily write > files, although it often > will I admit. I just think force fits better in this > context. But I'm > not 'attached' to force either ;-) Maybe we sho

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ExecuteOn.java

2004-11-16 Thread mbenson
mbenson 2004/11/16 13:46:46 Modified:.WHATSNEW src/testcases/org/apache/tools/ant/taskdefs ExecuteOnTest.java docs/manual/CoreTasks apply.html src/etc/testcases/taskdefs/exec apply.xml src/main/or

RE: cvs commit: ant/src/etc/testcases/taskdefs/exec apply.xml

2004-11-16 Thread Dominique Devienne
> From: Matt Benson [mailto:[EMAIL PROTECTED] > --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > > Log: > > > Add overwrite attribute to . > > > > > > +* has a new "overwrite" attribute that, > > when true, disables > > > + checking of target files. > > > > Matt, I believe we use for

RE: cvs commit: ant/src/etc/testcases/taskdefs/exec apply.xml

2004-11-16 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > Log: > > Add overwrite attribute to . > > > > +* has a new "overwrite" attribute that, > when true, disables > > + checking of target files. > > Matt, I believe we use force for such an attribute > in a few other tasks. > It's probab

RE: cvs commit: ant/src/etc/testcases/taskdefs/exec apply.xml

2004-11-16 Thread Dominique Devienne
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > mbenson 2004/11/16 12:58:22 > > Log: > Add overwrite attribute to . > > +* has a new "overwrite" attribute that, when true, disables > + checking of target files. Matt, I believe we use force for such an attribute in a few ot

cvs commit: ant/src/etc/testcases/taskdefs/exec apply.xml

2004-11-16 Thread mbenson
mbenson 2004/11/16 12:58:22 Modified:.WHATSNEW src/testcases/org/apache/tools/ant/taskdefs ExecuteOnTest.java docs/manual/CoreTasks apply.html src/etc/testcases/taskdefs/exec apply.xml Log: Add overwrite att

RE: using fileset and date selector to get dirs unmofidied for 30 minutes

2004-11-16 Thread Anderson, Rob (Global Trade)
It looks like the does not support Selectors. Can anyone confirm that this is true? If so, I welcome any suggestions on how to accomplish this given the current functionality. Thanks, -Rob Anderson > -Original Message- > From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] > Se

Re: copy mapper types supported?

2004-11-16 Thread Matt Benson
--- Russell Gold <[EMAIL PROTECTED]> wrote: > etc. gives me an error: "The type doesn't > support the nested > "flattenmapper" element." This comes for free in one of two ways: outside of a task/type, or inside a task that accepts FileNameMappers. accepts a Mapper/, which defines an underlying

RE: repository

2004-11-16 Thread Wascally Wabbit
At 12:31 PM 11/16/2004, you wrote: > From: Russell Gold [mailto:[EMAIL PROTECTED] > > On Tue, 16 Nov 2004 09:06:24 -0600, Dominique Devienne > <[EMAIL PROTECTED]> wrote: > > Additionally, if the notion of what is a dependency could be abstracted > > a bit, it would be great. I'm not sure it's reaso

copy mapper types supported?

2004-11-16 Thread Russell Gold
The ant 1.6.2 docs say that mapper types are now supported, but I see no add() method in Copy.java, and etc. gives me an error: "The type doesn't support the nested "flattenmapper" element." I am trying to define my own file mapper - what am I missing? -

Re: Using properties files to define types?

2004-11-16 Thread Russell Gold
On Tue, 16 Nov 2004 17:52:27 +, Peter Reilly <[EMAIL PROTECTED]> wrote: > You need to do Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using properties files to define types?

2004-11-16 Thread Peter Reilly
You need to do or place them in an antlib xml file: Peter Russell Gold wrote: How do you specify a type in a properties file? It's working fine for me with tasks, but when I use a type: dependencies-mapper=org.apache.tools.ant.taskdefs.optional.dependencies.DependenciesFileNameMapper

Re: repository

2004-11-16 Thread Russell Gold
On Tue, 16 Nov 2004 11:43:57 -0600, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > Do you think that triggering this based on a version of "latest" makes > > the most sense, or do we need a separate nested task or boolean flag? > > I like the version approach except that I hate to make decisions

RE: repository

2004-11-16 Thread Dominique Devienne
> From: Russell Gold [mailto:[EMAIL PROTECTED] > > On Tue, 16 Nov 2004 09:06:24 -0600, Dominique Devienne > > but would like timestamp checking for latest-like dependencies that get > > overwritten (which does need a pseudo-atomic copy-to-tmp+move scheme). > > Do you think that triggering this ba

task testing style?

2004-11-16 Thread Russell Gold
The tests I have looked at in ant appear mostly to use a semi- functional test style: they use xml to define a task, run it, and then check some results (which may simply be the lack of an error). I am used to a more unit testing style, in which external classes or subsystems are stubbed out. For e

RE: repository

2004-11-16 Thread Dominique Devienne
> From: Russell Gold [mailto:[EMAIL PROTECTED] > > On Tue, 16 Nov 2004 09:06:24 -0600, Dominique Devienne > <[EMAIL PROTECTED]> wrote: > > Additionally, if the notion of what is a dependency could be abstracted > > a bit, it would be great. I'm not sure it's reasonable to ask for this > > now, but

Using properties files to define types?

2004-11-16 Thread Russell Gold
How do you specify a type in a properties file? It's working fine for me with tasks, but when I use a type: dependencies-mapper=org.apache.tools.ant.taskdefs.optional.dependencies.DependenciesFileNameMapper I get: C:\opensource\httpunit-dom\build.xml:54: No public execute() in class org.apache.t

Re: repository

2004-11-16 Thread Russell Gold
On Tue, 16 Nov 2004 09:06:24 -0600, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > In the end the major difference is a philosophical one. What is the > > central piece of the task, the repository or downloading of files. > > > > I guess I'm mo

Re: repository

2004-11-16 Thread Russell Gold
On Tue, 16 Nov 2004 09:06:24 -0600, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Additionally, if the notion of what is a dependency could be abstracted > a bit, it would be great. I'm not sure it's reasonable to ask for this > now, but I'm throwing that it now so whatever design decision is mad

RE: repository

2004-11-16 Thread Dominique Devienne
> From: Steve Loughran [mailto:[EMAIL PROTECTED] > > Which is precisely why every policy has an if attribute that is boolean > > > Hmmm, the old if/unless debate... And we keep on littering the Ant code with duplicated if/unless attributes and the logic/doc associated to them instead of doing

Re: repository

2004-11-16 Thread Steve Loughran
On Tue, 16 Nov 2004 10:03:07 -0600, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Steve Loughran [mailto:[EMAIL PROTECTED] > > marks everything for fetch then verifies they were pulled down > > (default policy) only marks absent stuff for downloaded > > marks everything for timestamp-

RE: repository

2004-11-16 Thread Dominique Devienne
> From: Steve Loughran [mailto:[EMAIL PROTECTED] > marks everything for fetch then verifies they were pulled down > (default policy) only marks absent stuff for downloaded > marks everything for timestamp-based-fetch The problem with such an approach is that you have no way to change to on th

Re: repository

2004-11-16 Thread Steve Loughran
oh, and one more thing. I dont think security checking of Md5 checksums should be voluntary; it should be on by default even if we really need https-against-apache.org verification to be secure. It should be built in to the maven repository handler, where it is currently stubbed out. Ideally JA

Re: repository

2004-11-16 Thread Steve Loughran
When I get home, I will check in the current version of the code, which will build and pass existing tests, but not new ones. The key change (apart from new stuff going into tools/ant/tasks/repository (and not optional), is the LibraryPolicy interface, which invokes an entry in the policy handle

RE: repository

2004-11-16 Thread jfuller
"Dominique Devienne" <[EMAIL PROTECTED]> wrote .. > > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > In the end the major difference is a philosophical one. What is the > > central piece of the task, the repository or downloading of files. > > > > I guess I'm more on the side of the declarati

RE: repository

2004-11-16 Thread Dominique Devienne
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > In the end the major difference is a philosophical one. What is the > central piece of the task, the repository or downloading of files. > > I guess I'm more on the side of the declarative approach dependencies > takes, but I do want those additi

Re: repository

2004-11-16 Thread Stefan Bodewig
On Fri, 12 Nov 2004, Russell Gold <[EMAIL PROTECTED]> wrote: > On Fri, 12 Nov 2004 17:12:21 +0100, Stefan Bodewig > <[EMAIL PROTECTED]> wrote: >> Let me take a few steps back and first look at the functionality >> only. We have: >> >> * a local directory holding libraries. (both) >> >> * remote

Re: Bugzilla dead?

2004-11-16 Thread Stefan Bodewig
On Tue, 16 Nov 2004, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Anyone else having problems with bugzilla reporting SQL errors when > searching? Yes. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Bugzilla dead?

2004-11-16 Thread Kevin Jackson
Anyone else having problems with bugzilla reporting SQL errors when searching? >>> DBD::mysql::st execute failed: Got error 28 from table handler [for Statement "SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bug_status, bugs.resolution, bugs.bug_severity, bugs.priority, bugs.rep_pl

nightly builds rebooted

2004-11-16 Thread Stefan Bodewig
Hi all, (ab-)using my account on Brutus, I'll provide nightly builds from there (until we have a more official place in the Gump project). Unlike our prior nightly builds, this one does not get built by Gump but uses installed dependencies only. Currently Ant gets compiled against May 9 2004

renaming hidden fields - was Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/metamata AbstractMetamataTask.java MParse.java

2004-11-16 Thread Kevin Jackson
Hiding is more serious as it can create bugs. Java1.5 javac is a bit whinier too; I checked in patches to fix that last week. The problem there was ambiguity with method.invoke and other operations that now have a varargs option. Ok, I'll ignore multiple returns, but unless people object, I'll

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/metamata AbstractMetamataTask.java MParse.java

2004-11-16 Thread Steve Loughran
On Tue, 16 Nov 2004 09:50:24 +0700, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Sorry I also forgot to include the fact that PMD (pmd.sourceforge.net) > complains bitterly about some of the variable names (too short, hiding, > using underscores, nested statements, multiple returns etc etc), and > p

Re: Cross Dependency in Modules

2004-11-16 Thread Steve Loughran
On Tue, 16 Nov 2004 10:03:57 +0530, sanjeev chhabra <[EMAIL PROTECTED]> wrote: > Hi All, > If i want to create a EAR containing many Jars. > Out of these Jars 2 jars have cross dependency. > i.e. > A Need B > B Need A > Now if i create jar A first it is giving me errors. > How can i resolve this

DO NOT REPLY [Bug 30932] - FTP task should log which remote directories it is using

2004-11-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant/xdocs index.xml problems.xml

2004-11-16 Thread bodewig
bodewig 2004/11/16 01:03:28 Modified:docs Tag: ANT_16_BRANCH index.html problems.html xdocsTag: ANT_16_BRANCH index.xml problems.xml Log: merge Revision ChangesPath No revision No revision 1.287.2.10 +1 -1

cvs commit: ant/xdocs index.xml problems.xml

2004-11-16 Thread bodewig
bodewig 2004/11/16 01:02:54 Modified:docs index.html problems.html xdocsindex.xml problems.xml Log: More references to nightly builds Revision ChangesPath 1.307 +1 -1 ant/docs/index.html Index: index.html

cvs commit: ant/xdocs bindownload.xml srcdownload.xml

2004-11-16 Thread bodewig
bodewig 2004/11/16 00:44:16 Modified:docs bindownload.html srcdownload.html xdocsbindownload.xml srcdownload.xml Log: A new attempt on nightly builds Revision ChangesPath 1.53 +1 -1 ant/docs/bindownload.html Index: bindownload.html

cvs commit: ant/src/main/org/apache/tools/zip ZipEntry.java

2004-11-16 Thread bodewig
bodewig 2004/11/16 00:37:41 Modified:src/main/org/apache/tools/zip ZipEntry.java Log: Try to provide more information on an exception occuring in Kaffe Revision ChangesPath 1.18 +26 -6 ant/src/main/org/apache/tools/zip/ZipEntry.java Index: ZipEntry.java ==

cvs commit: ant/docs/manual/OptionalTasks replaceregexp.html

2004-11-16 Thread bodewig
bodewig 2004/11/16 00:13:39 Modified:docs/manual Tag: ANT_16_BRANCH running.html tutorial-writing-tasks.html docs/manual/CoreTasks Tag: ANT_16_BRANCH changelog.html chmod.html docs/manual/CoreTypes Tag: ANT_16_

cvs commit: ant/docs/manual/OptionalTasks replaceregexp.html

2004-11-16 Thread bodewig
bodewig 2004/11/16 00:12:37 Modified:docs/manual running.html tutorial-tasks-filesets-properties.html tutorial-writing-tasks.html docs/manual/CoreTasks changelog.html chmod.html docs/manual/CoreTypes filterchai

DO NOT REPLY [Bug 31812] - added logging of local and remote timestamps

2004-11-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Cross Dependency in Modules

2004-11-16 Thread sanjeev chhabra
Hi All, If i want to create a EAR containing many Jars. Out of these Jars 2 jars have cross dependency. i.e. A Need B B Need A Now if i create jar A first it is giving me errors. How can i resolve this issue. Thanks Sanjeev Chhabra -

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/metamata AbstractMetamataTask.java MParse.java

2004-11-16 Thread Kevin Jackson
Sorry I also forgot to include the fact that PMD (pmd.sourceforge.net) complains bitterly about some of the variable names (too short, hiding, using underscores, nested statements, multiple returns etc etc), and part of my build process is to run PMD against the code to check for style problems

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/metamata AbstractMetamataTask.java MParse.java

2004-11-16 Thread Kevin Jackson
Dominique Devienne wrote: From: Stefan Bodewig [mailto:[EMAIL PROTECTED] All of the fixes I committed have either been for shadowed defintions or statics used as non-statics. There also is a warning about switch fall-throughs in JavaEnvUtils but they are wanted. Thanks for the summary. My own