Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes how to run other's tomcat from my local system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how to run other Watch "how to run other New topic
Author

how to run other's tomcat from my local system

kesava chaitanya
Greenhorn

Joined: Aug 20, 2001
Posts: 28
hi
i have successfully deployed and run tomcat
in my localhost;how can i run other's (i mean different host) thru my system(it will be external process) ;can anybody give me code;this is the code i have used for running tomcat;

<project name="MyApp" default="start" basedir=".">
<property name="jboss" location="d:/jboss"/>
<property name="iexplore" location="C:\Program Files"/>
<property name="tomcatpath" location="c:/tomcat/webapps/examples/WEB-INF"/>
<property name="baselib" value="d:/jboss/lib/*.jar" />
<target name="build" description="Compiles all source code">
<javac srcdir="${basedir}/cscsrc" destdir="${tomcatpath}/classes">
<classpath>
<pathelement location="${baselib}/jfreechart-0.9.2.jar" />
</classpath>
</javac>
</target>

<target name="start" depends="build">
<exec executable="${jboss}/bin/run.bat" dir="${jboss}/bin" os="Windows 2000" />

</target>

</project>
with regards
chaitanya
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to run other's tomcat from my local system