ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <stevecanfi...@yahoo.com>
Subject Re: simple wildcard questions
Date Thu, 08 Apr 2004 18:00:11 GMT
Thanks for the ideas. I tried your second suggestion
(parallel="false") and it works! Thank you so much. 


--- Matt Benson <gudnabrsam@yahoo.com> wrote:
> -Have you tried using the file attribute to specify
> the parent directory only (since you want all
> children anyway)?
> 
> -Have you tried setting parallel="false" or
> maxparallel="40" (or some reasonable value)?
> 
> -What happens when you run:
> 
> chgrp myGroup
> /var/tomcat4/work/Standalone/localhost/test/Launch
> ||
> echo NO
> 
>   from the command line?
> 
> -Is "myGroup" a valid group (case and all)?  Or is
> that just a sample value?
> 
> -Finally, what happens when you add
> 
> <property environment="env" />
> <available property="chgrpok" file="chgrp"
>            type="file" filepath="${env.PATH}" />
> <echo>chgrpok=${chgrpok}</echo> 
> 
>   to your buildfile?
> 
> -Matt
> 
> --- stevecanfield@yahoo.com wrote:
> > I tried what you recommended and it did not work.
> > Here
> > is the code:
> >  <target name="myTarget">
> >    <chgrp group="myGroup" verbose="true"
> > type="both">
> >      <fileset dir="${someDir}"/>
> >    </chgrp>
> >  </target>
> > 
> > I ran ant with the -v switch and here is the the
> > last
> > few lines of the output:
> >  [chgrp]
> >
> '/var/tomcat4/work/Standalone/localhost/test/Launch'
> >  [chgrp]
> >
>
'/var/tomcat4/work/Standalone/localhost/test/Utilities'
> >  [chgrp]
> >
> '/var/tomcat4/work/Standalone/localhost/tomcat-docs'
> >  [chgrp]
> > '/var/tomcat4/work/Standalone/localhost/webdav'
> >  [chgrp]
> >  [chgrp] The ' characters around the executable
> and
> > arguments are
> >  [chgrp] not part of the command.
> > 
> >  [chgrp] Result: -1
> >  [chgrp] Applied chgrp to 1730 files and 209
> > directories.
> > 
> > BUILD SUCCESSFUL
> > Total time: 6 seconds
> > 
> > Absolutely nothing has changed though. I am logged
> > in
> > as root, so I don't think it is a permissions
> issue.
> > 
> > Any other ideas?
> > 
> > -sc
> > 
> > --- Stefan Bodewig <bodewig@apache.org> wrote:
> > > On Wed, 7 Apr 2004, <stevecanfield@yahoo.com>
> > wrote:
> > > > I have a directory tree that looks something
> > like:
> > > >  +-DirA
> > > >     |-fileA
> > > >     |-fileB
> > > >     |-fileC
> > > >     +-DirB
> > > >     |  |-fileD
> > > >     |  |-fileE
> > > >     +-DirC
> > > >        |-fileF
> > > >        |-fileG
> > > > 
> > > > I want to apply chgrp to every file and
> > directory
> > > > below DirA.
> > > 
> > > Then you don't need any includes at all.  The
> > > alternative would be
> > > includes="**" which is the default.
> > > 
> > > Stefan
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > user-unsubscribe@ant.apache.org
> > > For additional commands, e-mail:
> > > user-help@ant.apache.org
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Small Business $15K Web Design Giveaway 
> > http://promotions.yahoo.com/design_giveaway/
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway 
> http://promotions.yahoo.com/design_giveaway/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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


Mime
View raw message