Discussion:
[jboss-user] [JBoss Tools] - why jboss tools deploy my project, skiped my web.xml?
joe zu
2013-08-22 02:14:00 UTC
Permalink
joe zu [https://community.jboss.org/people/zuwenjiang] created the discussion

"why jboss tools deploy my project,skiped my web.xml?"

To view the discussion, visit: https://community.jboss.org/message/833468#833468

--------------------------------------------------------------
hi,greeting.

     i want to debug  my web project  in jboss eap .61GA ,and i deploy my project to jboss by jboss tools.(ide:sts3.3 jbosstools :the newest)

     but i found .the deployed webapp hadn't the web.xml file...where was it??

     jboss tools skipped the file??

best regards
joe
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833468#833468]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-08-22 05:04:00 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: why jboss tools deploy my project,skiped my web.xml?"

To view the discussion, visit: https://community.jboss.org/message/833472#833472

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833472#833472]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
joe zu
2013-08-22 05:09:21 UTC
Permalink
joe zu [https://community.jboss.org/people/zuwenjiang] created the discussion

"Re: why jboss tools deploy my project,skiped my web.xml?"

To view the discussion, visit: https://community.jboss.org/message/833473#833473

--------------------------------------------------------------
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.

best regards!
joe
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833473#833473]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-08-23 06:38:41 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: why jboss tools deploy my project,skiped my web.xml?"

To view the discussion, visit: https://community.jboss.org/message/833641#833641

--------------------------------------------------------------
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 ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833641#833641]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
joe zu
2013-08-23 06:51:25 UTC
Permalink
joe zu [https://community.jboss.org/people/zuwenjiang] created the discussion

"Re: why jboss tools deploy my project,skiped my web.xml?"

To view the discussion, visit: https://community.jboss.org/message/833643#833643

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833643#833643]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...