Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Problems to locate a resource
Problems to locate a resource [message #500437] Thu, 26 November 2009 08:04 Go to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hi all,

what's wrong with the following platform scheme?! Why does EMF doesn't
find the csm model, which definetively exists at this location.

URI.createURI("platform:/resource/sampleModels/Codog_Models/My.csm ");

Is there an error in the path?!

Timothy
Re: Problems to locate a resource [message #500458 is a reply to message #500437] Thu, 26 November 2009 09:18 Go to previous messageGo to next message
Thomas Neustupny is currently offline Thomas NeustupnyFriend
Messages: 75
Registered: October 2009
Member
Timothy Marc wrote on Thu, 26 November 2009 03:04
URI.createURI("platform:/resource/sampleModels/Codog_Models/My.csm ");

I have no clue, but I see a blank after .csm, could this be the problem?

Thomas
Re: Problems to locate a resource [message #500493 is a reply to message #500437] Thu, 26 November 2009 11:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Timothy,

If something is failing, I'd expect an exception. Does that exception
tell you anything?


Timothy Marc wrote:
> Hi all,
>
> what's wrong with the following platform scheme?! Why does EMF doesn't
> find the csm model, which definetively exists at this location.
>
> URI.createURI("platform:/resource/sampleModels/Codog_Models/My.csm ");
>
> Is there an error in the path?!
>
> Timothy


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems to locate a resource [message #500512 is a reply to message #500458] Thu, 26 November 2009 13:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

> Timothy Marc wrote on Thu, 26 November 2009 03:04
>> URI.createURI("platform:/resource/sampleModels/Codog_Models/My.csm ");
>
> I have no clue, but I see a blank after .csm, could this be the problem?

This blank was only added magically into your quote ;)
Re: Problems to locate a resource [message #500616 is a reply to message #500512] Fri, 27 November 2009 08:01 Go to previous message
Thomas Neustupny is currently offline Thomas NeustupnyFriend
Messages: 75
Registered: October 2009
Member
> This blank was only added magically into your quote Wink

I strongly disagree (see first post). Smile
Previous Topic:[Teneo] Annotations required to support 2 associations between two classes
Next Topic:Parameters with generic types.
Goto Forum:
  


Current Time: Fri Apr 26 01:01:48 GMT 2024

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

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

Back to the top