>I have a requirement to add my jars to a jar file that is contained in
an
>ear file. Is there a way to do this without exploding the ear file.
There is
>a update flag to the jar target, can this work with nested jars?

Not with a released version. But the trunk supports that.
Here the example from the zip-manual:

  zips all files in the htdocs/manual directory into 
  the docs/user-guide directory in the archive and 
  includes all the files in any file that maches 
  examples*.zip, such as all files within 
  examples1.zip or examples_for_brian.zip. The same 
  can be achieved with

  <zip destfile="${dist}/manual.zip">
    <mappedresources>
      <fileset dir="htdocs/manual"/>
      <globmapper from="*" to="docs/user-guide/*"/>
    </mappedresources>
    <archives>
      <zips>
        <fileset dir="." includes="examples*.zip"/>
      </zips>
    </archives>
  </zip>



>Also, one other issue, I must add classpath entries to the contents of
a
>manifest file of a jar file in the ear file. Is there ant tasks to do
this,
>or must I overwrite it?,

<jar update="true"><manifest>...</></>


Jan

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

Reply via email to