From 94140e38118556a4a4cbeddc37bfe7304d7e72b7 Mon Sep 17 00:00:00 2001 From: joergboe Date: Fri, 12 Jan 2018 18:32:09 +0100 Subject: [PATCH] Improved release package The release target now produces improved release packages: - The workspace is purged before a release package is created - The built script emits a war dialoge is there are uncommited changes - a release.info file is emitted - samples now contain .project, .classpath and .settings - toolkit.xml of samples is removed from package --- .gitignore | 3 +- build.xml | 143 +++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 129 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index e6540d9..9a7e24d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,8 @@ samples/*/toolkit.xml samples/*/.toolkitList samples/*/bin /samples/*/doc -/release-* +/release/ +/com.ibm.streamsx.inet/build.info ## java excludes *.class diff --git a/build.xml b/build.xml index cc9f21f..f219cbe 100644 --- a/build.xml +++ b/build.xml @@ -6,8 +6,14 @@ - + + + + + + + - - @@ -44,7 +48,7 @@ - @@ -152,20 +156,127 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + excludes="**/.gitignore **/.gitkeep com.ibm.streamsx.inet/impl/java/src-gen/** com.ibm.streamsx.inet/impl/java/classes/** com.ibm.streamsx.inet/impl/cpp/bin/** com.ibm.streamsx.inet/.project com.ibm.streamsx.inet/.settings/** com.ibm.streamsx.inet/.classpath " + /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + !Your workspace is not clean! + Commit all changes before you produce a release + commitstatus: + ${commitstatus} + Press Return key to continue or ^C to exit... + + + + + + + + + + + + + + + + !!! DANGER: Git-ignored files to be removed from your workspace: + ${untracked} + Press Return key to continue or ^C to exit... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +