> Today, I again followed the instruction of the first link:
> 
> - Opened Eclipse and created a new workspace
> - Added M2_REPO classpath variable and set its value to the path of my 
> repository directory
> 
Did you do the follwing?
>./build.sh eclipse:eclipse

As per my understanding this is same as calling 'mvn eclipse:eclipse'
(which is basically the maven command for creating an eclipse project)

But you will not be importing the target folder, but the code base it's self. 
If all things are done propely you should see many projects imported including 
opennms-jetty (others would include opennms-dao, opennms-daemon to name a few).

You can check more on maven from here
http://maven.apache.org/guides/mini/guide-ide-eclipse.html

Also make sure that you look into the project explorer and files tab just to 
make sure that project has been imported and you have correct perspective (Java 
or Java EE)

When the above build command is issued, it does not affect the target 
folder.Contents of that folder are a result of compilation. So if you want to 
make a eclipse project of that folder, it would have tobe done manually (and 
probably not through maven). So in my opnion, changing in the code base and 
then building webapp is better idea.

-- 
Shahzada Hatim Mushtaq
Open Source Software Developer &
Graduate Student - Software Engineering and Technology 
Chalmers University of Technology 
Götebog, Sweden
Mobile: +46-76-5825564
Web:    http://hatimonline.com
IRC:    geoaxis <irc.freenode.net>
Skype:  hatimonline 

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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