Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Workspace image not found in another eclipse instance
Workspace image not found in another eclipse instance [message #1498455] Thu, 04 December 2014 12:15 Go to next message
Steven Kauffmann is currently offline Steven KauffmannFriend
Messages: 19
Registered: November 2014
Junior Member
Hi all,

In my design I have defined a sub node with a workspace image style. The workspace image path is set to a svg file pointing to a certain directory in my current workspace. When I use my defined viewpoint in new environment that is pointing to another workspace the svg file cannot be found.

I have already included the image folder in the build configuration but this doesn't make any difference. What am I doing wrong?

Best regards
Steven
Re: Workspace image not found in another eclipse instance [message #1498525 is a reply to message #1498455] Thu, 04 December 2014 13:19 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 482
Registered: July 2009
Location: Nantes, France
Senior Member
Le 04/12/2014 13:15, Steven Kauffmann a écrit :
> Hi all,
>
Hi Steven,

> In my design I have defined a sub node with a workspace image style. The
> workspace image path is set to a svg file pointing to a certain
> directory in my current workspace. When I use my defined viewpoint in
> new environment that is pointing to another workspace the svg file
> cannot be found.

How do you use it in another workspace ? Is it deployed as a plugin ?
The Viewpoint Specification Model is intended to be defined in a
Viewpoint Specification Project which is a standard Eclipse plugin
project and can be deployed/installed in an Eclipse bundle.
>
> I have already included the image folder in the build configuration but
> this doesn't make any difference. What am I doing wrong?

In the Interaction sample (used in tests and available on the Sirius Git
repository), we define an image and it is well available after build and
installation. We put the following path in the Workspace Image Path
property section :
/org.eclipse.sirius.sample.interactions.design/description/eol.png to
reference the eol.png image from the description folder of the
org.eclipse.sirius.sample.interactions.design plugin.

>
> Best regards
> Steven

Regards,

--
Maxime - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
http://www.siriuscon.org/
Re: Workspace image not found in another eclipse instance [message #1498645 is a reply to message #1498525] Thu, 04 December 2014 15:07 Go to previous message
Steven Kauffmann is currently offline Steven KauffmannFriend
Messages: 19
Registered: November 2014
Junior Member
Hi Maxime,

Maxime Porhel wrote on Thu, 04 December 2014 14:19
Le 04/12/2014 13:15, Steven Kauffmann a écrit :
> Hi all,
>
Hi Steven,

> In my design I have defined a sub node with a workspace image style. The
> workspace image path is set to a svg file pointing to a certain
> directory in my current workspace. When I use my defined viewpoint in
> new environment that is pointing to another workspace the svg file
> cannot be found.

How do you use it in another workspace ? Is it deployed as a plugin ?
The Viewpoint Specification Model is intended to be defined in a
Viewpoint Specification Project which is a standard Eclipse plugin
project and can be deployed/installed in an Eclipse bundle.



Yes it is deployed as a plugin.

Quote:

>
> I have already included the image folder in the build configuration but
> this doesn't make any difference. What am I doing wrong?

In the Interaction sample (used in tests and available on the Sirius Git
repository), we define an image and it is well available after build and
installation. We put the following path in the Workspace Image Path
property section :
/org.eclipse.sirius.sample.interactions.design/description/eol.png to
reference the eol.png image from the description folder of the
org.eclipse.sirius.sample.interactions.design plugin.



I have retried it now, first removing all the diagrams in my test project and now it indeed seems to work. Don't know what went wrong (some kind of caching within the diagram?) but anyhow thanks for the help.

Best regards
Steven

Previous Topic:Begin operation not available within table representation
Next Topic:Using pre-defined types in Sirius
Goto Forum:
  


Current Time: Tue Apr 07 11:56:23 GMT 2020

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

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

Back to the top