c******n 发帖数: 4965 | 1 eclipse EE has built in web development kit,
so I can create a "dynamic web project", and it will compile and create
the .class files. I can create a "Server" from file menu, pointing to my
tomcat setup. then I can add my web project to the tomcat Server, and
start it in eclipse. everything is integrated.
but the problem is, when eclipse EE deploys the web app into tomcat, it
does not include the recursive dependencies, as is handled by ivy/maven,
although I already pulled those deps successfully through ivy and dropped
into lib/ , and eclipse is indeed able to use those in compilation.
eclipse EE creates its own tomcat webroot under
$HOME/workspace/.eclipse/something......./tmp0/WEB-INF/classes I can see
that it only verbatim copies my project/web/WEB-INF/lib in here, and my
web/WEB-INF/lib is empty
so how to let eclipse EE package & deploy everything that is under its
BUILD path ?
thanks | h**********c 发帖数: 4120 | 2 netbeans + ant 有试验过吗?
【在 c******n 的大作中提到】 : eclipse EE has built in web development kit, : so I can create a "dynamic web project", and it will compile and create : the .class files. I can create a "Server" from file menu, pointing to my : tomcat setup. then I can add my web project to the tomcat Server, and : start it in eclipse. everything is integrated. : but the problem is, when eclipse EE deploys the web app into tomcat, it : does not include the recursive dependencies, as is handled by ivy/maven, : although I already pulled those deps successfully through ivy and dropped : into lib/ , and eclipse is indeed able to use those in compilation. : eclipse EE creates its own tomcat webroot under
|
|