diff --git a/build.xml b/build.xml
index dd3e698d579..d5b838950c7 100644
--- a/build.xml
+++ b/build.xml
@@ -36,8 +36,16 @@
+
+
+
+
+
+
+
+
-
+
diff --git a/client/build.xml b/client/build.xml
index ff3fb647d5a..2c5a9f76139 100644
--- a/client/build.xml
+++ b/client/build.xml
@@ -65,4 +65,11 @@
+
+
+
+
+
+
+
diff --git a/common/build.xml b/common/build.xml
index 419105f880e..b08e9f1545b 100644
--- a/common/build.xml
+++ b/common/build.xml
@@ -1,12 +1,12 @@
-
+
-
-
-
+
+
+
@@ -32,4 +32,11 @@
+
+
+
+
+
+
+
diff --git a/native/build.xml b/native/build.xml
index 3dddb00bed9..849aa503a2d 100644
--- a/native/build.xml
+++ b/native/build.xml
@@ -50,4 +50,11 @@
+
+
+
+
+
+
+
diff --git a/pkg-builder.pl b/pkg-builder.pl
index c34cc1f395b..1d0c7612cb3 100755
--- a/pkg-builder.pl
+++ b/pkg-builder.pl
@@ -66,6 +66,7 @@ ($)
hard_deps => [
"zimbra-mbox-war",
"zimbra-mbox-conf",
+ "zimbra-core-jar"
],
soft_deps => [
"zimbra-common-mbox-conf",
@@ -188,6 +189,18 @@ ($)
file_list => ['/opt/zimbra/*'],
stage_fun => sub { &stage_zimbra_common_mbox_docs(@_); },
},
+
+ "zimbra-core-jar" => {
+ summary => "Zimbra Core Jars",
+ version => "1.0.0",
+ revision => 1,
+ hard_deps => [],
+ soft_deps => [],
+ other_deps => ["zimbra-core-components"],
+ replaces => ["zimbra-core"],
+ file_list => ['/opt/zimbra/*'],
+ stage_fun => sub { &stage_zimbra_core_jars(@_); },
+ },
);
@@ -437,6 +450,18 @@ ()
return ["store/docs"];
}
+sub stage_zimbra_core_jars()
+{
+ my $stage_base_dir = shift;
+
+ cpy_file( "store/build/dist/zm-store.jar", "$stage_base_dir/opt/zimbra/lib/jars/zimbrastore.jar");
+ cpy_file( "soap/build/dist/zm-soap.jar", "$stage_base_dir/opt/zimbra/lib/jars/zimbrasoap.jar");
+ cpy_file( "client/build/dist/zm-client.jar", "$stage_base_dir/opt/zimbra/lib/jars/zimbraclient.jar");
+ cpy_file( "common/build/dist/zm-common.jar", "$stage_base_dir/opt/zimbra/lib/jars/zimbracommon.jar");
+ cpy_file( "native/build/dist/zm-native.jar", "$stage_base_dir/opt/zimbra/lib/jars/zimbranative.jar");
+ return ["."];
+}
+
sub stage_zimbra_mbox_service(%)
{
my $stage_base_dir = shift;
@@ -460,7 +485,7 @@ ($)
my $timestamp = git_timestamp_from_dirs( &$stage_fun($stage_base_dir) );
- $pkg_info->{_version_ts} = $pkg_info->{version} . ( $timestamp ? ( "+" . $timestamp ) : "" );
+ $pkg_info->{_version_ts} = $pkg_info->{version} . ( $timestamp ? ( "." . $timestamp ) : "" );
my @cmd = (
"../zm-pkg-tool/pkg-build.pl",
diff --git a/soap/build.xml b/soap/build.xml
index c9d3a8ffb9e..bfcdb55897e 100644
--- a/soap/build.xml
+++ b/soap/build.xml
@@ -262,5 +262,12 @@
+
+
+
+
+
+
+
diff --git a/store/build.xml b/store/build.xml
index 318901bf2ab..e5268f4aeb3 100644
--- a/store/build.xml
+++ b/store/build.xml
@@ -314,11 +314,8 @@
-
-
-
@@ -416,4 +413,11 @@
+
+
+
+
+
+
+