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.
As reported e.g. here http://forums.netbeans.org/topic23610.html&highlight= or separately by Oracle developers the src downloads do not contain the main build.xml file and thus the sources are not buildable. This is a blocker for the newcomers --> P1. Jarda suggested to create some sanity check for the source downloads whether just typing ant in the main dir after unzipping succeeds for each download.
First attempt: http://deadlock.netbeans.org/hudson/job/src-zip-platform/
The platform build fails on nbi. I guess Dmitry shall advice how to fix that (e.g. what else shall be included in the platform src zip): build-nbi-ant-tasks: [nbmerge] Failed to build target: all-libs.nbi.ant BUILD FAILED /space/workspace/src-zip-platform/nbbuild/build.xml:370: The following error occurred while executing this line: /space/workspace/src-zip-platform/nbbuild/build.xml:365: The following error occurred while executing this line: /space/workspace/src-zip-platform/nbbuild/build.xml:382: The following error occurred while executing this line: /space/workspace/src-zip-platform/nbbuild/build.xml:429: The following error occurred while executing this line: /space/workspace/src-zip-platform/libs.nbi.ant/build.xml:10: Basedir /space/workspace/src-zip-platform/nbi/engine does not exist
The IDE source build is here: http://deadlock.netbeans.org/hudson/job/src-zip-ide/ fails on missing build.xml in root directory: init: [insert-module-all-targets] This module is missing from checkout: - at least can't find: /space/workspace/src-zip-ide/build.xml BUILD FAILED /space/workspace/src-zip-ide/nbbuild/build.xml:175: Some modules according your cluster config 'full' are missing from checkout, see messages above.
> what else shall be included in the platform src zip) libs.nbi.ant and libs.nbi.engine also require nbi/** (excluding nbi/engine/lib/**, nbi/infra/build/jvm/**, nbi/infra/sandbox/**, nbi/infra/server/**, nbi/infra/utils/**) to be present. What is the right way to include those files/dirs in the sources zip?
OK Dmitry, the includes/excludes seem to help: core-main#97a4d349a716 (under the assumption that I changed the right place that really affects the content of published src files).
I fixed the platform zip, but not the IDE one: http://deadlock.netbeans.org/hudson/view/Sources/ The IDE src.zip is still missing root build.xml, Robert, please investigate why.
should be fixed in core-main #dbb696b3f89f (anyway we should find a better way to do that: i.e. specify somehow that module X also require external Y/** which are not essentially NB module to avoid master build.xml modification).
The standard way would be to turn nbi bits into a NetBeans module (with no dependencies, just packing the libraries into NBM) and have compile time (not runtime) dependency on it from apisupport. I don't think there is much else to do about this. Even Maven would require you to have a project and depend on it...
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/dbb696b3f89f User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #182532 Source downloads are not complete
I can see that http://deadlock.netbeans.org/hudson/job/src-zip-ide/ succeeded. I will send mails about failed builds to broken_builds@netbeans.org