Use a fileset to get all IDL files
<fileset id="IDL_FS" dir="${IDL_DIR}/**/*.idl"/>
and convert that to a normal property, but separated by space.
<pathconvert property="IDL_FILES" refid="IDL_FS" pathsep=" "/>
Then you can give all idl-files to the parser
...
<arg line="${IDL_FILES}"/>
...
But you have do use 'line' attribute here. With 'value' all spaces are
masked.
(not tested)
Jan
> -----Original Message-----
> From: Leonardo Barros [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 16, 2003 5:23 PM
> To: [EMAIL PROTECTED]
> Subject: Sending multiple arguments to the <java> task
>
>
> Hi,
>
> I'm using a parser class that verifies some IDL files I need for
> CORBA.
>
> The tags I'm using (which works great) are the following:
>
> <java classname="org.jacorb.idl.parser">
> <classpath>
> <pathelement path="${JACORB_JAR}"/>
> </classpath>
> <arg value="${IDL_DIR}/sga-daemon.idl"/>
> <arg value="${IDL_DIR}/sga-manager.idl"/>
> <arg value="${IDL_DIR}/wio.idl"/>
> </java>
>
> This works fine, but what if I have hundreds of file to parse? I'd
> like to use something like a <fileset> with a *.idl
> <include> in
> order to give it as a parameter to the <java> task. But I
> couldn't
> find an easy way to do it? Is it feasible? Without having to create
> my own <java> task?
>
> --
> __________________________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
>
> CareerBuilder.com has over 400,000 jobs. Be smarter about
> your job search
> http://corp.mail.com/careers
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>