ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: apply inputstring ok? was (Re: passing in names of files as a rguements)
Date Fri, 15 Aug 2003 05:34:43 GMT
I could verify that and open a new bug.
If you want do informed on the status you can add yourself as CC on that.
But you have to be registered at bugzilla.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22446


Jan

	

> -----Original Message-----
> From: Shawn [mailto:javajunkie@koyuru.com]
> Sent: Friday, August 15, 2003 2:09 AM
> To: Ant Users List
> Subject: Re: apply inputstring ok? was (Re: passing in names 
> of files as
> arguements) 
> 
> 
> Ok for 1.6 (8/13/03) an inputstring CAN be used with an 
> <apply> attribute, 
> BUT the value seems to be used for only the first iteration 
> and not for 
> subsequent ones.
> 
> 
> > taskdefs/defaults.properties:
> > apply=org.apache.tools.ant.taskdefs.Transform
> >
> > public class Transform extends ExecuteOn
> >
> > public class ExecuteOn extends ExecTask
> >
> > public class ExecTask extends Task
> > public void setInput(File input) ...
> > public void setInputString(String inputString) ...
> >
> >
> > That means, that you can set that value ... it doesn´t imply that
> > it´s evaluated ...
> > Try it out and write if it works - we have to update the 
> manual then.
> >
> >
> > Jan
> >
> >> -----Original Message-----
> 
> >>
> >>
> >> Does or will 1.6 support an inputstring attribute for the 
> <apply> task?  
> >> I can't use apply without being able to pass in a 
> parameter to be used 
> >> as stdin.  This is what I was trying  <exec 
> executable="gpg" os="RH 
> >> Linux" inputstring="${the_value}">
> >>
> >> > Why you don´t use <apply> ?
> >> >
> >> >
> >> > Jan
> >> >
> >>
> >> >> I am trying to so something like this and need to pass 
> in the names 
> >> of >> files in my directory one at a time
> >>
> >> >> <exec executable="gpg" os="RH Linux" inputstring="${the_value}">
> >> >> <arg value="--symmetric"/>
> >> >> <arg value="--passphrase-fd"/>
> >> >> <arg value="0"/>
> >> >> <arg value="/home/user/my.txt"/>
> 
> 
> 
> 
> -- 
> Shawn
> 
> Happily using M2, Opera's revolutionary e-mail client: 
> http://www.opera.com/m2/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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