Skip to main content


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: 10
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: Tue Oct 15 01:21:16 GMT 2024

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

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

Back to the top