One other scenario I forgot...
If you are using the Web Tools Platform distribution, you could create a Web
Project and provided the necessary dependencies in WEB-INF\Lib (at least for
DAS and SDO apps) and that would give you a different user experience, where
you can get a better tomcat integration from inside eclipse.

Not sure what the store would be here for the SCA dependencies artifacts, as
they use a different directory structure.


- Luciano

On 10/9/06, Luciano Resende <[EMAIL PROTECTED]> wrote:

Comments inline
Please let me know if you have further questions

On 10/9/06, Terry Heath <[EMAIL PROTECTED] > wrote:
>
> I'm looking for information on how to best fully setup Eclipse for
> Tuscany
> Development.    Some Issues that come to mind are:
>
> How to Create a Tomcat Server that uses the Tuscany built-in apachee
> server, JDK, and Tuscany Libraries


I might be little confused with your question, Tuscany does not have a
built-in apache server, basically, you can run applications that use Tuscany
in any application server. An example is DAS company web application
(das/samples/companyweb), that is going to create a WAR file with all
dependencies in the WEB-INF\lib directory and you would be able to deploy it
in any J2EE app server (probably would only have to setup the datasources
there)....

I think this would also hold true for SDO, meaning that, providing you
have put the necessary dependencies inside your application WEB-INF\lib
directory you should be all set... please SDO guys, correct me if I'm
wrong..

As for SCA, it's little more complicated, but the guys have created a
plugin that will put the right artifacts in the right place in your web-app,
so, if you start from a tuscany sca sample, you should have a complete WAR
file with all dependencies needed...

Examples of tuscany applications running in tomcat :

   das/samples/companyweb
   sampleapps/bigbank

How to Set up the Buildtime environment of Eclipse  use Tuscany Libraries.
> Is it necessary?


You could start from :
http://incubator.apache.org/tuscany/java-projects.html

DAS specific steps here :

   http://incubator.apache.org/tuscany/java_das_overview.html

SDO specific steps here :

   http://incubator.apache.org/tuscany/java_sdo_overview.html

Are there any special considerations for SCA.....or SDO.....or DAS in
> terms of buildtime or runtime envs while using Eclipse


After you have setup you environment, you can use maven to create eclipse
projects

    mvn -Peclipse eclipse:eclipse

or to clean eclipse projects

   mvn -Peclipse eclipse:clean

Once that is done, go into eclipse and import existing projects into
workspace...

How to set up the Project Settings for projects that will do SCA, SDO, DAS
> development


Hope the steps above will answer this...

Building, Running, Debugging.... both inside the Eclipse env and outside
> for "remotely" debugging.  (Remote Tomcat doesn't seem to hit break
> points
> in Eclipse)


I always used eclipse and  never had big issues..
For remote debugging, there are some instructions at the end of the
followig page

http://wiki.apache.org/ws/Tuscany/TuscanyJava/SCA_Java

How to run the "manager" and "admin" while using Eclipse with Tomcat.



Not sure... here...

If there is already some documentation on how to fully integration Eclipse
>
> with Tuscany and Tomcat for build, deploy, run, test, debug, then please
> send the documentation or links to the documentation.



deploying to tomcat from command line
mvn tomcat:deploy


Thanks,
> Terry
>


Reply via email to