> > If you havenīt a complex start procedure for the decompiler maybe you > > can use <apply> here. > > > > <apply executable="java"> > > <arg value="jode.decompiler.Main"/> > > <arg value="--dest"/> > > <arg value="${dest.dir}"/> > > <fileset ... /> > > </apply > > > > > > > > ... maybe we should give <apply> the ability to start java apps ... > > Discussed before (at least a couple time I can remember), and rejected on > the grounds that a custom task should be written instead... I disagree, so > if you want to raise it up again, I'll support you ;-)
Yeah rejected coz i dont think there is a way to execute above apply task in a loop where in each time in the loop the fileset gets a different jar file. Also below u talked about putting the classpath in command line argument for java, but wot abt the windoze limit of only allowing 1024 chars in the command line ? thanks > Given the new <macrodef> though, I can see how it would be easy to emulate > one. Peter, can I with <macrodef> say that the macro can take an optional > <classpath>? Examples I've seen with macros so far had child elements to > contain other elements to be passed to some internal task to the macro. I'm > thinking of declaring a macro with an optional <classpath>, that would be > <pathConvert> to feed on the command line of "java" executed by <apply>. > Sounds feasible? Otherwise I'm pretty sure I'll hack up a task one of these > days... --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ===== Regards, Amit Kulkarni Sr. Software Engineer AG Technologies Pvt. Ltd. Tel: +91-22 28250567/28250568 Xtn: 138 Homepage: http://66.246.62.176/~amitkulk/ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]