This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run other's tomcat from my local system

 
kesava chaitanya
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic