Thanks Benjamin,
1- I sure will get the the newer version either 1.6.2 stable or the 1.6 testing
2- I looked for the .m2 directory and the only folders/references to Maven are
as follows:
- /root/Desktop/src/eclipse/maven/bin/m2
- /root/m2_repo (it's hidden) ---> I recall creating this when i get to the
step in the manual where it instruc to create a variable in eclipse software:
"Add a classpath variable called M2_REPO and set its value to <your home
dir>/.m2/repository. (Note: eclipse does not accept the '~' character)
"
The ~/.m2/repository doesn't event exist on my machine...it's weird...sue, let
me get the 1.6.2 and build that one but will running three build commands
mentioned in the manual be sufficient or i'll have to manually create that .m2
directory?
Thanks in advance,
honia
> Date: Fri, 20 Mar 2009 14:57:35 -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:
> > Thanks Benjamin,
> >
> > 1) I searched for rancid-api on my machine but it wasn't anywhere to be
> > found...
>
> Right, rancid-api is a separate "project" that's not in the main opennms
> source tree. It is available through maven though, so your build should
> pick it up.
>
> > 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?
>
> You should be able to, yes, as well as the 1.6-testing branch (which
> contains what will be come 1.6.3.)
>
> > 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] 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
>
> Weird, maybe something's messed up in your maven repo?
>
> Try removing ~/.m2/repository and get the latest source (1.6.2 tarball,
> or 1.6-testing from SVN) and give it another shot. It *should* work.
>
> --
> Benjamin Reed
> The OpenNMS Group
> http://www.opennms.org/
>
>
_________________________________________________________________
Express your personality in color! Preview and select themes for HotmailĀ®.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
------------------------------------------------------------------------------
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