From 72e3d27b7af6bfeaf4e21b227db0f9664f9050b7 Mon Sep 17 00:00:00 2001 From: jurgen Date: Sun, 20 Sep 2015 12:14:31 +0000 Subject: [PATCH] Update site customization --- product/updateSite/{site.xml => category.xml} | 2 +- product/updateSite/pom.xml | 59 +++++++++++++++---- .../updateSite/{ => siteTemplate}/index.html | 4 +- .../{ => siteTemplate}/web/site.css | 0 .../{ => siteTemplate}/web/site.xsl | 0 5 files changed, 51 insertions(+), 14 deletions(-) rename product/updateSite/{site.xml => category.xml} (92%) rename product/updateSite/{ => siteTemplate}/index.html (93%) rename product/updateSite/{ => siteTemplate}/web/site.css (100%) rename product/updateSite/{ => siteTemplate}/web/site.xsl (100%) diff --git a/product/updateSite/site.xml b/product/updateSite/category.xml similarity index 92% rename from product/updateSite/site.xml rename to product/updateSite/category.xml index 03631c2969..e6189e09d6 100644 --- a/product/updateSite/site.xml +++ b/product/updateSite/category.xml @@ -1,6 +1,6 @@ - DBeaver Update Site + DBeaver Update Site Universal Database Manager diff --git a/product/updateSite/pom.xml b/product/updateSite/pom.xml index 1b03cab963..1768dc4536 100644 --- a/product/updateSite/pom.xml +++ b/product/updateSite/pom.xml @@ -1,14 +1,51 @@ - - 4.0.0 - - org.jkiss.dbeaver - dbeaver + + 4.0.0 + + org.jkiss.dbeaver + dbeaver + 1.0.0 + ../../ + + dbeaver-update 1.0.0 - ../../ - - updateSite - 1.0.0 - eclipse-update-site + eclipse-repository + + + + + maven-resources-plugin + + + copy-resources + generate-resources + + copy-resources + + + ${basedir}/target/repository + + + siteTemplate + + index.html + web/* + + + + . + + category.xml + + + + + + + + + + diff --git a/product/updateSite/index.html b/product/updateSite/siteTemplate/index.html similarity index 93% rename from product/updateSite/index.html rename to product/updateSite/siteTemplate/index.html index bef39d4350..3ef7d5966a 100644 --- a/product/updateSite/index.html +++ b/product/updateSite/siteTemplate/index.html @@ -13,7 +13,7 @@ xmlFile = document.implementation.createDocument("", "", null); stylesheet = document.implementation.createDocument("", "", null); if (xmlFile.load){ - xmlFile.load("site.xml"); + xmlFile.load("category.xml"); stylesheet.load("web/site.xsl"); } else { alert("Document could not be loaded by browser."); @@ -25,7 +25,7 @@ else if (window.ActiveXObject) { xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0"); xmlFile.async = false; - xmlFile.load("site.xml"); + xmlFile.load("category.xml"); stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0"); stylesheet.async = false; stylesheet.load("web/site.xsl"); diff --git a/product/updateSite/web/site.css b/product/updateSite/siteTemplate/web/site.css similarity index 100% rename from product/updateSite/web/site.css rename to product/updateSite/siteTemplate/web/site.css diff --git a/product/updateSite/web/site.xsl b/product/updateSite/siteTemplate/web/site.xsl similarity index 100% rename from product/updateSite/web/site.xsl rename to product/updateSite/siteTemplate/web/site.xsl -- GitLab