You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Stefan Kolb <st...@web.de> on 2010/02/13 11:42:06 UTC
Libraries for Embedded Tuscany Webapp
Hi,
how can i determine which libraries i need to include in the lib folder
of my webapp.war in order to get a webapp with tuscany running smoothly?
I'm doing something similar to the "calculator-webapp" from the 1.6
distribution and wondered which of the many libs from the ./lib and
./modules folder of the distribution will be needed in the ant build.
Regards
Stefan
Re: Libraries for Embedded Tuscany Webapp
Posted by Luciano Resende <lu...@gmail.com>.
On Sat, Feb 13, 2010 at 9:27 AM, Raymond Feng <en...@gmail.com> wrote:
> Hi,
>
> If your sample is built with maven, one quick way is to run "mvn
> dependency:copy" and find the jars under target/dependency folder. We also
> have samples that configure with maven-war-plugin for this purpose.
>
See [1] for an example of automating this with maven using the maven
dependency plugin in your pom\
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>process-sources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>war/WEB-INF/lib</outputDirectory>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
[1] https://svn.apache.org/repos/asf/tuscany/sandbox/sca-cloud-tutorial/store-catalog-appengine-webapp/pom.xml
--
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: Libraries for Embedded Tuscany Webapp
Posted by Raymond Feng <en...@gmail.com>.
Hi,
If your sample is built with maven, one quick way is to run "mvn
dependency:copy" and find the jars under target/dependency folder. We also
have samples that configure with maven-war-plugin for this purpose.
Thanks,
Raymond
--------------------------------------------------
From: "Stefan Kolb" <st...@web.de>
Sent: Saturday, February 13, 2010 2:42 AM
To: <us...@tuscany.apache.org>
Subject: Libraries for Embedded Tuscany Webapp
> Hi,
>
> how can i determine which libraries i need to include in the lib folder of
> my webapp.war in order to get a webapp with tuscany running smoothly?
> I'm doing something similar to the "calculator-webapp" from the 1.6
> distribution and wondered which of the many libs from the ./lib and
> ./modules folder of the distribution will be needed in the ant build.
>
> Regards
>
> Stefan