release preparation
authorVictor Kirhenshtein <victor@netxms.org>
Fri, 16 Oct 2015 11:07:36 +0000 (14:07 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Fri, 16 Oct 2015 11:07:36 +0000 (14:07 +0300)
build/next_build_number.pl
src/java/build/pack.sh [new file with mode: 0755]
src/java/build/set_build_number.sh [new file with mode: 0644]
src/java/netxms-eclipse/Core/plugin.xml
src/java/netxms-eclipse/Product/nxmc.product
webui/webapp/Core/nxmc.warproduct

index c7ea8dc..b0a77e3 100755 (executable)
@@ -34,6 +34,10 @@ open my $outcmd, '>', "../src/java/build/set_build_number.cmd" or die "cannot op
 print $outcmd "set build_number=$build\n";
 close $outcmd;
 
+open my $outsh, '>', "../src/java/build/set_build_number.sh" or die "cannot open set_build_number.sh";
+print $outsh "build_number=$build\n";
+close $outsh;
+
 open my $outjava, '>', "../src/java/client/netxms-base/src/main/java/org/netxms/base/BuildNumber.java" or die "cannot open BuildNumber.java";
 print $outjava "package org.netxms.base;\n";
 print $outjava "public final class BuildNumber {\n";
diff --git a/src/java/build/pack.sh b/src/java/build/pack.sh
new file mode 100755 (executable)
index 0000000..3e4ab11
--- /dev/null
@@ -0,0 +1,44 @@
+@echo off
+. set_build_number.sh
+#version=2.0-RC2-$build_number
+version=2.0-RC2
+
+cd win32.win32.x86
+zip -r nxmc-$version-win32-x86.zip nxmc
+mv nxmc-$version-win32-x86.zip ..
+cd ..
+
+cd win32.win32.x86_64
+zip -r nxmc-$version-win32-x64.zip nxmc
+mv nxmc-$version-win32-x64.zip ..
+cd ..
+
+cd linux.gtk.x86
+tar cvf nxmc-$version-linux-gtk-x86.tar nxmc
+gzip nxmc-$version-linux-gtk-x86.tar
+mv nxmc-$version-linux-gtk-x86.tar.gz ..
+cd ..
+
+cd linux.gtk.x86_64
+tar cvf nxmc-$version-linux-gtk-x64.tar nxmc
+gzip nxmc-$version-linux-gtk-x64.tar
+mv nxmc-$version-linux-gtk-x64.tar.gz ..
+cd ..
+
+cd solaris.gtk.x86
+tar cvf nxmc-$version-solaris-gtk-x86.tar nxmc
+gzip nxmc-$version-solaris-gtk-x86.tar
+mv nxmc-$version-solaris-gtk-x86.tar.gz ..
+cd ..
+
+cd solaris.gtk.sparc 
+tar cvf nxmc-$version-solaris-gtk-sparc.tar nxmc
+gzip nxmc-$version-solaris-gtk-sparc.tar
+mv nxmc-$version-solaris-gtk-sparc.tar.gz ..
+cd ..
+
+cd macosx.cocoa.x86_64
+tar cvf nxmc-$version-macosx-cocoa-x64.tar nxmc
+gzip nxmc-$version-macosx-cocoa-x64.tar
+mv nxmc-$version-macosx-cocoa-x64.tar.gz ..
+cd ..
diff --git a/src/java/build/set_build_number.sh b/src/java/build/set_build_number.sh
new file mode 100644 (file)
index 0000000..2aaa331
--- /dev/null
@@ -0,0 +1 @@
+build_number=8045
index 3090d0e..8e2962e 100644 (file)
@@ -62,7 +62,7 @@
          </property>
          <property
                name="aboutText"
-               value="NetXMS Management Console&#x0A;&#x0A;Version 2.0-RC1&#x0A;Copyright (c) 2003-2015 Raden Solutions">
+               value="NetXMS Management Console&#x0A;&#x0A;Version 2.0-RC2&#x0A;Copyright (c) 2003-2015 Raden Solutions">
          </property>
          <property
                name="startupForegroundColor"
index 410123e..e732d7a 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?pde version="3.5"?>
 
-<product name="%product.name" uid="org.netxms.ui.eclipse.console.product" id="org.netxms.ui.eclipse.console.product" application="org.netxms.ui.eclipse.console.application" version="2.0.0.RC1" useFeatures="false" includeLaunchers="true">
+<product name="%product.name" uid="org.netxms.ui.eclipse.console.product" id="org.netxms.ui.eclipse.console.product" application="org.netxms.ui.eclipse.console.application" version="2.0.0.RC2" useFeatures="false" includeLaunchers="true">
 
    <aboutInfo>
       <image path="/Core/icons/launcher/128x128.png"/>
       <text>
          NetXMS Management Console
 
-Version 2.0-RC1
+Version 2.0-RC2
 Copyright (c) 2003-2015 Raden Solutions
       </text>
    </aboutInfo>
index a04b85c..ff192c1 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?pde version="3.5"?>
 
-<product name="NXMC" uid="org.netxms.nxmc" version="2.0-RC1" useFeatures="false" includeLaunchers="false">
+<product name="NXMC" uid="org.netxms.nxmc" version="2.0-RC2" useFeatures="false" includeLaunchers="false">
    <plugins>
       <plugin id="com.ibm.icu"/>
       <plugin id="javax.xml"/>