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.
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.
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> ---
possibility to zip would be needed probably in build-impl.xml
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.