JETEDITOR - read-only package exception [message #36752] |
Fri, 09 June 2006 09:29  |
Eclipse User |
|
|
|
Originally posted by: jclark.antennasoftware.com
First of all, good job with the JET Editor. It was exactly was I was looking
for. I especially like the Preview page where I can bind the template to a
model instance and see the result of the generation.
But, I'm getting the following exception while opening and/or editing any
template in the JET Editor:
Java Model Exception: Java Model Status [avatar.scct is read-only]
at
org.eclipse.jdt.internal.core.JarPackageFragment.createCompi lationUnit(JarPackageFragment.java:98)
at
org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.computeCompilationUnit(JETReconcilingStrategy.jav a:191)
at
org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.reconcile(JETReconcilingStrategy.java:149)
at
org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.initialReconcile(JETReconcilingStrategy.java:276)
at
org.eclipse.jface.text.reconciler.MonoReconciler.initialProc ess(MonoReconciler.java:103)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(AbstractReconciler.java:170)
'avatar.scct' is the target package for the JET translated classes. I
verified that the underlying package directory structure isn't read-only at
any level. Also, I see that the exception is coming out of the JDT core.
Perhaps I need to make this post to another newsgroup?
I've attached the configuration details for your reference.
|
|
|
|
Re: JETEDITOR - read-only package exception [message #37023 is a reply to message #36853] |
Sat, 10 June 2006 15:54  |
Eclipse User |
|
|
|
Hi John,
No problem, & thanks for the kind words :)
Cheers,
Joel.
"John" <jclark@antennasoftware.com> wrote in message
news:e6cuu4$ll$1@utils.eclipse.org...
> Well, it turns out a jar in the project classpath had a package
> avatar.scct with no classes. I presume the JDT core picked that up first
> and, as expected, interpreted it as read-only.
>
> Sorry for the distraction.
>
> John-
>
> "John" <jclark@antennasoftware.com> wrote in message
> news:e6bt3p$3f7$1@utils.eclipse.org...
>> First of all, good job with the JET Editor. It was exactly was I was
>> looking for. I especially like the Preview page where I can bind the
>> template to a model instance and see the result of the generation.
>>
>> But, I'm getting the following exception while opening and/or editing any
>> template in the JET Editor:
>>
>> Java Model Exception: Java Model Status [avatar.scct is read-only]
>> at
>> org.eclipse.jdt.internal.core.JarPackageFragment.createCompi lationUnit(JarPackageFragment.java:98)
>> at
>> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.computeCompilationUnit(JETReconcilingStrategy.jav a:191)
>> at
>> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.reconcile(JETReconcilingStrategy.java:149)
>> at
>> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.initialReconcile(JETReconcilingStrategy.java:276)
>> at
>> org.eclipse.jface.text.reconciler.MonoReconciler.initialProc ess(MonoReconciler.java:103)
>> at
>> org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(AbstractReconciler.java:170)
>>
>> 'avatar.scct' is the target package for the JET translated classes. I
>> verified that the underlying package directory structure isn't read-only
>> at any level. Also, I see that the exception is coming out of the JDT
>> core. Perhaps I need to make this post to another newsgroup?
>>
>> I've attached the configuration details for your reference.
>>
>>
>>
>
>
|
|
|
Re: JETEDITOR - read-only package exception [message #580371 is a reply to message #36752] |
Fri, 09 June 2006 19:06  |
Eclipse User |
|
|
|
Well, it turns out a jar in the project classpath had a package avatar.scct
with no classes. I presume the JDT core picked that up first and, as
expected, interpreted it as read-only.
Sorry for the distraction.
John-
"John" <jclark@antennasoftware.com> wrote in message
news:e6bt3p$3f7$1@utils.eclipse.org...
> First of all, good job with the JET Editor. It was exactly was I was
> looking for. I especially like the Preview page where I can bind the
> template to a model instance and see the result of the generation.
>
> But, I'm getting the following exception while opening and/or editing any
> template in the JET Editor:
>
> Java Model Exception: Java Model Status [avatar.scct is read-only]
> at
> org.eclipse.jdt.internal.core.JarPackageFragment.createCompi lationUnit(JarPackageFragment.java:98)
> at
> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.computeCompilationUnit(JETReconcilingStrategy.jav a:191)
> at
> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.reconcile(JETReconcilingStrategy.java:149)
> at
> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.initialReconcile(JETReconcilingStrategy.java:276)
> at
> org.eclipse.jface.text.reconciler.MonoReconciler.initialProc ess(MonoReconciler.java:103)
> at
> org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(AbstractReconciler.java:170)
>
> 'avatar.scct' is the target package for the JET translated classes. I
> verified that the underlying package directory structure isn't read-only
> at any level. Also, I see that the exception is coming out of the JDT
> core. Perhaps I need to make this post to another newsgroup?
>
> I've attached the configuration details for your reference.
>
>
>
|
|
|
Re: JETEDITOR - read-only package exception [message #580567 is a reply to message #36853] |
Sat, 10 June 2006 15:54  |
Eclipse User |
|
|
|
Hi John,
No problem, & thanks for the kind words :)
Cheers,
Joel.
"John" <jclark@antennasoftware.com> wrote in message
news:e6cuu4$ll$1@utils.eclipse.org...
> Well, it turns out a jar in the project classpath had a package
> avatar.scct with no classes. I presume the JDT core picked that up first
> and, as expected, interpreted it as read-only.
>
> Sorry for the distraction.
>
> John-
>
> "John" <jclark@antennasoftware.com> wrote in message
> news:e6bt3p$3f7$1@utils.eclipse.org...
>> First of all, good job with the JET Editor. It was exactly was I was
>> looking for. I especially like the Preview page where I can bind the
>> template to a model instance and see the result of the generation.
>>
>> But, I'm getting the following exception while opening and/or editing any
>> template in the JET Editor:
>>
>> Java Model Exception: Java Model Status [avatar.scct is read-only]
>> at
>> org.eclipse.jdt.internal.core.JarPackageFragment.createCompi lationUnit(JarPackageFragment.java:98)
>> at
>> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.computeCompilationUnit(JETReconcilingStrategy.jav a:191)
>> at
>> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.reconcile(JETReconcilingStrategy.java:149)
>> at
>> org.eclipse.emf.codegen.jet.editor.presentation.JETReconcili ngStrategy.initialReconcile(JETReconcilingStrategy.java:276)
>> at
>> org.eclipse.jface.text.reconciler.MonoReconciler.initialProc ess(MonoReconciler.java:103)
>> at
>> org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(AbstractReconciler.java:170)
>>
>> 'avatar.scct' is the target package for the JET translated classes. I
>> verified that the underlying package directory structure isn't read-only
>> at any level. Also, I see that the exception is coming out of the JDT
>> core. Perhaps I need to make this post to another newsgroup?
>>
>> I've attached the configuration details for your reference.
>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 1.65880 seconds