[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Problem: Class after creation not found in model

Jerome Lanneluc wrote:
There must be something else going on with your code. I ran the following test successfully
(ie. it printed "de.unikassel.janus.tests.autocompletion2.Simple" to the console):...
As i tested further, i found an exception:
Java Model Exception: Java Model Status [de.unikassel.janus.tests.autocompletion is read-only]
at this line:
IPackageFragment packageFragment = packageFragmentRoot.createPackageFragment("de.unikassel.janus.tests.autocompletion", true, null);
Whats the meaning of this? Maybe we are doing something wrong at Projectcreation..
Can you Post your IJavaProject javaProject = createJavaProject("P"); code?


Kind regards,

Dennis Keßler