Part of the problem is I think we havent been uploading the jar properly. From what I understand the procedure is:

1. upload new jar
2. uplodate maven-metadata-local.xml
3. regenerate md5sum

if wrong please inform.

-Justin

Cory Horner wrote:

Jody Garnett wrote:

Well things are moving a bit faster now that I have Justin right here to bother.

Cory I saw where you were stuck writing a feature collection test and we have responded by: - removing the power set of builders (FeatureBuilder, FeatureCollectionBuilder, SmalFishBuilder, etc...)
- producing a single TypeBuilder

One part you were missing was the use of the TestContainer to simplify the work you needed to do. I have a TypeBuilderTest that would ask you to review it and ask questions.


We only have a few minutes to contribute these days... but that should increase near the end of the week.

I managed to get a timestamped geoapi uploaded to martin's server today, "mvn deploy"... wagon-webdav is out, but my patience expired trying to configure it (no docs).

We really should use a timestamped jar -- -2.1-SNAPSHOT doesn't really give any hints, and it usually doesn't get updated when people make changes to geoapi. Once the build is fixed, i'm going to add the fm branch to our build box, so the hatemail will ensue when someone breaks the build/doesn't update the jar.

At the moment, i'm getting the following errors (java 1.4):

c:\java\geotools\fm\module\main\test\org\geotools\feature\type\FeatureCollectionTypeImplTest.java:[25,23] cannot resolve symbol symbol : constructor FeatureCollectionTypeImpl (org.opengis.feature.type.TypeName,java.util.Collection,<nulltype>,<nulltype>,boolean,java.util.Set,<nullty
pe>,<nulltype>)
location: class org.geotools.feature.type.FeatureCollectionTypeImpl

(erasure needs to account for a generic?)

...and under java 1.5:

referencing.... testDescriptors(org.geotools.parameter.ImagingParametersTest) Time elapsed: 0.687 sec <<< ERROR!

java.lang.UnsupportedOperationException: Clone not supported.
at org.geotools.parameter.ImagingParameters.clone(ImagingParameters.java:285) at org.geotools.parameter.ImagingParametersTest.testDescriptors(ImagingParametersTest.java:135)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at junit.framework.TestCase.runTest(TestCase.java:154)
       at junit.framework.TestCase.runBare(TestCase.java:127)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242) at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216) at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:126)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)
Caused by: java.lang.IllegalAccessException: Field is final
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:59)
       at java.lang.reflect.Field.set(Field.java:519)
at org.geotools.parameter.ImagingParameters.clone(ImagingParameters.java:281)
       ... 28 more


Cheers,
Cory.


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


--
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to