Re: [opennms-devel] Class ParameterMap

Andrea Castello <[email protected]> Fri, 24 Apr 2009 10:03:23 +0200
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
--===============2704809020065047089==
Content-Type: multipart/alternative; boundary=0015174c150e3c30100468486e77

--0015174c150e3c30100468486e77
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello Bejamin.

Thank you for your suggestion. Unfortunately if I use either
org.opennms.netmgt.utils.ParameterMap or
org.opennms.netmgt.utils.ParameterMap I get a NoClassDefFoundError, which -
I guess - implies that I miss some artifact in my OpenNMS installation (but
I have the opennms-util-1.7.3-SNAPSHOT.jar in my lib). Am I right?

While, if I use org.opennms.netmgt.provision.support.util.ParameterMap I
just can't manage to compile my module :-(

Andrea C.


2009/4/23 Benjamin Reed <[email protected]>

> Andrea Castello wrote:
> > Hello,
> >   in the latest version of OpenNMS (1.7.3-SNAPSHOT), the class
> > ParameterMap  has been moved to package
> > org.opennms.netmgt.provision.support.util.
> >
> >   When I compile a module of OpenNMS I've writtern on version 1.6.1 it
> > is no more capable of finding the class. So, I suppose, there's a bunch
> > of new maven artifacts I have to add to my pom.xml.
> >
> >    Anyone konws what artifact does package
> > org.opennms.netmgt.provision.support.util belong to?
>
> It looks like we had 4 different copies of ParameterMap lying around in
> the 1.7.x tree.  :P
>
> You want the one in org.opennms.core.utils, which is in the opennms-util
> module (which you probably already have included).
>
> --
> Benjamin Reed
> The OpenNMS Group
> http://www.opennms.org/
>
>
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> 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
>

--0015174c150e3c30100468486e77
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello Bejamin.<br><br>Thank you for your suggestion. Unfortunately if I use=
 either org.opennms.netmgt.utils.ParameterMap or org.opennms.netmgt.utils.P=
arameterMap I get a NoClassDefFoundError, which - I guess - implies that I =
miss some artifact in my OpenNMS installation (but I have the opennms-util-=
1.7.3-SNAPSHOT.jar in my lib). Am I right?<br>
<br>While, if I use org.opennms.netmgt.provision.support.util.ParameterMap =
I just can&#39;t manage to compile my module :-(<br><br>Andrea C. <br><br><=
br><div class=3D"gmail_quote">2009/4/23 Benjamin Reed <span dir=3D"ltr">&lt=
;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</span><br=
>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><=
div class=3D"h5">Andrea Castello wrote:<br>
&gt; Hello,<br>
&gt; =A0 in the latest version of OpenNMS (1.7.3-SNAPSHOT), the class<br>
&gt; ParameterMap =A0has been moved to package<br>
&gt; org.opennms.netmgt.provision.support.util.<br>
&gt;<br>
&gt; =A0 When I compile a module of OpenNMS I&#39;ve writtern on version 1.=
6.1 it<br>
&gt; is no more capable of finding the class. So, I suppose, there&#39;s a =
bunch<br>
&gt; of new maven artifacts I have to add to my pom.xml.<br>
&gt;<br>
&gt; =A0 =A0Anyone konws what artifact does package<br>
&gt; org.opennms.netmgt.provision.support.util belong to?<br>
<br>
</div></div>It looks like we had 4 different copies of ParameterMap lying a=
round in<br>
the 1.7.x tree. =A0:P<br>
<br>
You want the one in org.opennms.core.utils, which is in the opennms-util<br=
>
module (which you probably already have included).<br>
<font color=3D"#888888"><br>
--<br>
Benjamin Reed<br>
The OpenNMS Group<br>
<a href=3D"http://www.opennms.org/" target=3D"_blank">http://www.opennms.or=
g/</a><br>
<br>
<br>
</font><br>----------------------------------------------------------------=
--------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href=3D"http://p.sf.net/sfu/p" target=3D"_bla=
nk">http://p.sf.net/sfu/p</a><br>__________________________________________=
_____<br>
Please read the OpenNMS Mailing List FAQ:<br>
<a href=3D"http://www.opennms.org/index.php/Mailing_List_FAQ" target=3D"_bl=
ank">http://www.opennms.org/index.php/Mailing_List_FAQ</a><br>
<br>
opennms-devel mailing list<br>
<br>
To *unsubscribe* or change your subscription options, see the bottom of thi=
s page:<br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/opennms-devel" targ=
et=3D"_blank">https://lists.sourceforge.net/lists/listinfo/opennms-devel</a=
><br></blockquote></div><br>

--0015174c150e3c30100468486e77--


--===============2704809020065047089==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
--===============2704809020065047089==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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
--===============2704809020065047089==--