With a few tweaks to geoapi TypeFactory and the fm implementation i have a build compiling (still no love on tests) with the following fm modules:

sample-data
referencing
coverage
api
main

Can someone please update both geoapi and fm, rebuild and verify for me. Thanks.

I also removed the .classpath files that were lurking around since now with a runnable maven build we can rely on mvn eclipse:eclipse.

-Justin

ps. Having to switch between java 1.5 and 1.4 between geoapi and FM is a bit of a pain. I know that FM is buildable with java 1.5 but I have found in the past that building a 1.4 project with 1.5 leads to problems.

Alessio Fabiani wrote:
Hi list,
now all compile on my side even if many tests fail.

What I have done is:
- compiled the geoapi trunk (2.1-SNAPSHOT) with Maven2 and Java1.5 (it
works, but at the end I have used Cory jars for gt2-fm) [OK]
- imported projects gt2-api, coverage, main and referencing in eclipse with
Java1.4 + JAI using geoapi 2.1-SNAPSHOT + nogenerics jars [OK]
- corrected two tests on org.geotools.filter.function package:

FunctionTestSupport.java (117) :
-----------------------------------------------
       AssociationType association = factory.createAssociationType(
           Types.typeName("memberTypeAssociation"), FeatureType.class,
false, false,
           Collections.EMPTY_SET, null, null
       );

   with:

       AttributeType t4 =
factory.createAttributeType(Types.typeName("association"),
FeatureType.class, false, false, Collections.EMPTY_SET, null, null);
       AssociationType association = factory.createAssociationType(
           Types.typeName("memberTypeAssociation"), t4, false, false,
           Collections.EMPTY_SET, null, null
       );

QuantileFunctionTest.java (154):
-----------------------------------------------
  the same as before



--
---------------------------------------------------------
Alessio Fabiani
Software Engineer

http://afabiani.wordpress.com

---------------------------------------------------------


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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to