Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JETEDITOR - read-only package exception
JETEDITOR - read-only package exception [message #36752] Fri, 09 June 2006 13:29 Go to next message
Eclipse UserFriend
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 #36853 is a reply to message #36752] Fri, 09 June 2006 23:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jclark.antennasoftware.com

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 #37023 is a reply to message #36853] Sat, 10 June 2006 19:54 Go to previous message
Joel Cheuoua is currently offline Joel CheuouaFriend
Messages: 38
Registered: July 2009
Member
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 23:06 Go to previous message
John is currently offline JohnFriend
Messages: 52
Registered: July 2009
Member
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 19:54 Go to previous message
Joel Cheuoua is currently offline Joel CheuouaFriend
Messages: 38
Registered: July 2009
Member
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.
>>
>>
>>
>
>
Previous Topic:Recommended Editor for Java Emitter Templates?
Next Topic:Recommended Editor for Java Emitter Templates?
Goto Forum:
  


Current Time: Sat Jul 27 10:52:38 GMT 2024

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

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

Back to the top