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.

Bug 248114 - Project javaee wrong level 6.0 instead of 7.0
Summary: Project javaee wrong level 6.0 instead of 7.0
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 13:56 UTC by bytesArray
Modified: 2015-04-17 03:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bytesArray 2014-10-22 13:56:44 UTC
NB : Description for the war wizard but the same if you take ear wizard or EJB wizard

File New Projetc-> java web -> web application 
...(others steps non relevant)
Java EE version set to Java EE 7 Web
...(others steps non relevant)

Well in fact you are not in Java EE7 but are stuck on EE6 
(editor errors on things like 
import javax.enterprise.context.ApplicationScoped;
or
import javax.enterprise.inject.spi.BeanManager;
etc...  (well in fact everything "pure" EE7 is an error )


Open project's netbeans files : \lib\nblibraries.properties or nbproject\project.properties
 you will see references to  ${libs.javaee-endorsed-api-6.0.classpath} 
=> Should be ${libs.javaee-endorsed-api-7.0.classpath} !!
and so on.

Laborious manula stuff to take place to upgrade the roject level myself -> waste of precious time IMHO.

For me it relates to the team decided NOT to let users setting the project level themselves (still don't really understand why?),
 because if this was possible, well every one could simply resolve this little mistake easily ?

NB : the same if you take ear wizard or EJB wizard.
Hope it helps,
Thanks
Comment 1 Petr Hejl 2015-04-16 14:14:07 UTC
Fixed in web-main 3792d17dc88a.
Comment 2 Quality Engineering 2015-04-17 03:03:01 UTC
Integrated into 'main-silver', will be available in build *201504170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3792d17dc88a
User: Petr Hejl <phejl@netbeans.org>
Log: #248114 - Project javaee wrong level 6.0 instead of 7.0