ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Rodriguez <Anth...@WeddingChannel.com>
Subject RE: copy task with excludes
Date Thu, 06 Dec 2001 21:40:43 GMT
No it's not a case-sensitive issue.  I am trying to copy from
c:\ant_Build\StageTrustlib\ to the java dir in the cabinet.  There are some
class files and two dirs, com and test, under StageTrustlib. I want to copy
everything under StageTrustlib excpet that test dir.

As for the other copy tasks, they aren't working either.  I'm still seeing
lost+found dirs in the cabinet.  Am I using the wrong syntax?  Is there a
better way to do this?

-Anthony

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Thursday, December 06, 2001 12:32 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: copy task with excludes
> 
> 
> On Wed, 5 Dec 2001, Anthony Rodriguez <Anthony@WeddingChannel.com>
> wrote:
> 
> > Here is some of my build.xml file:
> > 
> >     <!--  Copying java to cabinet -->
> >     <copy todir="${noc}\${label}\java">
> >       <fileset dir="${stage.trustlib}" excludes="test/**"/>
> >     </copy>
> >     <copy todir="${noc}\${label}\daemons\code">
> >       <fileset dir="${stage.trustlib}" excludes="test/**"/>
> >     </copy>
> > 
> >     <!--  Copying asp to cabinet -->
> >     <copy todir="${noc}\${label}\asp\Site">
> >       <fileset dir="${viewpath}\Site"
> > excludes="**/mock_up/*,**/lost+found/*"/>
> >     </copy>
> > 
> > 
> > The cabinet refered to here is just a folder.  However, after
> > running my build.xml, I found that the test, lost+found, and mock_up
> > dirs still existed in the cabinet.
> 
> Where?
> 
> Are you saying, that there are files in ${noc}\${label}\java\test
> after the first copy task?
> 
> If so, could it be a case-sensitivity issue (maybe the directory's
> name is Test or something)?
> 
> Stefan
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message