You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Johannes Stoye <jo...@googlemail.com> on 2011/09/07 20:44:51 UTC
travelsample wrong version
Hi,
now I read the installation guide in the book "Tuscany SCA in Action",
downloaded the latest travelsample (1.0) and the tuscany-sca-1.6.2
(and maven and ant). I set the TUSCANY_HOME variable (under windows 7)
to "D:\tuscany\tuscany-sca-1.6.2" and tried to install the
travelsample at "D:\tuscany\tuscany-scatours-1.0".
When I went to the subfolder "travelsample" and entered "ant" in the
cmd, then I got the following error:
BUILD FAILED
D:\tuscany\tuscany-scatours-1.0\travelsample\build.xml:23: The
following error occurred while execution this line:
........
D:\tuscany\tuscany-scatours-1.0\travelsample\antdefs.xml:526: Error:
Unable to copy implementation.web jars for this Tuscany version.
The author of the book uses the tuscany-sca-1.6, but every single
mirror has deleted its copy of this release.
I need rapidly a beginners guide and thougt this would be easy.
These are my first steps with SCA so please no difficult workarounds
if not necessary.
Thank you.
Re: travelsample wrong version
Posted by Simon Nash <na...@apache.org>.
Johannes Stoye wrote:
> Thank you very much for the quick help. It works but I can not imagine
> that I should use such an old version for the examples.
> Well, thank you.
>
Hi Johannes,
The travel sample should not be attempting to copy these jars if they
already exist in your Tuscany installation. There's a bug somewhere in
the travel sample's antdefs.xml file that is causing this message.
The simplest workaround if you want to use 1.6.2 (highly recommended)
is to edit the build.xml files in the following directories:
travelsample/contributions/creditcard-payment-webapp
travelsample/contributions/currency-jsp
travelsample/contributions/currency-servlet
and delete the line
<antcall target="add-implementation-web"/>
from each of these build.xml files.
Simon
> 2011/9/7 Raymond Feng <en...@gmail.com>:
>> Hi,
>> You can find 1.6 version under:
>> http://archive.apache.org/dist/tuscany/java/sca/
>> Thanks,
>> Raymond
>> ________________________________________________________________
>> Raymond Feng
>> rfeng@apache.org
>> Apache Tuscany PMC member and committer: tuscany.apache.org
>> Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
>> Personal Web Site: www.enjoyjava.com
>> ________________________________________________________________
>> On Sep 7, 2011, at 11:44 AM, Johannes Stoye wrote:
>>
>> Hi,
>>
>> now I read the installation guide in the book "Tuscany SCA in Action",
>> downloaded the latest travelsample (1.0) and the tuscany-sca-1.6.2
>> (and maven and ant). I set the TUSCANY_HOME variable (under windows 7)
>> to "D:\tuscany\tuscany-sca-1.6.2" and tried to install the
>> travelsample at "D:\tuscany\tuscany-scatours-1.0".
>> When I went to the subfolder "travelsample" and entered "ant" in the
>> cmd, then I got the following error:
>>
>> BUILD FAILED
>> D:\tuscany\tuscany-scatours-1.0\travelsample\build.xml:23: The
>> following error occurred while execution this line:
>> ........
>> D:\tuscany\tuscany-scatours-1.0\travelsample\antdefs.xml:526: Error:
>> Unable to copy implementation.web jars for this Tuscany version.
>>
>>
>> The author of the book uses the tuscany-sca-1.6, but every single
>> mirror has deleted its copy of this release.
>> I need rapidly a beginners guide and thougt this would be easy.
>> These are my first steps with SCA so please no difficult workarounds
>> if not necessary.
>> Thank you.
>>
>>
>
>
Re: travelsample wrong version
Posted by Johannes Stoye <jo...@googlemail.com>.
Thank you very much for the quick help. It works but I can not imagine
that I should use such an old version for the examples.
Well, thank you.
2011/9/7 Raymond Feng <en...@gmail.com>:
> Hi,
> You can find 1.6 version under:
> http://archive.apache.org/dist/tuscany/java/sca/
> Thanks,
> Raymond
> ________________________________________________________________
> Raymond Feng
> rfeng@apache.org
> Apache Tuscany PMC member and committer: tuscany.apache.org
> Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
> Personal Web Site: www.enjoyjava.com
> ________________________________________________________________
> On Sep 7, 2011, at 11:44 AM, Johannes Stoye wrote:
>
> Hi,
>
> now I read the installation guide in the book "Tuscany SCA in Action",
> downloaded the latest travelsample (1.0) and the tuscany-sca-1.6.2
> (and maven and ant). I set the TUSCANY_HOME variable (under windows 7)
> to "D:\tuscany\tuscany-sca-1.6.2" and tried to install the
> travelsample at "D:\tuscany\tuscany-scatours-1.0".
> When I went to the subfolder "travelsample" and entered "ant" in the
> cmd, then I got the following error:
>
> BUILD FAILED
> D:\tuscany\tuscany-scatours-1.0\travelsample\build.xml:23: The
> following error occurred while execution this line:
> ........
> D:\tuscany\tuscany-scatours-1.0\travelsample\antdefs.xml:526: Error:
> Unable to copy implementation.web jars for this Tuscany version.
>
>
> The author of the book uses the tuscany-sca-1.6, but every single
> mirror has deleted its copy of this release.
> I need rapidly a beginners guide and thougt this would be easy.
> These are my first steps with SCA so please no difficult workarounds
> if not necessary.
> Thank you.
>
>
Re: travelsample wrong version
Posted by Raymond Feng <en...@gmail.com>.
Hi,
You can find 1.6 version under:
http://archive.apache.org/dist/tuscany/java/sca/
Thanks,
Raymond
________________________________________________________________
Raymond Feng
rfeng@apache.org
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________
On Sep 7, 2011, at 11:44 AM, Johannes Stoye wrote:
> Hi,
>
> now I read the installation guide in the book "Tuscany SCA in Action",
> downloaded the latest travelsample (1.0) and the tuscany-sca-1.6.2
> (and maven and ant). I set the TUSCANY_HOME variable (under windows 7)
> to "D:\tuscany\tuscany-sca-1.6.2" and tried to install the
> travelsample at "D:\tuscany\tuscany-scatours-1.0".
> When I went to the subfolder "travelsample" and entered "ant" in the
> cmd, then I got the following error:
>
> BUILD FAILED
> D:\tuscany\tuscany-scatours-1.0\travelsample\build.xml:23: The
> following error occurred while execution this line:
> ........
> D:\tuscany\tuscany-scatours-1.0\travelsample\antdefs.xml:526: Error:
> Unable to copy implementation.web jars for this Tuscany version.
>
>
> The author of the book uses the tuscany-sca-1.6, but every single
> mirror has deleted its copy of this release.
> I need rapidly a beginners guide and thougt this would be easy.
> These are my first steps with SCA so please no difficult workarounds
> if not necessary.
> Thank you.