Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Publish to server does not build
Publish to server does not build [message #1009224] Thu, 14 February 2013 17:47 Go to next message
David Balažic is currently offline David BalažicFriend
Messages: 35
Registered: February 2013
Member
Hi!

I posted this to m2eclipse mail list, but was suggested to try here:
This is not related to maven nor m2e but is a WTP bug/feature. So the WTP forum[1] is probably a more appropriate place to discuss that problem.


My original message:

Using m2eclipse 1.2.0 with Eclipse 3.7.2 I noticed this surprising behavior.
I have several projects in Eclipse, each a maven project.
I set up tomcat 6.0 in Eclipse for running the code.

Once for clean up purposes I disabled the "Project/Build Automatically" menu item and performad a Project/Clean...

After I while I forgot about this and tried to publish the code to the server and run it.
After the start it complained about not finding things on the classpath.

The reason is that the *.class files and the JAR files (the dependent projects) were missing.

I would expect either a build triggered before the deployment or an error dialog informing me that it can not deploy the project because it is not built.

Or am I missing something and this is the intended way of operation?



Version details:

Eclipse Java EE IDE for Web Developers.

Version: Indigo Service Release 2
Build id: 20120216-1857

Eclipse Platform 3.7.2.M20120208-0800 org.eclipse.platform.ide null
Java EE IDE Feature 1.4.2.20120213-0813 org.eclipse.epp.package.jee.feature.feature.group Eclipse Packaging Project
m2e - Maven Integration for Eclipse 1.2.0.20120903-1050 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
Subclipse (Required) 1.8.18 org.tigris.subversion.subclipse.feature.group tigris.org
Subversion Client Adapter (Required) 1.8.3 org.tigris.subversion.clientadapter.feature.feature.group tigris.org
Subversion JavaHL Native Library Adapter 1.7.8.1 org.tigris.subversion.clientadapter.javahl.feature.feature.group tigris.org

Re: Publish to server does not build [message #1009435 is a reply to message #1009224] Fri, 15 February 2013 06:21 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Shouldn't you also have m2e-wtp if you're working with WTP projects?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Publish to server does not build [message #1009534 is a reply to message #1009435] Fri, 15 February 2013 09:33 Go to previous message
David Balažic is currently offline David BalažicFriend
Messages: 35
Registered: February 2013
Member
I used it once, but has some problems (don't remember the details).
It works fine without, except this issue.
Previous Topic:JNDI Feedback
Next Topic:Apache Geronimo - Eclipse Indigo- JAXWS deployment problem
Goto Forum:
  


Current Time: Tue Apr 16 12:36:19 GMT 2024

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

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

Back to the top