This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to run other's tomcat from my local system
 
Similar Threads
build.xml ... what am I doing wrong?
help in setting classpath in ant
Difficulties debugging using jbuilder, jboss and ant
What is the problem with this build file?
java.lang.VerifyError: