Benjamin, DJ Gregor, 

Thanks for your replies. I was finally able to find a way to avoid that build 
problem.
Got version 1.6.2-1 stable downloaded and then followed the online instruction:

- ./build.sh install ----> Build Successful
-./build.sh clean ----> Build Successful
-./build.sh eclipse:eclipse ----> Build Successful

Added a new classpath variable called M2_REPO and set its value to 
root/.m2/repository.

(After this step, I looked under root directory as I'm guessing that was the 
home directory for user root and couldn't find a folder called .m2, even under 
hidden ones...)

Then imported them all into eclipse and did a project clean and ran into a 
bigger problem. 

Eclipse found 15294 errors and 300 warnings which I paste some of the errors 
here for your review:

_actionEventList cannot be resolved    
opennms-config/target/generated-sources/castor/org/opennms/netmgt/config/vacuumd
    ActionEvents.java    line 264    1237817647370    52599

_actionEventList cannot be resolved or is not a field    
opennms-config/target/generated-sources/castor/org/opennms/netmgt/config/vacuumd
    ActionEvents.java    line 294    1237817647372    52605

_actionList cannot be resolved or is not a field    
opennms-config/target/generated-sources/castor/org/opennms/netmgt/config/vacuumd
    Actions.java    line 170    1237817647314    52561


And many more... Not to mention that I can't run opennms-webapp on the server 
either, it shows an error message, something like there is nothing to be shown 
on the server...

Could you guys please help me find out the problem? I tried to follow the 
manual step by step and really have no clue why it failed.

Thanks in advance,
honia 



> Date: Fri, 20 Mar 2009 15:36: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:
> 
> > 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?
> 
> Ah, OK, if you're on windows, the point is the same, but I don't know
> the exact location.  :)  On unix, "~" means your home directory, so I
> would assume you have a homedir/.m2/ directory, or else maven is somehow
> configuration to use another location.
> 
> You can't have run maven and *not* had it put things *somewhere* --
> wherever that location is (it's easy to tell, it should be filled with
> hundreds of jar files in subdirectories), delete it to clear it out, so
> you can be sure you're getting the right stuff.
> 
> 
> -- 
> Benjamin Reed
> The OpenNMS Group
> http://www.opennms.org/
> 
> 

_________________________________________________________________
Get quick access to your favorite MSN content with Internet Explorer 8. 
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A
------------------------------------------------------------------------------
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

Reply via email to