Ant Developers,

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

    public void addPvcsproject(String prj) {
        pvcsProjects.addElement(prj);
    }

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

d:\build.xml:105: Class org.apache.tools.ant.taskdefs.optional.Pvcs doesn't
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 of
FileSet as well as with Environment.Variable classes.  I'm wondering if anyone
can point me in the right direction as to how to make this add method work...

Thanks in advance,

Frank Wierzbicki
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> Frank Wierzbicki <[EMAIL PROTECTED]> 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
http://auctions.yahoo.com/

Reply via email to