Skip to main content



      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 07:15 Go to next message
Eclipse UserFriend
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 08:19 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Workspace image not found in another eclipse instance [message #1498645 is a reply to message #1498525] Thu, 04 December 2014 10:07 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 11:16:25 EDT 2025

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

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

Back to the top