Hi there

I have a project that uses geotools and it runs ok when compiling and
running within my netbeans ide.
However when I wrap up all the jars into a single jar, ie all geotools jars
are included in this, and run it, there is a problem where I create a new
SimpleFeatureType a SchemaException occurs

The line is
SimpleFeatureType  myFeatureType =
DataUtilities.createType("LatLonLocation",
              "location:Point:srid=4326," +
              "SMIOBJID:Integer," +
              "SMIOBJCOL:Integer," +
              "SMIOBJVIS:Boolean," +
              "SMIOBJSIZE:Integer," +
              "SMIOBJPIC:Boolean," +
              "SMIOBJTYPE:Integer," +
              // label fields
              "LBLCAPTION:String," +
              "LBLFNTNAME:String," +
              "LBLBOLD:Boolean," +
              "LBLUNDLINE:Boolean," +
              "LBLItalic:Boolean," +
              "LBLSIZE:Integer," +
              "LBLROT:Double," +
              "LBLCOL:Integer," +
              "LBLXOFFSET:Double," +
              "LBLYOFFSET:Double," +
              "LBLALGNHOR:Integer," +
              "LBLALGNVER:Integer");

Does anyone know why this should occur? I don't understand why there should
be a problem as all the geotools jars are contained in the single jar
produced in the 'package-for-store' build by netbeans.

Thanks for any help

Tarik
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to