提交 9c684c3b authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add MANIFEST.MF for small and client targets

上级 156828c8
Manifest-Version: 1.0
Implementation-Title: H2 Database Client
Implementation-URL: http://www.h2database.com
Implementation-Version: ${version}
Build-Jdk: ${buildJdk}
Created-By: ${createdBy}
Bundle-ManifestVersion: 2
Bundle-Name: H2 Database Client
Bundle-SymbolicName: com.h2database.client
Bundle-Vendor: H2 Group
Bundle-Version: ${version}
Bundle-License: http://www.h2database.com/html/license.html
Bundle-Category: jdbc
Multi-Release: true
Import-Package: javax.crypto,
javax.crypto.spec,
javax.naming;resolution:=optional,
javax.naming.spi;resolution:=optional,
javax.net,
javax.net.ssl,
javax.sql,
javax.transaction.xa;resolution:=optional,
javax.xml.parsers;resolution:=optional,
javax.xml.stream;resolution:=optional,
javax.xml.transform;resolution:=optional,
javax.xml.transform.dom;resolution:=optional,
javax.xml.transform.sax;resolution:=optional,
javax.xml.transform.stax;resolution:=optional,
javax.xml.transform.stream;resolution:=optional,
org.w3c.dom;resolution:=optional,
org.xml.sax;resolution:=optional,
org.locationtech.jts.geom;version="1.15.0";resolution:=optional,
org.locationtech.jts.io;version="1.15.0";resolution:=optional
Export-Package: org.h2;version="${version}",
org.h2.api;version="${version}",
org.h2.jdbc;version="${version}",
org.h2.jdbcx;version="${version}",
org.h2.tools;version="${version}"
...@@ -13,6 +13,8 @@ Bundle-Vendor: H2 Group ...@@ -13,6 +13,8 @@ Bundle-Vendor: H2 Group
Bundle-Version: ${version} Bundle-Version: ${version}
Bundle-License: http://www.h2database.com/html/license.html Bundle-License: http://www.h2database.com/html/license.html
Bundle-Category: utility Bundle-Category: utility
Import-Package: javax.crypto,
javax.crypto.spec
Export-Package: org.h2.mvstore;version="${version}", Export-Package: org.h2.mvstore;version="${version}",
org.h2.mvstore.type;version="${version}", org.h2.mvstore.type;version="${version}",
org.h2.mvstore.rtree;version="${version}" org.h2.mvstore.rtree;version="${version}"
Manifest-Version: 1.0
Implementation-Title: H2 Database embedded Engine
Implementation-URL: http://www.h2database.com
Implementation-Version: ${version}
Build-Jdk: ${buildJdk}
Created-By: ${createdBy}
Bundle-Activator: org.h2.util.DbDriverActivator
Bundle-ManifestVersion: 2
Bundle-Name: H2 Database embedded Engine
Bundle-SymbolicName: com.h2database.small
Bundle-Vendor: H2 Group
Bundle-Version: ${version}
Bundle-License: http://www.h2database.com/html/license.html
Bundle-Category: jdbc
Multi-Release: true
Import-Package: javax.crypto,
javax.crypto.spec,
javax.management,
javax.naming;resolution:=optional,
javax.naming.directory;resolution:=optional,
javax.net,
javax.net.ssl,
javax.script;resolution:=optional,
javax.security.auth.callback;resolution:=optional,
javax.security.auth.login;resolution:=optional,
javax.sql,
javax.tools;resolution:=optional,
javax.xml.parsers;resolution:=optional,
javax.xml.stream;resolution:=optional,
javax.xml.transform;resolution:=optional,
javax.xml.transform.dom;resolution:=optional,
javax.xml.transform.sax;resolution:=optional,
javax.xml.transform.stax;resolution:=optional,
javax.xml.transform.stream;resolution:=optional,
org.w3c.dom;resolution:=optional,
org.xml.sax;resolution:=optional,
org.xml.sax.helpers;resolution:=optional,
org.locationtech.jts.geom;version="1.15.0";resolution:=optional,
org.locationtech.jts.io;version="1.15.0";resolution:=optional,
org.osgi.framework;version="1.5",
org.osgi.service.jdbc;version="1.0";resolution:=optional,
org.slf4j;version="[1.6.0,1.7.0)";resolution:=optional
Export-Package: org.h2;version="${version}",
org.h2.api;version="${version}",
org.h2.jdbc;version="${version}",
org.h2.tools;version="${version}"
Provide-Capability: osgi.service;objectClass:List<String>=org.osgi.service.jdbc.DataSourceFactory
...@@ -549,6 +549,7 @@ public class Build extends BuildBase { ...@@ -549,6 +549,7 @@ public class Build extends BuildBase {
public void jarClient() { public void jarClient() {
compile(true, true, false); compile(true, true, false);
addVersions(false); addVersions(false);
manifest("src/installer/client/MANIFEST.MF");
FileList files = files("temp"). FileList files = files("temp").
exclude("temp/org/h2/build/*"). exclude("temp/org/h2/build/*").
exclude("temp/org/h2/dev/*"). exclude("temp/org/h2/dev/*").
...@@ -590,6 +591,7 @@ public class Build extends BuildBase { ...@@ -590,6 +591,7 @@ public class Build extends BuildBase {
public void jarSmall() { public void jarSmall() {
compile(false, false, true); compile(false, false, true);
addVersions(true); addVersions(true);
manifest("src/installer/small/MANIFEST.MF");
FileList files = files("temp"). FileList files = files("temp").
exclude("temp/org/h2/build/*"). exclude("temp/org/h2/build/*").
exclude("temp/org/h2/dev/*"). exclude("temp/org/h2/dev/*").
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论