Ok, I'm making progress. I applied 
http://www.opennms.org/wiki/Eclipse_and_OpenNMS, with a brand new Eclipse, a 
brand new workspace.

The code compile, but I want to launch junit tests from within Eclipse, I'm 
getting :
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/eclipse/jdt/internal/junit/runner/RemoteTestRunner
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


I have used Eclipse before, but not with maven projet, Google is no help for 
this. Does someone understand what's happenning ?

Le 11 sept. 2013 à 22:12, Fabrice Bacchella <fbacche...@spamcop.net> a écrit :

> Thanks to Ronald, I got it to work.
> 
> A patch from master is joined, but it's still a work in progress.
> 
> <patch.diff.gz>
> 
> Le 11 sept. 2013 à 18:27, "Roskens, Ronald" <ronald.rosk...@biworldwide.com> 
> a écrit :
> 
>> Add src/test/resources/etc/rrd-configuration.properties with:
>> 
>>      
>> org.opennms.rrd.strategyClass=org.opennms.netmgt.rrd.rrd4j.RRD4JRrdStrategy
>>      org.opennms.rrd.usetcp=false
>> 
>> Ron
>> 
>> -----Original Message-----
>> From: Fabrice Bacchella [mailto:fbacche...@spamcop.net] 
>> Sent: Wednesday, September 11, 2013 10:49 AM
>> To: OpenNMS Code Development and Bugs
>> Cc: mathias.boga...@gmail.com Bogaert
>> Subject: Re: [opennms-devel] jrobin and rrd4j
>> 
>> My RRD4JRrdStrategy (https://github.com/fbacchella/opennms-rrd-rrd4j) is 
>> making progress, I'm fighting with tests right now.
>> 
>> To run my test, I needed to change 
>> opennms-rrd-api/target/classes/org/opennms/netmgt/rrd/rrd-configuration.xml :
>> <prop 
>> key="org.opennms.rrd.strategyClass">org.opennms.netmgt.rrd.rrd4j.RRD4JRrdStrategy</prop>
>> 
>> But then the JRobinRrdStrategy's tests fails of course.
>> 
>> Is their a way to change that ? A api to change the prop 
>> org.opennms.rrd.strategyClass ?
>> 
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT 2. 
>> Standardize and globalize service processes across IT 3. Implement 
>> zero-touch automation to replace manual, redundant tasks 
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> 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
>> 
>> This e-mail message is being sent solely for use by the intended 
>> recipient(s) and may contain confidential information.  Any unauthorized 
>> review, use, disclosure or distribution is prohibited.  If you are not the 
>> intended recipient, please contact the sender by phone or reply by e-mail, 
>> delete the original message and destroy all copies. Thank you.
>> 
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> 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
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk_______________________________________________
> 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

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to