On Tue, Jun 21, 2011 at 8:45 AM, Michael Bedward <[email protected]> wrote: > Hi Jody, > >> I think it has the gt-wms dependency in order to have a dialog to choose wms >> layers? > > Ah yes, the WMSChooser dialog > >> We could mark that "as provided" (so the dialog would only work if >> gt-wms was around ....) > > Is there a way of doing that safely ?
I guess it could be done by doing a "Class.forName" for the class name, stated as a String, if that fails you disable the WMS portion of the demo so that the JVM never tries to load those classes Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
