[opennms-devel] Building OpenNMS to use in Eclipse - Failed:cannot find symbol

Honia A <[email protected]> Fri, 20 Mar 2009 13:24:06 -0400
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
--===============3486926284586441457==
Content-Type: multipart/alternative;
	boundary="_6115094f-b5cd-4083-adbd-597787834577_"

--_6115094f-b5cd-4083-adbd-597787834577_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


Hi all=2C

I am trying to build OpenNMS project for Eclipse and followed the guides in=
 the online manual below=2C but couldn't build the source code:
http://www.opennms.org/index.php/Eclipse_and_OpenNMS

I am not trying to do much of a development or anything=2C just would like =
to get the stable version set up in Eclipse so I can have access to the cod=
e (in case I wanted to change colors or add a new module to it in the futur=
e) and get it to run on the Webserver...=20

So I git the trunk version downloaded via SVN and tried to build it on my C=
entOS 5.2 machine but ./build.sh install failed giving me this errors:

[INFO] --------------------------------------------------------------------=
----
[ERROR] BUILD FAILURE
[INFO] --------------------------------------------------------------------=
----
[INFO] Compilation failure

/root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/inve=
ntory/InventoryLayer.java:[398=2C48] cannot find symbol
symbol  : method getExpirationDate()
location: class org.opennms.rancid.InventoryNode

/root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/inve=
ntory/InventoryLayer.java:[461=2C81] cannot find symbol
symbol  : method getExpirationDate()
location: class org.opennms.rancid.InventoryNode

/root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/inve=
ntory/InventoryLayer.java:[516=2C85] cannot find symbol
symbol  : method getExpirationDate()
location: class org.opennms.rancid.InventoryNode

/root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/inve=
ntory/InventoryLayer.java:[563=2C45] cannot find symbol
symbol  : method getExpirationDate()
location: class org.opennms.rancid.InventoryNode


1) At this point=2C I am really clueless and was wondering if someone could=
 please help me with this.

2) Also=2C please let me know if I had to get the trunk (unstable) version =
or I could just get the stable version? So my question is=2C will that be p=
ossile to get the stable version built for Eclipse?

Thanks in advance=2C
~honia







=20


_________________________________________________________________
Windows Live=99 SkyDrive: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=3DTXT_TAGLM_WL_skydrive_032009=

--_6115094f-b5cd-4083-adbd-597787834577_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
</style>
</head>
<body class=3D'hmmessage'>
Hi all=2C<br><br>I am trying to build OpenNMS project for Eclipse and follo=
wed the guides in the online manual below=2C but couldn't build the source =
code:<br>http://www.opennms.org/index.php/Eclipse_and_OpenNMS<br><br>I am n=
ot trying to do much of a development or anything=2C just would like to get=
 the stable version set up in Eclipse so I can have access to the code (in =
case I wanted to change colors or add a new module to it in the future) and=
 get it to run on the Webserver... <br><br>So I git the trunk version downl=
oaded via SVN and tried to build it on my CentOS 5.2 machine but ./build.sh=
 install failed giving me this errors:<br><br>[INFO] ----------------------=
--------------------------------------------------<br>[ERROR] BUILD FAILURE=
<br>[INFO] ----------------------------------------------------------------=
--------<br>[INFO] Compilation failure<br><br>/root/Desktop/src/eclipse/ope=
nnms-webapp/src/main/java/org/opennms/web/inventory/InventoryLayer.java:[39=
8=2C48] cannot find symbol<br>symbol&nbsp=3B : method getExpirationDate()<b=
r>location: class org.opennms.rancid.InventoryNode<br><br>/root/Desktop/src=
/eclipse/opennms-webapp/src/main/java/org/opennms/web/inventory/InventoryLa=
yer.java:[461=2C81] cannot find symbol<br>symbol&nbsp=3B : method getExpira=
tionDate()<br>location: class org.opennms.rancid.InventoryNode<br><br>/root=
/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/inventory=
/InventoryLayer.java:[516=2C85] cannot find symbol<br>symbol&nbsp=3B : meth=
od getExpirationDate()<br>location: class org.opennms.rancid.InventoryNode<=
br><br>/root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/w=
eb/inventory/InventoryLayer.java:[563=2C45] cannot find symbol<br>symbol&nb=
sp=3B : method getExpirationDate()<br>location: class org.opennms.rancid.In=
ventoryNode<br><br><br>1) At this point=2C I am really clueless and was won=
dering if someone could please help me with this.<br><br>2) Also=2C please =
let me know if I had to get the trunk (unstable) version or I could just ge=
t the stable version? So my question is=2C will that be possile to get the =
stable version built for Eclipse?<br><br>Thanks in advance=2C<br>~honia<br>=
<br><br><br><br><br><br><div><font color=3D"#ff0000"><strong>
<div><font color=3D"#ff0000"><strong></strong></font>&nbsp=3B</div></strong=
></font></div><br><br><br /><hr />Windows Live=99 SkyDrive: Get 25 GB of fr=
ee online storage. <a href=3D'http://windowslive.com/online/skydrive?ocid=
=3DTXT_TAGLM_WL_skydrive_032009' target=3D'_new'>Check it out.</a></body>
</html>=

--_6115094f-b5cd-4083-adbd-597787834577_--


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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--===============3486926284586441457==
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
--===============3486926284586441457==--