Re: Geotools in NetBeans IDE 7.2.1
Wade Chandler <[email protected]> Wed, 9 Jan 2013 07:55:34 -0500
| Newsgroups | gmane.comp.java.netbeans.user-interface,gmane.comp.java.netbeans.devel,gmane.comp.java.netbeans.j2ee,gmane.comp.java.netbeans.general,gmane.comp.java.netbeans.modules.javawebstart.devel |
|---|---|
| Message-ID | <CALiWaWn_2gtStp4uSe6D6H6-_u1wGQvxKZcQ0hW2t9qYrt8VOw__34658.1659549431$1357754675$gmane$org@mail.gmail.com> |
--14dae93b58e60383a304d2da94ec Content-Type: text/plain; charset=UTF-8 Part of your problem is you are starting with a sophisticated build tool, Maven. On top of learning Java and your IDE, NetBeans, you are learning a build tool. All things you will eventually need, but different components which are orthogonal to "learning Java". Have you programmed without the IDE yet? What about without a build tool? Now, if you must use the IDE right off, it may be easier to use Ant projects or NetBeans standard project types. At least you can use the IDEs notion of libraries to attach libraries you download without having to learn Maven on top. Now, I use Maven and it is good stuff to me, but you will be learning a lot about it before you get to running and building if you use libraries which are not in Maven Central or your local Maven repository. Anyways, you need to see if there is a repository where geotools artifacts are kept. Maybe they are in Central. If not or one doesn't exist, then you need to add the library to your local Maven repository. Then you need to add a dependency to your pom.xml file. Google bits of that and you will find what you need. Wade ================= Wade Chandler Software Engineer/Consultant www.wadechandler.com NetBeans Dream Team Member NetBeans Contributor www.netbeans.org On Jan 9, 2013 7:22 AM, "PARDHU D" <[email protected]> wrote: > Hi to all, > > I am using Windows XP (OS), NetBeans IDE 7.2.1 and apache-maven-3.0.4. I > am a new comer for java coding. I checked that maven was compiled > successfully (mvn version in command prompt). I got a problem while > creating maven project using geotools in NetBeans IDE 7.2.1. > > Off-course I already follow the steps in below link. > > " > http://docs.geotools.org/latest/userguide/tutorial/quickstart/netbeans.html > " > > I got a problem that is while creating maven project I did not get > Libraries folder. Here I attached one window which contains maven project > created by me. > > Initially my objective is to open a shape file into NetBeans IDE 7.2.1. > > Hope I will get a perfect solution. > > Regards, > D Pardhu > --14dae93b58e60383a304d2da94ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p>Part of your problem is you are starting with a sophisticated build tool= , Maven. On top of learning Java and your IDE, NetBeans, you are learning a= build tool. All things you will eventually need, but different components = which are orthogonal to "learning Java". Have you programmed with= out the IDE yet? What about without a build tool? Now, if you must use the = IDE right off, it may be easier to use Ant projects or NetBeans standard pr= oject types. At least you can use the IDEs notion of libraries to attach li= braries you download without having to learn Maven on top. Now, I use Maven= and it is good stuff to me, but you will be learning a lot about it before= you get to running and building if you use libraries which are not in Mave= n Central or your local Maven repository. </p> <p>Anyways, you need to see if there is a repository where geotools artifac= ts are kept. Maybe they are in Central. If not or one doesn't exist, th= en you need to add the library to your local Maven repository. Then you nee= d to add a dependency to your pom.xml file. Google bits of that and you wil= l find what you need.</p> <p>Wade</p> <p>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</p> <p>Wade Chandler<br> Software Engineer/Consultant<br> <a href=3D"http://www.wadechandler.com">www.wadechandler.com</a></p> <p>NetBeans Dream Team Member<br> NetBeans Contributor<br> <a href=3D"http://www.netbeans.org">www.netbeans.org</a></p> <div class=3D"gmail_quote">On Jan 9, 2013 7:22 AM, "PARDHU D" <= ;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<= br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div><div style=3D"font-size:12pt;font-family:times new roman,new york,time= s,serif"><div>Hi to all,</div><div><br></div><div style=3D"font-style:norma= l;font-size:16px;background-color:transparent;font-family:times new roman,n= ew york,times,serif"> I am using Windows XP (OS), NetBeans IDE 7.2.1 and apache-maven-3.0.4. I=20 am a new comer for java coding. I checked that maven was compiled=20 successfully (mvn version in command prompt). I got a problem while=20 creating maven project using geotools in NetBeans IDE 7.2.1.<br><br>Off-cou= rse I already follow the steps in below link.<br><br>"=C2=A0 <a href= =3D"http://docs.geotools.org/latest/userguide/tutorial/quickstart/netbeans.= html" target=3D"_blank">http://docs.geotools.org/latest/userguide/tutorial/= quickstart/netbeans.html</a>=C2=A0 "<br> <br>I got a problem that is while creating maven project I did not get Libr= aries folder<span style=3D"text-indent:0px;letter-spacing:normal;font-varia= nt:normal;text-align:left;font-style:normal;display:inline;font-weight:norm= al;float:none;line-height:21px;text-transform:none;font-size:14px;white-spa= ce:normal;font-family:'Lucida Grande','Lucida Sans Unicode'= ,Geneva,Verdana,sans-serif;word-spacing:0px">. </span>Here I attached one w= indow which contains maven project created by me.</div> <div style=3D"font-style:normal;font-size:16px;background-color:transparent= ;font-family:times new roman,new york,times,serif"><br></div><div style=3D"= font-style:normal;font-size:16px;background-color:transparent;font-family:t= imes new roman,new york,times,serif"> Initially my objective is to open a shape file into NetBeans IDE 7.2.1.<br>= </div><div style=3D"font-style:normal;font-size:16px;background-color:trans= parent;font-family:times new roman,new york,times,serif"><br>Hope I will ge= t a perfect solution.</div> <div style=3D"font-style:normal;font-size:16px;background-color:transparent= ;font-family:times new roman,new york,times,serif"><br></div><div style=3D"= font-style:normal;font-size:16px;background-color:transparent;font-family:t= imes new roman,new york,times,serif"> Regards,</div>D Pardhu</div></div></blockquote></div> --14dae93b58e60383a304d2da94ec--