Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » reference check file from other eclipse plugin
reference check file from other eclipse plugin [message #488858] Wed, 30 September 2009 13:57 Go to next message
Eclipse UserFriend
Originally posted by: ML1984.gmx.de

Dear community,

I am trying to reference a check file, which is located in another
plugin and it seems not to work. Running the validation aborts and
causes the following warning:

"Caused by: java.lang.IllegalArgumentException: Couldn't find file
[pluginname]/[path]. Maybe it has been misspelled or it's not on the
classpath?"

My question is: Is it actually possible to reference check files from
other plugins? I've tried 'platform:/plugin/' as a prefix, both
alternatives don't work.

The only documentation I've found is located at OpenArchitectureWare
website:

http://www.openarchitectureware.org/pub/documentation/4.3.1/ html/contents/r52.html#r52_installation

There it just says: "For each Check file [...] enter the path to the file."

May the path be 'platform:/plugin/[pluginname]/[path]'?
Or just '[pluginname]/[path]'?

Cheers,
Mark

PS. I use the latest Eclipse Modeling Tools (SR1) with XPand/XTend 0.7.2.
Re: reference check file from other eclipse plugin [message #488870 is a reply to message #488858] Wed, 30 September 2009 14:52 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Mark L. schrieb:
> My question is: Is it actually possible to reference check files from
> other plugins? I've tried 'platform:/plugin/' as a prefix, both
> alternatives don't work.

No it's not possible. It has to be a path relative to the bundle-root.
Referencing other bundles is not possible.

Cheers,
Sven

--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Previous Topic:[XPAND] EvaluationException
Next Topic:Extend - Debuging extend script when you invoke M2M from runtime eclipse workbench
Goto Forum:
  


Current Time: Thu Apr 25 07:36:26 GMT 2024

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

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

Back to the top