ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: manipulating filesets by <script>
Date Wed, 10 Jan 2001 06:50:14 GMT
----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, January 10, 2001 2:26 AM
Subject: Re: manipulating filesets by <script>


> Jason,
>
> Would you be willing to share the <script>'s you've been writing? The
> documentation for the <script> task is awfully thin, and I think a healthy
> number of examples being made available would be a Good Thing. (They
> wouldn't necessarily have to all be included in the doc -- maybe there
> could be a separate little "Script Examples" doc.)
>
If also have done this:

    <script language="javascript"> <![CDATA[
        dir = VAMOS50.getProperty('build.vss') + '/' +
VAMOS50.getProperty('project.name');
        file = new java.io.File(dir);
        path = VAMOS50.createDataType('path');
        fileset = VAMOS50.createDataType('fileset');
        fileset.setDir(file);
        fileset.setIncludes('*.xml');
        path.addFileset(fileset);
        VAMOS50.addReference('xml-files', path);
    ]]></script>

Nico



Mime
View raw message