Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Creating a package fragment goes in Java Model Exception: Java Model Status [java is read-only]
Creating a package fragment goes in Java Model Exception: Java Model Status [java is read-only] [message #1763687] Thu, 18 May 2017 15:03
Tullio Bettinazzi is currently offline Tullio BettinazziFriend
Messages: 1
Registered: May 2017
Junior Member
I try to create a new package from my plugin using ;
xpJavaProject.getPackageFragmentRoot(SOURCE_FOLDER).createPackageFragment(xpPackageName, false, null);

where xpJavaProject is my java project.
I get an error : Java Model Exception: Java Model Status [java is read-only],
However if I test if my java model is read-only I get false.
What I missed ?
Tks
Tullio
Previous Topic:i need urgent help in installing Jpf java path finder
Next Topic:No exclamation mark after splitting editor
Goto Forum:
  


Current Time: Thu Dec 14 13:29:58 GMT 2017

Powered by FUDForum. Page generated in 0.02104 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software