RE: Turbine with newer TomcatI just use the following in my build.xml file.


  <!--
=================================================================== -->
  <!-- Ccreates a .war file               -->
  <!--
=================================================================== -->

  <target name="war" depends="compile">

    <!-- Cleanup any logs before creating war -->
    <delete dir="${build.dest}/../../logs"/>
    <mkdir dir="${build.dest}/../../logs"/>

    <!-- Create the war file -->
    <jar jarfile="../../../${project}.war"
      basedir="../.."

excludes="**/package.html,**/servlet*.jar,**/build/,**/src/java/,**/ftp/,**/
processed/,**/out/,**/templates/data/,**/templates/flux/,**/templates/om/,**
/templates/service/,**/templates/sql/,**/templates/jsp/,**/**/*.bak"
    />

  </target>

Note I have a few extra excludes for my application

Regards

David
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: 15 March 2002 15:02
  To: [EMAIL PROTECTED]
  Subject: RE: Turbine with newer Tomcat


  Steve:

     How do you create a war file.  Using ANT ?

  Donald Duquaine
  Analyst / Network Administrator
  STL Tampa
  (813) 885-7427
  [EMAIL PROTECTED]




  -----Original Message-----
  From: Steve [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 14, 2002 11:21 PM
  To: Turbine Users List
  Subject: RE: Turbine with newer Tomcat



  If your question is how do you update the TDK to use a new Tomcat release,
I have no answer, but if your question was how to deploy a TDK project to
Tomcat, then keep reading.

  I use resin, not Tomcat  but I believe what we do will work for any
war-capable servlet container.  All you need to do is WAR the contents of
your project, e.g. if your application lived in .../tdk/webapps/myapp,
create a myapp.war file which has the contents of the myapp directory.  Then
it's simply drop it in your servlet container's webapps folder and you're
good to go...

  You may have to change your deployment descriptor, and you may have to
update Tomcats config file to let it know it has a new webapp, but I think
that should be all...

  Steve



  -----Original Message-----
  From: Cristiano Lincoln Mattos [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 14, 2002 8:50 PM
  To: [EMAIL PROTECTED]
  Subject: Turbine with newer Tomcat




  Hi,

          I'd like to know what turbine files are necessary to integrate it
into an existing Tomcat 4.0.2 installation.  The downloable TDK comes
preinstalled with Tomcat 4.0-b6-dev, an outdated version.

          The TDK is great for installing Turbine for the first time and
developing on it... but when you need to integrate Turbine into an existing
production system, it becomes more complicated to separate.

          I'm not exactly sure what package i should download, to be able to
integrate Turbine into a fresh Tomcat4.0.2 installation: turbine-src or
src-tdk ?  After that, what specific configurations are necessary?  What
about file and directory placing, and environment variables?

          Thanks,

  Cristiano Lincoln Mattos

  --
  To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
  For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




  --
  To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
  For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to