Re: [opennms-devel] Building OpenNMS to use in Eclipse - Failed:cannot find symbol
Honia A <[email protected]> Fri, 20 Mar 2009 14:38:56 -0400
| Newsgroups | gmane.network.opennms.bugs,gmane.network.opennms.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============8467410364517450440== Content-Type: multipart/alternative; boundary="_5d10a255-0df2-4ae7-831f-cd23c323be07_" --_5d10a255-0df2-4ae7-831f-cd23c323be07_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks Benjamin=2C 1) I searched for rancid-api on my machine but it wasn't anywhere to be fo= und... 2) While ago=2C I got the opennms-1.6.1.tar.gz (can't remember if i used th= e branch command or tagged one)=2C so you're saying I can build this versio= n for eclipse? Because that failed=2C too when I tried to build it for Eclipse. This is ho= w I tried to build it: - ./build.sh install ----> SUCCESSFUL - ./build.sh clean -----> SUCCESSFUL -./build.sh eclipse:eclipse ---> FAILED=20 [INFO] --------------------------------------------------------------------= ---- [INFO] Building OpenNMS Hibernate [INFO] task-segment: [eclipse:eclipse] [INFO] --------------------------------------------------------------------= ---- [INFO] Preparing eclipse:eclipse [INFO] No goals needed for project - skipping [INFO] [eclipse:eclipse] [INFO] Using as WTP server : null [INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_C= ONTAINER [INFO] Using source status cache: /root/Desktop/src/eclipse/target/mvn-ecli= pse-cache.properties [INFO] Wrote settings to /root/Desktop/src/eclipse/dependencies/opennms-hib= ernate/.settings/org.eclipse.jdt.core.prefs [INFO] --------------------------------------------------------------------= ---- [ERROR] BUILD ERROR [INFO] --------------------------------------------------------------------= ---- [INFO] Unable to write to file: /root/Desktop/src/eclipse/dependencies/open= nms-hibernate/.settings/org.eclipse.jdt.core.prefs [INFO] --------------------------------------------------------------------= ---- Am I using the correct version or may be missing something else? Thanks=2C honia =20 > Date: Fri=2C 20 Mar 2009 13:38:15 -0400 > From: [email protected] > To: [email protected] > Subject: Re: [opennms-devel] Building OpenNMS to use in Eclipse - Failed:= cannot find symbol >=20 > Honia A wrote: >=20 > > /root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/= inventory/InventoryLayer.java:[398=2C48] > > cannot find symbol > > symbol : method getExpirationDate() > > location: class org.opennms.rancid.InventoryNode >=20 > ... >=20 > > 1) At this point=2C I am really clueless and was wondering if someone > > could please help me with this. >=20 > There have been updates to rancid-api in the last few hours=2C I believe= =2C > which could be what you're running into. I've just deployed a new > version to the snapshot repository=2C give it another shot. >=20 > You might need to delete ~/.m2/repository/org/opennms/rancid-api for > maven to notice it needs to grab the new version. >=20 > > 2) Also=2C please let me know if I had to get the trunk (unstable) vers= ion > > or I could just get the stable version? So my question is=2C will that = be > > possile to get the stable version built for Eclipse? >=20 > Yup=2C the 1.6 testing version is available through: >=20 > https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/branches/1.6-= testing >=20 >=20 >=20 > --=20 > Benjamin Reed > The OpenNMS Group > http://www.opennms.org/ >=20 >=20 _________________________________________________________________ Hotmail=AE is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=3DTXT_TAGLM_WL_HM_70faster_03200= 9= --_5d10a255-0df2-4ae7-831f-cd23c323be07_ Content-Type: text/html; charset="iso-8859-1" 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'> Thanks Benjamin=2C<br><br>1) I searched for rancid-api =3B on my machin= e but it wasn't anywhere to be found...<br><br>2) While ago=2C I got the op= ennms-1.6.1.tar.gz (can't remember if i used the branch command or tagged o= ne)=2C so you're saying I can build this version for eclipse?<br><br>Becaus= e that failed=2C too when I tried to build it for Eclipse. This is how I tr= ied to build it:<br><br>- ./build.sh install ---->=3B SUCCESSFUL<br>- ./b= uild.sh clean ----->=3B SUCCESSFUL<br>-./build.sh eclipse:eclipse --->= =3B FAILED <br><br>[INFO] -------------------------------------------------= -----------------------<br>[INFO] Building OpenNMS Hibernate<br>[INFO] = =3B =3B =3B task-segment: [eclipse:eclipse]<br>[INFO] -------------= -----------------------------------------------------------<br>[INFO] Prepa= ring eclipse:eclipse<br>[INFO] No goals needed for project - skipping<br>[I= NFO] [eclipse:eclipse]<br>[INFO] Using as WTP server : null<br>[INFO] Addin= g default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER<br>= [INFO] Using source status cache: /root/Desktop/src/eclipse/target/mvn-ecli= pse-cache.properties<br>[INFO] Wrote settings to /root/Desktop/src/eclipse/= dependencies/opennms-hibernate/.settings/org.eclipse.jdt.core.prefs<br>[INF= O] ------------------------------------------------------------------------= <br>[ERROR] BUILD ERROR<br>[INFO] -----------------------------------------= -------------------------------<br>[INFO] Unable to write to file: /root/De= sktop/src/eclipse/dependencies/opennms-hibernate/.settings/org.eclipse.jdt.= core.prefs<br>[INFO] ------------------------------------------------------= ------------------<br><br><br><br>Am I using the correct version or may be = missing something else?<br><br>Thanks=2C<br>honia<br><div><font color=3D"#f= f0000"><strong> <div><font color=3D"#ff0000"><strong></strong></font> =3B</div></strong= ></font></div><br><br><br><br>>=3B Date: Fri=2C 20 Mar 2009 13:38:15 -040= 0<br>>=3B From: [email protected]<br>>=3B To: [email protected]= ceforge.net<br>>=3B Subject: Re: [opennms-devel] Building OpenNMS to use = in Eclipse - Failed:cannot find symbol<br>>=3B <br>>=3B Honia A wrote:<= br>>=3B <br>>=3B >=3B /root/Desktop/src/eclipse/opennms-webapp/src/ma= in/java/org/opennms/web/inventory/InventoryLayer.java:[398=2C48]<br>>=3B = >=3B cannot find symbol<br>>=3B >=3B symbol : method getExpirationDa= te()<br>>=3B >=3B location: class org.opennms.rancid.InventoryNode<br>&= gt=3B <br>>=3B ...<br>>=3B <br>>=3B >=3B 1) At this point=2C I am r= eally clueless and was wondering if someone<br>>=3B >=3B could please h= elp me with this.<br>>=3B <br>>=3B There have been updates to rancid-ap= i in the last few hours=2C I believe=2C<br>>=3B which could be what you'r= e running into. I've just deployed a new<br>>=3B version to the snapshot= repository=2C give it another shot.<br>>=3B <br>>=3B You might need to= delete ~/.m2/repository/org/opennms/rancid-api for<br>>=3B maven to noti= ce it needs to grab the new version.<br>>=3B <br>>=3B >=3B 2) Also=2C= please let me know if I had to get the trunk (unstable) version<br>>=3B = >=3B or I could just get the stable version? So my question is=2C will th= at be<br>>=3B >=3B possile to get the stable version built for Eclipse?= <br>>=3B <br>>=3B Yup=2C the 1.6 testing version is available through:<= br>>=3B <br>>=3B https://opennms.svn.sourceforge.net/svnroot/opennms/op= ennms/branches/1.6-testing<br>>=3B <br>>=3B <br>>=3B <br>>=3B -- <b= r>>=3B Benjamin Reed<br>>=3B The OpenNMS Group<br>>=3B http://www.ope= nnms.org/<br>>=3B <br>>=3B <br><br /><hr />Hotmail=AE is up to 70% fast= er. Now good news travels really fast. <a href=3D'http://windowslive.com/on= line/hotmail?ocid=3DTXT_TAGLM_WL_HM_70faster_032009' target=3D'_new'>Find o= ut more.</a></body> </html>= --_5d10a255-0df2-4ae7-831f-cd23c323be07_-- --===============8467410364517450440== 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 --===============8467410364517450440== 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 --===============8467410364517450440==--