Justin Deoliveira ha scritto:
> I can think of one minor downside. At times I run across errors when 
> building with maven, but not with eclipse. But debugging the problem is 
> hard because it involves firing up a remote debug session.

Setting up a remote debug session is not that hard nowadays, it's what
I usually use when I need debug some maven specific issue.
In order to run maven in debug mode all it's needed is to use mvnDebug,
but if you have to debug a unit test that is no good, and maven has
to be run using -Dmaven.surefire.debug:
mvn test -Dmaven.surefire.debug -Dtest<testClassName>
is what I usually do to debug, in maven, a single test that for some
reason gives me headaches in maven.

> However sometimes what i do is compile with maven, and then directly run 
> with eclipse without rebuilding to replicate the problem. The issue this 
> usually catches is forgetting to put resource files under the proper 
> source tree.
> 
> That said, it is not something I do all that often so +1 on the patch. 
> And since it is only a few lines it is an easy one to switch.

Cool, I guess there is enough consensus, so I'll make the switch
Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to