Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
72e3d27b
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dbeaver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
72e3d27b
编写于
9月 20, 2015
作者:
J
jurgen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update site customization
上级
a73b4a7c
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
51 addition
and
14 deletion
+51
-14
product/updateSite/category.xml
product/updateSite/category.xml
+1
-1
product/updateSite/pom.xml
product/updateSite/pom.xml
+48
-11
product/updateSite/siteTemplate/index.html
product/updateSite/siteTemplate/index.html
+2
-2
product/updateSite/siteTemplate/web/site.css
product/updateSite/siteTemplate/web/site.css
+0
-0
product/updateSite/siteTemplate/web/site.xsl
product/updateSite/siteTemplate/web/site.xsl
+0
-0
未找到文件。
product/updateSite/
site
.xml
→
product/updateSite/
category
.xml
浏览文件 @
72e3d27b
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description
name=
"DBeaver Update Site"
url=
"http://dbeaver.jkiss.org/update/
3.0
"
>
DBeaver Update Site
</description>
<description
name=
"DBeaver Update Site"
url=
"http://dbeaver.jkiss.org/update/
latest
"
>
DBeaver Update Site
</description>
<category-def
name=
"org.jkiss.dbeaver"
label=
"DBeaver"
>
<description>
Universal Database Manager
</description>
</category-def>
...
...
product/updateSite/pom.xml
浏览文件 @
72e3d27b
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.jkiss.dbeaver
</groupId>
<artifactId>
dbeaver
</artifactId>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.jkiss.dbeaver
</groupId>
<artifactId>
dbeaver
</artifactId>
<version>
1.0.0
</version>
<relativePath>
../../
</relativePath>
</parent>
<artifactId>
dbeaver-update
</artifactId>
<version>
1.0.0
</version>
<relativePath>
../../
</relativePath>
</parent>
<artifactId>
updateSite
</artifactId>
<version>
1.0.0
</version>
<packaging>
eclipse-update-site
</packaging>
<packaging>
eclipse-repository
</packaging>
<build>
<plugins>
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<executions>
<execution>
<id>
copy-resources
</id>
<phase>
generate-resources
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/target/repository
</outputDirectory>
<resources>
<resource>
<directory>
siteTemplate
</directory>
<includes>
<include>
index.html
</include>
<include>
web/*
</include>
</includes>
</resource>
<resource>
<directory>
.
</directory>
<includes>
<include>
category.xml
</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
product/updateSite/index.html
→
product/updateSite/
siteTemplate/
index.html
浏览文件 @
72e3d27b
...
...
@@ -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
"
);
...
...
product/updateSite/web/site.css
→
product/updateSite/
siteTemplate/
web/site.css
浏览文件 @
72e3d27b
文件已移动
product/updateSite/web/site.xsl
→
product/updateSite/
siteTemplate/
web/site.xsl
浏览文件 @
72e3d27b
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录