Re: how to access a MacroDef?

2006-06-07 Thread Wolfgang Häfelinger
>> So your 'def' is null, right? Actually it's the case that componenthelper.getTaskDefinitions().get(mymacroname); returns a object of type Class: Class C = (Class) componenthelper.getTaskDefinitions().get(mymacroname); In case 'mymacroname' contanis the name of a macrodef

DO NOT REPLY [Bug 39407] - Change task to accept the XSLT stylesheet as a resource

2006-06-07 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

DO NOT REPLY [Bug 39407] - Change task to accept the XSLT stylesheet as a resource

2006-06-07 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

Re: how to access a MacroDef?

2006-06-07 Thread Wolfgang Häfelinger
Allright, it appears much more easier than expected. ComponentHelper componenthelper; Object obj; MacroInstance instance; componenthelper = ComponentHelper.getComponentHelper(project()); obj = componentHelper.createComponent(mymacroname); instance= (MacroInstance)obj; instance

[EMAIL PROTECTED]: Project svn-antlib-test (in module ant-antlibs) failed

2006-06-07 Thread Gump Integration Build
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project svn-antlib-test has an issue affecting its community integration. This issue affe

[EMAIL PROTECTED]: Project antunit-test (in module ant-antlibs) failed

2006-06-07 Thread Gump Integration Build
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project antunit-test has an issue affecting its community integration. This issue affects

AW: [EMAIL PROTECTED]: Project antunit-test (in module ant-antlibs) failed

2006-06-07 Thread Jan.Materne
The error message [1] is [junit] /x1/gump/public/workspace/ant-antlibs/antunit/src/etc/testcases/antunit. xml:23: Tests failed with 1 failure and 1 error [junit] at org.apache.ant.antunit.AntUnit.execute(AntUnit.java:84) antunit.xml [2] is an Ant buildfile with but

Re: [EMAIL PROTECTED]: Project antunit-test (in module ant-antlibs) failed

2006-06-07 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 06 Jun 2006, Steve Loughran <[EMAIL PROTECTED]> wrote: When I try and run from my laptop, It doesnt find ant-testutil.jar, which is a bad sign. Do I need to point to it in build.properties or something? First of all, you need ant-testutil.jar. The property ant-t

DO NOT REPLY [Bug 39745] New: - Ant-core cannot be compiled with sablevm

2006-06-07 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

Re: how to access a MacroDef?

2006-06-07 Thread Peter Reilly
Since macro defs are tasks, it would be better to use the project.createTask() method, and not try to use the internal (although exposed trough the public classes and methods) mechanizes of Ant. This is the atest macro import org.apache.tools.ant.taskd

DO NOT REPLY [Bug 39745] - Ant-core cannot be compiled with sablevm

2006-06-07 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

svn commit: r412369 - in /ant/core/trunk/src: etc/testcases/taskdefs/optional/ etc/testcases/taskdefs/optional/xml/ main/org/apache/tools/ant/taskdefs/optional/ testcases/org/apache/tools/ant/taskdefs

2006-06-07 Thread antoine
Author: antoine Date: Wed Jun 7 04:28:22 2006 New Revision: 412369 URL: http://svn.apache.org/viewvc?rev=412369&view=rev Log: Fix for SystemId of stylesheet Bugzilla 39407. Added: ant/core/trunk/src/etc/testcases/taskdefs/optional/xml/books.xml ant/core/trunk/src/etc/testcases/taskdefs/

DO NOT REPLY [Bug 39745] - Ant-core cannot be compiled with sablevm

2006-06-07 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

Re: how to access a MacroDef?

2006-06-07 Thread Wolfgang Häfelinger
Hmm, I have seen that project.createTask() does more or less the same as I do. However, I do not understand what caching my task and invalidation means. Perhaps I do not to care about it anyway. Another thing I tried is to call my macro or task with attributes. I got it working for macros:

DO NOT REPLY [Bug 39407] - Change task to accept the XSLT stylesheet as a resource

2006-06-07 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

DO NOT REPLY [Bug 39745] - Parts of ant cannot be compiled with sablevm

2006-06-07 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

adding getURL() to Resource [WAS: [Bug 39407] - Change task to accept the XSLT stylesheet as a resource]

2006-06-07 Thread Antoine Levy-Lambert
Hi, XSLT processing, and maybe other tasks would need a method getURL() to be added to Resource. Any thoughts on that ? If we do it, do we do : String() getURL() or java.net.URL getURL() Regards, Antoine > Original-Nachricht > Datum: Wed, 7 Jun 2006 13:38:40 + (GMT)

DO NOT REPLY [Bug 39745] - Parts of ant cannot be compiled with sablevm

2006-06-07 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

DO NOT REPLY [Bug 39745] - Parts of ant cannot be compiled with sablevm

2006-06-07 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

Re: adding getURL() to Resource [WAS: [Bug 39407] - Change task to accept the XSLT stylesheet as a resource]

2006-06-07 Thread Matt Benson
--- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hi, > > XSLT processing, and maybe other tasks would need a > method getURL() to be added to Resource. > > Any thoughts on that ? > > If we do it, do we do : > String() getURL() > > or > > java.net.URL getURL() Hmm. I'm not smart enough

DO NOT REPLY [Bug 39662] - JavaDoc task ignores sourcepath

2006-06-07 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

DO NOT REPLY [Bug 39617] - Tar does not append

2006-06-07 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

DO NOT REPLY [Bug 39617] - Tar does not append

2006-06-07 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

Re: svn commit: r405300 - in /ant/core/trunk: ./ src/main/org/apache/tools/ant/taskdefs/optional/ssh/

2006-06-07 Thread Martijn Kruithof
Hi, I know I am a "bit" late, when retrieving the libraries using fetch.xml I get a jsch-0.1.17.jar that does not contain LsEntry. How can we update the environment so that a newer jsch is downloaded? Martijn - To unsubsc

svn commit: r412489 - in /ant/core/trunk/src/main/org/apache/tools/ant: IntrospectionHelper.java taskdefs/Tstamp.java taskdefs/WaitFor.java taskdefs/optional/PropertyFile.java

2006-06-07 Thread jkf
Author: jkf Date: Wed Jun 7 12:14:42 2006 New Revision: 412489 URL: http://svn.apache.org/viewvc?rev=412489&view=rev Log: Performance enhancement by Dave Brosius Modified: ant/core/trunk/src/main/org/apache/tools/ant/IntrospectionHelper.java ant/core/trunk/src/main/org/apache/tools/ant/t

DO NOT REPLY [Bug 39565] - [PATCH] Remove needless synchronization

2006-06-07 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

svn commit: r412492 - /ant/core/trunk/WHATSNEW

2006-06-07 Thread jkf
Author: jkf Date: Wed Jun 7 12:18:32 2006 New Revision: 412492 URL: http://svn.apache.org/viewvc?rev=412492&view=rev Log: (empty) Modified: ant/core/trunk/WHATSNEW Modified: ant/core/trunk/WHATSNEW URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=412492&r1=412491&r2=412492&vie

DO NOT REPLY [Bug 39373] - scp task does not work for some sshd, which does not scp1 protocol.

2006-06-07 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

Re: Re: adding getURL() to Resource [WAS: [Bug 39407] - Change task to accept the XSLT stylesheet as a resource]

2006-06-07 Thread Antoine Levy-Lambert
Hi Matt, > Original-Nachricht > Datum: Wed, 7 Jun 2006 07:44:43 -0700 (PDT) > Von: Matt Benson <[EMAIL PROTECTED]> > An: Ant Developers List > Betreff: Re: adding getURL() to Resource [WAS: [Bug 39407] - Change > task to accept the XSLT stylesheet as a resource] > > --- Ant

svn commit: r412531 - in /ant/antlibs/antunit/trunk/src: etc/testcases/ etc/testcases/antunit/ main/org/apache/ant/antunit/ testcases/org/apache/ant/antunit/

2006-06-07 Thread stevel
Author: stevel Date: Wed Jun 7 13:47:34 2006 New Revision: 412531 URL: http://svn.apache.org/viewvc?rev=412531&view=rev Log: -Fix the test to expect the failure that is now thrown on an error. -added 'all' targets to the various testcase build files that run antunit against themselves (neat tri

Re: svn commit: r405300 - in /ant/core/trunk: ./ src/main/org/apache/tools/ant/taskdefs/optional/ssh/

2006-06-07 Thread Atsuhiko Yamanaka
Hi, 2006/6/8, Martijn Kruithof <[EMAIL PROTECTED]>: when retrieving the libraries using fetch.xml I get a jsch-0.1.17.jar that does not contain LsEntry. How can we update the environment so that a newer jsch is downloaded? You can grab it at http://sourceforge.net/project/showfiles.php?group