-
1. Re: why jboss tools deploy my project,skiped my web.xml?
maxandersen Aug 22, 2013 1:03 AM (in response to zuwenjiang)Did you try to a full publish ? (right click on the server, click Full Publish) ?
is the web.xml actually in the project ? JavaEE 6 does not require a web.xml anymore.
-
2. Re: why jboss tools deploy my project,skiped my web.xml?
zuwenjiang Aug 22, 2013 1:19 AM (in response to maxandersen)thank you for answer...
Did you try to a full publish ? (right click on the server, click Full Publish) ?
<----yes ,I did. use full publish always.
is the web.xml actually in the project ? JavaEE 6 does not require a web.xml anymore.
<-------yes. when i use [mvn jboss-as:deploy] , the web.xml is in the content.
ps: I used wildFly 8.0 runtime server to deploy project to jboss eap 6.1GA ,is that casued the issue??
I found some guy has the same problem...but no answer. yet..
http://stackoverflow.com/questions/12358391/publishing-with-jboss-tools-indigo-skips-web-xml
best regards!
joe
-
3. Re: why jboss tools deploy my project,skiped my web.xml?
maxandersen Aug 23, 2013 2:38 AM (in response to zuwenjiang)JBoss Tools does not know about your jboss-as:deploy setup out of the box.
It only publishes what is in your project - is web.xml inside your project or generated by jboss-as:deploy ?
Have you tried importing the project as a Maven project so m2e-wtp (maven integration for WTP that jboss tools uses) will try read your maven settings and deploy similar to what mvn jboss-as:deploy does ?
-
4. Re: why jboss tools deploy my project,skiped my web.xml?
zuwenjiang Aug 23, 2013 2:51 AM (in response to maxandersen)is web.xml inside your project or generated by jboss-as:deploy ?
<----I am sure that web.xml is always in my project..i created my project by eclipse and change it to maven project myself..
jboss-as:deploy just published myproject to jboss eap..it can't generate web.xml
best regards
joe
-
5. Re: why jboss tools deploy my project,skiped my web.xml?
maxandersen Aug 26, 2013 3:23 AM (in response to zuwenjiang)then please say where in the project the web.xml is and if you actually are importing it as a maven project ?
-
6. Re: why jboss tools deploy my project,skiped my web.xml?
zuwenjiang Aug 28, 2013 9:20 AM (in response to maxandersen) -
7. Re: why jboss tools deploy my project,skiped my web.xml?
maxandersen Aug 29, 2013 11:19 AM (in response to zuwenjiang)If you are sure you have done a *full* publish and it still does not show - Can you reduce this project to minimal, zip it up and submit a bug on this with steps to reproduce ?
-
8. Re: why jboss tools deploy my project,skiped my web.xml?
fbricon Aug 29, 2013 11:26 AM (in response to zuwenjiang)Do you have any fancy maven-war-plugin configuration in your pom.xml? Definitely try to create a sample project so we can investigate.
-
9. Re: why jboss tools deploy my project,skiped my web.xml?
zuwenjiang Sep 6, 2013 4:00 AM (in response to fbricon)thank you very much!
in my pom.xml, somebody added the code
<packagingExcludes>WEB-INF/web.xml</packagingExcludes>
it made the mistake..
-
10. Re: why jboss tools deploy my project,skiped my web.xml?
maxandersen Sep 6, 2013 4:10 AM (in response to zuwenjiang)joe zu - thanks for posting an update! Good to know eclipse actually behaved as it should based on the configuration given