Does Tycho work with Eclipse 3.5

I finally turned around looking Tycho (the bridge between Maven 3 and OSGi), but I don't get very far. After this tutorial, I downloaded Tycho 0.3.0-DEV-1819 and tychodemo.zip and unpacked them as directed. I have a 1.5.0_15 JDK installed as JAVA_HOME.

When I run (without a new line):

c:\tycho\bin\mvn org.codehaus.tycho:maven-tycho-plugin:generate-poms 
    -DgroupId=tycho.demo -Dtycho.targetPlatform=c:/eclipse-3.5

I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher

Normally, I would spend a little time debugging, but as the tutorial says, to use Eclipse 3.3.2 I am interested, the problem is that I use Eclipse 3.5.

Can anyone confirm the version of Eclipse, so can I go and download the old version of Eclipse? Or is it even better to point me to the Tycho update for a mannequin guide? (the one I follow is 11 months old)

+3
source share
1 answer

Now I feel stupid, as soon as I clicked Ask Your Question, it occurred to me that Tycho mvn.batinherits my environment variable M2_HOME(set to install Maven-2.2.0). M2_HOMEPoint installation c:\tychowent past the problem.

The second build (site packaging) will work against Eclipse 3.5 and create a reasonable site. I have not yet confirmed that it will actually work on the target platform.

, ...

+5

Source: https://habr.com/ru/post/1719490/


All Articles