The problem has been resolved by restoring the previously deleted files
in m2-ibiblio-rsync-repository that are referenced by the travel sample.
This means that the travel sample should now build "out of the box"
without needing to use the workaround described below.
Simon
Simon Nash wrote:
Hi YeuWen,
The travel sample build is trying to copy two artifacts from the public
repository containing the Tuscany SCA Java 1.6 released maven artifacts.
These artifacts (the jars for tuscany-implementation-web and
tuscany-implementation-web-runtime) need to be copied because they were
accidentally omitted from the Tuscany SCA Java 1.6 binary distribution.
The copy is failing because the directory
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tuscany
is currently empty. This directory is (was?) the place where the Tuscany
project puts its released maven artifacts. I don't know when the 1.6
release
was deleted from this repository, and I don't know whether this deletion
was
deliberate or accidental.
As a temporary workaround until the repository problem is resolved, you can
copy the artifacts manually from
http://repository.apache.org/content/groups/public/org/apache/tuscany/sca/tuscany-implementation-web/1.6/tuscany-implementation-web-1.6.jar
http://repository.apache.org/content/groups/public/org/apache/tuscany/sca/tuscany-implementation-web-runtime/1.6/tuscany-implementation-web-runtime-1.6.jar
into your local downloaded copy of the Tuscany SCA Java 1.6 distribution.
These jars need to go in the <TUSCANY_HOME>/modules directory.
I'll start a separate thread on the dev list to discuss what to do about
the deletion of Tuscany releases from m2-ibiblio-rsync-repository.
Simon
Yeu-Wen Mak wrote:
My build fail at the point of trying to copy the following jar to a
target local folder.
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tuscany/sca/tuscany-implementation-web-runtime/1.6/tuscany-implementation-web-runtime-1.6.jar
The detail error messages are as follows ...
---
<previous echo messages are deleted>
#copy-impl-web-nonsnapshot:
[copy] Copying 2 resources to C:\tools\tuscany-sca-1.6\modules
BUILD FAILED
C:\Projects\tuscany-scatours-1.0\travelsample\build.xml:23: The
following error
occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\build.xml:42: The
following error
occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\contributions\build.xml:23:
The fo
llowing error occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\contributions\build.xml:51:
The fo
llowing error occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\antdefs.xml:770: The
following err
or occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\antdefs.xml:786: The
following err
or occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\antdefs.xml:615: The
following err
or occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\contributions\creditcard-payment-w
ebapp\build.xml:32: The following error occurred while executing this
line:
C:\Projects\tuscany-scatours-1.0\travelsample\antdefs.xml:576: The
following err
or occurred while executing this line:
C:\Projects\tuscany-scatours-1.0\travelsample\antdefs.xml:565: Failed
to copy ht
tp://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tuscany/sca/t
<http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tuscany/sca/t>
uscany-implementation-web-runtime/1.6/tuscany-implementation-web-runtime-1.6.jar
to
C:\tools\tuscany-sca-1.6\modules\tuscany-implementation-web-runtime-1.6.jar
due to java.io.FileNotFoundException
http://people.apache.org/repo/m2-ibiblio-rs
ync-repository/org/apache/tuscany/sca/tuscany-implementation-web-runtime/1.6/tus
cany-implementation-web-runtime-1.6.jar
Total time: 49 seconds
C:\Projects\tuscany-scatours-1.0\travelsample>
---
Is it a problem in my local environment or something else?
Thanks.
---
YeuWen