ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murray, Mike B." <...@ptc.com>
Subject RE: includesfile
Date Thu, 10 Jul 2003 17:33:11 GMT
It should work the same as a nested element, but maybe you'll get different debug information
if you try it as an attribute, which is how I have used it.

         <fileset dir="${modroot}" includesfile="${relsrc_tempfile}"/>

-----Original Message-----
From: Ciramella, EJ [mailto:ECiramella@emptoris.com]
Sent: Thursday, July 10, 2003 11:30 AM
To: 'Ant Users List'
Subject: RE: includesfile


Here is the whole shebang:

   <apply executable="java" dir="${basedir}">
    <arg line="weblogic.jspc
${basedir}/com/avinamart/WebInterface/public_html -g -keepgenerated -d
${jsp.dest} -depend -k en/"/>
	  <fileset dir="${basedir}">
	   <includesfile name="${basedir}/jsplist.txt"/>
	  </fileset>
   </apply>

Although I've tried many different variations, I can't seem to get it to
find the jsplist.txt file.

-----Original Message-----
From: Murray, Mike B. [mailto:mbm@ptc.com]
Sent: Thursday, July 10, 2003 12:26 PM
To: Ant Users List
Subject: RE: includesfile


Is your file located relative to your basedir?  You might need to use an
absolute path.

-----Original Message-----
From: Ciramella, EJ [mailto:ECiramella@emptoris.com]
Sent: Thursday, July 10, 2003 11:20 AM
To: 'Ant Users List'
Subject: RE: includesfile


That's an example of include, I understand that, but I'm interested in
having one file contain all the files I'm interested in for a fileset.  Look
at the <fileset> type and you'll see it has an attribute called
includesfile.  

I understand that it looks roughly like this:
<fileset dir=".">
	<includesfile name="file.name"/>
</fileset>

but each time I run this, the output says that it's looking with a
patternSet of includes:[] excludes:[]  - both are empty.

-----Original Message-----
From: Heldstab, Christian [mailto:chh@metrohm.ch]
Sent: Thursday, July 10, 2003 12:14 PM
To: Ant Users List
Subject: Re: includesfile


see http://ant.apache.org/manual/index.html --> Concepts and Types


<fileset dir="${server.src}" casesensitive="yes">
  <include name="**/*.java"/>
  <exclude name="**/*Test*"/>
</fileset>


Christian



> Von: Ciramella, EJ [mailto:ECiramella@emptoris.com]
> Gesendet: Donnerstag, 10. Juli 2003 18:06
> An: 'Ant Users List'
> Betreff: includesfile
> 
> 
> could someone give an example of using a fileset with an includes file
> attribute?
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message