Forgot to reply to the user ML ...
--------------------------------------------------
From: "Raymond Feng" <enjoyj...@gmail.com>
Sent: Thursday, March 19, 2009 8:51 AM
To: <b...@virtualschool.edu>
Subject: Re: Missing artifacts?
I'm assuming that you run mvn -Peclipse to generate the
.classpath/.project files first and then import them into Eclipse, right?
The source distro might accidently have some itests which are not supposed
to be in the M1 release. If you can post the name of the module that you
are seeing issues, it would be helpful. For example, I cannot find a class
named itest.HelloworldTestCase in the distro. Which module is it from?
Thanks,
Raymond
--------------------------------------------------
From: "Brad Cox" <b...@virtualschool.edu>
Sent: Thursday, March 19, 2009 8:37 AM
To: "Raymond Feng" <enjoyj...@gmail.com>
Cc: <user@tuscany.apache.org>
Subject: Re: Missing artifacts?
Not building the samples; just importing sca source. Just tried the same
thing from a fresh svn co and am having exactly the same problem;
missing various flavors of tuscany-host-<various>.jar.
That's in eclipse. From the command line build of the svn co I got this.
Downloaded the source to diagnose the problem:
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.473
sec <<< FAILURE!
testA(itest.HelloworldTestCase) Time elapsed: 1.432 sec <<< ERROR!
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500
Unable_to_initialize_TldLocationsCache_null for
http://localhost:8085/helloworld-jsp/
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:338)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376)
at itest.HelloworldTestCase.testA(HelloworldTestCase.java:41)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Results :
Tests in error:
testA(itest.HelloworldTestCase)
On 3/19/09 11:31 AM, Raymond Feng wrote:
Hi,
Which sample(s) do you see the problem and where do you see the error
messages? Please give us an example so that I can take a look.
Thanks,
Raymond
--------------------------------------------------
From: "Brad Cox" <b...@virtualschool.edu>
Sent: Thursday, March 19, 2009 8:04 AM
To: <user@tuscany.apache.org>
Subject: Missing artifacts?
I'm getting hundreds of these while importing
apache-tuscany-sca-all-2.0-M1-src.zip into eclipse. Followed all
instructions (I think).
Saw a note from someone that this doesn't work but the fix wasn't
clear.
Representative samples: similar pattern
3/19/09 10:49:50 AM EDT: Missing artifact
org.apache.tuscany.sca:tuscany-host-embedded:jar:2.0-M1:compile
3/19/09 11:02:42 AM EDT: Missing artifact
org.apache.tuscany.sca:tuscany-host-tomcat:jar:2.0-M1:runtime
3/19/09 10:45:18 AM EDT: Missing artifact
org.apache.tuscany.sca:tuscany-databinding-sdo:jar:2.0-M1:compile
New at SCA so pardon any misunderstanding.