This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75210 - dist-target for libraries
Summary: dist-target for libraries
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 11:14 UTC by Tim Lebedkov
Modified: 2011-08-31 14:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2006-04-19 11:14:19 UTC
it would be nice to have a dist target for java libraries that
would package the library (sources, classes and javadoc) in a zip file
like this:

    <target name="dist" depends="jar,javadoc">
        <copydir src="src" dest="dist/src"/>
        <zip file="dist/LuceneHighlighter-${project.version}.zip">
            <fileset dir="dist">
                <include name="src/**"/>
                <include name="javadoc/**"/>
                <include name="LuceneHighlighter.jar"/>
            </fileset>
        </zip>
    </target>

project.version is another nice enhancement

Thank You
Comment 1 Tomas Zezula 2007-09-20 09:03:34 UTC
Hopefully in 6.1, it's easy to add such a target into build-impl.xml but it needs a ui action which needs an UI review.