| Deploy Xtext as Standalone jar [message #987925] |
Wed, 28 November 2012 11:44  |
Andrea Margheri Messages: 20 Registered: July 2012 |
Junior Member |
|
|
Hi,
I read Sebastian's guide
http://zarnekow.blogspot.it/2010/06/how-to-deploy-xtext-standalone.html
for deploying Xtext. As someone said in comments I have the same error about _UI_DiagnosticRoot_diagnostic during validation rules.
In comments, it's suggested a "solution" that for me doesn't run (create a new plugin.properties file). Which is the best solution for this?
As follows all exceptions returned:
Quote:
2 [main] ERROR ResourceValidatorImpl - The string resource '_UI_DiagnosticRoot_diagnostic' could not be located
java.util.MissingResourceException: The string resource '_UI_DiagnosticRoot_diagnostic' could not be located
at org.eclipse.emf.common.util.DelegatingResourceLocator.delegatedGetString(DelegatingResourceLocator.java:481)
at org.eclipse.emf.common.util.DelegatingResourceLocator.getString(DelegatingResourceLocator.java:386)
at org.eclipse.emf.common.util.DelegatingResourceLocator.getString(DelegatingResourceLocator.java:500)
at org.eclipse.emf.common.util.DelegatingResourceLocator.getString(DelegatingResourceLocator.java:492)
at org.eclipse.emf.ecore.util.Diagnostician.createDefaultDiagnostic(Diagnostician.java:88)
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:117)
at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:108)
at standaloneXtext.Main.runGenerator(Main.java:53)
at standaloneXtext.Main.main(Main.java:32)
Andrea
|
|
|
| Re: Deploy Xtext as Standalone jar [message #988308 is a reply to message #987925] |
Thu, 29 November 2012 05:55  |
|
Create a plugin.properties file and jar it.
The content should contain this entry:
_UI_DiagnosticRoot_diagnostic=_UI_DiagnosticRoot_diagnostic
Here is an ant task example:
<echo file="${binJarTemp}/plugin.properties">_UI_DiagnosticRoot_diagnostic=_UI_DiagnosticRoot_diagnostic</echo>
Regards,
Dennis.
+Dennis Hübner
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
|
|
|
Powered by
FUDForum. Page generated in 0.01449 seconds