Re: [opennms-devel] OpenNMS Web-App project in Eclipse
Shahzada Hatim Mushtaq <[email protected]> Tue, 27 Jan 2009 21:03:25 +0000
| Newsgroups | gmane.network.opennms.bugs,gmane.network.opennms.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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 ------------------------------------------------------------------------------ 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
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkl/dp0ACgkQOjLmOVOWEAT7PQCgylmsHOQRgNdWZUJKSAObIQzw E18An2lz+lvnKwqaj/pnflBSueDTxUyd =BZQA -----END PGP SIGNATURE-----