Thanks! This does what I need...

<target name="decompile">
        <apply executable="jad" output="decompile.log">
          <arg value="-dsrc"/>
          <arg value="-ff"/>
          <arg value="-i"/>
          <arg value="-sjava"/>
          <arg value="-r"/>
          <arg value="-space"/>
          <fileset dir="./extracted">
            <patternset>
              <include name="**/*.class"/>
            </patternset>
          </fileset>
        </apply>
</target>

> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 5:55 PM
> To: Ant Users List
> Subject: Re: jad task...
>
>
> No, but <apply> can.
>
>     Erik
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 19, 2002 5:00 PM
> Subject: RE: jad task...
>
>
> > Your're right, I could, but I would like it
> > to behave more like the ant javac task. For
> > example have it run on an entire directory tree
> > and output the decompiled files to another directory.
> > I don't think the exec task can do that.
> >
> > > -----Original Message-----
> > > From: Diane Holt [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, March 19, 2002 3:32 PM
> > > To: Ant Users List
> > > Subject: Re: jad task...
> > >
> > >
> > > --- [EMAIL PROTECTED] wrote:
> > > > Does anyone know if there is a jad task available anywhere?
> > >
> > > If you mean the Java decompiler, isn't it just an executable, so
> couldn't
> > > you just <exec> it?
> > >
> > > Diane
> > >
> > > =====
> > > ([EMAIL PROTECTED])
> > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Sports - live college hoops coverage
> > > http://sports.yahoo.com/
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to