problem building demo calculator-combo

2007-05-23 Thread andreas schmidt

Hi,

building the calculator combo works fine. However the problem is when i 
try to build the calculator-combo sample from 
tuscany-sca-1.0--incubator-M2-samples.zip archieve, i got the 
errormessage stating that 5 artifacts are missing:


org.eclipse.xsd:xsd:jar:2.2.1
org.eclipse.emf:ecore:jar:2.2.1
org.eclipse.emf:ecore-change:jar:2.2.1
org.eclipse.emf:common:jar:2.2.1
org.eclipse.emf:ecore-xmi:jar:2.2.1

I tried to download them manually from the eclipse projekt homepage and 
installed them like it was suggested by maven:


mvn install:install-file -DgroupId=org.eclipse.xsd -DartifactId=xsd \
  -Dversion=2.2.1 -Dpackaging=jar -Dfile=/path/to/file
...

The good thing was it compiled succesfully afterwards, the bad thing the 
test failed:


org.apache.maven.BuildFailureException: There are test failures.
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.
	at 
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:421)
	at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)

... 16 more


Can somebody help me?

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem building demo calculator-combo

2007-05-23 Thread Luciano Resende

Hi Andreas

  I'd recommend you taking a look at the samples from .90 release
that is just about to get done and is currently under on the
developers list ?

Here is the info on .90 that is posted on the mailing list.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18037.html

The following files contain an overview of the features available in
this revision:
http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-0.90/distribution/src/main/release/RELEASE_NOTES
http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-0.90/distribution/src/main/release/CHANGES


On 5/23/07, andreas schmidt [EMAIL PROTECTED] wrote:

Hi,

building the calculator combo works fine. However the problem is when i
try to build the calculator-combo sample from
tuscany-sca-1.0--incubator-M2-samples.zip archieve, i got the
errormessage stating that 5 artifacts are missing:

org.eclipse.xsd:xsd:jar:2.2.1
org.eclipse.emf:ecore:jar:2.2.1
org.eclipse.emf:ecore-change:jar:2.2.1
org.eclipse.emf:common:jar:2.2.1
org.eclipse.emf:ecore-xmi:jar:2.2.1

I tried to download them manually from the eclipse projekt homepage and
installed them like it was suggested by maven:

mvn install:install-file -DgroupId=org.eclipse.xsd -DartifactId=xsd \
   -Dversion=2.2.1 -Dpackaging=jar -Dfile=/path/to/file
...

The good thing was it compiled succesfully afterwards, the bad thing the
test failed:

org.apache.maven.BuildFailureException: There are test failures.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:421)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more


Can somebody help me?

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]