Hi :-|....but i have to install nother SO ? opennms developer doesen't debug ?...i'm a 'little' confused. So, i explain better. I have opened project in eclipse (like MVN project), i can build application with build.bat (i work on windows) and i can start application with "opennms.bat start" (i borrowed the the file from opennms installer standalone-opennms-installer-1.7.90.jar after installation), so i can modify the source and i can deploy....but i can't debug. I don't know maven and eclipse plugin m2eclipse, how can i configure eclipse to attach debug to tomcat or jetty (if is more simple) ?....please help me. Thanks a lot.
----Messaggio originale---- Da: mike_dana_i...@yahoo.com Data: 21/05/2010 7.14 A: "niccolo1...@libero.it"<niccolo1...@libero.it>, "OpenNMS Code Development and Bugs"<opennms-devel@lists.sourceforge.net> Ogg: Re: [opennms-devel] error build.bat eclipse:eclipse try opennms sans effort 2.0 It's an linux distrubution which include opennms for debugging try to locate the log file --- On Thu, 5/20/10, niccolo1...@libero.it <niccolo1...@libero.it> wrote: From: niccolo1...@libero.it <niccolo1...@libero.it> Subject: [opennms-devel] error build.bat eclipse:eclipse To: opennms-devel@lists.sourceforge.net Date: Thursday, May 20, 2010, 7:19 PM (sorry for my english...i'm italian) Hi all i'm new of opennms, i'm creating a developer enviroment ON WINDOWS. This is my problem: After i downloaded the source i run: ... build.bat eclipse:eclipse ... but it doesn't work (i have tried also build.bat eclipse:clean eclipse:eclipse ... build.bat org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse (i saw on a site http://stackoverflow.com/questions/1397903/setting-project-for-eclipse- using-maven) ..but nothing) this is the log trace ... [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot execute mojo: clean. It requires a project with an existing pom. xml, but the build is not using one. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: cle an. It requires a project with an existing pom.xml, but the build is not using one. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor. executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor. executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor. executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: 41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one. at org.apache.maven.plugin.DefaultPluginManager.executeMojo (DefaultPluginManager.java:407) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:678) ... 17 more i would create .project file to open opennms as eclipse project and DEBUG it... this is my BIG problem, i CAN'T debug opennms P.S. i don't know maven...i'm tring to study ------------------------------------------------------------------------------ _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel
------------------------------------------------------------------------------
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel