Thanks Benjamin,
1) I searched for rancid-api on my machine but it wasn't anywhere to be
found...
2) While ago, I got the opennms-1.6.1.tar.gz (can't remember if i used the
branch command or tagged one), so you're saying I can build this version for
eclipse?
Because that failed, too when I tried to build it for Eclipse. This is how I
tried to build it:
- ./build.sh install ----> SUCCESSFUL
- ./build.sh clean -----> SUCCESSFUL
-./build.sh eclipse:eclipse ---> FAILED
[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_CONTAINER
[INFO] Using source status cache:
/root/Desktop/src/eclipse/target/mvn-eclipse-cache.properties
[INFO] Wrote settings to
/root/Desktop/src/eclipse/dependencies/opennms-hibernate/.settings/org.eclipse.jdt.core.prefs
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to write to file:
/root/Desktop/src/eclipse/dependencies/opennms-hibernate/.settings/org.eclipse.jdt.core.prefs
[INFO] ------------------------------------------------------------------------
Am I using the correct version or may be missing something else?
Thanks,
honia
> Date: Fri, 20 Mar 2009 13:38:15 -0400
> From: ran...@opennms.org
> To: opennms-devel@lists.sourceforge.net
> Subject: Re: [opennms-devel] Building OpenNMS to use in Eclipse -
> Failed:cannot find symbol
>
> Honia A wrote:
>
> > /root/Desktop/src/eclipse/opennms-webapp/src/main/java/org/opennms/web/inventory/InventoryLayer.java:[398,48]
> > cannot find symbol
> > symbol : method getExpirationDate()
> > location: class org.opennms.rancid.InventoryNode
>
> ...
>
> > 1) At this point, I am really clueless and was wondering if someone
> > could please help me with this.
>
> There have been updates to rancid-api in the last few hours, I believe,
> which could be what you're running into. I've just deployed a new
> version to the snapshot repository, give it another shot.
>
> You might need to delete ~/.m2/repository/org/opennms/rancid-api for
> maven to notice it needs to grab the new version.
>
> > 2) Also, 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, will that be
> > possile to get the stable version built for Eclipse?
>
> Yup, the 1.6 testing version is available through:
>
> https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/branches/1.6-testing
>
>
>
> --
> Benjamin Reed
> The OpenNMS Group
> http://www.opennms.org/
>
>
_________________________________________________________________
HotmailĀ® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009
------------------------------------------------------------------------------
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
_______________________________________________
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