[Patch] Related Projects

2004-05-07 Thread Nick Chalko
Here is an update to the Related Projects page. The Centipede project is no more, Antworks has taken it place R, Nick Index: xdocs/projects.xml === RCS file: /home/cvspublic/ant/xdocs/projects.xml,v retrieving revision 1.14 diff -u

Re: DO NOT REPLY [Bug 28517] - SCP task fails when invoked multiple times.

2004-04-29 Thread Nick Chalko
True, I only posted the last call. The SCP is is in the target called by target name=doall ant dir=makeantlet antfile=build.xml target=${doall-target} / ant dir=init antfile=build.xml target=${doall-target} / subant target=${doall-target} inheritall=false

importer was: auto download of antlibs

2004-02-12 Thread Nick Chalko
Krysalis Importer is now available for download at https://sourceforge.net/project/showfiles.php?group_id=48571package_id=109374 Try it out. I think it has most enough features to interest you. R, Nick Nick Chalko wrote: In an earlier message Steve Loughran steve_loughran () hpl ! hp ! com

re: auto download of antlibs

2004-02-11 Thread Nick Chalko
In an earlier message Steve Loughran steve_loughran () hpl ! hp ! com ?a=10747672451r=1w=2 said OK, now that Ant1.6 has antlibs, it is time to think of the next step: auto download of antlibs and (perhaps) dependencies. Importer from Krysalis does exactly this. It downloads, caches and

Re: DO NOT REPLY [Bug 26511] - Add IFileSet interface

2004-01-29 Thread Nick Chalko
[EMAIL PROTECTED] wrote: I donĀ“t know ruper. But autodownload and cache resources via fileset? A fileset lists per definition only present files ... why download present files? Here is a sample of what I want to achieve. ruperset id=test1 resource name=log4j version=1.2

ImportTaskTest fails in Ecllipse

2003-12-26 Thread Nick Chalko
Running the ImportTaskTest using the JUnit tools in Eclipse, all test fail. ./build.sh -Dtestcase=org.apache.tools.ant.taskdefs.ImportTest run-single-test passes. Here is the error for testSimpleImport junit.framework.AssertionFailedError: expecting log to contain Before importIn imported

Proposal: Ant AntLet(s) : Subproject or New Feature

2003-11-04 Thread Nick Chalko
developers are seasoned developers with a history of Open Source Development, and are avid Ant users. * Nick Chalko is a memeber of the Jakarta Gump project, has contributed to Ant, and on the PMC of Krysalis. * Adam Jack is spearheading the Jakarta Gump rewrite in Python, and is on the PMC of Krysalis

Re: Proposal: Ant AntLet(s) : Subproject or New Feature

2003-11-04 Thread Nick Chalko
I really think Ant is ready to step up the amount of reuse it provides to the develpoment community. An Apache Ant subproject to develop and maintian a set of build targets for specific build steps is a very worthy goal. R, Nick

Sample antlet was: Proposal: Ant AntLet(s) : Subproject or New Feature

2003-11-04 Thread Nick Chalko
Here is what I think antlets might look like. I have experimented with the code and it works see http://nagoya.apache.org/wiki/apachewiki.cgi?AntProjectPages/AntletSample Antlets are designed to be (optionally) downloaded

Re: Preventing Parent Classloading

2003-10-10 Thread Nick Chalko
Upayavira wrote: Samuel Gabriel wrote: We ran into this problem in one of our projects. The solution we found is to override the loadClass method so that it looks into the classloader classes before it looks into the parent classes. This way if there are classes that are conflicting our classes

Re: ant 1.5.4 : Import

2003-08-01 Thread Nick Chalko
Nicola Ken Barozzi wrote: Jose Alberto Fernandez wrote, On 31/07/2003 13.24: From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] ... Wait a second, does this mean that there is crosstalk between the lines 1, 2, 3? Yes, there is crosstalk and at least in XSLT this is a good thing. It means that

Re: NPE in ComponentHelper.sameDefinition(ComponentHelper.java:593)

2003-07-21 Thread Nick Chalko
peter reilly wrote: This should be fixed in next build (July 21) of ant. Peter On Sat, 2003-07-19 at 00:00, Nick Chalko wrote: This is related to the junit antlib at krysalis. This may be something I did, but it works with the June 25 build of ant. Regardless NPE are always bad

Re: CVS Commit with ANT

2003-07-21 Thread Nick Chalko
Yes I have done cvs commits with ant Here is a an exmple for doing a tag target name=tag property name=cvsbuild.cent.cvs.tag value=build-${project.version.V}_${project.version.v}_${project.version.fix} / echo message=Tagging the source tree as

Re: NPE in ComponentHelper.sameDefinition(ComponentHelper.java:593)

2003-07-19 Thread Nick Chalko
This is related to the junit antlib at krysalis. This may be something I did, but it works with the June 25 build of ant. Regardless NPE are always bad. Here is the xbuild.xml file I import. ?xml version=1.0? project

Gump rocks was: ConcurrentModificationException

2003-07-15 Thread Nick Chalko
Gump rocks. Thanks for responding so quickly. R, Nick Stefan Bodewig wrote: On Tue, 15 Jul 2003, Adam Jack [EMAIL PROTECTED] wrote: Peter wrote: revert the script test that showed up the problem in the first place. Sorry, but what does this mean to the non-antdev-initiated? I committed a

Re: Ant 1.6 todo thoughts

2003-06-24 Thread Nick Chalko
week. It could be very powerful, if only I understood its rules. Which means -hard use to discover its quirks -tuning to fix things -documentation Maybe the basedir choice should be an option at import time. Centipede is using the import task heavily. It works very well for us. -- Nick

Re: Using classloader for Junit

2003-06-20 Thread Nick Chalko
It might appear to work but can fail in subtle ways. I have had instances where the second invocation of a task would cause an error because it would bring classes into the VM which were there already leading to two different class instances with the same classname being reachable (loader

Re: Using classloader for Junit

2003-06-20 Thread Nick Chalko
worked. Costin Peter On Thu, 2003-06-19 at 08:52, Nick Chalko wrote: peter reilly wrote: Check the ant faq http://ant.apache.org/faq.html#delegating-classloader In essence you need to place the junit.jar file in ${ant.home}/lib I had hoped that was what

Using classloader for Junit

2003-06-19 Thread Nick Chalko
?xml version=1.0 ? project default=test name=junit.antlib path id=ant.deps fileset dir=lib include name=junit-3.8.1.jar/ /fileset /path classloader classpathRef=ant.deps / taskdef name=junit classname=org.apache.tools.ant.taskdefs.optional.junit.JUnitTask/ /project

Re: Using classloader for Junit

2003-06-19 Thread Nick Chalko
Btw I can make this work if I include junit.jar and ant-junit.jar in the path. And hack AntClassloader. private boolean isParentFirst(String resourceName) { // default to the global setting and then see // if this class belongs to a package which has been // designated to

Re: Using classloader for Junit

2003-06-19 Thread Nick Chalko
peter reilly wrote: Check the ant faq http://ant.apache.org/faq.html#delegating-classloader In essence you need to place the junit.jar file in ${ant.home}/lib I had hoped that was what the classloader/ task would let me avoid. smime.p7s Description: S/MIME Cryptographic Signature

Re: Using classloader for Junit

2003-06-19 Thread Nick Chalko
${ant.home}/lib/ant-*.jar to the classloader. That should handle the usecase I have in mind. peter reilly wrote: Ah, I see. That would be nice, but the classloader task is not yet complete. Peter On Thu, 2003-06-19 at 08:52, Nick Chalko wrote: peter reilly wrote: Check the ant faq http

Re: Using classloader for Junit

2003-06-19 Thread Nick Chalko
Conor MacNeill wrote: On Fri, 20 Jun 2003 12:17 am, Nick Chalko wrote: I'll be interested to see if this works :-) I have my doubts. As soon as you go into the main loader to find the task classes (org.apache.tools.ant.taskdefs.optional.junit.JUnitTask), you won't be able to see

Re: iterator one liner, please help commit the patch...

2003-06-05 Thread Nick Chalko
+1 I am also waiting on this. smime.p7s Description: S/MIME Cryptographic Signature

Re: A Java2HTML Task - Please Add

2003-05-02 Thread Nick Chalko
A patch to the xml source docs would increase the cahnce of this getting done. -- Nick Chalko Show me the code. Centipede Ant + autodownloadable build plugins + needed jars autodownload. http://krysalis.org/centipede -