On Wed, Dec 1, 2010 at 10:01 AM, andrea antonello <andrea.antone...@gmail.com> wrote: > Hi, I have a problem with the epsg database creation. > > I am getting an exception like this: > java.sql.SQLException: Table not found: EPSG_VERSIONHISTORY in > statement [SELECT VERSION_NUMBER, VERSION_DATE FROM > epsg_versionhistory] > at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source) > ... > > So I figured out I would try with h2 and made a straight dependency on > gt-epsg-h2. The problem was the same, so I manually removed the > gt-epsg-hsql from the build path. That then worked properly. > So I made a dependency tree to understand who is pulling me the hsql, > which I found to be: > ----------------------- > [INFO] +- org.geotools:gt-arcgrid:jar:2.7-SNAPSHOT:compile > [INFO] | +- org.geotools:gt-epsg-hsql:jar:2.7-SNAPSHOT:compile > [INFO] | \- it.geosolutions.imageio-ext:imageio-ext-arcgrid:jar:1.0.8:compile > [INFO] | \- > it.geosolutions.imageio-ext:imageio-ext-customstreams:jar:1.0.8:compile > ----------------------- > > > So my questions now are: > - I assume it should work also with hsql, any idea what I might be missing?
Not really. Normally things do break when one has more than one gt-epsg-*.jar file in the classpath > - in case they are both there, what makes decide what to pick first? If both are there... boom! > - is it right that the arcgrid module pulls the epsg hsql jar? Nope, it is not right imho. It should just import it as a test dependency Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel