like a great container. Hopefully the JNDI configuration is similar to
> Gunnar,
>
> Unfortunately, I haven't had a chance to try the latest versions of
> WTP to see if it works well with Equinox. However, you should know
> that "mvn jetty:run" is a solution that's just as good IMO. It allows
> you to edit your files in place and it'll auto-reload your project
> when you change classes and such. You can also use the Jetty Launcher
> and run it in debug mode to reload classes on the fly. Both are
> excellent solutions IMO.
>
>
http://jetty.mortbay.org/maven-plugin/>
>
http://raibledesigns.com/page/rd?entry=edit_java_webapps_redux_jetty>
> Matt
>
> On 11/16/06, Gunnar Hillert <
[hidden email]> wrote:
>> Hi,
>>
>> I am trying to use Equinox together with Eclipse 3.2.x and WTP 1.5.x.
>> In the Maven POM, Equinox includes the 'src/main/webapp' folder as a
>> test-resource so that in
>> Eclipse I can run my unit tests using the same
>> ApplicationContext*.xml files as for deployment.
>>
>> I like this setup very much but here is my problem - When I deploy my
>> app to Tomcat using Eclipse WTP, then
>> my deployed webapps/equinox directory is empty.
>>
>> If I remove "src/main/webapp" from my Eclipse build path, then
>> everything deploys fine.
>>
>> I went to the point of trying to modify the ".component"
>> configuration file to get things deployed to Tomcat.
>> What I think happens is that with Eclipse WTP ALL resources that are
>> in the classpath, get deployed to the
>> WEB-INF/classes folder. Overwriting that behavior does not seem to be
>> possible.
>>
>> For example by default the following entry is generated in the
>> .component config file:
>>
>> <wb-resource deploy-path="/" source-path="src/main/webapp"/>
>>
>> This looks great - but does not work. The 'deploy-path' seems to be
>> completely ignored. If I remove "src/main/webapp" from the build
>> path then it works. This issue seems to be also captured by the
>> following WTP Bugzilla entries: Bug 150324 + Bug 104597
>>
>> * * *
>>
>> Nevertheless, I wonder if somebody has a working setup where I can
>> use one single Spring ApplicationContext.xml
>> file for deployment and testing AND is able to also successfully
>> deploy to Tomcat at the same time using Eclipse WTP.
>>
>> Thank you very much for your help!!
>>
>> Regards,
>>
>> Gunnar Hillert
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
[hidden email]
>> For additional commands, e-mail:
[hidden email]
>>
>>
>
>