reverse FileSet utility?

2003-08-25 Thread Dean Hiller
Is there a reverse FileSet Utility somewhere in the code? Writing an ant task and I want to take a FileSet and make it's inverse. I couldn't find one. thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

DO NOT REPLY [Bug 19237] - SSHExec task should fail if remote command fails

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 19237] - SSHExec task should fail if remote command fails

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

cvs commit: ant/src/script runant.py

2003-08-25 Thread bodewig
bodewig 2003/08/25 00:36:19 Modified:src/script runant.py Log: 2003 Revision ChangesPath 1.4 +1 -1 ant/src/script/runant.py Index: runant.py === RCS file: /home/cvs/ant/src/script/runant.p

cvs commit: ant ReleaseInstructions

2003-08-25 Thread bodewig
bodewig 2003/08/25 00:44:07 Modified:.ReleaseInstructions Log: Explain gpg invocation line to myself Revision ChangesPath 1.16 +2 -3 ant/ReleaseInstructions Index: ReleaseInstructions ===

Re: I signed jakarta-ant-src.zip on archives.apache.org

2003-08-25 Thread Stefan Bodewig
On Sat, 23 Aug 2003, Conor MacNeill <[EMAIL PROTECTED]> wrote: > You can remove the statement. Will do, when I get to it. > Conor > (Catching up ...) I spent almost an hour deleting 5000 instances of SoBig.F and almost the same amount of "Your mail contained a virus" mails - I think I know wha

Re: [OT] Build Time

2003-08-25 Thread Stefan Bodewig
> To solve this problem, you may consider the fact that listeners are > more often fired than changed, very true. I've patched Ant along the lines of your suggestion. Vadim, if you want to rerun the Cocoon build against Ant's CVS HEAD and could post the results to [EMAIL PROTECTED], that would

Re: [PATCH] Image scaling

2003-08-25 Thread Erik Hatcher
Nice! +1 On Thursday, August 21, 2003, at 01:58 PM, Rob Oxspring wrote: First up, sorry for no unit tests - just doing enough to get by for now :) Anyway, I was using the image task to create thumbnails and couldn't figure out how to keep proportions of an image but keep it within a fixed si

Re: reverse FileSet utility?

2003-08-25 Thread Stefan Bodewig
On Sun, 24 Aug 2003, Dean Hiller <[EMAIL PROTECTED]> wrote: > Writing an ant task and I want to take a FileSet and make it's > inverse. What is the inverse of a FileSet? The set of files that are not in the FileSet? See the selector or the getNotIncludedFiles and getExcludedFiles methods in Di

Re: trying to get access to fileset from new task to javac task

2003-08-25 Thread Stefan Bodewig
On Sun, 24 Aug 2003, Dean Hiller <[EMAIL PROTECTED]> wrote: > I am writing a new task that happens to wrap javac and call it a few > times. Is there any way to clear the FileSet? javac doesn't use a FileSet at all, or it uses a fresh FileSet for all and srcdir entries - depends on how you look

Re: trying to get access to fileset from new task to javac task

2003-08-25 Thread Dean Hiller
I am compiling the same src directory every time, but with different patterns. Javac uses the FileSet in MatchingTask. I currently have a hack into MatchingTask adding public void putNewFileSet(FileSet set) { fileset = set; } because I am not sure how to change out the FileSet of p

how to programatically temporarily turn off logging

2003-08-25 Thread Dean Hiller
I have a task that uses the move tasks. How do I turn off logging from the Move task? I typically will only let the move task log when the user selects verbose or debug or something. Otherwise, there is just too much logging coming out of my new ant task. thanks, dean --

Re: reverse FileSet utility?

2003-08-25 Thread Dean Hiller
actually I was looking for an easy way to take one FileSet and create another FileSet where everything was the opposite. I needed to pass these FileSets to other ant tasks. At any rate, I discovered a different method 5 seconds before your e-mail and just finished it. It is not as clean as a

RE: how to programatically temporarily turn off logging

2003-08-25 Thread Jan . Materne
No idea, but a few thoughts: - don´t call perform(); instead call execute() - create a new Project instance with no loggers and call move.setProject(noLoggerProject) - maybe you can do something with the Redirector class Jan > -Original Message- > From: Dean Hiller [mailto:[EMAIL PROT

RE: trying to get access to fileset from new task to javac task

2003-08-25 Thread didge
Dean, vppjavac (vpp.sourceforge.net, source available) wraps javac too perform file preprocessing on the source path before invoking javac. The intent was that vppjavac be a 'drop-in' replacement for javac. Originally, I'd hope to simply extend Javac, however, because of the protected visibility

DO NOT REPLY [Bug 22632] - Delete follows symbolic links to directories

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22690] - Inheritance of nested in broken

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22632] - Delete follows symbolic links to directories

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

RE: how to programatically temporarily turn off logging

2003-08-25 Thread Dominique Devienne
A little hackish, but this works... Redirects the INFO output to VERBOSE. --DD /** Silent version of . */ private static class SilentExpand extends Expand { public void log(String msg) { super.log(msg, Project.MSG_VERBOSE); } public void log(String msg, int leve

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

2003-08-25 Thread bodewig
bodewig 2003/08/25 08:29:14 Modified:src/main/org/apache/tools/ant Project.java Log: remove must be synchronized, too. Thanks Antoine Revision ChangesPath 1.151 +1 -1 ant/src/main/org/apache/tools/ant/Project.java Index: Project.java =

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

2003-08-25 Thread bodewig
bodewig 2003/08/25 01:28:27 Modified:src/main/org/apache/tools/ant Project.java Log: Switch BuildListener management from "copy on each event" to "copy on add/remove". Suggested by: Sylvain Wallez Revision ChangesPath 1.150 +35 -33ant/src/main/org/apache/t

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

2003-08-25 Thread antoine
antoine 2003/08/25 08:58:38 Modified:docs/manual/OptionalTasks image.html Log: Add example supplied by Rob Oxspring Revision ChangesPath 1.3 +14 -3 ant/docs/manual/OptionalTasks/image.html Index: image.html

RE: cvs commit: ant/src/main/org/apache/tools/ant Project.java

2003-08-25 Thread Dominique Devienne
For optimum performance, shouldn't an array be used instead of an iterator? It's easy and small to keep it in sync with the Listener vector... Just wondering. --DD > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, August 25, 2003 3:28 AM > To: [EMAIL

DO NOT REPLY [Bug 22632] - Delete follows symbolic links to directories

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

Re: [VOTE] Adding Permissions / Security Manager to Java task and JUnit task

2003-08-25 Thread Steve Loughran
Antoine Levy-Lambert wrote: See : http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22533 I am quoting Martijn Kruithof : The following bug reports are associated with Security Manager issues: http://issues.apache.org/bugzilla/show_bug.cgi?id=6323 and http://issues.apache.org/bugzilla/show_bug.cgi?

Re: [new tasks] presetdef and macrodef

2003-08-25 Thread Gus Heck
Templates appear to be something new, though I don't think I like them (see below) (1) --> ${xyz} (2) --> ${macroattr:xyz} (3) --> ${macrotemplate:xyz} Well, as I said I use those terms above just as examples, I am not hookup in words, I was just looking for some identifier to desc

Re: [new tasks] presetdef and macrodef

2003-08-25 Thread Gus Heck
Nicola Ken Barozzi wrote: [returned from holiday, happy to read the list again :-) ] Jose Alberto Fernandez wrote, On 22/08/2003 14.58: From: Gus Heck [mailto:[EMAIL PROTECTED] ... If macro definitions are available to sub builds, then your 3rd case might occur, but I don't think it would be goo

Re: cvs commit: ant/src/main/org/apache/tools/ant Project.java

2003-08-25 Thread Stefan Bodewig
On Mon, 25 Aug 2003, Dominique Devienne <[EMAIL PROTECTED]> wrote: > For optimum performance, shouldn't an array be used instead of an > iterator? Could, yes. Probably even should. One step after the other. 8-) Stefan - To un

Re: I signed jakarta-ant-src.zip on archives.apache.org

2003-08-25 Thread Steve Loughran
Stefan Bodewig wrote: On Sat, 23 Aug 2003, Conor MacNeill <[EMAIL PROTECTED]> wrote: You can remove the statement. Will do, when I get to it. Conor (Catching up ...) I spent almost an hour deleting 5000 instances of SoBig.F and almost the same amount of "Your mail contained a virus" mails - I

Re: Condition as a top level element

2003-08-25 Thread Steve Loughran
Inger, Matthew wrote: Is it possible in the future to make a top level element? Consider it done. Indeed, download any Ant1.6 nightly build for some months and you will find it done :) In ant 1.6, any task can be a toplevel element. We strongly encourage you to be careful and not put much other

Re: [VOTE] Adding Permissions / Security Manager to Java task and JUnit task

2003-08-25 Thread Stefan Bodewig
On Mon, 25 Aug 2003, Steve Loughran <[EMAIL PROTECTED]> wrote: > I am +1. Indeed, I have patched my own copy and been playing with > it. Fine, I didn't have the time to do the same, yet. I'm mainly concerned about how this would affect IDE integration (I know NetBeans has already set a SecurityM

Re: strange error in FTPTest on Windows with JDK 1.2

2003-08-25 Thread Stefan Bodewig
On Fri, 22 Aug 2003, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > I have a strange error in FTPTest on Windows/JDK 1.2 : Does it go away if you disable the JIT? Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: [OT] Build Time

2003-08-25 Thread Stefan Bodewig
On Fri, 22 Aug 2003, Costin Manolache <[EMAIL PROTECTED]> wrote: > If we make commons-logging/log4j/whatever as part of ant1.6, then in > 1.6+ tasks can use it for _debug_ info. I think I understand what you are getting at, but I guess I'd prefer the approach described by Steve in bugzilla report

DO NOT REPLY [Bug 19237] - SSHExec task should fail if remote command fails

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22705] New: - ant 1.6alpha (and possibly earlier) requires JDK 1.4

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

Re: [OT] Build Time

2003-08-25 Thread Steve Loughran
Costin Manolache wrote: Stefan Bodewig wrote: On Mon, 18 Aug 2003, <[EMAIL PROTECTED]> wrote: Most of the time the debug messages are not logged by anyone IIRC XmlLogger will log all levels. And generates huge files that sometimes are almost useless. agreed. But sometimes they are very useful.

DO NOT REPLY [Bug 22696] New: - [PATCH] OpenVMS-aware IntrospectionHelperTest

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22696] - [PATCH] OpenVMS-aware IntrospectionHelperTest

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22705] - ant 1.6alpha (and possibly earlier) requires JDK 1.4

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22690] New: - Inheritance of nested in broken

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

RE: [OT] Build Time

2003-08-25 Thread Dominique Devienne
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > > The nice thing about the commons approach is that it lets complex code > inside a task integrate properly with Ant's logging. As an example, > Axis' axis-wsdl2java uses the commons logger; to date it is not aligned >

RE: how to programatically temporarily turn off logging

2003-08-25 Thread dean
thanks, sounds like a good idea. I think that will work. dean > No idea, but a few thoughts: > - don´t call perform(); instead call execute() > - create a new Project instance with no loggers and call > move.setProject(noLoggerProject) > - maybe you can do something with the Redirector class > >

DO NOT REPLY [Bug 22709] New: - SOS tasks should allow forward slashes in vssserverpath

2003-08-25 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://nagoya.apache.org/bugzilla/show_bu

RE: javac-task and mapper

2003-08-25 Thread Ulf Caspers
On Mon, 18 Aug 2003, "didge" <[EMAIL PROTECTED]> wrote: > How about this? > > > > > > > > > Yes, it works. Thanks Didge! So, there's no need for a mapper to solv

Sshexec bug#19237

2003-08-25 Thread Anderson, Robert H - MWT
Committers, A patch has been submitted to fix this bug. The patch to sshexec should be committed after the patch to jsch has been commited and there is a new release of jsch. I have tested both and they seem to work as expected. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19237