我有一个用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