|Re: [QVTo] Errors importing a blackbox library [message #641808 is a reply to message #640985]
||Sun, 28 November 2010 10:47
| Toñi Reina
Registered: July 2009
finally I found what the problem was. I'm going to report it in case
someone could find it useful.
The problem was that I wrote the class name in the import sentence
org.mwacsl.SWC2jsp.lib.MWACSLUtilitiesLibrary. However, the right
sentence should include the namespace and the unit name.
This information can be found in the plugin.xml file attached to the
<?xml version="1.0" encoding="UTF-8"?>
<unit name="MWACSLUtilitiesLibrary" namespace="m2m.qvt.oml">
Furthermore, I have to create the plugin from the MWACSLUtilitiesLibrary
project and installed it.
El 23/11/2010 19:14, Toñi Reina Quintero escribió:
> Hi all,
> I' m trying to write a blackbox library in Java to add some
> functionality to some extra methods.
> I have found the following resource:
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.qvtoml/doc/org.eclipse.m2m.qvt.oml.doc/references/b lackboxing.html?root=Modeling_Project&view=co
> I have installed the example at 'Examples/Operational QVT
> Transformation/Black-box Library Definition'wizard and downloaded the
> project org.eclipse.emf.compare from eclipse svn because it also has an
> example of blackboxing at org.eclipse.emf.compare.mpatch.emfdiff2mpatch.
> The problem is that the import sentence in the qvto files has an error
> whose text is "Cannot find imported compilation unit
> I have been looking for similar problem described in the messages posted
> in the eclipse m2m forum, but although I have found some, I haven't
> found any answer.
> How can I configure in a QVT project where the blackbox libraries can be
> found? Is there something similar to Java Build Path to specify this
> I have created a project that holds the Java code, based on the example
> at the wizard. Then I have created a plugin and installed it in my
> Eclipse. But I does not work.
> Can anyone give me a hint?
> Toñi Reina
Powered by FUDForum
. Page generated in 0.01857 seconds