Hello Misha,

this is interesting. I would have thought that this example would work,
and I did not even remember that zipgroupfileset exists.

I have now seen that zipgroupfileset is documented as a nested element
element of the zip task.

Which version of ant are you using ?

Regards,

Antoine

Misha Koshelev wrote:
> http://ant.apache.org/manual/Tasks/jar.html
>
> <jar destfile="build/main/checksites.jar">
>     <fileset dir="build/main/classes"/>
>     <zipfileset includes="**/*.class">
>       <fileset dir="lib/main" includes="**/*.jar"/>
>     </zipfileset>
>     <manifest>
>       <attribute name="Main-Class"
>             value="com.acme.checksites.Main"/>
>     </manifest>
>   </jar>
>
> FYI. Had to use zipgroupfileset.
>
> Thank you
> Misha
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to