Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Installing QVTo 3.5 on Eclipse Kepler
Installing QVTo 3.5 on Eclipse Kepler [message #1712548] Mon, 26 October 2015 10:48 Go to next message
Fon Vitale is currently offline Fon VitaleFriend
Messages: 14
Registered: November 2011
Junior Member
Hi,

I'm trying to install QVTo 3.5 on Kepler. I've had to install features one by one due to QVTo SDK includes the coverage plugin which has dependencies with Eclipse UI 3.107 (kepler has Eclipse UI 3.105).

With core, runtime, debug and editor installed, I cannot create a QVTo project. That project kind does not appear in the 'New Project' wizard. In addition, Eclipse does not recognise the QVToNature nature of the project.

On the other hand, I can launch transformations with no problems.

So, have I missed something when installing QVTo?

PS: I have installed QVTo on Eclipse Mars, using QVTo SDK, and it works.
Re: Installing QVTo 3.5 on Eclipse Kepler [message #1712554 is a reply to message #1712548] Mon, 26 October 2015 11:16 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5625
Registered: July 2009
Senior Member
Hi

Backporting has never been a supported QVTo capability, but it should work.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=480634 raised.

It looks as if insufficient consideration was given when adding the
coverage plugins. You might find that you can just leave them out.

The QVToNature is a funny that I think I have seen. Have you restarted
Eclipse? Have you made sure that you also have a Java nature and source
folders?

Regards

Ed Willink


On 26/10/2015 10:48, Fon Mising name wrote:
> Hi,
> I'm trying to install QVTo 3.5 on Kepler. I've had to install features
> one by one due to QVTo SDK includes the coverage plugin which has
> dependencies with Eclipse UI 3.107 (kepler has Eclipse UI 3.105).
>
> With core, runtime, debug and editor installed, I cannot create a QVTo
> project. That project kind does not appear in the 'New Project'
> wizard. In addition, Eclipse does not recognise the QVToNature nature
> of the project.
>
> On the other hand, I can launch transformations with no problems.
>
> So, have I missed something when installing QVTo?
>
> PS: I have installed QVTo on Eclipse Mars, using QVTo SDK, and it works.
Re: Installing QVTo 3.5 on Eclipse Kepler [message #1712568 is a reply to message #1712554] Mon, 26 October 2015 14:11 Go to previous messageGo to next message
Fon Vitale is currently offline Fon VitaleFriend
Messages: 14
Registered: November 2011
Junior Member
Thank you, Ed.

About natures, yes, I restarted the IDE (the common restart after installing new software).

About Java, do you mean Java projects? If so, Java projects have the Java nature and their source folder.

Regards.

[Updated on: Mon, 26 October 2015 14:33]

Report message to a moderator

Re: Installing QVTo 3.5 on Eclipse Kepler [message #1712611 is a reply to message #1712568] Mon, 26 October 2015 18:06 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5625
Registered: July 2009
Senior Member
Hi

Your QVTo project should be a Java project with an extra QVToNature.

IIRC a simpler project with just a QVToNature is deceptively useless.

Regards

Ed Willink


On 26/10/2015 14:11, Fon Vitale wrote:
> Thank you, Ed.
> About natures, yes, I restarted the IDE (the common restart when
> installing new software).
> About Java, do you mean Java projects? If so, Java projects have the
> Java nature and their source folder.
>
> Regards.
Re: Installing QVTo 3.5 on Eclipse Kepler [message #1713049 is a reply to message #1712611] Fri, 30 October 2015 10:13 Go to previous messageGo to next message
Fon Vitale is currently offline Fon VitaleFriend
Messages: 14
Registered: November 2011
Junior Member
HI Ed,

I'm sorry, I've been very busy during the week.

Well, trying on Eclipse Mars, the 'SimpleUML to RDB' example project is not a Java project. If I try to create a QVTo project (I cannot on Kepler due to the explanation above), the creation wizard lets me select the type of the project among simple project, plug-in project or java project. So, that makes me think that the project needs not to be a Java project. Am I wrong?

Regards,

Re: Installing QVTo 3.5 on Eclipse Kepler [message #1713053 is a reply to message #1713049] Fri, 30 October 2015 11:37 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5625
Registered: July 2009
Senior Member
Hi

In Eclipse an X project is a project with an X nature. Natures are not
generally exclusive, so a project can be a Java+QVTo+Xtext project.

The New Project wizard gives you some helpful starters that you can
typically extend by a Configure->Add Nature menu option, or cutting and
pasting the .project file.

The example attached is a JET+Java+QVTo+Xtext+Plugin project.

The Simple UML to RDBMS example has the slightly surprising

<natures>
<nature>org.eclipse.m2m.qvt.oml.project.QVTONature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>

making it a QVTo+Plugin project.

Maybe my nagging doubt about a Java nature is a red herring.

Have a look at your configuration to check whether the plugins started.

BUT: Bottom line is that you are handcrafting a non-standard unsupported
solution.

Regards

Ed Willink


On 30/10/2015 10:13, Fon Vitale wrote:
> HI Ed,
>
> I'm sorry, I've been very busy during the week.
>
> Well, trying on Eclipse Mars, the 'SimpleUML to RDB' example project
> is not a Java project. If I try to create a QVTo project (I cannot on
> Kepler due to the explanation above), the creation wizard lets me
> select the type of the project among simple project, plug-in project
> or java project. So, that makes me think that the project needs not to
> be a Java project. Am I wrong?
>
> Regards,
>
>
  • Attachment: .project
    (Size: 1.32KB, Downloaded 48 times)
Re: Installing QVTo 3.5 on Eclipse Kepler [message #1713080 is a reply to message #1713053] Fri, 30 October 2015 16:16 Go to previous messageGo to next message
Fon Vitale is currently offline Fon VitaleFriend
Messages: 14
Registered: November 2011
Junior Member
Hi,

I've downloaded the QVTo plugins into my workspace. I've realized that the plugin 'org.eclipse.m2m.qvto.oml.ui' is not added to the feature 'org.eclipse.m2m.qvt.oml.feature'. It can explain why I cannot create a QVTo project from the 'New Project' wizard. (I've checked the list of installed plugins on Eclipse Kepler and '...oml.ui' does not appear). It works by installing the plugin in dropins or plugins folder .

Thank you!

Regards,

[Updated on: Fri, 30 October 2015 16:17]

Report message to a moderator

Re: Installing QVTo 3.5 on Eclipse Kepler [message #1713113 is a reply to message #1713080] Sat, 31 October 2015 18:04 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5625
Registered: July 2009
Senior Member
Hi

Thanks for getting back with the solution.

I've added a further comment to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480634 so that yur problem
shpuld go away.

Regards

Ed Willink


On 30/10/2015 16:16, Fon Vitale wrote:
> Hi,
> I've downloaded the QVTo plugins into my workspace. I've realized that
> the plugin 'org.eclipse.m2m.qvto.oml.ui' is not added to the feature
> 'org.eclipse.m2m.qvt.oml.feature'. It can explain why I cannot create a
> QVTo project from the 'New Project' wizard. (I've checked the list of
> installed plugins on Eclipse Kepler and '...oml.ui' does not appear).
> Installing the plugin in dropins or plugins folder it works.
>
> Regards,
Re: Installing QVTo 3.5 on Eclipse Kepler [message #1713118 is a reply to message #1713113] Sat, 31 October 2015 19:18 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5625
Registered: July 2009
Senior Member
Hi

You should find that

https://hudson.eclipse.org/qvt-oml/job/qvto-branch-tests/47/artifact/MMT-QVTo.downloads/mmt-qvto-Update-N201510311509.zip

can be installed on Kepler.

Regards

Ed Willink
Previous Topic:RAP in combination with QVT (com.ibm.icu issue)
Next Topic:Tracing QVT interpreter
Goto Forum:
  


Current Time: Mon Feb 19 17:39:09 GMT 2018

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

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