Re: [opennms-devel] OpenNMS Web-App project in Eclipse

Honia A <[email protected]> Wed, 28 Jan 2009 13:00:08 -0500
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
Shahzada,
 
Thanks for the info, I really appreciate it. In answer to your questions:
 
1) No, I didn't build it using the eclipse command, this is how I built it: ./build.sh install assembly:directory-inlineand it built it in a directory name target. 
 
And let me mention this again that I got a tagged version and not the trunk, this is the command I ran:
svn co https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/tags/opennms-1.6.1
You think I should have gotten the trunk instead?2) I tried importing the cose base itself but Eclipse can't find any project to list...
 
What do you suggest I should do? Please let me know.
 
Thanks

 > Date: Tue, 27 Jan 2009 21:03:25 +0000> From: [email protected]> To: [email protected]> Subject: Re: [opennms-devel] OpenNMS Web-App project in Eclipse> > > 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 
_________________________________________________________________
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_012009

------------------------------------------------------------------------------
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