Don't worry about my previous message, Jody saved the day. I did however manage to figure out how to eclipse my projects
with maven 2!

To Eclipse a project use: mvn eclipse:eclipse

Also, I am getting the same stack trace as David, and it is probably because there are no  .prj files for some of the shape files in the gt2-sample-data-2.2-SNAPSHOT.jar.

Can someone perhaps send me those .prj files so I can test if that is the problem?

Thanks
Oliver



On 3/24/06, Oliver Loe <[EMAIL PROTECTED] > wrote:
Hi David

I am a bit confused and the Jode maestro aint here to clarify.. could you clarify this for me...
I am busy with the shape file tests that causes maven 2.0 to fail when doing a maven install. I need to close all the Filestreams so that we dont get exceptions when running test..

Now my problem comes with which version or branch should I be using...
Should I use
==> trunk or
==> 2.1.x or
==> 2.2.x

Thanks...
Oliver



On 3/23/06, David Blasby <[EMAIL PROTECTED] > wrote:
I have a few patches I just did for 2.1.x - the bugs are still in 2.2.x
and trunk.  I'd like to move the patches forward, but I'm unable to
build 2.2.x.

I'm also stalled moving geoserver from 2.1.x to 2.2.x and have been for
a while.  I'm actually using geoserver quite a bit; this is prime
testing (and fixing) time that I'd like to be putting to 2.2.x, but its
going to 2.1.x.

Is anyone working on this?  I took a quick look, but was unable to
figure out what was going wrong.

dave


Testcase:
testConcurrentReadWrite(org.geotools.data.shapefile.ShapefileReadWriteTest):
Caused an ERROR
C:\DOCUME~1\DAVIDB~1\LOCALS~1\Temp\test-shp63644.prj (The requested
operation cannot be performed on a file with a user-mapped section open)
java.io.FileNotFoundException:
C:\DOCUME~1\DAVIDB~1\LOCALS~1\Temp\test-shp63644.prj (The requested
operation cannot be performed on a file with a user-mapped section open)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at
org.geotools.data.shapefile.ShapefileDataStore.copyAndDelete (ShapefileDataStore.java:1083)
    at
org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:778)
    at
org.geotools.data.shapefile.ShapefileReadWriteTest.test(ShapefileReadWriteTest.java :164)
    at
org.geotools.data.shapefile.ShapefileReadWriteTest.test(ShapefileReadWriteTest.java:153)
    at
org.geotools.data.shapefile.ShapefileReadWriteTest.testConcurrentReadWrite(ShapefileReadWriteTest.java :133)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)


There's also a bunch of these warnings:

Mar 23, 2006 11:27:35 AM org.geotools.data.shapefile.dbf.DbaseFileHeader
warn
WARNING: Field Length for SAMP_POP set to 19 Preserving length, but
should be set to Max of 18 for dbase III specification.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Reply via email to