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 09:57 Go to next message
Eclipse User
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 10:52 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1759
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


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[XPAND] EvaluationException
Next Topic:Extend - Debuging extend script when you invoke M2M from runtime eclipse workbench
Goto Forum:
  


Current Time: Mon Jul 28 00:16:22 EDT 2014

Powered by FUDForum. Page generated in 0.01510 seconds