ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Re: [PATCH] comma separated PVCS projects
Date Thu, 19 Apr 2001 16:28:57 GMT
try implementing a createPvcsproject() method in the Pvcs task with the 
following signature:

public PvcsProject createPvcsproject();

Then, initialize the PvcsProject and return it within this method.  The 
IntrospectionHelper will take care of fleshing out the actual object 
you return, provided it has the normal add...() and set...() and 
create...() methods...


-----Original Message-----
From: wierzbickif []
Sent: Thursday, April 19, 2001 10:43 AM
To: ant-dev
Cc: wierzbickif
Subject: Re: [PATCH] comma separated PVCS projects

Ant Developers,

I was hoping that implementing an addPvcsproject method would just 
creating a vector pvcsProjects and adding these lines:

    public void addPvcsproject(String prj) {

However, when I do this and add a <pvcsproject> subelement to <pvcs> I 

d:\build.xml:105: Class 
support the nested "pvcsproject" element

>From looking at other "add" methods, I was guessing that some sort of
introspection is being used, and this works at least with various types 
FileSet as well as with Environment.Variable classes.  I'm wondering if 
can point me in the right direction as to how to make this add method 

Thanks in advance,

Frank Wierzbicki
--- Stefan Bodewig <> wrote:
> Frank Wierzbicki <> wrote:
> > Personally, I'd like something that avoided the comma separated
> > list,
> +1
> > I think this can be implemented with an addPvcsproject method.
> Yes, this what you'd have to do.
> Stefan

Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message