- Ant에서 Tomcat Application 실행시키키
- 日常茶飯事
- 2010. 1. 10. 09:21
- build.xml
- build.properties
- appserver.home/conf/tomcat-users.xml
- 확인
출처 : Developing a Spring Framework MVC application step-by-step
- build.properties
appserver.home=E:/resources/programs/java/apache-tomcat-6.0.18
appserver.lib=${appserver.home}/lib
deploy.path=${appserver.home}/webapps
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=tomcat
tomcat.manager.password=s3cret
appserver.lib=${appserver.home}/lib
deploy.path=${appserver.home}/webapps
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=tomcat
tomcat.manager.password=s3cret
- appserver.home/conf/tomcat-users.xml
- 확인
$ ant list
Buildfile: build.xml
list:
[list] OK - Listed applications for virtual host localhost
[list] /springapp:running:0:springapp
[list] /manager:running:0:manager
[list] /:running:0:ROOT
[list] /docs:running:0:docs
[list] /examples:running:0:examples
[list] /host-manager:running:0:host-manager
BUILD SUCCESSFUL
Total time: 3 seconds
Buildfile: build.xml
list:
[list] OK - Listed applications for virtual host localhost
[list] /springapp:running:0:springapp
[list] /manager:running:0:manager
[list] /:running:0:ROOT
[list] /docs:running:0:docs
[list] /examples:running:0:examples
[list] /host-manager:running:0:host-manager
BUILD SUCCESSFUL
Total time: 3 seconds
출처 : Developing a Spring Framework MVC application step-by-step
Recent comment