You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nolan Peters <np...@firerms.com> on 2001/09/19 22:55:38 UTC

includesfile question

Hello,

Can anyone give me an example of how the includesfile attribute is supposed
to work?  Below is one way I am trying to use it..

  <copy todir="C:/build/dist/firerms/sunpro">
       <fileset dir="C:/build/src/Weblogic/classes/sunpro"
includesfile="C:/build/src/firermsrmi.txt">
           <include name="**/*Stub.class*"/>
           <exclude name="**/*OCFA*"/>
           <exclude name="**/*LACO*"/>
           <exclude name="**/*TVFR*"/>
           <exclude name="**/*FDNY*"/>
      </fileset>
   </copy>

**  firermsrmi. txt **

<include name="**/sunpro/rmi/SPIncidentReportingFactory.class*"/>
<include name="**/SPIncidentReportingFactory.class*"/>

Thank you,

Nolon

RE: includesfile question

Posted by Nolan Peters <np...@firerms.com>.
Thank you !

Nolon

-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Wednesday, September 19, 2001 1:59 PM
To: ant-user@jakarta.apache.org
Subject: Re: includesfile question


The includesfile shouldn't include the xml tags, just the list of files to
include, possibly specified with patterns.

Diane

--- Nolan Peters <np...@firerms.com> wrote:
> Hello,
> 
> Can anyone give me an example of how the includesfile attribute is
> supposed
> to work?  Below is one way I am trying to use it..
> 
>   <copy todir="C:/build/dist/firerms/sunpro">
>        <fileset dir="C:/build/src/Weblogic/classes/sunpro"
> includesfile="C:/build/src/firermsrmi.txt">
>            <include name="**/*Stub.class*"/>
>            <exclude name="**/*OCFA*"/>
>            <exclude name="**/*LACO*"/>
>            <exclude name="**/*TVFR*"/>
>            <exclude name="**/*FDNY*"/>
>       </fileset>
>    </copy>
> 
> **  firermsrmi. txt **
> 
> <include name="**/sunpro/rmi/SPIncidentReportingFactory.class*"/>
> <include name="**/SPIncidentReportingFactory.class*"/>
> 
> Thank you,
> 
> Nolon
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/



Re: includesfile question

Posted by Diane Holt <ho...@yahoo.com>.
The includesfile shouldn't include the xml tags, just the list of files to
include, possibly specified with patterns.

Diane

--- Nolan Peters <np...@firerms.com> wrote:
> Hello,
> 
> Can anyone give me an example of how the includesfile attribute is
> supposed
> to work?  Below is one way I am trying to use it..
> 
>   <copy todir="C:/build/dist/firerms/sunpro">
>        <fileset dir="C:/build/src/Weblogic/classes/sunpro"
> includesfile="C:/build/src/firermsrmi.txt">
>            <include name="**/*Stub.class*"/>
>            <exclude name="**/*OCFA*"/>
>            <exclude name="**/*LACO*"/>
>            <exclude name="**/*TVFR*"/>
>            <exclude name="**/*FDNY*"/>
>       </fileset>
>    </copy>
> 
> **  firermsrmi. txt **
> 
> <include name="**/sunpro/rmi/SPIncidentReportingFactory.class*"/>
> <include name="**/SPIncidentReportingFactory.class*"/>
> 
> Thank you,
> 
> Nolon
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/