Kazandjian Erik <[EMAIL PROTECTED]> wrote:

> Is there a way to specify the an if-clause on the manifest attribute
> of the jar command ?

No, there is not, sorry.

> <jar jarfile="..." ... >
>  <manifest="my_src/ejb/META-INF/MANIFEST.MF" if="manifest.exists">
>  ...
> </jar>
> 
> but then I always get an error saying
> 
> Whitespace required before attributes.

This is because the above is not legal XML.

manifest is an attribute of jar, not a child element (in XML speak) -
and even if it was, the name of the element (manifest in your case)
had to be followed by a space - the equals sign follows names of
attributes.

Stefan

Reply via email to