Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » m2eclipse / wtp: filter web.xml
m2eclipse / wtp: filter web.xml [message #5386] Wed, 14 May 2008 16:22 Go to next message
Eclipse UserFriend
Originally posted by: ossipetz.myrealbox.com

Hallo

i am using m2eclipse 0.9.3 with eclipse 3.3.x with quite some success
now. i encountered a 'strange' thing i am not sure if its wtp or
m2eclipse related.

i want to filter the web.xml file. this does work fine. the target
folder contains the filtered version. but when i start tomcat 6.0 it
uses the web.xml from src/main/.. and not the one in the target folder.

the server path points to the target path (option: "Use custom
location") and "Serve modules without publishing" is checked.

can anyone give me a hint on how to point wtp / tomcat to the propper
web.xml? some options are crucial for the application to run.


thanks for any input!
regards

ossi
Re: m2eclipse / wtp: filter web.xml [message #6881 is a reply to message #5386] Wed, 14 May 2008 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: igorfie.yahoo.com

ossi,

First, we are introducing first-class wtp integration and have made
0.9.4 dev build to preview this functionality. You can find more
information in [1]

Now back to your question. Unfortunately, m2eclipse does not support
custom location of web.xml at the moment. Can you please open an
enhancement request in m2eclipse JIRA [2] and provide sample project to
help us understand your requirements betters?

[1]
http://www.eclipse.org/newsportal/article.php?id=56&grou p=eclipse.technology.m2e#56
[2] http://jira.codehaus.org/browse/MNGECLIPSE

ossipetz wrote:
> Hallo
>
> i am using m2eclipse 0.9.3 with eclipse 3.3.x with quite some success
> now. i encountered a 'strange' thing i am not sure if its wtp or
> m2eclipse related.
>
> i want to filter the web.xml file. this does work fine. the target
> folder contains the filtered version. but when i start tomcat 6.0 it
> uses the web.xml from src/main/.. and not the one in the target folder.
>
> the server path points to the target path (option: "Use custom
> location") and "Serve modules without publishing" is checked.
>
> can anyone give me a hint on how to point wtp / tomcat to the propper
> web.xml? some options are crucial for the application to run.
>
>
> thanks for any input!
> regards
>
> ossi
Re: m2eclipse / wtp: filter web.xml [message #7015 is a reply to message #6881] Thu, 15 May 2008 16:20 Go to previous message
Eclipse UserFriend
Originally posted by: ossipetz.myrealbox.com

Hallo

1st class wtp integration sounds great! cant wait to get it :)

i created an issue in Jira:
http://jira.codehaus.org/browse/MNGECLIPSE-602
(a small example project is attached)

if more input is needed please tell me


thanks!
regards

ossi



Igor Fedorenko schrieb:
> ossi,
>
> First, we are introducing first-class wtp integration and have made
> 0.9.4 dev build to preview this functionality. You can find more
> information in [1]
>
> Now back to your question. Unfortunately, m2eclipse does not support
> custom location of web.xml at the moment. Can you please open an
> enhancement request in m2eclipse JIRA [2] and provide sample project to
> help us understand your requirements betters?
>
> [1]
> http://www.eclipse.org/newsportal/article.php?id=56&grou p=eclipse.technology.m2e#56
>
> [2] http://jira.codehaus.org/browse/MNGECLIPSE
>
> ossipetz wrote:
>> Hallo
>>
>> i am using m2eclipse 0.9.3 with eclipse 3.3.x with quite some success
>> now. i encountered a 'strange' thing i am not sure if its wtp or
>> m2eclipse related.
>>
>> i want to filter the web.xml file. this does work fine. the target
>> folder contains the filtered version. but when i start tomcat 6.0 it
>> uses the web.xml from src/main/.. and not the one in the target folder.
>>
>> the server path points to the target path (option: "Use custom
>> location") and "Serve modules without publishing" is checked.
>>
>> can anyone give me a hint on how to point wtp / tomcat to the propper
>> web.xml? some options are crucial for the application to run.
>>
>>
>> thanks for any input!
>> regards
>>
>> ossi
Previous Topic:resource folders in package explorer
Next Topic:pom xml editor and additional ideas for contribution
Goto Forum:
  


Current Time: Thu Dec 18 21:43:59 GMT 2014

Powered by FUDForum. Page generated in 0.08606 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software