I tried this on Windows and I did not see the problem with web-javascript.
However, my build failed on binding-gdata (see the following build log).
I see build problems with binding-gdata quite often. Are we planning to
include it in the 1.5.1 release?
Simon
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.503 sec <<< FA
ILURE!
testClientDelete(org.apache.tuscany.sca.binding.gdata.GoogleContactsServiceTestC
ase) Time elapsed: 1.02 sec <<< ERROR!
org.osoa.sca.ServiceRuntimeException: com.google.gdata.util.ResourceNotFoundExce
ption: Not Found
Contact not found.
at org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$Get
Invoker.invoke(GdataBindingInvoker.java:117)
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:55)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:346)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:193)
at $Proxy11.get(Unknown Source)
at org.apache.tuscany.sca.binding.gdata.CustomerClientImpl.clientGetEntr
y(CustomerClientImpl.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:156)
at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
indingInvoker.java:61)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:346)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:193)
at $Proxy10.clientGetEntry(Unknown Source)
at org.apache.tuscany.sca.binding.gdata.GoogleContactsServiceTestCase.te
stClientDelete(GoogleContactsServiceTestCase.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.
java:79)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: com.google.gdata.util.ResourceNotFoundException: Not Found
Contact not found.
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Unk
nown Source)
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(U
nknown Source)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(Unknown S
ource)
at com.google.gdata.client.http.HttpGDataRequest.execute(Unknown Source)
at com.google.gdata.client.http.GoogleGDataRequest.execute(Unknown Sourc
e)
at com.google.gdata.client.Service.getEntry(Unknown Source)
at com.google.gdata.client.GoogleService.getEntry(Unknown Source)
at com.google.gdata.client.Service.getEntry(Unknown Source)
at org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$Get
Invoker.invoke(GdataBindingInvoker.java:112)
... 38 more
Raymond Feng wrote:
Hi,
I don't see that problem on Windows. It seems to be a bug in Felix
maven-bundle-plugin. There are similar issues found on Google, such as:
http://mail-archives.apache.org/mod_mbox/felix-dev/200809.mbox/%3c725237658.1221218564113.javamail.j...@brutus%3e.
Thanks,
Raymond
--------------------------------------------------
From: "Jean-Sebastien Delfino" <[email protected]>
Sent: Thursday, August 13, 2009 10:40 AM
To: <[email protected]>
Subject: [1.x] Error building java-1.5.1 branch
Building from java/sca or java/sca/modules throws the following error:
------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA Web JavaScript
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [bundle:manifest {execution: bundle-manifest}]
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:386)
at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:75)
at aQute.lib.osgi.Clazz.<init>(Clazz.java:65)
at aQute.lib.osgi.Processor.analyzeJar(Processor.java:159)
at aQute.lib.osgi.Processor.analyzeBundleClasspath(Processor.java:77)
at
org.apache.felix.bundleplugin.PackageVersionAnalyzer.analyzeBundleClasspath(PackageVersionAnalyzer.java:44)
at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:194)
at aQute.lib.osgi.Builder.analyze(Builder.java:95)
at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:293)
at
org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:192)
at
org.apache.felix.bundleplugin.ManifestPlugin.getManifest(ManifestPlugin.java:112)
at
org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:66)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:218)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
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)
Building the module individually works though.
After I build that module, building from java/sca/modules again just
throws the same error on the next module.
Anybody else seeing this? perhaps the build plugins used to package
bundles don't close handles or cleanup resources? Any idea?
I'm on Ubuntu 9.0.4, J2RE 1.6.0 IBM J9 2.4, Maven 2.0.9
--
Jean-Sebastien