Bug 253996 - [81cat] Add the possibility to choose the default java platform (different by the java platform used by netbeans)
[81cat] Add the possibility to choose the default java platform (different by...
Status: NEW
Product: java
Classification: Unclassified
Component: Project
8.1
PC Windows 7
: P3 with 6 votes (vote)
: 8.2
Assigned To: Tomas Zezula
issues@java
:
: 163840 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-30 12:19 UTC by -Silver-
Modified: 2015-10-05 20:49 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description -Silver- 2015-07-30 12:19:28 UTC
Hi,
I would like to have the possibility to choose a different default java platform from the java platform panel.
The motivation is that the one currently set corresponds to that used by Netbeans itself that usually is the last available java version (in this case JDK8).
Into my company is not used the last JDK (and I think that is rare that a company migrates its projects to the last JDK version immediatly after it is released) so I have to change continuously the project properties to set a different java version for each project on which I work.
Now consider that each project is an huge maven project composed by many submodule so that I have to change the configuration not only of the main project but also of the submodule that I want to modify and compile separately.
Furthermore I can put into the company repository only the sources and not the netbeans descriptor so when I do the fix and delete the project from my machine the netbeans configuration is lost and next time I have again to edit the properties of each project to set again the JDK6 when I yet know that all the projects of my company uses that version.

Thanks and best regards,


--
Giuseppe Tino
Comment 1 Tomas Zezula 2015-08-13 09:20:27 UTC
Hi Giuseppe,
the "Default Platform" is a bit different compared to other platforms.
In fact it has two functions and the name is misleading.
1st) It's an always available platform
2nd) It has a different build process, the <javac> may not fork into external VM so the build is faster (can be configured in project.properties).
There was also 3rd) function it was used when creating a new project. This was changed (at least for ant based projects) and the last used platform is used. When you set a platform in project, the platform is used when creating a new project.

A agree It would be good to allow user to select the platform for the 3rd function. The 1st) and 2nd) are properties only of the platform the IDE runs on.

Also the related issue is:
https://netbeans.org/bugzilla/show_bug.cgi?id=253121
Comment 2 Tomas Zezula 2015-08-13 09:20:53 UTC
*** Bug 163840 has been marked as a duplicate of this bug. ***


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo