我有一個用eclipse IDE開發的標準(我認爲)web項目。我希望將其移植到Intellij idea 8.1 - 我認爲,除此之外,它具有更好的taglib支持。從eclipse ganymede移植到intellij的tomcat web項目8.1
我的項目結構如下:
Project Folder
./src [java source files etc.]
./conf [configuration files - log4j, spring beans...]
./buid [ant files]
./WebContent
./WebContent/images [image files]
./WebContent/META-INF
./WebContent/META-INF/context.xml
./WebContent/pages [.jsp+.html files]
./WebContent/scripts [.js files]
./WebContent/skins [.css files]
./WebContent/WEB-INF
./WebContent/WEB-INF/classes [.class files]
./WebContent/WEB-INF/lib [.jar files]
./WebContent/WEB-INF/tags [.tag files]
./WebContent/WEB-INF/web.xml
我似乎無法得到配置與本地Tomcat服務器(版本:Apache的Tomcat的6.0.18)這個項目。
我認爲一個好的答案將是一個標準,一步一步,食譜答案,如何端口(也許如何正確定義的IntelliJ IDEA內的Tomcat Web應用程序)。
謝謝大家!
儘管有一個build.xml文件用於創建.war文件(用於生產目的),但我依靠eclipse將展開的Web應用程序部署到本地tomcat服務器...... – Yaneeve 2009-05-19 12:55:10
我不會真的建議一個糟糕的做法 - 你依靠IDE將部署它的方式;更好的是讓包裝成爲構建腳本的嚴格組成部分。 – 2009-05-19 13:45:53