Gabriel and I just discuss making up a Constants class in the ArcSDE geotools plugin that contains the constants and use those constants rather than the constants in the Dummy jar. This will certainly fix this issue. However it can cause a problem if they every change the values of their constants. But It seems that we're having problem anyhow since we are referencing constants in the Dummy jars which need to be synced for things to work well anyhow. So I don't see that we're losing anything.
I'm going to do this work unless a better idea shows up by Monday. Jesse On 8-Dec-06, at 11:35 AM, Saul Farber wrote: > Hey all, > > I can confirm that there's a bug in the dummy_api resulting in the > following scenario: > > 1) You compile and install gt-2.2.x without modifying any poms > 2) You compile and install gs-1.4.x without modifying any poms > 3) You copy the gt2-arcsde-2.2.3-SNAPSHOT.jar file into the > gs-1.4.x/WEB-INF/lib folder > 4) You copy the jsde_sdk jars into the gs/WEB-INF/lib folder > > RESULT: > Any attempt to get data from the arcsde datastore results in a > Caused by: java.lang.NoSuchFieldError: SE_OPTIMIZE > at > org.geotools.data.arcsde.ArcSDEQuery.createSeQueryForFetch > (ArcSDEQuery.java:361) > error. > > > The current workaround is this: > > before starting step 1, change the plugins/arcsde/datastore/pom.xml > file > to NOT reference the dummy api, and INSTEAD reference the > com.esri.jsde_jpe_sdk, com.esri.jsde_concurrent and com.esri.jsde_sdk > poms from the maven.geotools.fr site. They'll download just fine, and > then you can continue on and everything will work. > > I'll create a JIRA issue for this and figure out how to fix the dummy > api so that this doesn't happen. > > --saul > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
