Can I add WTP nature to Imported Maven project?

58 views
Skip to first unread message

Ben Hutchison

unread,
Nov 22, 2008, 6:15:23 AM11/22/08
to Q for Eclipse users list
Back in July, I asked about adding Q4E & Maven support to an existing
WTP project. At that stage, it wasnt possible.
http://groups.google.com/group/q4e-users/browse_thread/thread/38aeb4be27ea237b?fwc=1

Ive now encountered a different, and yet similar, problem...

I checked out the opensource Java Wiki engine JAMWiki, which is Maven
based, to create a patch. It has existing POMs in the source tree, but
nothing Eclipse-specific.

I was able to Import it as a Maven project using Q4E 0.8. However, it
wasn't recognized as a WTP project, despite packaging=war. Should it
have been?

I want to add WTP nature so I can easily launch it in a local Tomcat,
ie "Run on Server". Is this possible?

Regards
Ben

Ben Hutchison

unread,
Nov 22, 2008, 6:45:21 AM11/22/08
to Q for Eclipse users list
Update: Deleting the relevant JAMWiki project within Eclipse, and re-
importing it, enabled the WTP support. All working now, can run with
within Tomcat and build with Maven.

The only difference, other than being 2nd time, was that first
(unsuccessful) time, I imported all 5 JAMWiki projects at once, from
scan of folder above. Second time, I imported just the war project
alone.

Regards
Ben

On Nov 22, 10:15 pm, Ben Hutchison <b...@playscapegames.com> wrote:
> Back in July, I asked about adding Q4E & Maven support to an existing
> WTP project. At that stage, it wasnt possible.http://groups.google.com/group/q4e-users/browse_thread/thread/38aeb4b...
Reply all
Reply to author
Forward
0 new messages