|
From: Jeff Y. <je...@io...> - 2005-04-24 12:38:39
|
David, #1 is definitely not the problem, and #2 definitely is, however I don't know what to do about it. The .classpath / .project generation script sets a classpath variable for geoapi-SNAPSHOT.jar. Looking at my Maven repository, this .jar has not been updated since November. Could it be that the script is out of date? I made sure that I had the latest one from SVN when I ran it. <time passes> I manually updated my GEOAPI classpath variable to the April version which cut my error count to 22. Most of these errors are in plugins that do not compile according to my daily e-mail. The last is an unreachable catch block in XMLSAXHandler. I guess this is just Eclipse being picky. For now I just fixed the code locally. So, what is the deal with GEOAPI? I vaguely remember this coming up months ago, but I do not remember seeing anything about it in the developer's guide. -Jeff After investigating more closely, at least part of the problem is GEOAPI. geo...@li... wrote: >Message: 2 >Date: Sat, 23 Apr 2005 21:48:35 -0700 >From: David Zwiers <dav...@gm...> >Reply-To: David Zwiers <dav...@gm...> >To: Jeff Yutzler <je...@io...> >Subject: Re: [Geotools-devel] In anyone actually using Eclipse? >Cc: geo...@li... > >I also use Eclipse, and found that there are two things which can >cause my project to fail to build. > >1) I have not set the source level 1.4 for everything. This means I >get errors about the 'identifier' assert. > >2) a jar version has changed, and my .project file is out of date. >This would cause your case Jeff (maven will download the new jar from >the build script). To fix this you can either manually fix your >.project file (my choice) by removing the out of date jars, and adding >in the jars with new version numbers (same directory in your maven >repository, new file name). Option two is to close eclipse, run 'maven >build' and re-run the eclipse .project generation script. This will >replace you old eclipse projectfile with a new one from the maven >logs. > >Hope this helps, > >David > >On 4/23/05, Jeff Yutzler <je...@io...> wrote: > > >>Back in October, I successfully used Eclipse to do some Geotools >>development work. However, things no longer seem to be working. No >>matter what I do, when I open up my Geotools project in Eclipse, I get >>on the order of 300 errors, even though maven build works fine. My best >>guess is that the library references are out of date, but I do not know >>enough about the nuts and bolts of things to know for sure or to be able >>to rectify this any time soon. >>Any thoughts? >>=20 >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >>_______________________________________________ >>Geotools-devel mailing list >>Geo...@li... >>https://lists.sourceforge.net/lists/listinfo/geotools-devel >> >> >> |