On Sat, Oct 11, 2008 at 1:17 PM, Cody Burleson <[EMAIL PROTECTED]>wrote:
> So, being a relative newb to Maven, am I to understand that the > Maven-centric way to develop is just using text editors? It's kind of like a > command line geek's thing? > After you've run full-source, there shouldn't be any Maven/IDE issues since we're not doing anything special at that point. If you don't run that, we do use a warpath plugin (that allows wars to act as dependencies) that some IDEs have trouble with. IntelliJ IDEA works with it, but I believe NetBeans and Eclipse have issues (particularly if you're using their Maven plugins). Also, since we "overlay" wars onto yours, there can be issues with configuration files and such not being found in your project. Again, these issues shouldn't exist after full-source. What I do is run "mvn jetty:run" and then compile in my IDE. Jetty will auto-reload and you should be off to the races. You can use Remote debugging in your IDE and copy the settings into a MAVEN_OPTS environment variable if you want debugging support. The only thing better than that is JavaRebel which allows you to compile and not reload Jetty so it's like developing a PHP application where JavaRebel hot-reloads classes for you. Hope this helps, Matt > > Or is Eclipse just not the right IDE for Maven development? > > I am just thinking that if you're supposed to save all this time with > Maven, but yet can't really use an IDE with it... then you don't save much > time at all. > > I think I am just frustrated and need to put this away for a while. > > Thanks for the tips. I will try the full source also. > > > > On Sat, Oct 11, 2008 at 1:20 PM, Matt Raible <[EMAIL PROTECTED]>wrote: > >> >> >> On Oct 11, 2008, at 12:16 PM, "Cody Burleson" <[EMAIL PROTECTED]> >> wrote: >> >> I am really struggling with this. The problem is, I am not very familiar >> with Maven. I mean - I understand how to do everything in Maven, but I >> cannot figure out how to develop in a Maven centric manner. If you can't use >> your IDE to do all of your coding, then the Maven system kind of breaks the >> whole point, doesn't it? >> >> Sure, I can pull the project into eclipse. It's an eclipse project, but >> it's just a generic eclipse project; it's nothing eclipse knows how to work >> with. >> >> Am I missing something? What is the benefit of even bringing the project >> into eclipse at all? >> >> So it can be a fancy text editor? ;-) >> There's some changes we may be able to make in the next version to fix >> this. >> >> Matt >> >> >> >> >> On Sat, Oct 11, 2008 at 12:33 PM, Cody Burleson < <[EMAIL PROTECTED]> >> [EMAIL PROTECTED]> wrote: >> >>> Yes, I've seen that. I've installed m2eclipse and I've got the project in >>> my workspace. It runs fine when doing the mvn jetty:run-war, but here is an >>> example issue: >>> >>> If I create a new class in src/main/java, add some properties to the >>> class (fields), and then use Source > Generate Getters and Setters, I get >>> the message "The resource is not on the build path of a java project". >>> >>> Plus, the project is not an eclipse Dynamic Web App, so I cannot add it >>> to a server and deploy it from within eclipse. >>> >>> - Cody >>> >>> >>> >>> On Sat, Oct 11, 2008 at 12:20 PM, Matt Raible < <[EMAIL PROTECTED]> >>> [EMAIL PROTECTED]> wrote: >>> >>>> Have you seen this page? >>>> >>>> <http://appfuse.org/display/APF/Eclipse> >>>> http://appfuse.org/display/APF/Eclipse >>>> >>>> Matt >>>> >>>> >>>> On Sat, Oct 11, 2008 at 11:08 AM, Cody Burleson <<[EMAIL PROTECTED]> >>>> [EMAIL PROTECTED]> wrote: >>>> >>>>> Does anyone have any links or tips on how to integrate AppFuse with >>>>> Eclipse? >>>>> >>>>> I've been able to bring AppFuse into eclipse after using mvn >>>>> eclipse:eclipse, but the Maven project structure still makes no sense to >>>>> eclipse. I am not sure how to be able to develop from within eclipse. >>>>> >>>>> Thanks in advance for any tips you might provide. >>>>> >>>>> >>>>> >>>> >>> >> >
