Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » Web Project doesn't Build/Publish Correctly
Web Project doesn't Build/Publish Correctly [message #554653] Mon, 23 August 2010 21:20 Go to next message
Kurt Guenther is currently offline Kurt GuentherFriend
Messages: 6
Registered: August 2010
Junior Member
We have a large web app with multiple Maven projects. Command-line seems to work fine, but with Eclipse+IAM, the project seems to deploy correctly only about 50% of the time.

First, I'm not convinced that the Publish on the Server window is working correctly. I've been using winmerge to validate publishing and I've noticed frequent problems. (Plz, point me in the right direction on this one). It seems like if I do a Clean-Publish, then it should nail it each and every time and it doesn't.

However, about 25% of the time, it appears that the build has failed or jammed somehow. Closing and reopening the project seems to kick it back into motion and also gets the webapp to publish correctly.

Any pointers on how to debug would be greatly appreciated. I'm on a project with 20+ developers that all have this issue.

--Kurt


Re: Web Project doesn't Build/Publish Correctly [message #554659 is a reply to message #554653] Mon, 23 August 2010 22:04 Go to previous messageGo to next message
Carlos Sanchez is currently offline Carlos SanchezFriend
Messages: 114
Registered: July 2009
Senior Member
There are a lot of improvements to WTP deployment in 0.12, available at
http://q4e.googlecode.com/svn/trunk/updatesite-dev/

If you still have issues with that build, please let us know what
appserver and version are you using, and what issues do you have.

I have used it successfully with jetty, tomcat, jboss and websphere,
having overlayed wars, EARs,...


On 8/23/10 11:20 PM, Kurt Guenther wrote:
> We have a large web app with multiple Maven projects. Command-line
> seems to work fine, but with Eclipse+IAM, the project seems to deploy
> correctly only about 50% of the time.
> First, I'm not convinced that the Publish on the Server window is
> working correctly. I've been using winmerge to validate publishing and
> I've noticed frequent problems. (Plz, point me in the right direction on
> this one). It seems like if I do a Clean-Publish, then it should nail it
> each and every time and it doesn't.
> However, about 25% of the time, it appears that the build has failed or
> jammed somehow. Closing and reopening the project seems to kick it back
> into motion and also gets the webapp to publish correctly.
> Any pointers on how to debug would be greatly appreciated. I'm on a
> project with 20+ developers that all have this issue.
> --Kurt
>
>
>
Re: Web Project doesn't Build/Publish Correctly [message #558046 is a reply to message #554659] Thu, 09 September 2010 23:01 Go to previous messageGo to next message
Kurt Guenther is currently offline Kurt GuentherFriend
Messages: 6
Registered: August 2010
Junior Member
Thanks for the response. I tried installing the dev plugin in a fresh version of Helios, but I get this error:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,javax.xml,1.3.4.v200902170245.
MD5 hash is not as expected. Expected: 5906e465e1d260a8284ff6d0cb2b4ac2 and found e1c050883ffe3d7f18da374d591e3297.
Problems downloading artifact: osgi.bundle,org.apache.commons.codec,1.3.0.v20080530-1600.
MD5 hash is not as expected. Expected: 463eaee3a15b2aa436a71a01295ac64d and found 5c508c23e8bfa04e92093c49ab10fa94.
Problems downloading artifact: osgi.bundle,org.apache.commons.collections,3.2.0.v200803061811.
MD5 hash is not as expected. Expected: e0ef92afcfb63905fa6b5fcbce31aaaf and found eae0208c9a0ec23538b65f6c45cd840b.
Problems downloading artifact: osgi.bundle,org.apache.commons.lang,2.3.0.v200803061910.
MD5 hash is not as expected. Expected: 75424cbbd383dc7e3479eee6089612e5 and found c9f7ce1d04eb55945ce1161b0064509c.


I suspect it's just a transient error, so I'll try again tomorrow.
Re: Web Project doesn't Build/Publish Correctly [message #573422 is a reply to message #554659] Thu, 09 September 2010 23:01 Go to previous message
Kurt Guenther is currently offline Kurt GuentherFriend
Messages: 6
Registered: August 2010
Junior Member
Thanks for the response. I tried installing the dev plugin in a fresh version of Helios, but I get this error:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,javax.xml,1.3.4.v200902170245.
MD5 hash is not as expected. Expected: 5906e465e1d260a8284ff6d0cb2b4ac2 and found e1c050883ffe3d7f18da374d591e3297.
Problems downloading artifact: osgi.bundle,org.apache.commons.codec,1.3.0.v20080530-1600.
MD5 hash is not as expected. Expected: 463eaee3a15b2aa436a71a01295ac64d and found 5c508c23e8bfa04e92093c49ab10fa94.
Problems downloading artifact: osgi.bundle,org.apache.commons.collections,3.2.0.v2008030618 11.
MD5 hash is not as expected. Expected: e0ef92afcfb63905fa6b5fcbce31aaaf and found eae0208c9a0ec23538b65f6c45cd840b.
Problems downloading artifact: osgi.bundle,org.apache.commons.lang,2.3.0.v200803061910.
MD5 hash is not as expected. Expected: 75424cbbd383dc7e3479eee6089612e5 and found c9f7ce1d04eb55945ce1161b0064509c.

I suspect it's just a transient error, so I'll try again tomorrow.
Previous Topic:Unable to open pom from maven container
Next Topic:Web Project doesn't Build/Publish Correctly
Goto Forum:
  


Current Time: Fri Apr 19 15:11:22 GMT 2024

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

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

Back to the top