Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Migrating representation files from Sirius 2 to Sirius 3(Unable to open Sirius-2-created .aird files in Sirius 3 )
Migrating representation files from Sirius 2 to Sirius 3 [message #1706406] Wed, 26 August 2015 16:28 Go to next message
Francois Cabrol is currently offline Francois CabrolFriend
Messages: 32
Registered: January 2015
Member
Hi everyone,

I recently migrated to Eclipse Mars (with Sirius 3), after having used Eclipse Juno + Sirius 2.0.4. When I run my second Eclipse instance and try to import one of my modeling projects from Sirius 2 into Sirius 3, the design files open successfully, but the representation file always appears as empty, and I have to manually recreate all my representations. Repairing the .aird file does nothing.

Is there something special to do in order to migrate the aird file, or does the format remain unchanged between Sirius 2 and Sirius 3 ? What could explain the behaviour I observe ?

Thanks in advance,

François
Re: Migrating representation files from Sirius 2 to Sirius 3 [message #1706468 is a reply to message #1706406] Thu, 27 August 2015 06:40 Go to previous messageGo to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi Francois,

The migration from Sirius 2 to Sirius 3 should be automatic and be
successful. If it is not your case, you can raise a bugzilla with your
example in attachement that we may be able to reproduce to fix the issue
if there is one.

Best Regards.

Le 26/08/2015 18:28, Francois Cabrol a écrit :
> Hi everyone,
>
> I recently migrated to Eclipse Mars (with Sirius 3), after having used
> Eclipse Juno + Sirius 2.0.4. When I run my second Eclipse instance and
> try to import one of my modeling projects from Sirius 2 into Sirius 3,
> the design files open successfully, but the representation file always
> appears as empty, and I have to manually recreate all my
> representations. Repairing the .aird file does nothing.
>
> Is there something special to do in order to migrate the aird file, or
> does the format remain unchanged between Sirius 2 and Sirius 3 ? What
> could explain the behaviour I observe ?
>
> Thanks in advance,
>
> François



--
Esteban Dugueperoux - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Migrating representation files from Sirius 2 to Sirius 3 [message #1706515 is a reply to message #1706468] Thu, 27 August 2015 13:17 Go to previous message
Francois Cabrol is currently offline Francois CabrolFriend
Messages: 32
Registered: January 2015
Member
My mistake.

The problem was coming from the fact that in my Sirius 2 install, the representations had been created using the viewpoints defined in the design plugins of the initial Eclipse instance. Thus, the corresponding .odesign files were referenced in the .aird file as platform:/plugin/*.design/*.odesign. In my Sirius 3 install, the design plugins are imported only in the runtime instance (the one launched from the initial instance), so their URI must start with platform:/resource. Doing a simple find/replace in the .aird file solved the problem.

François
Previous Topic:Compilation error for expression XYZ, headless mode
Next Topic:Eclipse/EMF/Sirius Developer (France : Paris & Toulouse)
Goto Forum:
  


Current Time: Wed Jan 27 11:57:52 GMT 2021

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

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

Back to the top