Classpath problem inside a JUnit task

2003-12-05 Thread Peter
path. Obviously there must be another mechanism for specifying a classpath that the classloader uses. I’ve worked around this problem by setting fork=”true” but I’d like a better solution due to performance issues. Note that removing the line when fork=”false” doesn’t seem to have an effect.

something for you

2004-02-19 Thread peter
you earn money <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

unknown

2004-02-23 Thread peter
about me <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

unknown

2004-02-25 Thread peter
something about you! <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

read it immediately

2004-02-26 Thread peter
i'm waiting <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 1.6 milestones ?

2003-03-14 Thread peter reilly
one can set os = whatever to enable running this task. But normally one would have set a property that would have depended on more conditions than the os. post 1.6 4) move cpptasks from ant-contrib to main-line ant, in the optional tasks area Peter On Thursday 13 March 2003 08:17

Re: 1.6 milestones ?

2003-03-14 Thread peter reilly
attribute to extend datatypes. Peter On Friday 14 March 2003 14:54, Jose Alberto Fernandez wrote: > If we are going to take things out of ant-contrib > then we should take the , , and > tasks out of ant-contrib and incorporate them into the main line > with good documentation. >

java 1.1 on linux

2003-03-18 Thread peter reilly
Has anyone used java 1.1 on linux with ant? I have just tried ibm 1.1.8 with ant 1.4.1 and ant 1.5.2, ant -version. ant -version hangs on my machine (patched redhat 8.0) with 100% cpu utilialization. Peter.

Re: java 1.1 on linux

2003-03-18 Thread peter reilly
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(JUnitTestRunner.java:239) This may be fixed by recompiling ant or it may be due to the fact that ant-contrib uses 1.2 isms. (only just found out.!). Peter On Tuesday 18 March 2003 10:46, Stefan Bodewig wrote: > On Tue,

Re: [VOTE] JDK 1.1 support

2003-03-19 Thread peter reilly
+1 On Wednesday 19 March 2003 14:16, Steve Cohen wrote: > +1 > > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 12:45 AM > To: [EMAIL PROTECTED] > Subject: [VOTE] JDK 1.1 support > > > Hi, > > This is to formalize the discussions which

Re: java 1.1 on linux

2003-03-20 Thread peter reilly
another user error) Sorry for causing time wastage. :-)~ Peter. On Thursday 20 March 2003 15:54, Stefan Bodewig wrote: > On Tue, 18 Mar 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > 1.5.1 and 1.5: java.lang.ClassFormatError: Bad major version number > > I do not get

Re: Dynamic Configurator

2003-03-20 Thread peter reilly
Ant Dev with java gives an example. I used DynamicConfigurator to implement custom conditions in bugzilla bug no : 17199 I did not have the problems you describe. Peter On Thursday 20 March 2003 18:45, Brett Wooldridge wrote: > Hello list, >I'm trying to use DynamicConfigur

[PATCH] to enchance concat

2003-03-21 Thread peter reilly
and files after patching, the files are the concat task, html page and unit tests. The patch was generated by cvs diff -u at the top level ant directory. I posted the patch as an attachment to bugzilla bug 18166. Peter. changed.tar.gz Description: application/tgz

Re: [Ant-contrib-developers] 1.5.1 Compatible version

2003-03-24 Thread peter reilly
Thanks, I will do that. My proposal was that delete should be modified to accept a path sub-element. Peter. On Monday 24 March 2003 15:54, Dominique Devienne wrote: > Thanks Peter for removing this debugging output. > > Maybe these println statements could be replaced

Re: Artima SuiteRunner Task

2003-03-26 Thread peter reilly
Unless the tasks require changes to core ant :-)~ Peter. On Wednesday 26 March 2003 16:26, Stefan Bodewig wrote: > On Wed, 26 Mar 2003, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > That said (one more ;-), if Ant ever comes up with an easier way to > > integr

Re: Artima SuiteRunner Task

2003-03-26 Thread peter reilly
()) Peter On Wednesday 26 March 2003 17:46, Costin Manolache wrote: > Dominique Devienne wrote: > > Hu, not totally. If the AntLib also uses types, you need another > > , which should also probably needs a loaderref. Since you now > > use twice the clas

Re: Artima SuiteRunner Task

2003-03-27 Thread peter reilly
doesn't matter what the component does. > > The only problem in the current code is the TaskAdapter - which doesn't > know about types and other components, and tries to wrap everything. This does not seem to matter (if use is made of dynconfigurator). The only change I had to do was to get UnknownElement to call setProject on created objects. (my original mod to TaskAdapter was not sufficient) Peter.

RE: DynamicTag

2003-04-14 Thread peter reilly
ublic void addCustomFilters(CustomFilters customFilters) { this.customFilters = customFilters; } Cheers, Peter Dominique Devienne wrote: >>Two comments: >>1) DynamicTag is fully Ant 1.5.x compatible. No need for 1.6. Just use it >>along side your own classes, and you

RE: DynamicTag

2003-04-16 Thread peter reilly
gt;auto-magically >>thru reflection. I'm not saying it's bad, I'm pointing out it adds some, >>when DynamicTag doesn't. True, I must admit this is a bit cheeky! >>Something that I wish Ant added was the notion of 'role', to partition >>the >> task/type namespace. There is on-going work on antlib (ant/proposal/sandbox/antlib) which does something on those lines. Cheers. Peter

Re: AW: [VOTE]

2003-04-22 Thread peter reilly
And the original author was Matthew Inger. Peter On Tuesday 22 April 2003 10:43, [EMAIL PROTECTED] wrote: > I took a look at cvs log > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/src/ >n et/sf/antcontrib/property/PropertyCopy.java > > The initial version

Re: Test failures (Gump is coming to tell us anyway ...)

2003-04-22 Thread peter reilly
Hi, Your guess is nearly right, I originally used beanshell, after modifying it to use apache BSF. When submitting I modified the tests to use javascript, but missed the test to check if script is available. Cheers, Peter On Tuesday 15 April 2003 07:39, Stefan Bodewig wrote: > In addit

Re: cvs commit: ant/src/main/org/apache/tools/ant/types/selectors ExtendSelector.java

2003-04-22 Thread peter reilly
skAdaptor uses reflection to check if the adapted class contains the setProject method. This patch was meant to maintain this behaviour. Peter

Re: antlib

2003-04-22 Thread peter reilly
xml based descriptors. A patch in bugzilla report 17844 provides a simple alternative (it is however missing needed tasks like antlib and antjar). Peter. On Tuesday 22 April 2003 17:13, Stefan Bodewig wrote: > On Tue, 22 Apr 2003, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I ag

Re: antlib

2003-04-23 Thread peter reilly
ee what is wrong with this scenario. --DD The only problem is the namespace problem. But this is not a huge restriction. Peter.

Re: antlib

2003-04-23 Thread peter reilly
ould be nice to have two different classes for this case . > > I'm not sure it's wise the raising the XML namespace issue again at this > time, if AntLib is to go anywhere though... --DD True. Peter.

Re: antlib

2003-04-23 Thread peter reilly
ypedef tasks still work as at present ? (ie for individual tasks and with property resouces) Peter

Re: antlib

2003-04-24 Thread peter reilly
testAddTaskDefinition testTaskDefinitionContainsKey testTaskDefinitionContains Included is the a gziped diff file (cvs diff -u) against current CVS of Project.java Peter On Wednesday 23 April 2003 18:37, Antoine Levy-Lambert wrote: > Peter Reilly wrote > > A couple of points:

Re: antlib

2003-04-24 Thread peter reilly
to define role instances (can replace typedef/taskdef) - so the above example becomes (same as taskdef) (same as typedef) Peter

Re: antlib

2003-04-25 Thread peter reilly
t think that typedef is needed: I see typedef/taskdef as providing alaises for java beans. Peter.

Re: polymorphism (was Re: antlib)

2003-04-25 Thread peter reilly
ot see the problem here: suppose Path implements dynamicElement(Path path) one could do: Peter

Re: polymorphism (was Re: antlib)

2003-04-25 Thread peter reilly
On Friday 25 April 2003 11:54, Stefan Bodewig wrote: > On Fri, 25 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > I do not see the problem here: suppose Path implements > > dynamicElement(Path path)

Re: antlib

2003-04-25 Thread peter reilly
On Friday 25 April 2003 12:24, Jose Alberto Fernandez wrote: > Peter, > > this is exactly my point. For every new thingy that we add we now need to > go and modify IntrospectionHelper or something to make special allowances > for it. The dynamicelement addition to IntrospectionHe

Re: polymorphism (was Re: antlib)

2003-04-25 Thread peter reilly
, <... xmlns:ant="..."> Another similar idea could be: are alternatives (without any claim for completeness) with quite > different consequences when it comes to the implementation side of > things. One of the consequences is that Javac's public method createClasspath() may need to be modified. Peter

Re: polymorphism (was Re: antlib)

2003-04-25 Thread peter reilly
r. For example: as ConditionBase has dynamicElement(Condition c) and as IfTask extends ConditionBase, and OutOfDate implements Condition, the following works with my build: Peter.

Re: polymorphism (was Re: antlib)

2003-04-25 Thread peter reilly
On Friday 25 April 2003 16:45, Wannheden, Knut wrote: > > It'd be natural to people who've worked with XML Schema Instance documents, > where you'd write something like: > > > > Maybe the XML Namespace like notation of "my:somekindofpath" could mean > that "somekindofpath" is a task/type define

Re: antlib

2003-04-25 Thread peter reilly
ng what components are used for. Again, its cool that > Ant supports making lightweight tasks, but I think it should be more > rigid in the future and mandating components implement a particular > interface. Most of us at least extend Task when writing tasks, I > suspect, too. :) +1 Peter

Re: Roles (was: antlib)

2003-04-28 Thread peter reilly
to work and to throw the build exception Peter

Re: Roles (was: antlib)

2003-04-28 Thread peter reilly
On Monday 28 April 2003 17:28, peter reilly wrote: > An object of Cimpl gets method 3, An object of ABImpl is ambiguous and is > allowed. That should be "not" allowed Peter

Re: NameSpace & antlib was (Re: polymorphism)

2003-04-28 Thread peter reilly
; "antelope") then loading an antlib could be as simple as: > > > The problem here is antelope may be "antelope-1.20.jar". > > but maybe the buildfile author wants/needs to specify the namespace URI > (anything really), in which case an additional "ns" attribute could be > used: > > > This is fine. Cheers, Peter

Re: Roles (was: antlib)

2003-04-28 Thread peter reilly
single-child ? ( of course, all > primitives that can be used as attributes will remain attributes ) No, setComponent() should just of an attribute 'component="value"' as per current ant method pattern matching/ Peter

Re: NameSpace & antlib was (Re: polymorphism)

2003-04-28 Thread peter reilly
On Monday 28 April 2003 18:41, Nicola Ken Barozzi wrote: > peter reilly wrote, On 28/04/2003 19.37: > > On Sunday 27 April 2003 22:14, Wannheden, Knut wrote: > > ... > > >>but maybe the buildfile author wants/needs to specify the namespace URI > >>(anything real

Re: Roles (was: antlib)

2003-04-28 Thread peter reilly
be used in and as a task. When used as a task, it can set a property, when used as a condition, the property attribute is ignored. Cheers, Peter

Re: Roles (was: antlib)

2003-04-29 Thread peter reilly
enation uses attributes and not nested elements) Peter Some comments in-line On Monday 28 April 2003 19:55, Jose Alberto Fernandez wrote: > > > > Use java rules, (try all interfaces) > > The parent will tell you what interfaces to use. No need for wild searches. Sorry, when I said tr

Re: NameSpace & antlib was (Re: polymorphism)

2003-04-29 Thread peter reilly
problem. Peter On Tuesday 29 April 2003 04:24, Costin Manolache wrote: > J.Pietschmann wrote: > > Costin Manolache wrote: > >> There are working and valid systems ( Axis, Xslt ) that use the > >> namespace with associated me

Re: Roles (was: antlib)

2003-04-29 Thread peter reilly
In any case there will always be cases where both proposals will fail ;-) Peter.

Re: Roles (was: antlib)

2003-04-29 Thread peter reilly
On Tuesday 29 April 2003 12:49, Stefan Bodewig wrote: > On Mon, 28 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > >4. public void add(NestedElement anInner) > >5. public void addConfigured(NestedElement anInner) > > Make NestedElement a FileSet and explain

Re: Roles (was: antlib)

2003-04-29 Thread peter reilly
c void addOverridableNestedElement(NestedElement anInner) 7. public void addOverridableConfiguredNestedElement(NestedElement anInner) But this does mean changing public methods Peter

Re: Roles (was: antlib)

2003-04-29 Thread peter reilly
). In any case, the main issue of removing param(name="", value="") pattern is removed by your approach. On Tuesday 29 April 2003 13:52, Stefan Bodewig wrote: > On Tue, 29 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > This is debatable > > I said

Re: Roles (was: antlib)

2003-04-29 Thread peter reilly
ot really > fond of any of the proposed naming conventions so far. Whats wrong with add(Condition) ? > > We still need a solution for the ambiguos cases, though. 1.7+ ? Peter

Re: Roles (was: antlib)

2003-04-30 Thread peter reilly
On Wednesday 30 April 2003 16:24, Stefan Bodewig wrote: > On Tue, 29 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > >> it is, with an addXYZ(Condition) method marking it up - I'm not > >> really fond of any of the proposed naming conventions so far. > &

Re: NameSpace & antlib was (Re: polymorphism)

2003-04-30 Thread peter reilly
ample- I have code (which uses a lot of the ideas from the antlib proposal) that implements the above. I will try to get it in a form ready for upload to-nite. Peter On Wednesday 30 April 20

Re: Roles (was: antlib)

2003-04-30 Thread peter reilly
On Wednesday 30 April 2003 17:54, Costin Manolache wrote: > Stefan Bodewig wrote: > > On Tue, 29 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > >> We are still left the problem of the Type create() pattern. > > > > I don't think that it was so

Re: Roles (was: antlib)

2003-05-01 Thread peter reilly
On Wednesday 30 April 2003 19:33, Jose Alberto Fernandez wrote: > > From: peter reilly [mailto:[EMAIL PROTECTED] > > > > On Wednesday 30 April 2003 16:24, Stefan Bodewig wrote: > > > On Tue, 29 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > >

Re: Roles (was: antlib)

2003-05-01 Thread peter reilly
class (named type) without adding code to the current tasks/datatypes. Peter

Re: NameSpace & antlib was (Re: polymorphism)

2003-05-01 Thread peter reilly
On Wednesday 30 April 2003 18:28, Costin Manolache wrote: > peter reilly wrote: > > I think that agreement is very close. > > > > What about this proposal: > > > > The current types and tasks properties files may be combined >

Re: NameSpace & antlib was (Re: polymorphism)

2003-05-01 Thread peter reilly
Replying to myself ;-) On Thursday 01 May 2003 09:55, peter reilly wrote: > > The concept was introduced in the ant lib proposal. > > I propose to add it to Definer (and hence to typedef and taskdef). This > is to allow the use-case of optional tasks. Currently all the types/task

Re: Roles (was: antlib)

2003-05-01 Thread peter reilly
Ok, I have coded ant-type magic attribute over lunch. I will update Patch 19446 over the weekend with the changes. Peter. On Thursday 01 May 2003 09:24, peter reilly wrote: > On Wednesday 30 April 2003 18:17, Costin Manolache wrote: > > All the discu

Re: Roles (was: antlib)

2003-05-02 Thread peter reilly
I have done a little further work on my patch to allow nested elements to have Project type as a constructor. If the object contains both add() and create(), the add() method is used. example: I will upload the modified patch over the weekend. Peter On

Re: Roles (was: antlib)

2003-05-02 Thread peter reilly
On Friday 02 May 2003 11:46, Wannheden, Knut wrote: > Peter, > > > example: > > > > > >> newattribute="MyFileSet attribute"/> > > > > > > > >> newattribut

Re: Roles (was: antlib)

2003-05-02 Thread peter reilly
: Granted it would be nice to allow element to be used in both the serverdeploy and the ejbjar tasks, but since they do completely different things, it is not unresonable to say that they should have different names. Peter. On Friday 02 May 2003 14:35, Stefan Bodewig wrote: > On Wed, 30 Apr 2003, J

Re: Roles (was: antlib)

2003-05-02 Thread peter reilly
, or have a ComponentHelper per uri. Peter On Friday 02 May 2003 15:42, Costin Manolache wrote: > peter reilly wrote: > > \>> > example: > >> > > >> > > >> >&g

Re: Namespaces in Ant

2003-05-04 Thread peter reilly
This is a test Attached is a patch (cvs diff -u) to ProjectHelper2 to allow the above. - the code is a quick hack - an idea may be to allow NS URI handler plugins... Cheers, Peter Nicola Ken Barozzi wrote: > Costin Manolache wrote, On 03/05/2003 16

Re: Namespaces in Ant

2003-05-06 Thread peter reilly
On Monday 05 May 2003 20:20, J.Pietschmann wrote: > peter reilly wrote: > > I would agree with most of what Nicola says. I think > > that XML ns is a "heavy" solution for name clashing > > of names defined in a antlib. Moreover I do not > > think that the an

Re: AW: command line option visibility within a task ..

2003-05-06 Thread peter reilly
On Tuesday 06 May 2003 17:39, [EMAIL PROTECTED] wrote: > BTW > You´re using the old email adress [EMAIL PROTECTED] > The new one is > [EMAIL PROTECTED] that is [EMAIL PROTECTED] Peter

Re: AW: command line option visibility within a task ..

2003-05-06 Thread peter reilly
the source (ant.apache.tools.ant.taskdefs.Delete) for example code. Peter On Tuesday 06 May 2003 17:52, Harsha Kalidindi wrote: > Jan,Peter: > > Thanks for fixing the email address. > > >Main.main() -> Main.start() -> Main.Main() and none of these methods > >store the arguments. So

Re: Roles (was: antlib)

2003-05-07 Thread peter reilly
same way as property files are deal with at the moment or provide a task - 3: release/document the task to manipulate the classpath. 4: Implement the XML ns changes to use the xml definition file possibly using a predefined filename and using a package name. Peter On Wednesday 07 Ma

Re: Roles (was: antlib)

2003-05-08 Thread peter reilly
t; as this implies more baggage. (Also my work in progress implementation uses an ant task for the xml parsing and the root element name is the task name ;-)). On Wednesday 07 May 2003 15:56, Costin Manolache wrote: > peter reilly wrote: > > I would agree with XML namespace usage like this. &g

Re: Roles (was: antlib)

2003-05-08 Thread peter reilly
On Wednesday 07 May 2003 20:40, J.Pietschmann wrote: > peter reilly wrote: > > - namespaces of attributes is not handled yet - the > > code uses getQName() on the attributes and does > > not pass the URI of the attributes to the attribute list

Re: Roles (was: antlib)

2003-05-12 Thread peter reilly
On Friday 09 May 2003 04:08, Costin Manolache wrote: > peter reilly wrote: > > Using property files is nice but with new attributes > > to typedef (adaptor for example) it would be better to > > use an xml file/resource. > > I think we already agreed on XML - the

Re: FW: Retrieve all the nodes in an XML file using xmlproperty

2003-05-12 Thread peter reilly
You would probally change the input to include the .java in the filename. and use the "includes" attribute of javac and not the include sub-element. > On Monday 12 May 2003 12:12, Dharnidhar Vemuri wrote: > > Hi, > > > > I have an xml file with the

Re: FW: Retrieve all the nodes in an XML file using xmlproperty

2003-05-12 Thread peter reilly
OK, just tested. My example works for the current nightly build but not for ant 1.5.3-1. Looking at cvs history for XmlProperty task, I think revision 1.6 of XmlProperties.java added the feature of adding a "," if the property already existed. Peter. On Monday 12 May 2003 12:55,

Re: FW: Retrieve all the nodes in an XML file using xmlproperty

2003-05-12 Thread peter reilly
ers, Peter > > > > > -Original Message- > From: peter reilly [mailto:[EMAIL PROTECTED] > Sent: Monday, May 12, 2003 17:52 > To: Ant Developers List > Subject: Re: FW: Retrieve all the nodes in an XML file using xmlproperty > > > OK, just tested. > My e

Re: FW: Retrieve all the nodes in an XML file using xmlproperty

2003-05-12 Thread peter reilly
/Transform";> .java and the target: ${suite.testfile} Peter. On Monday 12 May 2003 13:51, Dharnidhar Vemuri wrote: > Thanks Peter. It worked this time. The XML file that I get is from a > polling event. > so I cannot change the xml format

Re: antlib / proposal of Peter Reilly

2003-05-14 Thread peter reilly
al third party ant tasks. > > I would be glad to hear your comments concerning : > 1) the functionality provided by the contribution > 2) the implementation > I am quoting Peter Reilly here : > > This patch adds 4 new features (the code is interrelated, > but may be split). &g

Re: antlib / proposal of Peter Reilly

2003-05-14 Thread peter reilly
gt; > 1) the functionality provided by the contribution > > 2) the implementation > > Well I have not given the fight on the need for roles and separate > symbol-tables for different Types. Roles/separate symbol-tables could be dealt with later. >I would like for someone to expl

Re: antlib / proposal of Peter Reilly

2003-05-14 Thread peter reilly
e name "ant-type" to achieve the effect and not as discussed before - the namesspaced attribute name like - "ant:type". I can easily do a name-spaced attribute name for this, however if this is done there will be only one object in the xml name space uri - type. Would this be reasonable? for example: Peter

Re: antlib / proposal of Peter Reilly

2003-05-15 Thread peter reilly
On Thursday 15 May 2003 07:56, Conor MacNeill wrote: > On Thu, 15 May 2003 12:56 am, peter reilly wrote: > > I have merged the ant-type code into my antlib code. > > However it uses a "magic" attribute name "ant-type" to > > achieve the effect and not

Re: antlib / proposal of Peter Reilly

2003-05-19 Thread peter reilly
and done > in few steps. > > > peter reilly wrote: > >> On Thursday 15 May 2003 07:56, Conor MacNeill wrote: > >> > >> I would prefer to use the XML schema attribute for this. > > > > Mmmm, this would be confusing as the XML schema attribute

Re: antlib / proposal of Peter Reilly

2003-05-19 Thread peter reilly
On Saturday 17 May 2003 20:13, Costin Manolache wrote: > peter reilly wrote: > > for example: > > > > > > > > to allow loading of tasks/types from different 3rd party with some tasks > > haveing the same name, I have added a "prefix" attri

Re: antlib / proposal of Peter Reilly

2003-05-19 Thread peter reilly
t concerning the antlib thread of discussion. > > > > I was thinking maybe we do not need to look further and we could commit > > this contribution ? > > > > I would be glad to hear your comments concerning : > > 1) the functionality provided by the cont

Re: antlib / proposal of Peter Reilly

2003-05-19 Thread peter reilly
On Monday 19 May 2003 10:01, Jose Alberto Fernandez wrote: > > From: peter reilly [mailto:[EMAIL PROTECTED] > > > > On Saturday 17 May 2003 19:59, Costin Manolache wrote: > > > I think should be treated as a special > > > > with TaskAdapter > > >

Re: antlib / proposal of Peter Reilly

2003-05-19 Thread peter reilly
On Monday 19 May 2003 11:50, Wannheden, Knut wrote: > Peter, > > > > > > > > > > This would allow arbitrary NSURIs ( for people who like > > > > meaning-free URIs) > > > > > and allow the classpath association. > > > > I d

Re: antlib / proposal of Peter Reilly

2003-05-19 Thread peter reilly
/Target be done by PH2#ElementHandler? I think one should be able to plug in handlers for different URIs, or URI patterns. My UnknownUriHandler is an (possibly not very good) example. On Monday 19 May 2003 15:33, Jose Alberto Fernandez wrote: > > From: peter reilly [mailto:[EMAIL PRO

Re: Free-form ANT Task Structure

2003-05-20 Thread peter reilly
attributes. Peter On Tuesday 20 May 2003 16:18, Berin Loritsch wrote: > I want to write a task that allows me to embed XML configuration > information to set up some integration tests using JUnit as a > base. > > I can live with a DOM or JDOM to interpret and transform into my

Re: antlib / proposal of Peter Reilly

2003-05-21 Thread peter reilly
feedback is received from the community. Peter On Tuesday 20 May 2003 08:34, Costin Manolache wrote: > peter reilly wrote: > > There are a number of issues here. > > > > 1) are build script authors allowed to specify arbitary > > URIs for ant type definitions? > &g

Re: antlib / proposal of Peter Reilly

2003-05-21 Thread peter reilly
On Wednesday 21 May 2003 08:21, Stefan Bodewig wrote: > On Mon, 19 May 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > 1) are build script authors allowed to specify arbitary > > URIs for ant type definitions? > > I do not think this is a good idea. > >

Re: Free-form ANT Task Structure

2003-05-21 Thread peter reilly
element test on-components = foo,bar element include name = **/XYZComp/*Test element configuration element xyz-comp id = foo element zyx-comp id = bar element arbitrary value = null Peter. On Tuesday 20 Ma

Re: antlib / proposal of Peter Reilly

2003-05-22 Thread peter reilly
The first patch adds the add(Type) introspection method and implements this in condition, filterchain, tokenfilter, selector and path. Peter

Re: antlib / proposal of Peter Reilly

2003-05-22 Thread peter reilly
On Thursday 22 May 2003 10:29, Stefan Bodewig wrote: > On Thu, 22 May 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > Ok I will chop it up into a sequence of patches. > > Thanks. > > > The first patch adds the add(Type) introspection method and > > imple

Re: antlib

2003-05-22 Thread peter reilly
onfigured](Type) and the polymorhic attribute. A snippet from the antlib.xml file for ant: (after removing the explicit add(..) methods from ConditionBase and the interface and various impls of SelectorContainer. Peter On Thu

add(Type) submit

2003-05-28 Thread peter reilly
committing. Peter.

Advice required on committing

2003-05-28 Thread peter reilly
s not escape any $ on the input. The following fails on jdk14 as Matcher#appendReplacement gets passed "${$1}" rather than "\${$1}". My question is: should I make a bugzilla entry or just commit the changes, with unit test and appropriate comment ? Peter

Re: copy task addition

2003-05-28 Thread peter reilly
handling of $) Peter On Wednesday 28 May 2003 12:22, Magesh Umasankar wrote: > I will take a look at commiting it in the next few days... > > - Original Message - > From: David Kavanagh > To: Ant Developers List > Sent: Wednesday, May 28, 2003 1:52 AM > Subject: R

Re: Advice required on committing

2003-05-28 Thread peter reilly
Ok, This sounds sensible. Peter On Wednesday 28 May 2003 12:35, Magesh Umasankar wrote: > Though we haven't been following the practise of > always creating a bug report before fixing it, > I think it would be a good approach to include it > in Bugzilla. The reason is some use

[VOTE] Re: add(Type) submit

2003-05-28 Thread peter reilly
x mark the subject line > with [VOTE] to ensure the message gets > the attention it deserves. Good suggestion! Peter

Re: copy task addition

2003-05-28 Thread peter reilly
You can use a custom filter or use a reference - Peter On Wednesday 28 May 2003 14:27, David Kavanagh wrote: > Thanks for trying. The below starts getting a bit verbose in the > build.xml. All I'm trying to do is use the existing filtering (using

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit FormatterElement.java JUnitTask.java

2003-05-28 Thread peter reilly
use this all the time with cc: Peter

Re: cvs commit: ant/xdocs contributors.xml

2003-05-28 Thread peter reilly
On Wednesday 28 May 2003 15:21, [EMAIL PROTECTED] wrote: > bodewig 2003/05/28 07:21:05 > > Modified:docs contributors.html >xdocscontributors.xml > Log: > This is supposed to be sorted ;-) Opps. Peter

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit FormatterElement.java JUnitTask.java

2003-05-28 Thread peter reilly
I would rather use the "C" logic for this. Unless the value is explicity "false/off/no" or "", the value is treated as true. This would break less scripts. But it is still not bc and third party tasks would also need to be changed to follow the new behaviour. Peter

Re: jcoverage - what's the best practice for naming optional tasks?

2003-05-29 Thread peter reilly
and it will be a long time before the bulk of ant users upgrade to 1.6. Perhaps you could use the prefix jc. - jcinstrument, jcmerge etc. Peter On Wednesday 28 May 2003 19:18, Malcolm Sparks wrote: > Hi, > > With the help of a fellow Java hacker (Peter Morgan), I've put together >

  1   2   3   4   5   6   7   8   9   10   >