Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343275 - "deserialization of type org.eclipse.core.resources.IProject is not implemented"
Summary: "deserialization of type org.eclipse.core.resources.IProject is not implemented"
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.9.0 M7   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 10:45 EDT by Nicolas Bros CLA
Modified: 2011-08-18 08:12 EDT (History)
3 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-04-19 10:45:20 EDT
I get this error each time the Java discoverer parameters dialog is opened:
"deserialization of type org.eclipse.core.resources.IProject is not implemented".
Comment 1 Nicolas Bros CLA 2011-04-20 03:04:22 EDT
Also, there is a warning:
Plugin org.eclipse.modisco.java.discoverer.org.eclipse.emf.facet.util.emf.core.serialization: Several serializers are provided for the type: org.eclipse.core.resources.IProject. Only the first one will be used. (org.eclipse.emf.facet.infra.common.core_0.1.0.qualifier)

The IProject serializer "org.eclipse.modisco.java.discoverer.internal.serialization.ProjectSerializer" seems useless since there is a IResource serializer ("org.eclipse.emf.facet.util.emf.core.internal.serialization.serializers.IResourceSerializer") which the EMF Facet serialization mechanism always chooses instead, since it is more general.
Comment 2 Fabien Giquel CLA 2011-04-21 02:52:14 EDT
I have one error "Several serializers are provided for the type..." but i not encounter some "deserialization of type IProject is not
implemented".

I agree with removal of useless serialization implemented in MoDisco.
Comment 3 Nicolas Bros CLA 2011-04-21 05:50:33 EDT
(In reply to comment #2)
> I have one error "Several serializers are provided for the type..." but i not
> encounter some "deserialization of type IProject is not
> implemented".

Yes, I don't understand exactly how that could happen in my workspace. This error would be possible if I had serialized when the "IProject" serializer was present but not the "IResource" serializer. And then when the "IResource" serializer was added, it took the priority over the "IProjet" serializer.

Or maybe my launchers were serialized before I finished the current implementation.

> I agree with removal of useless serialization implemented in MoDisco.
Removed in revision 4347.
Comment 4 Hugo Bruneliere CLA 2011-08-18 08:12:29 EDT
Bug solved.