• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

MyEclipse and Maven

 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm looking to use the standard MVN command line to create a web project for MyEclipse. I got MyEclipse due to the fact that I love the hot deploy feature. I don't have to keep rebuilding and redeploying in order to see my changes go in. Only problem is that when I use Maven and try to create a web project via the command line, the IDE doesn't recognize the project in the workspace as something I can deploy. I have done the eclipse:eclipse in order to create the '.project. file and have imported it in correctly so its IN MyEclipse however when I click on ADD DEPLOYMENT the IDE does not recognize it as a web project. I'm looking for a solution to this. How do I make it visible to the MyEclipse IDE?

TIA

-Dale
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add a web project nature (or whatever it's called now).
 
Bartender
Posts: 20982
128
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know about MyEclipse, but the integration between WTP and Maven is horrible. Then again, I don't have a very high opinion of WTP as a replacement for sysdeo either.

If MyEclipse is anything like WTP, however, it doesn't adhere to Maven's standard project structure by default. Which means that if you create a project in Eclipse, you have to manually gimmick it up to be Maven-friendly.

Going the other direction (like you are) is even worse. There's a LOT of work that needs to be done in Eclipse as far as making it capable of detecting and applying external architectural considerations, even ones as simple as converting a generic project into a Java project. Often the simplest approach is to create a new, empty project containing the facets/attributes you want and shovel stuff in from your real project. Which can be especially problematical if the original project is already under version control and what you're trying to do is update the VCS project with the Eclipse-friendly one.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, I haven't had anywhere near the issues you have making projects work in Eclipse, including Maven projects.
 
That is a really big piece of pie for such a tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!