I see an entirely different issue. I'm not sure if I'm following the method as
either of you as there are several approaches. I've updated the source from svn
and tried a clean build, no local maven repo. I see the below build issue.
Tried several times seems to be consistent.
[INFO] Tuscany Standalone Distribution ....................... FAILED [7.141s]
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Tuscany Standalone Distribution (during install)
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: commons-cli:commons-cli
POM Location: C:\Documents and
Settings\rineholt\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.pom
Reason: Not a v4.0.0 POM.
Lee Surprenant wrote:
I do not have this problem (has it been resolved already?). I have updated
from the M2 branch as well as tried the candidate from
http://people.apache.org/~rfeng/tuscany/incubator-M2/downloads/<http://people.apache.org/%7Erfeng/tuscany/incubator-M2/downloads/>and
neither one contains date stamps in their jars. However, I did get an
exception when I tried to run the M2 standalone with no application jar:
C:\>java -jar tuscany-sca-1.0-incubator-M2-bin\bin\launcher.jar
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.tuscany.launcher.MainLauncherBooter.main(
MainLauncherBooter.java:61)
I used to get a "usage: java [jvm-options] -jar launcher.jar <jar>
[args...]" message which was much better IMO.
-Lee
On 11/17/06, Jeremy Boynes < [EMAIL PROTECTED]> wrote:
$ java -jar bin/launcher.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tuscany/host/RuntimeInfo
This seems to be because the manifest references -SNAPSHOT jars:
Class-Path: ../lib/tuscany-api-1.0-incubator-M2-SNAPSHOT.jar ../lib/tu
scany-host-api-1.0-incubator-M2-SNAPSHOT.jar ../lib/sdo-api-r2.0.1-1.
0-incubator-M2.jar ../lib/sca-api-r0.95-1.0-incubator-M2.jar ../lib/e
core-change-2.2.1.jar ../lib/ecore-2.2.1.jar ../lib/standalone-1.0-in
cubator-M2-SNAPSHOT.jar ../lib/xsd-2.2.1.jar ../lib/tuscany-sdo-impl-
1.0-incubator-M2.jar ../lib/ecore-xmi-2.2.1.jar ../lib/common-2.2.1.jar
but the ones in lib have date stamps in them:
lib/tuscany-api-1.0-incubator-M2-20061114.224201-1.jar
This used to work - do we know what changed?
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]