4.0.0org.gvsigorg.gvsig.desktoppom2.0.362${project.artifactId}
This is part of the sources of "gSIG desktop" application.
gvSIG is a Geographic Information System (GIS), that is, a desktop application
designed for capturing, storing, handling, analyzing and deploying any kind of
referenced geographic information in order to solve complex management and planning
problems. gvSIG is known for having a user-friendly interface, being able to access
the most common formats, both vector and raster ones. It features a wide range of
tools for working with geographic-like information (query tools, layout creation,
geoprocessing, networks, etc.), which turns gvSIG into the ideal tool for users
working in the land realm.
GPL-3.0-or-laterhttp://www.gnu.org/licenses/gpl.htmlrepo
"GPL" stands for "General Public License". The most widespread such
license is the GNU General Public License, or GNU GPL for short.
This can be further shortened to "GPL", when it is understood that
the GNU GPL is the one intended.
gvSIG Associationhttp://www.gvsig.com/scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.362scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.362scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.362gvsig-public-http-repositorygvSIG maven public HTTP repositoryhttp://devel.gvsig.org/m2repo/j2setruedailywarntruedailywarncentralCentral Repositoryhttps://repo.maven.apache.org/maven2defaultfalsegvsig-repositorydav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}gvsig-repositorygvSIG maven repositorydav:https://devel.gvsig.org/m2repo/j2sefalsegvsig-repositorygvSIG maven repositorydav:https://devel.gvsig.org/m2repo/j2sefalseredminehttps://devel.gvsig.org/redmine/projects/gvsig-desktopUser Listhttp://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarioshttp://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuariosgvsig_usuarios@listserv.gva.eshttp://www.gvsig.org/web/community/mailing-lists/gvsig-nabblehttp://www.mail-archive.com/gvsig_usuarios@runas.cap.gva.eshttp://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsigDeveloper Listhttp://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladoreshttp://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladoresgvsig_desarrolladores@listserv.gva.eshttp://www.gvsig.org/web/community/mailing-lists/gvsig-nabblehttp://www.mail-archive.com/gvsig_desarrolladores@runas.cap.gva.eshttp://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsigInternational Listhttp://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacionalhttp://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacionalgvsig_internacional@listserv.gva.eshttp://www.gvsig.org/web/community/mailing-lists/gvsig-nabblehttp://www.mail-archive.com/gvsig_internacional@runas.cap.gva.eshttp://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsigorg.gvsigorg.gvsig.tools${gvsig.tools.version}pomimportorg.n5252n-wps-config1.0.1net.opengis52n-wps-xml1.0.0org.jzkita2j-runtime2.0.9org.jzkita2j2.0.9net.swingamic-utilunknownorg.apache.antant1.8.1org.apache.antant-apache-oro1.8.1ant-contribant-contrib1.0b3antantorg.apache.antant-launcher1.8.1org.apache.antant-nodeps1.8.1org.tigris.antelopeantelopetasks3.2.10com.sardakantform2.0com.fifesoftautocomplete2.5.7org.apache.xmlgraphicsbatik-awt-util1.7org.apache.xmlgraphicsbatik-bridge1.7org.apache.xmlgraphicsbatik-ext1.7org.apache.xmlgraphicsbatik-gui-util1.7org.apache.xmlgraphicsbatik-gvt1.7org.apache.xmlgraphicsbatik-script1.7org.apache.xmlgraphicsbatik-xml1.7org.apache.xmlgraphicsbatik-anim1.7org.apache.xmlgraphicsbatik-css1.7org.apache.xmlgraphicsbatik-dom1.7org.apache.xmlgraphicsbatik-js1.7org.apache.xmlgraphicsbatik-parser1.7org.apache.xmlgraphicsbatik-svg-dom1.7bsfbsf2.3.0-rc1org.apache.bsfbsf-api3.1org.apache.bsfbsf-utils3.1bshbsh2.0b4castorcastor0.9.5.3commons-beanutilscommons-beanutils1.6commons-dbcpcommons-dbcp1.2.2commons-codeccommons-codec1.6commons-collectionscommons-collections3.2.2org.apache.commonscommons-collections44.1org.apache.commonscommons-compress1.11org.apache.solrsolr-commons-csv3.5.0commons-httpclientcommons-httpclient2.0.2commons-clicommons-cli1.4commons-langcommons-lang2.6org.apache.commonscommons-math2.2commons-configurationcommons-configuration1.10commons-loggingcommons-logging1.1.1commons-loggingcommons-logging1.1.1apicommons-poolcommons-pool1.6org.apache.commonscommons-text1.6org.dspacecql-java1.0easymockeasymockclassextension1.2flanaganflanagan20090616org.opengisgeoapi2.0geojavageojavaunknownorg.geonamesgeonames1.0java5org.codehaus.groovygroovy-all2.4.12org.geotoolsgt2-legacy2.2-RC2org.geotoolsgt2-main2.2.2org.geotoolsgt2-referencing2.2-RC2hsqldbhsqldb1.8.0.10org.ini4jini4j0.5.1com.lowagieitext2.1.7javax.mediajai_core1.1.3javax.mediajai_codec1.1.3gov.nist.mathjamaunknownjavax.helpjavahelp2.0.05org.glassfishjavax.json1.0.4com.toedterjcalendar1.3.2jfreejcommon1.0.12com.github.lespaul361JCommunique2.0.0jdomjdom1.0org.gnujel2.0.1org.nfunkjep2.4.0jfreejfreechart1.0.7org.jfreejfreechart1.0.14org.jgrafjgraf0.0.1net.sfjgraph5.10.1.5net.sfjgridshiftapi1.0com.jidesoftjide-oss3.6.18com.sunjimi1.1joda-timejoda-time1.6org.jopendocumentjOpenDocument1.3org.jpedaljpedal_lgpl4.37b36org.jrubyjruby1.5.6rhinojs1.6R2net.sfjsiunknownorg.jsonjson20180130javax.unitsjsr1080.01com.vividsolutionsjts1.13junitjunit4.11jwizardcomponentjwizardcomponent1.2.2jwizardcomponentjwizardcomponent-0i18n1.2.2.1org.python${jython.artifactId}2.7.1org.jzkitjzkit2-core2.0.0org.jzkitjzkit2-z39502.0.0org.jzkitjzkit2-origin2.0.0log4jlog4j1.2.14com.googlecode.log4jdbclog4jdbc1.2com.ostermillerostermillerutils1.4.3org.mapdbmapdb3.0.6mysqlmysql-connector-java5.1.6es.unexsextante0.6.0es.unexsextante_gui0.6.0es.unexsextante_wps0.6.0es.unexlibMath0.6.0es.unexlibDocEngines0.6.0org.apache.directory.studioorg.apache.commons.pool1.6org.osgeoproj4j0.1.0com.fifesoftrsyntaxtextarea2.6.1com.fifesoftrstaui2.5.7silsil0.43b-am1net.sf.smcsmc4.3soapsoap2.3spatialindexspatialindexunknownorg.springframeworkspring1.2.8net.sfsqljep0.2.1net.sf.supercsvsuper-csv2.1.0org.tmatesoft.svnkitsvnkit1.3.3org.tmatesoft.svnkitsvnkit-cli1.3.3org.swinglabsswing-layout1.0.3tablelayoutTableLayout20050920info.clearthoughtTableLayout-bin-jdk1.52007-04-21net.sourceforge.thinletthinlet2005-03-28gnu.trovetrove0.1.8java3dvecmath1.3.1org.apachexbean2.2.0xercesxercesImpl2.11.0xml-apisxml-apis1.4.01xml-apisxml-apis-ext1.3.04xmlpullxmlpull1.1.3.1zqlzqlunknownorg.gvsigorg.gvsig.jdk.v1_61.0.1org.gvsigorg.gvsig.jdk.v1_41.0.0org.gvsig.externalorg.gvsig.external.jump1.0.0org.gvsigorg.gvsig.proj.lib.api${gvsig.proj.version}org.gvsigorg.gvsig.proj.lib.proj4j${gvsig.proj.version}org.gvsigorg.gvsig.proj.swing.api${gvsig.proj.version}org.gvsigorg.gvsig.proj.swing.impl${gvsig.proj.version}org.gvsigorg.gvsig.projection.api${gvsig.projection.api.version}org.gvsigorg.gvsig.about.api2.0.362org.gvsigorg.gvsig.about.impl2.0.362org.gvsigorg.gvsig.metadata.lib.basic.api2.0.362org.gvsigorg.gvsig.metadata.lib.basic.impl2.0.362org.gvsigorg.gvsig.metadata.swing.basic.api2.0.362org.gvsigorg.gvsig.metadata.swing.basic.impl2.0.362org.gvsigorg.gvsig.projection.cresques.impl2.0.362org.gvsigorg.gvsig.projection.cresques.ui2.0.362org.gvsigorg.gvsig.andami2.0.362org.gvsigorg.gvsig.app2.0.362org.gvsigorg.gvsig.ui2.0.362org.gvsigorg.gvsig.basicformats2.0.362org.gvsigorg.gvsig.fmap.control2.0.362org.gvsigorg.gvsig.fmap.mapcontext.api2.0.362org.gvsigorg.gvsig.fmap.mapcontext.impl2.0.362org.gvsigorg.gvsig.fmap.mapcontext.operationERRORorg.gvsigorg.gvsig.fmap.dal.api2.0.362org.gvsigorg.gvsig.fmap.dal.spi2.0.362org.gvsigorg.gvsig.fmap.dal.impl2.0.362org.gvsigorg.gvsig.fmap.dal.impl2.0.362test-jartestorg.gvsigorg.gvsig.fmap.dal.api2.0.362test-jartestorg.gvsigorg.gvsig.fmap.dal.db.lib2.0.362org.gvsigorg.gvsig.h2spatial.h2gis132.provider2.0.362org.gvsigorg.gvsig.fmap.dal.db.jdbc2.0.362org.gvsigorg.gvsig.fmap.dal.db.jdbc2.0.362testtest-jarorg.gvsigorg.gvsig.fmap.dal.db.mdb2.0.362org.gvsigorg.gvsig.fmap.dal.file.lib2.0.362org.gvsigorg.gvsig.fmap.dal.file.dbf2.0.362org.gvsigorg.gvsig.fmap.dal.file.csv2.0.362org.gvsigorg.gvsig.fmap.dal.file.shp2.0.362org.gvsigorg.gvsig.fmap.dal.swing.api2.0.362org.gvsigorg.gvsig.fmap.dal.swing.impl2.0.362org.gvsigorg.gvsig.newlayer.lib.api2.0.362org.gvsigorg.gvsig.newlayer.lib.api2.0.362test-jartestorg.gvsigorg.gvsig.newlayer.lib.impl2.0.362org.gvsigorg.gvsig.newlayer.prov.jdbc2.0.362org.gvsigorg.gvsig.newlayer.prov.file2.0.362org.gvsigorg.gvsig.newlayer.prov.shape2.0.362org.gvsigorg.gvsig.newlayer.prov.csv2.0.362org.gvsigorg.gvsig.raster.lib.buffer.api2.0.362org.gvsigorg.gvsig.raster.lib.buffer.spi2.0.362org.gvsigorg.gvsig.raster.lib.buffer.impl2.0.362org.gvsigorg.gvsig.raster.lib.legend.api2.0.327-SNAPSHOTorg.gvsigorg.gvsig.raster.lib.legend.spi2.0.327-SNAPSHOTorg.gvsigorg.gvsig.raster.lib.legend.impl2.0.327-SNAPSHOTorg.gvsigorg.gvsig.fmap.mapcontext.swing.api2.0.362org.gvsigorg.gvsig.fmap.mapcontext.swing.impl2.0.362org.gvsigorg.gvsig.fmap.dal.tilecache.raster2.0.362org.gvsigorg.gvsig.raster.legend.tilecache2.0.362org.gvsigorg.gvsig.raster.tools.lib.api2.0.362org.gvsigorg.gvsig.raster.tools.lib.impl2.0.362org.gvsigorg.gvsig.raster.tools.swing.api2.0.362org.gvsigorg.gvsig.raster.tools.swing.impl2.0.362org.gvsigorg.gvsig.raster.swing.buffer.api2.0.362org.gvsigorg.gvsig.raster.swing.buffer.impl2.0.362org.gvsigorg.gvsig.raster.legend.swing.api2.0.362org.gvsigorg.gvsig.raster.legend.swing.impl2.0.362org.gvsigorg.gvsig.raster.legend.lib.api2.0.327-SNAPSHOTorg.gvsigorg.gvsig.raster.legend.lib.impl2.0.327-SNAPSHOTorg.gvsigorg.gvsig.raster.legend.lib.spi2.0.327-SNAPSHOTorg.gvsigorg.gvsig.raster.legend.imageio2.0.362org.gvsigorg.gvsig.fmap.dal.file.imageio2.0.362org.gvsigorg.gvsig.fmap.dal.file.png2.0.362org.gvsigorg.gvsig.fmap.dal.file.jpg2.0.362org.gvsigorg.gvsig.fmap.dal.file.jp22.0.362org.gvsigorg.gvsig.fmap.dal.file.tiff2.0.362org.gvsigorg.gvsig.fmap.dal.file.bsq2.0.362org.gvsigorg.gvsig.symbology.lib.api2.0.362org.gvsigorg.gvsig.symbology.lib.impl2.0.362org.gvsigorg.gvsig.symbology.swing.api2.0.362org.gvsigorg.gvsig.symbology.swing.impl2.0.362org.gvsigorg.gvsig.fmap.geometry.api2.0.362org.gvsigorg.gvsig.fmap.geometry.jts2.0.362org.gvsigorg.gvsig.fmap.geometry.operation.jts2.0.362org.gvsigorg.gvsig.tools.evaluator.sqljep2.0.362org.gvsigorg.gvsig.compat.api2.0.362org.gvsigorg.gvsig.compat.se2.0.362org.gvsigorg.gvsig.remoteclient2.0.362org.gvsigorg.gvsig.i18n2.0.362org.gvsigorg.gvsig.utils2.0.362org.gvsigorg.gvsig.annotation.lib.api2.0.362org.gvsigorg.gvsig.annotation.lib.impl2.0.362org.gvsigorg.gvsig.annotation.swing.api2.0.362org.gvsigorg.gvsig.annotation.swing.impl2.0.362org.gvsigorg.gvsig.expressionevaluator.lib.api2.0.362org.gvsigorg.gvsig.expressionevaluator.lib.impl2.0.362org.gvsigorg.gvsig.expressionevaluator.geometry.lib.api2.0.362org.gvsigorg.gvsig.expressionevaluator.geometry.lib.impl2.0.362org.gvsigorg.gvsig.expressionevaluator.time.lib.impl2.0.362org.gvsigorg.gvsig.expressionevaluator.swing.api2.0.362org.gvsigorg.gvsig.expressionevaluator.swing.impl2.0.362org.gvsigorg.gvsig.temporarystorage.lib.api2.0.362org.gvsigorg.gvsig.temporarystorage.lib.impl2.0.362org.gvsigorg.gvsig.exportto.lib.api2.0.362org.gvsigorg.gvsig.exportto.lib.api2.0.362test-jartestorg.gvsigorg.gvsig.exportto.lib.impl2.0.362org.gvsigorg.gvsig.exportto.swing.api2.0.362org.gvsigorg.gvsig.exportto.swing.impl2.0.362org.gvsigorg.gvsig.exportto.swing.prov.jdbc2.0.362org.gvsigorg.gvsig.exportto.swing.prov.shape2.0.362org.gvsigorg.gvsig.exportto.swing.prov.dbf2.0.362org.gvsigorg.gvsig.exportto.swing.prov.csv2.0.362org.gvsigorg.gvsig.installer.swing.api2.0.362org.gvsigorg.gvsig.installer.swing.impl2.0.362org.gvsigorg.gvsig.installer.lib.api2.0.362org.gvsigorg.gvsig.installer.lib.spi2.0.362org.gvsigorg.gvsig.installer.lib.impl2.0.362org.gvsigorg.gvsig.installer.prov.plugin2.0.362org.gvsigorg.gvsig.geodb.app.mainplugin2.0.362org.gvsigorg.gvsig.app.document.table.app.mainplugin2.0.362org.gvsigorg.gvsig.daltransform.app.mainplugin2.0.362org.gvsigorg.gvsig.daltransform.app.mainplugin2.0.362test-jartestorg.gvsigorg.gvsig.daltransform.app.join2.0.362org.gvsigorg.gvsig.daltransform.app.eventtheme2.0.362org.gvsigorg.gvsig.app.mainplugin2.0.362org.gvsigorg.gvsig.annotation.app.mainplugin2.0.362org.gvsigorg.gvsig.centerviewpoint.app.mainplugin2.0.362org.gvsigorg.gvsig.coreplugin.app.mainplugin2.0.362org.gvsigorg.gvsig.datalocator.app.mainplugin2.0.362org.gvsigorg.gvsig.exportto.app.mainplugin2.0.362org.gvsigorg.gvsig.installer.app.mainplugin2.0.362org.gvsigorg.gvsig.i18n.app.mainplugin2.0.362org.gvsigorg.gvsig.selectiontools.app.mainplugin2.0.362org.gvsigorg.gvsig.geometrymeasurement.app.mainplugin2.0.362org.gvsigorg.gvsig.newlayer.app.mainplugin2.0.362org.gvsigorg.gvsig.timesupport.lib.api2.0.362org.gvsigorg.gvsig.timesupport.lib.impl2.0.362org.gvsigorg.gvsig.timesupport.swing.api2.0.362org.gvsigorg.gvsig.timesupport.swing.impl2.0.362junitjunittestorg.apache.maven.wagonwagon-webdav-jackrabbit${wagon.webdav.jackrabbit.version}org.codehaus.mojoversions-maven-plugin${versions.maven.plugin.version}false
versions.maven.plugin.version,
maven.deploy.plugin.version,
maven.surefire.plugin.version,
maven.compiler.plugin.version,
maven.resources.plugin.version,
maven.javadoc.plugin.version,
maven.site.plugin.version,
maven.jar.plugin.version,
properties.maven.plugin.version,
gmaven.plugin.version,
maven.antrun.plugin.version,
maven.release.plugin.version,
maven.assembly.plugin.version,
maven.clean.plugin.version,
exec.maven.plugin.version,
maven.license.plugin.version,
maven.source.plugin.version,
maven.scm.plugin.version,
maven.checkstyle.plugin.version,
animal.sniffer.maven.plugin.version,
maven.project.info.reports.plugin.version,
maven.jxr.plugin.version,
findbugs.maven.plugin.version,
wagon.webdav.jackrabbit.version,
org.apache.maven.pluginsmaven-scm-plugin${maven.scm.plugin.version}connectionorg.apache.maven.pluginsmaven-compiler-plugin${maven.compiler.plugin.version}${java.version}${java.version}${encoding}org.apache.maven.pluginsmaven-resources-plugin${maven.resources.plugin.version}${encoding}org.apache.maven.pluginsmaven-eclipse-plugintruetrue${project.artifactId}org.apache.maven.pluginsmaven-surefire-plugin${maven.surefire.plugin.version}once${user.home}/.depman/Frameworks${user.home}/.depman/lib${user.home}/.depman/data/gdal${user.home}/.depman/lib${user.home}/.depman/bin${path.separator}${env.PATH}${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/dataorg.apache.maven.pluginsmaven-failsafe-pluginintegration-testverifyonce${user.home}/.depman/Frameworks${user.home}/.depman/lib${user.home}/.depman/data/gdal${user.home}/.depman/lib${user.home}/.depman/bin${path.separator}${env.PATH}${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/dataorg.apache.maven.pluginsmaven-javadoc-plugin${maven.javadoc.plugin.version}false${project.name} ${project.version}${encoding}falsetruefalsefalsefalsefalsefalsefalseapi_1.4http://download.oracle.com/javase/1.4.2/docs/api/api_1.5http://download.oracle.com/javase/1.5.0/docs/api/api_1.6http://download.oracle.com/javase/6/docs/api/api_1.7http://download.oracle.com/javase/7/docs/api/api_1.8http://download.oracle.com/javase/8/docs/api/-quiet -Xdoclint:none -Xmaxwarns 0 -Xmaxerrs 0org.apache.maven.pluginsmaven-site-plugin${maven.site.plugin.version}truea+rwXorg.apache.maven.pluginsmaven-jar-plugin${maven.jar.plugin.version}gvSIG Teamorg.codehaus.mojoproperties-maven-plugin${properties.maven.plugin.version}org.apache.maven.pluginsmaven-antrun-plugin${maven.antrun.plugin.version}org.codehaus.mojoanimal-sniffer-maven-plugin${animal.sniffer.maven.plugin.version}org.apache.maven.pluginsmaven-release-plugin${maven.release.plugin.version}org.apache.maven.pluginsmaven-deploy-plugin${maven.deploy.plugin.version}maven-assembly-plugin${maven.assembly.plugin.version}gvsig-plugin-packagepackagetruefalsegvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${gvsig.package.info.code}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkgsrc/main/assembly/gvsig-plugin-package.xmlorg.apache.maven.pluginsmaven-clean-plugin${maven.clean.plugin.version}org.codehaus.mojoexec-maven-plugin${exec.maven.plugin.version}com.mycila.maven-license-pluginmaven-license-plugin${maven.license.plugin.version}header.txtfalsefalsetrue${encoding}false**/*.properties**/*.txt**/*.jpg**/*.jpeg**/*.svg**/*.png**/*.gvssym**/*.def**/*.msgorg.gvsigorg.gvsig.desktop.buildtools1.0.0org.apache.maven.pluginsmaven-checkstyle-plugin${maven.checkstyle.plugin.version}org.apache.maven.pluginsmaven-source-plugin${maven.source.plugin.version}org.codehaus.gmavengmaven-plugin${gmaven.plugin.version}2.0com.github.lookfirstsardine5.0.1org.apache.antant1.8.2increase-build-numberprocess-sourcesbuild-package-infoprepare-packagebuild-package-indexpackageinstall-plugininstalldeploy-packageinstall
out.println("");
out.println("# "+pkgname);
out.println("");
out.println(targetPath+"/" + pkgname + ".gvspki");
out.println("");
}
if( project.properties["username"] == null ) {
print("Enter user name: ");
user = System.console().readLine().toString()
if( user != "" ) {
project.properties.setProperty("username",user);
}
}
if( project.properties["password"] == null ) {
print("Enter password for user '" + project.properties["username"] + "': ");
password = System.console().readPassword().toString()
if( password != "" ) {
project.properties.setProperty("password",password);
}
}
WebDAVClient session = new WebDAVClient(log);
if( project.properties["username"] == null || project.properties["password"] == null ) {
log.info("[WEBDAV] creating non authenticated session.");
log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
session.login();
} else {
session.login(project.properties["username"], project.properties["password"]);
}
session.makedirs(targetPath);
session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
} else {
log.info("Skip plugin package deploy. It not be installed by default.");
}
} else {
log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
}
public class WebDAVClient {
def log;
private String user;
private String password;
private Object sardine;
public WebDAVClient(log) {
disableCertificateValidation();
this.log = log;
}
public void login(String user, String password) {
log.info("[WEBDAV] login as '"+user+"'.");
def SardineFactory
try {
SardineFactory = "com.github.sardine.SardineFactory" as Class
} catch (Exception ex) {
log.error("[WEBDAV] can't get SardineFactory.",ex);
}
this.user = user;
this.password = password;
this.sardine = SardineFactory.begin(this.user,this.password);
}
public void login() {
log.info("[WEBDAV] login as guest");
this.sardine = SardineFactory.begin();
}
public boolean exists(String url) throws Exception {
return sardine.exists(url);
}
public void put(String source, String target) throws Exception {
log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
InputStream fis = new FileInputStream(new File(source));
sardine.put(target, fis);
log.info("[WEBDAV] put ok.");
}
public void mkdir(String url) throws Exception {
if( ! exists(url) ) {
log.info("[WEBDAV] mkdir '"+url+"'.");
sardine.createDirectory(url);
}
}
public List list(String url) throws Exception {
List resources = sardine.list(url);
return resources;
}
void disableCertificateValidation() {
/*
javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
return new java.security.cert.X509Certificate[0];
}
public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
}
public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
}
};
// Ignore differences between given hostname and certificate hostname
javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
return true;
}
};
// Install the all-trusting trust manager
try {
javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
sc.init(null, trustAllCerts, new java.security.SecureRandom());
javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
} catch (Exception e) {
}
*/
}
public void makedirs(String url) throws Exception {
log.info("[WEBDAV] makedirs '"+url+"'.");
URL u = new URL(url);
String[] x = u.getPath().split("/");
String path = "";
for (int i=1; iorg.apache.maven.pluginsmaven-scm-pluginmaven-clean-plugin${user.home}/.depman/**trueorg.apache.maven.pluginsmaven-release-plugin${svn.tags.folder}clean installtruedeployorg.codehaus.mojoproperties-maven-plugin${user.home}/.gvsig-devel.properties${env.HOME}/.gvsig-devel.properties${project.basedir}/gvsig-devel.propertiesbuildNumber.propertiestruedefaultprepare-packageread-project-propertiesdefault-cleanpre-cleanread-project-propertiesorg.apache.maven.pluginsmaven-javadoc-pluginattach-javadocsjarorg.apache.maven.pluginsmaven-source-pluginfalseattach-sourcesverifyjar-no-forkattach-test-sourcesverifytest-jar-no-forkorg.apache.maven.pluginsmaven-checkstyle-pluginfalsetruefalsegvsig/checkstyle.xmlgvsig/LICENSE.txtorg.gvsigorg.gvsig.desktop.buildtools1.0.0org.apache.maven.pluginsmaven-surefire-plugintruetrueorg.apache.maven.pluginsmaven-project-info-reports-plugin${maven.project.info.reports.plugin.version}indexsummaryscmlicenseproject-teamissue-trackingmailing-listmodulesdependency-infodependency-convergenceorg.apache.maven.pluginsmaven-javadoc-plugin${maven.javadoc.plugin.version}truefalsefalsefalsefalsefalsefalsehtmljavadocorg.apache.maven.pluginsmaven-jxr-plugin${maven.jxr.plugin.version}truefalseorg.codehaus.mojofindbugs-maven-plugin${findbugs.maven.plugin.version}gvsig-rootsrc/main/assembly/gvsig-root-folder-package.xmlorg.codehaus.gmavengmaven-plugininitialize-gvsig-product-folder-pathgenerate-sourcesexecute
out.println();
out.println("The product folder used is set to:");
out.println();
out.println(gvsigProductFolderPath);
out.println();
out.println("See the HOME/.gvsig-devel.properties to change it.");
out.println();
}
}
}
log.info("Current gvsig.product.folder.path = " + gvsigProductFolderPath)
}
]]>gvsig-pluginbuildNumber.propertiesmaven-assembly-plugingvsig-plugin-packagepackagesinglemaven-clean-pluginfalsetrue${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}default-cleancleanorg.codehaus.gmavengmaven-pluginincrease-build-numberprocess-sourcesexecutebuild-package-infoprepare-packageexecutebuild-package-indexpackageexecuteinstall-plugininstallexecutedeploy-packageinstallexecute2.73.0.0-M33.8.13.2.03.2.03.33.2.01.0.01.51.72.5.32.2-beta-52.53.0.01.10.b13.2.11.11.23.1.21.172.8.12.72.32.5.22.4ISO-8859-11.8${user.home}/.m2/repositorydav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}https://devel.gvsig.org/svn/gvsig-desktop/tags/2.6.0${project.artifactId}${project.name}${project.description}${project.version}testingfalseallallj1_7${gvsig.version}required: org.gvsig.app.mainplugin -ge 2.1.0gvSIG Association${project.scm.connection}http://www.gvsig.comhttp://downloads.gvsig.org/download/gvsig-desktop/pooltruetrue${basedir}/target/productorg.gvsig.about.implorg.gvsig.annotation.lib.implorg.gvsig.annotation.swing.implorg.gvsig.compat.seorg.gvsig.exportto.lib.implorg.gvsig.exportto.swing.implorg.gvsig.fmap.dal.implorg.gvsig.fmap.dal.swing.implorg.gvsig.fmap.geometry.jtsorg.gvsig.fmap.geometry.operation.jtsorg.gvsig.fmap.mapcontext.implorg.gvsig.fmap.mapcontext.operationorg.gvsig.installer.lib.implorg.gvsig.installer.swing.implorg.gvsig.metadata.lib.basic.implorg.gvsig.metadata.swing.basic.implorg.gvsig.newlayer.lib.implorg.gvsig.personaldb.lib.implorg.gvsig.projection.cresques.implorg.gvsig.proj.lib.proj4jorg.gvsig.proj.swing.implorg.gvsig.symbology.lib.implorg.gvsig.symbology.swing.implorg.gvsig.timesupport.lib.implorg.gvsig.timesupport.swing.implorg.gvsig.tools.dynform.implorg.gvsig.tools.dynform.servicesorg.gvsig.tools.swing.implorg.gvsig.h2spatial.h2gis132.providerjython-standalone3.0.3161.0.312.0.56org.gvsig.desktop.compat.cdcorg.gvsig.desktop.libraryorg.gvsig.desktop.frameworkorg.gvsig.desktop.plugin