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 130326 - offer option checkbox for zipping Javadoc
Summary: offer option checkbox for zipping Javadoc
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 18:55 UTC by jerome_bouat
Modified: 2011-08-31 14:07 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 jerome_bouat 2008-03-17 18:55:25 UTC
Hello,

I'm using Netbeans as a replacement for Visual Basic.

Thus I let the source code, the Javadoc API and the binary classes into the same folder.

However, I need to copy this folder into a shared network disk with a high latency (cross continent copy through VPN).

This latency depends on the number of files rather than on the size of the files.

I noticed that zipping the Javadoc folder would help a lot for a fast copy.

Thanks.
Comment 1 jerome_bouat 2008-03-21 16:27:15 UTC
Bellow is my "build.xml" Ant file:
---
<?xml version="1.0" encoding="UTF-8"?>
<project name="aaa" default="default" basedir=".">
    <import file="nbproject/build-impl.xml"/>
    <target name="-post-jar" depends="javadoc">
        <zip destfile="${dist.dir}/javadoc.zip">
            <zipfileset dir="${dist.javadoc.dir}" />
        </zip>
        <!-- cleanup for avoiding to copy useless files on the share -->
        <delete dir="${dist.dir}/lib" />
        <delete file="${dist.dir}/README.TXT" />
        <delete dir="${build.dir}" />
        <delete dir="${dist.javadoc.dir}" />
    </target>
</project>
---
Comment 2 Tomas Danek 2008-09-17 14:21:06 UTC
possibility to zip would be needed probably in build-impl.xml
Comment 3 Jesse Glick 2008-09-22 23:34:22 UTC
Build script is part of j2seproject.

Probably WONTFIX; users who need this functionality can simply add a build.xml target as the reporter has shown. Good
FAQ entry.