You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Matthew Peters <ma...@uk.ibm.com> on 2007/06/20 11:53:52 UTC
Which jar files are really needed for the Calculator Sample?
Newbie question and first posting - I hope this gets formatted OK, right
name put on etc.. Also, I have searched the mail archive but cannot find
the answer - please excuse me if this has been asked before..
The calculator sample includes a tuscany-sca-manifest.jar that pulls in
literally dozens of other jars. I want to make a war file that contains
the sample and really only want to include the minimal set of jar files.
So, are they really all needed, and if not, how can I work out exactly
which ones are?
Matthew Peters
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: Which jar files are really needed for the Calculator Sample?
Posted by Simon Nash <na...@hursley.ibm.com>.
I agree that we need something better for 1.0. Hard-wiring a
hand-built list of files into a build script won't be good
enough to support a variety of user applications that all need
slightly different combinations.
Simon
ant elder wrote:
> On 6/20/07, Matthew Peters <ma...@uk.ibm.com> wrote:
>
>>
>> Newbie question and first posting - I hope this gets formatted OK, right
>> name put on etc.. Also, I have searched the mail archive but cannot find
>> the answer - please excuse me if this has been asked before..
>>
>> The calculator sample includes a tuscany-sca-manifest.jar that pulls in
>> literally dozens of other jars. I want to make a war file that contains
>> the sample and really only want to include the minimal set of jar files.
>> So, are they really all needed, and if not, how can I work out exactly
>> which ones are?
>
>
>
> The current distribution and the tuscany-sca-manifest.jar is a point in
> time
> thing to make things easy to use for now, there's probably better ways for
> 1.0. You can do what you want now though, in fact, take a look at the
> calculator-webapp sample:
> https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/calculator-webapp/
>
>
> ...ant
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Which jar files are really needed for the Calculator Sample?
Posted by Jean-Sebastien Delfino <js...@apache.org>.
ant elder wrote:
> On 6/20/07, Matthew Peters <ma...@uk.ibm.com> wrote:
>>
>> Newbie question and first posting - I hope this gets formatted OK, right
>> name put on etc.. Also, I have searched the mail archive but cannot find
>> the answer - please excuse me if this has been asked before..
>>
>> The calculator sample includes a tuscany-sca-manifest.jar that pulls in
>> literally dozens of other jars. I want to make a war file that contains
>> the sample and really only want to include the minimal set of jar files.
>> So, are they really all needed, and if not, how can I work out exactly
>> which ones are?
>
>
> The current distribution and the tuscany-sca-manifest.jar is a point
> in time
> thing to make things easy to use for now, there's probably better ways
> for
> 1.0. You can do what you want now though, in fact, take a look at the
> calculator-webapp sample:
> https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/calculator-webapp/
>
>
> ...ant
>
In general the sample's Maven pom.xml contains the minimum required. To
let Maven compute the complete set of dependency JARs, do this:
cd samples/calculator-webapp
mvn dependency:copy-dependencies
ls target/dependencies
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Which jar files are really needed for the Calculator Sample?
Posted by ant elder <an...@apache.org>.
On 6/20/07, Matthew Peters <ma...@uk.ibm.com> wrote:
>
> Newbie question and first posting - I hope this gets formatted OK, right
> name put on etc.. Also, I have searched the mail archive but cannot find
> the answer - please excuse me if this has been asked before..
>
> The calculator sample includes a tuscany-sca-manifest.jar that pulls in
> literally dozens of other jars. I want to make a war file that contains
> the sample and really only want to include the minimal set of jar files.
> So, are they really all needed, and if not, how can I work out exactly
> which ones are?
The current distribution and the tuscany-sca-manifest.jar is a point in time
thing to make things easy to use for now, there's probably better ways for
1.0. You can do what you want now though, in fact, take a look at the
calculator-webapp sample:
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/calculator-webapp/
...ant