I'm +1 for brushing up the samples. For instance, helloworld-js-client isn't
working for a long time and we should at least move it to unreleased/ until
further fixes. I was planning to go through the samples after getting a
clean build and detect the broken ones. However, I find it a bit too late
for this release to make fundamental changes to the samples although I agree
with Simon. We could make this a Beta3 target as it also requires a fair
amount of discussions and probably some modifications to the Tuscany Shell.

On Tue, Feb 1, 2011 at 11:50 AM, Florian MOGA <[email protected]> wrote:

> Yes, the thing is that it is searching for the sample jar in the
> testing/itest/ folder when JSELauncherBindingRMICalculator was actually
> constructed to work in the samples/ folder (please correct me if I'm wrong
> but there are no sources in the itest, the classes are just copied from the
> samples/ folder). I'm wondering why the other jse launchers don't fail the
> same way. Also, what is the purpose of the itest? I'm using Ant version
> 1.8.0 and Sun JVM 6u22 btw...
>
>
> On Tue, Feb 1, 2011 at 11:34 AM, ant elder <[email protected]> wrote:
>
>> I thought i'd done a build of the src distro that worked ok so its odd
>> that you see that error which looks like it should make it broken for
>> anyone, i'll do a build now to verify what i see.
>>
>> The FileNotFoundException looks like its because the itest run is
>> missing "samples" in the file path of this file:
>>
>>
>> /home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/testing/itest/distribution/launcher-embedded-jse/../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar
>>
>>    ...ant
>>
>> On Mon, Jan 31, 2011 at 11:08 PM, Florian MOGA <[email protected]>
>> wrote:
>> > I'm experiencing the following problem while running the build from the
>> root
>> > directory: in the test phase of iTest Distribution Launcher Embedded JSE
>> at
>> > the sample-binding-rmi-calculator-contribution ant target, the process
>> > hangs... If I Ctrl+C it, I get a weird "Java returned 130" error at line
>> 95
>> >
>> of 
>> tuscany-sca-2.0-Beta2-src/distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/samples/running-tuscany/embedded-jse/build.xml.
>> > After deleting the fork="true" option, i got the following error:
>> > sample-binding-rmi-calculator-contribution:
>> > Jan 31, 2011 11:46:53 PM org.apache.tuscany.sca.node.impl.NodeImpl start
>> > INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
>> > domain: default
>> > Jan 31, 2011 11:46:54 PM
>> org.apache.tuscany.sca.node.impl.NodeFactoryImpl
>> > loadContributions
>> > INFO: Loading contribution:
>> >
>> file:/home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/testing/itest/distribution/launcher-embedded-jse/../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] An Ant BuildException has occured: The following error occurred
>> while
>> > executing this line:
>> >
>> /home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/testing/itest/distribution/launcher-embedded-jse/build.xml:44:
>> > The following error occurred while executing this line:
>> >
>> /home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/samples/running-tuscany/embedded-jse/build.xml:94:
>> > java.lang.IllegalStateException:
>> > org.apache.tuscany.sca.contribution.processor.ContributionReadException:
>> > java.io.FileNotFoundException:
>> >
>> /home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/testing/itest/distribution/launcher-embedded-jse/../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar
>> > (No such file or directory)
>> > The
>> >
>> "../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar"
>> > path is hardcoded in
>> >
>> the 
>> tuscany-sca-2.0-Beta2-src/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherBindingRMICalculator.java
>> > class. However, JSELauncherBindingSCACalculator.java
>> > and JSELauncherBindingWSCalculator.java use the same hardcoded path and
>> do
>> > not fail loading the contributions. Is that because of the various
>> manifests
>> > that are loaded? Could someone explain to me what exactly happens in the
>> > distribution directory, what is the integration test verifying about it
>> and
>> > what role do manifests have?
>> >
>> > On Sun, Jan 30, 2011 at 12:08 PM, ant elder <[email protected]>
>> wrote:
>> >>
>> >> Please review and vote on RC2 of the Java SCA 2.0 Beta2 release.
>> >>
>> >> The artifacts are at:
>> >>
>> >> http://people.apache.org/~antelder/tuscany/2.0-beta2-RC2/
>> >>
>> >> The release tag is at:
>> >>
>> >>
>> http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/tags/2.0-Beta2-RC2
>> >>
>> >> Here's my +1
>> >>
>> >>  ...ant
>> >
>> >
>>
>
>

Reply via email to