BUILD FAILED
file: ....org.apache.tools.ant.taskdefs.ManifestException: The attribute "classpath"
may not occur more than once in the same section.
do u have any idea of another way to perform it with ant (contrib foreach ?) ?
seb.

Conor MacNeill wrote:

> Sebastien BLANC wrote:
> > Hello Connor !
> > u mean the task supports multiple arguments ? do u have an example coz I'm not
> > sure wat u mean ?
> > or do u mean that java allows u to put
> > classpath: jarfile1
> > classpath: jarfile2 ?
>
> yes, this is allowed and in Ant you achieve this by
>
> <manifest file="${thispkg.dir}/META-INF/MANIFEST.MF" mode="update">
>      <attribute name="classpath" value="global-jar-tl1-types.jar"/>
>      <attribute name="classpath" value="global-jar-gem-types.jar"/>
>      <attribute name="classpath" value="ejb-jar-gm3-types.jar"/>
> </manifest>
>
> That should work (although I did not try it just now). Let me know if it
> doesn't
>
> Conor
>
> --
> 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