Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » War Overlays
War Overlays [message #635313] Tue, 26 October 2010 11:41 Go to next message
Andrew Myers is currently offline Andrew MyersFriend
Messages: 8
Registered: October 2010
Junior Member
Hi,

I have been using m2eclipse but found IAM when searching for information on maven and war overlays.

Unfortunately I cannot get it to work. If I create a new maven project, select the apache maven webapp prototype, then add in a war dependency and try and run it on the server it does need seem to run with the dependency overlaid.

The stuff in the target dir does have the overlay applied.

Does it sound like I'm doing this correctly? I'm using Helios on Windows 7 and have tried both the update-iam and update-dev updates sites for IAM with the same result on both builds.

Any advice would be greatly appreciated.

Best regards,
Andrew
Re: War Overlays [message #635752 is a reply to message #635313] Thu, 28 October 2010 00:18 Go to previous messageGo to next message
Carlos Sanchez is currently offline Carlos SanchezFriend
Messages: 114
Registered: July 2009
Senior Member
what appserver are you deploying to?
is the war dependency open in the workspace or is it in the repository?
try to have it open in the workspace


On 10/26/10 4:41 AM, Andrew Myers wrote:
> Hi,
>
> I have been using m2eclipse but found IAM when searching for information
> on maven and war overlays.
>
> Unfortunately I cannot get it to work. If I create a new maven project,
> select the apache maven webapp prototype, then add in a war dependency
> and try and run it on the server it does need seem to run with the
> dependency overlaid.
>
> The stuff in the target dir does have the overlay applied.
> Does it sound like I'm doing this correctly? I'm using Helios on Windows
> 7 and have tried both the update-iam and update-dev updates sites for
> IAM with the same result on both builds.
>
> Any advice would be greatly appreciated.
>
> Best regards,
> Andrew
Re: War Overlays [message #636840 is a reply to message #635752] Wed, 03 November 2010 04:43 Go to previous messageGo to next message
Andrew Myers is currently offline Andrew MyersFriend
Messages: 8
Registered: October 2010
Junior Member
Hi,

I'm using Tomcat 6.0.26 on Windows 7, with Eclipse Helios for Java EE. The war dependency was in the repository. I have opened it in the workspace now and it seems to work somewhat.

However I have still found a few issues. For example there is an index.jsp in the war dependency which it won't load unless I put it in the project that depends on it.

Should it pick this up from the dependency?

Andrew.
Re: War Overlays [message #637621 is a reply to message #635313] Mon, 08 November 2010 01:45 Go to previous message
Andrew Myers is currently offline Andrew MyersFriend
Messages: 8
Registered: October 2010
Junior Member
I spent a bit more time on this over the weekend, and was able to get it doing what I wanted it to do under a completely clean install of Galileo.

I have just tried re-installing on a clean install of Helios, but I'm running into some installation issues. I will post them in a separate thread.
Previous Topic:Web Project doesn't Build/Publish Correctly
Next Topic:Hot deployment functionality for maven EARs not working in latest versions.
Goto Forum:
  


Current Time: Thu Dec 18 04:02:15 GMT 2014

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

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