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.
Created attachment 97993 [details] POJOSE enabled J2SE project When you open a NB 6.7.1 project in 6.9, you get the following assertion error: java.lang.AssertionError: The target '-post-jar' is not designated by the project type as extensible. at org.netbeans.api.project.ant.AntBuildExtender$Extension.addDependency(AntBuildExtender.java:397) at org.netbeans.modules.soa.pojo.wizards.POJOHelper.registerPOJOBuildScript(POJOHelper.java:335) at org.netbeans.modules.soa.pojo.model.impl.PrjOpenHookImpl.projectOpened(PrjOpenHookImpl.java:141) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:198) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1099) at org.netbeans.modules.project.ui.OpenProjectList.access$900(OpenProjectList.java:129) at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.loadOnBackground(OpenProjectList.java:435) at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run(OpenProjectList.java:318) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1415) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1954) This then stops the POJOSE enabled J2SE project being used in a Service assembly. Attached are projects to reproduce problem Config used: (alias:jbidev.ora):jbidev/jbi -> jbimgr -v App Server details: app server host = localhost app server version = Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) app server build date = Mon Oct 19 00:04:12 BST 2009 app server home = /Volumes/Work/qe/gf211 Product details: type = Open ESB variant = Glassfish kit type = image Database details: type = oracle name = ora112 version = 11.2.0.1.0 user = qajbi_ianch_mac jdbc url = jdbc:oracle:thin:@swimsuit.sfbay.sun.com:1521:ora112 JBI details: operating system = Mac OS X 10.6.3 [x86_64] (en_US MacRoman) java version = 1.6.0_17-b04-248-10M3025 (64-bit) java home = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home java tmp dir = /var/folders/RL/RLnqrAAiE+0YBWkpxy26f++++TI/-Tmp-/ app server type = GLASSFISH (sub-type = DEVELOPER version = 211) app server domains = 1 (instances = 0 cluster = ) jbi host = localhost jbi port = 17888 (secure = false) runtime build = 100423 runtime version = 2.6 runtime codeline = main runtime component build = 100315 runtime component version = 2.6 runtime component codeline = main component build = 100315 component version = 2.6 component codeline = main design time build = unknown design time codeline = unknown Build details: JBI Framework = Fri Apr 23 08:19:40 BST 2010 [/Volumes/Work/qe/gf211/jbi/lib/jbi_framework.jar] HTTP Binding = Mon Mar 15 05:29:46 GMT 2010 [100315,2.6.0,main,/Volumes/Work/qe/gf211/jbi/components/sun-http-binding/httpbc.jar] BPEL Service Engine = Mon Mar 15 05:39:00 GMT 2010 [100315,2.6.0,main,/Volumes/Work/qe/gf211/addons/jbi-components/bpelserviceengine.jar] NetBeans build details: IDE build = 20100425_0008 [/Volumes/Work/qe/netbeans/6.9/platform/build_number] IDE build (base) = 201004240200 [/Volumes/Work/qe/netbeans/6.9/platform/lib/boot.jar META-INF/MANIFEST.MF] IDE build date = Sat Apr 24 02:28:22 BST 2010 [/Volumes/Work/qe/netbeans/6.9/platform/core/core.jar] SOA build date = Sun Apr 25 00:11:26 BST 2010 [/Volumes/Work/qe/netbeans/6.9/soa/modules/org-netbeans-modules-compapp-projects-jbi.jar] home dir = /Volumes/Work/qe/netbeans/6.9 user dir = /Volumes/Work/qe/netbeans/userdir.69
Created attachment 97994 [details] partner CompApp project
please, add target "-post-jar" to the list: org.netbeans.modules.java.j2seproject.J2SEProject, private class J2SEExtenderImplementation: public List<String> getExtensibleTargets()
Raised the priority.
Fixed in jet-main 8ed77d1c1fad
Integrated into 'main-golden', will be available in build *201004270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: