You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by dc...@apache.org on 2021/08/26 10:46:34 UTC

[datasketches-memory] branch single-build-script updated (3a1d7b8 -> fb52cf6)

This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a change to branch single-build-script
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git.


    from 3a1d7b8  WIP - Add build script to compile JAR for single JVM
     new 323275e  Fix comment wrt optional input params
     new 234ff50  Move scripts to tools directory
     new fb52cf6  Rename Version to GitTag

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 {scripts => tools/scripts}/compile-package-jar.sh | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
 rename {scripts => tools/scripts}/compile-package-jar.sh (93%)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-memory] 02/03: Move scripts to tools directory

Posted by dc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a commit to branch single-build-script
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit 234ff502e41cc0617c85cab1394b63257b7ba13e
Author: David Cromberge <dc...@apache.org>
AuthorDate: Thu Aug 26 11:38:39 2021 +0100

    Move scripts to tools directory
---
 {scripts => tools/scripts}/compile-package-jar.sh | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/scripts/compile-package-jar.sh b/tools/scripts/compile-package-jar.sh
similarity index 100%
rename from scripts/compile-package-jar.sh
rename to tools/scripts/compile-package-jar.sh

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-memory] 01/03: Fix comment wrt optional input params

Posted by dc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a commit to branch single-build-script
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit 323275e3c326fc43642462a8c89fb31f430bd5e3
Author: David Cromberge <dc...@apache.org>
AuthorDate: Thu Aug 26 11:33:44 2021 +0100

    Fix comment wrt optional input params
---
 scripts/compile-package-jar.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/compile-package-jar.sh b/scripts/compile-package-jar.sh
index 5e8ad35..000f181 100755
--- a/scripts/compile-package-jar.sh
+++ b/scripts/compile-package-jar.sh
@@ -25,7 +25,7 @@
 # The script does not assume a POM file and does not use Maven.
 # It does use git, SVN, and uses the script getGitProperties.sh
 
-#  Optional Input Parameters:
+#  Required Input Parameters:
 #  \$1 = absolute path of Java home directory
 #  \$2 = Git Version Tag for this deployment
 #       Example tag for SNAPSHOT         : 1.0.0-SNAPSHOT

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-memory] 03/03: Rename Version to GitTag

Posted by dc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a commit to branch single-build-script
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit fb52cf67a10d43ef2cb8bba532eb57f5c9fa6721
Author: David Cromberge <dc...@apache.org>
AuthorDate: Thu Aug 26 11:46:20 2021 +0100

    Rename Version to GitTag
---
 tools/scripts/compile-package-jar.sh | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tools/scripts/compile-package-jar.sh b/tools/scripts/compile-package-jar.sh
index 000f181..9336f9c 100755
--- a/tools/scripts/compile-package-jar.sh
+++ b/tools/scripts/compile-package-jar.sh
@@ -34,16 +34,16 @@
 #  \$3 = absolute path of project.basedir
 #  For example:  $ <this script>.sh $JAVA_HOME 2.0.0-RC1 .
 
-if [ -z "$1" ]; then echo "Missing java.home";               exit 1; fi
-if [ -z "$2" ]; then echo "Missing Git Version";             exit 1; fi
-if [ -z "$3" ]; then echo "Missing project.basedir";         exit 1; fi
-
-# Setup absolute directory references
-ScriptsDir=$(pwd)
+if [ -z "$1" ]; then echo "Missing java.home";           exit 1; fi
+if [ -z "$2" ]; then echo "Missing Git Tag";             exit 1; fi
+if [ -z "$3" ]; then echo "Missing project.basedir";     exit 1; fi
 
 ## Extract JavaHome and Version from input parameters:
 JavaHome=$1
-Version=$2
+GitTag=$2
+
+# Setup absolute directory references
+ScriptsDir=$(pwd)
 ProjectBaseDir=$3 #this must be an absolute path
 
 ####Move to project directory####
@@ -77,7 +77,7 @@ fi
 
 #### Cleanup and setup output directories ####
 OutputDir=target
-OutputJar=${OutputDir}/org.apache.datasketches.memory-${Version}.jar
+OutputJar=${OutputDir}/org.apache.datasketches.memory-${GitTag}.jar
 
 PackageDir=${OutputDir}/package
 PackageSrc=${PackageDir}/src

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org