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.
I am given a platform course to MFF UK guys these days and I wanted to show them how to modify and build our platform. As Hg repository is quite large, I wanted them to download just platform sources and use them. To my surprise the sources are not compilable (at least I am not sure how to compile them). Try: curl http://bits.netbeans.org/download/6.7/community/rc1/zip/netbeans-6.7rc1-200905312038-platform-src.zip > src.zip; unzip src.zip; ant -f nbbuild/build.xml -Dnbjdk.home=/usr/lib/jvm/java-1.5.0/ build-platform As the ZIP file is an official download, I consider this as a really serious problem. I am CCing Jesse to tell us how the platform sources are supposed to be compiled. I am CCing Michal to set a continuous job that will consume ZIP file from the production build and verify that it can be build. The failure message is: build-init: Trying to override old definition of task downloadbinaries [mkdir] Created dir: /home/jarda/tmp/nbb/nbbuild/build/public-package-jars Scanning for modules in /home/jarda/tmp/nbb among standard clusters [nbmerge] Failed to build target: all-api.annotations.common BUILD FAILED /home/jarda/tmp/nbb/nbbuild/build.xml:660: The following error occurred while executing this line: /home/jarda/tmp/nbb/nbbuild/build.xml:655: The following error occurred while executing this line: /home/jarda/tmp/nbb/nbbuild/build.xml:672: The following error occurred while executing this line: /home/jarda/tmp/nbb/nbbuild/build.xml:719: The following error occurred while executing this line: /home/jarda/tmp/nbb/nbbuild/templates/projectized.xml:168: /home/jarda/tmp/nbb/libs.javacapi/external not found. Probably libs.javac* needs to be included in the source distribution.
Introduced in db7e8e910073. Suggest converting e.g. <fileset dir="${nb_all}/libs.javacapi/external"> <include name="*javac*.jar"/> </fileset> to <fileset dir="${nb_all}"> <include name="libs.javacapi/external/*javac*.jar"/> </fileset> which should result in ${retouche.javac} being blank when Platform sources are built, but not cause the build to abort.
Should be fixed in trunk now. I've tried ant -Dcluster.name=nb.cluster.platform build-source unzipped and ant -f nbbuild/build.xml build-platform passed OK. --- http://hg.netbeans.org/jet-main/rev/dcd3720c583e
Maxi, coul you please port this fix into release67 clone as well ? Thanks in advance.
Done. --- http://hg.netbeans.org/release67/rev/f19c29a308a6
Integrated into 'main-golden', will be available in build *200906081401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/dcd3720c583e User: Max Sauer <msauer@netbeans.org> Log: #166505: Platform sources cannot be build
verified - RC2 platform is correctly compilable