No exceptions, just this:

Class m2utils.converters.SnapshotConverter loaded from parent loader
(parentFirst)
 +Datatype snapshotconverter m2utils.converters.SnapshotConverter
[snapshotconverter] how many filesets? 1
[snapshotconverter] about to process null

-----Original Message-----
From: Peters, John [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 01, 2008 3:13 PM
To: Ant Users List
Subject: RE: using filesets in a custom task

Do you have an error message? 

-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 01, 2008 3:10 PM
To: Ant Users List
Subject: RE: using filesets in a custom task

It's as simple as this so far:

public void addFileset(FileSet fileset) {
    filesets.add(fileset);
    System.out.println("how many filesets? "+filesets.size());
    for(int x = 0; x < filesets.size(); x++)
    {
        System.out.println("about to process
"+filesets.get(x).getDir());
    }
}

With a matching task of this:

<target name="adjust">
        <taskdef name="snapshotconverter"
classname="m2utils.converters.SnapshotConverter"/>
        <snapshotconverter version="11111111">
                <fileset dir="E:/testing">
                    <include name="**/somefile.xml"/>
                </fileset>
        </snapshotconverter>
</target>



-----Original Message-----
From: Peters, John [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2008 3:02 PM
To: Ant Users List
Subject: RE: using filesets in a custom task

Post your code please 

-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2008 3:00 PM
To: user@ant.apache.org
Subject: using filesets in a custom task

I'm struggling to write a custom task that utilizes filesets.  No matter
what I do, it doesn't seem to set/understand the "dir" attribute to the
fileset.

 

Any suggestions?




Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this
e-mail message. Any personal comments made in this e-mail do not reflect
the views of Blue Cross Blue Shield of Florida, Inc.  The information
contained in this document may be confidential and intended solely for
the use of the individual or entity to whom it is addressed.  This
document may contain material that is privileged or protected from
disclosure under applicable law.  If you are not the intended recipient
or the individual responsible for delivering to the intended recipient,
please (1) be advised that any use, dissemination, forwarding, or
copying of this document IS STRICTLY PROHIBITED; and (2) notify sender
immediately by telephone and destroy the document. THANK YOU.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]





Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this
e-mail message. Any personal comments made in this e-mail do not reflect
the views of Blue Cross Blue Shield of Florida, Inc.  The information
contained in this document may be confidential and intended solely for
the use of the individual or entity to whom it is addressed.  This
document may contain material that is privileged or protected from
disclosure under applicable law.  If you are not the intended recipient
or the individual responsible for delivering to the intended recipient,
please (1) be advised that any use, dissemination, forwarding, or
copying of this document IS STRICTLY PROHIBITED; and (2) notify sender
immediately by telephone and destroy the document. THANK YOU.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to