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.
Summary: | EJB project change breaks command line build for JBI (CompApp) projects | ||
---|---|---|---|
Product: | soa | Reporter: | ian_chalmers <ian_chalmers> |
Component: | Composite Application | Assignee: | Jun Qian <jqian> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | dkonecny, phejl, pjiricka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | testcase |
Description
ian_chalmers
2009-04-08 13:27:23 UTC
So what are the instructions/steps the user has to follow to encounter this bug? See the "Provide steps to reproduce" rule on this page: http://wiki.netbeans.org/IssuezillaRules Created attachment 79749 [details]
testcase
to reproduce problem: 1. start IDE 2. import projects in attached zip file: projects FileOneWayOut_EJB FileOneWayOut_JBI 3. start command line shell 4. define variable NETBEANS_HOME referencing NetBeans 6.5.x installation used in step 1 5. cd to FileOneWayOut_JBI directory 6. run following command: ant -Dnetbeans.home=$NETBEANS_HOME/platform9 -Dfrom.commandline=true jbi-clean-build 7. you should see following output: -> ant -Dnetbeans.home=$NETBEANS_HOME/platform9 -Dfrom.commandline=true jbi-clean-build Buildfile: build.xml -check-netbeans-home: -init-caps: -check-catd-context: -init-catd: pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: -init-taskdefs: init: init-deploy: deps-clean: -pre-init: -init-private: -init-userdir: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-macrodef-java: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-taskdefs: init: undeploy-clean: BUILD FAILED /Shared/issue162215/FileOneWayOut_JBI/nbproject/build-impl.xml:250: The following error occurred while executing this line: /Shared/issue162215/FileOneWayOut_EJB/nbproject/build-impl.xml:568: Problem: failed to create task or type nbundeploy Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. Total time: 0 seconds Based on offline discussion, corrected 'netbeans.home' usage in BPEL/XSLT/IEP/CompApp project build script. For command-line build, 'netbeans.home' should not be used. Use 'esb.netbeans.home' instead of the old 'caps.netbeans.home'. Also, as long as 'esb.netbeans.home' is defined, the 'from.commandline' doesn't need to be specified. An example of the command line usage is: ant -Desb.netbeans.home=<path-to-netbeans-root-dir> jbi-clean-build http://hg.netbeans.org/soa-dev65/rev/1a5a74ddc59d http://hg.netbeans.org/soa-dev65/rev/645ddda77b9e Note that all existing ATS projects (both build.xml and build-impl.xml) need to be force-updated (-force and -force2). *** Issue 160283 has been marked as a duplicate of this issue. *** Great! Thanks. Verified with build 20090427-0726. |