Issue 98321 - jar file doesn't build correctly
Summary: jar file doesn't build correctly
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: sdk (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: b.osi.ooo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 15:06 UTC by tkr
Modified: 2013-02-24 20:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tkr 2009-01-21 15:06:48 UTC
Additional META-INF files don't find the way into the jar. 

Use following ANT target to fix the problem:

<target
depends="init,-uno-project-init,uno-idl-compile,-jar-idl-types,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-do-openoffice-manifest,-really-do-jar,-post-jar"
name="jar"/>
    <target name="-really-do-jar">
        <jar basedir="${build.classes.dir}" update="true" compress="true"
excludes="**/*.xml,**/*.txt,${idl.file.list},${build.classes.excludes}"
filesonly="true" jarfile="${dist.jar}" manifest="${build.dir}/MANIFEST.MF"/>
    </target>
Comment 1 steffen.grund 2009-01-21 15:15:54 UTC
accepted.
Comment 2 steffen.grund 2009-09-07 17:18:37 UTC
retarget to dev tools.