I checked out the servicemix 4.0 today (2007/12/07).
http://svn.apache.org/repos/asf/servicemix/branches/servicemix-4.0
I use Windows XP and tried to build SMX4 source, but failed. Finally I made
it build but I don't know how to run it. Here are the steps.
1) Build exception - method cannot be found in RchClient. It turns out there
is a new version of gshell-remote-client.jar in
.m2\repository\org\apache\geronimo\gshell\remote\gshell-remote-client\1.0-alpha-1-SNAPSHOT.
What I did is to copy
gshell-remote-client-1.0-alpha-1-20071207.163731-11.jar to a /tmp folder,
and reinstall it using command,
mvn install:install-file -DgroupId=org.apache.geronimo.gshell.remote
-DartifactId=gshell-remote-client -Dversion=1.0-alpha-1-SNAPSHOT
-Dpackaging=jar
-Dfile=gshell-remote-client-1.0-alpha-1-20071207.163731-11.jar
-DgeneratePom=true
2) After fixed 1. Everything build successfully. Then I run 'mvn
eclipse:eclipse' and and try to import all projects into eclipse. There are
three projects marked as 'x' which indicate the jar path is missing:
org.apache.servicemix.runtime.filemonitor
org.apache.servicemix.openejb
org.apache.servicemix.itests.tests
All of them miss openejb classpath, so I just fix it by copy the following
depedencies to the individual pom.xml
<!-- add openejb path to eclipse classpath when 'mvn
eclipse:eclipse' -->
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-client</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-cxf</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-ejbd</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-http</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-javaagent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-jee</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-loader</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-server</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-webservices</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
<!-- end of add openejb path to eclipse classpath when 'mvn
eclipse:eclipse' -->
Now, run 'mvn eclipse:eclipse' again will fix the 'x' marks in Eclipse.
3) I unzipped the final build apache-servicemix-4.0-SNAPSHOT.zip to /tmp
folder and want to run bin/servicemix.bat, the command complaints that
bootstrapper.jar is not available. According to servicemix.sh, that .jar has
been renamed to servicemix.jar. so, I patched servicemix.bat to use
servicemix.jar instead of bootstrapper.jar.
Now, I can start servicemix. It outputs,
Welcome to Servicemix:
===============
Enter Profile Name:
Then, I don't know what to do. What is profile name? How do I continue
running Servicemix 4.0 from here? Your help is appreciated.
--
View this message in context:
http://www.nabble.com/Problem-to-build-Servicemix-4.0-in-Windows-XP.-tf4964452s12049.html#a14220589
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.