Ah, I see now.
M2_HOME needs to point to the tycho installation:
M2_HOME=C:\DEV\tycho\tycho-distribution-0.3.0-DEV-1819\
Rich
On Jan 21, 2009, at 11:58 PM, Salgar, Mehmet (external) wrote:
Well this time I executed from the DOS prompt
the result is the same
C:\DEV\tycho\tycho-distribution-0.3.0-DEV-1819\bin>mvn
org.codehaus.tycho:maven-tycho-plugin:0.3.0-DEV-1983:generate-poms -
DgroupId=tycho.demo -Dtycho.targetPlatform=c:\DEV\eclipse\eclipse-
SDK-3.4.1\eclipse
Exception in thread "main" java.lang.NoClassDefFoundError: org/
codehaus/classworlds/Launcher
and M2_HOME is there
JAVA_HOME=C:\BEA922\jdk150_10
M2=C:\DEV\maven-2.0.9
M2_HOME=C:\DEV\maven-2.0.9
MAVEN_OPTS=-Xmx512m -Xms256m
T-Mobile Deutschland GmbH
Aufsichtsrat: Hamid Akhavan (Vorsitzender)
Geschäftsführung: Dr. Georg Pölzl (Sprecher), Thomas Berlemann, Jiri
Dvorjancansky, Philipp Humm,
Dr. Peter Körner, Dr. Raphael Kübler, Günther Ottendorfer, Dr.
Steffen Roehn
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328
Von: Richard Seddon [mailto:[email protected]]
Gesendet: Mittwoch, 21. Januar 2009 16:54
An: [email protected]
Betreff: Re: [m2eclipse-user] Tycho first experiments
Hi,
Tyhco runs as a Java process, and it can't understand Cygwin
paths. M2_HOME should use Windows paths, and so should
"tycho.targetPlatform":
/cygdrive/c/DEV/tycho/tycho-distribution-0.3.0-DEV-1983/bin/mvn
org.codehaus.tycho:maven-tycho-plugin:0.3.0-DEV-1983:generate-poms -
DgroupId=tycho.demo -Dtycho.targetPlatform=c:/DEV/eclipse/eclipse-
SDK-3.4.1/eclipse
Rich
On Jan 21, 2009, at 7:30 AM, Salgar, Mehmet (external) wrote:
Hi everybody,
I am making my first experiments with Tycho and I am getting the
below exception. Can anybody has an idea what it can be…
I have M2_HOME variable in the environment may be only critical
thing is that I building in Windows XP with Cygwin….
Thx in advance...
/cygdrive/c/DEV/tycho/tycho-distribution-0.3.0-DEV-1983/bin/mvn
org.codehaus.tycho:maven-tycho-plugin:0.3.0-DEV-1983:generate-poms -
DgroupId=tycho.demo -Dtycho.targetPlatform=/cygdrive/c/DEV/eclipse/
eclipse-SDK-3.4.1/eclipse
java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/
launcher/Launcher
T-Mobile Deutschland GmbH
Aufsichtsrat: Hamid Akhavan (Vorsitzender)
Geschäftsführung: Dr. Georg Pölzl (Sprecher), Thomas Berlemann,
Jiri Dvorjancansky, Philipp Humm,
Dr. Peter Körner, Dr. Raphael Kübler, Günther Ottendorfer, Dr.
Steffen Roehn
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email