Hi,
I am trying to deploy an application (named springapp) on Apache by using
ANT build files. I followed the tutorial exactly and wrote the build.xml and build.properties files. The "ant" command and the "ant deploy" command did not throw any errors. But "ant list" command does not list my application and I could not view my "index.jsp" page in the website. Can any one help me with this ?
E:\apps\Eclipse32\Workspacenew\springapp>ant
Buildfile: E:\apps\Eclipse32\Workspacenew\springapp\build.xml
usage:
[echo]
[echo] springapp build file
[echo] -----------------------------------
[echo]
[echo] Available targets are:
[echo]
[echo] build --> Build the application
[echo] deploy --> Deploy application as directory
[echo] deploywar --> Deploy application as a WAR file
[echo] install --> Install application in
Tomcat
[echo] reload --> Reload application in Tomcat
[echo] start --> Start Tomcat application
[echo] stop --> Stop Tomcat application
[echo] list --> List Tomcat applications
[echo]
BUILD SUCCESSFUL
Total time: 0 seconds
E:\apps\Eclipse32\Workspacenew\springapp>ant deploy
Buildfile: E:\apps\Eclipse32\Workspacenew\springapp\build.xml
build:
[javac] E:\apps\Eclipse32\Workspacenew\springapp\build.xml:45: warning: 'inc
ludeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
deploy:
BUILD SUCCESSFUL
Total time: 0 seconds
E:\apps\Eclipse32\Workspacenew\springapp>ant list
Buildfile: E:\apps\Eclipse32\Workspacenew\springapp\build.xml
list:
[list] OK - Listed applications for virtual host localhost
[list]
[list] /manager:running:0:../server/webapps/manager
[list]
[list] /:running:0:ROOT
[list]
[list] /webdav:running:0:E:\Uma\apache\webapps\webdav
[list]
[list] /examples:running:0:examples
[list]
[list] /Beerv1:running:0:E:\Uma\apache\webapps\Beerv1
[list]
[list] /tomcat-docs:running:0:E:\Uma\apache\webapps\tomcat-docs
[list]
[list] /myclinic:running:0:E:\Uma\apache\webapps\myclinic
[list]
BUILD SUCCESSFUL
Total time: 1 second