Othman N wrote:
Hello everyone,

I'd like to know whether there is a simple way to know which jars are really useful and thus need to be deployed, especially in the context of a Tomcat webapp application. it is simple for the tuscany-* jars, but what about all the dependencies available in the "libs" directory ? I really need to reduce the size of the webapp's war :)

I saw that the 2.0 branch takes this issue into account, but can't find a way to use the new feature. Any help would be appreciated.

Regards,
Othman

For 1.x the simplest way requires you to use maven.  In your pom.xml
file, add the tuscany-* dependencies that you need.  You also need to
include the tuscany-maven-ant-generator plugin in the build section of
your pom.xml file.  (See samples/calculator-webapp for an example.)
Running the "mvn" command will create a build.xml file containing a
list of all the tuscany-* jars and third party dependency jars that
you need to include in your war file.

  Simon

Reply via email to