You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by aw...@apache.org on 2020/05/25 07:50:35 UTC

[fineract] branch develop updated: FINERACT-874: Removing files related to old release process (#890)

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

awasum pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 562b2a1  FINERACT-874: Removing files related to old release process (#890)
562b2a1 is described below

commit 562b2a1d9767498a95305952a4746071c036ef52
Author: Petri Tuomola <pt...@users.noreply.github.com>
AuthorDate: Mon May 25 10:50:24 2020 +0300

    FINERACT-874: Removing files related to old release process (#890)
---
 fineract-provider/build.gradle                     | 56 ----------------------
 .../src/main/dist/How to run Fineract.txt          | 30 ------------
 fineract-provider/src/main/dist/runfineract.bat    | 29 -----------
 fineract-provider/src/main/dist/runfineract.sh     | 34 -------------
 release.sh                                         | 36 --------------
 5 files changed, 185 deletions(-)

diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index a2d50f2..e5b80b5 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -342,43 +342,6 @@ modernizer {
     ]
 }
 
-task dist(type:Zip){
-	baseName = 'fineractplatform'
-	version = qualifyVersionIfNecessary(releaseVersion)
-    includeEmptyDirs = true
-	from('../') {
-		fileMode = 0755
-		include '*.md'
-	}
-    from('src/main/dist') {
-        fileMode = 0755
-        include '*'
-    }
-	from('../apps') {
-		fileMode = 0755
-        include '**/*'
-		into('apps')
-	}
-    from('../api-docs/') {
-        fileMode = 0755
-        include '*'
-        into('api-docs')
-    }
-    from('../fineract-db/') {
-        fileMode = 0755
-        include '*.sql'
-        into('database')
-    }
-    from('src/main/resources/sql/migrations') {
-        fileMode = 0755
-        include '**/*'
-        into('database/migrations')
-    }
-
-    from war.outputs.files
-    into(baseName + '-' + version)
-}
-
 compileJava{
     dependsOn rat
 }
@@ -561,25 +524,6 @@ task setBlankPassword {
     }
 }
 
-
-/*
-* Support publication of artifacts versioned by topic branch.
-* CI builds supply `-P BRANCH_NAME=<TOPIC>` to gradle at build time.
-* If <TOPIC> starts with 'MIFOSX-', change version
-* from BUILD-SNAPSHOT => <TOPIC>-SNAPSHOT
-* e.g. 1.1.0.BUILD-SNAPSHOT => 1.0.0.MIFOSX-1234-SNAPSHOT
-*/
-def qualifyVersionIfNecessary(version) {
-
-	if (rootProject.hasProperty("BRANCH_NAME")) {
-		def qualifier = rootProject.getProperty("BRANCH_NAME")
-		if (qualifier.startsWith("MIFOSX-")) {
-			return version.replace('BUILD', qualifier)
-		}
-	}
-	return version
-}
-
 springBoot {
     mainClassName = 'org.apache.fineract.ServerApplication'
 }
diff --git a/fineract-provider/src/main/dist/How to run Fineract.txt b/fineract-provider/src/main/dist/How to run Fineract.txt
deleted file mode 100644
index 83c34e6..0000000
--- a/fineract-provider/src/main/dist/How to run Fineract.txt	
+++ /dev/null
@@ -1,30 +0,0 @@
-Welcome to the Fineract community!
-===============================
-
-Depending on the OS you're running, you should have "runfineract.sh" (for Linux and Mac) and
-"runfineract.bat" (for Windows) in this directory. These are small scripts that allow you to
-run Apache Fineract on your computer locally. To be able to run Fineract, just double-click on the script,
-that is, "runfineract.sh" if you are on Linux or Mac, or "runfineract.bat" if you are on Windows.
-
-If you have a web front-end that you want to use along with the backend server, put your index.html
-along with all the other source files inside a (sub-folder of) the "apps" folder in the current
-directory from where runfineract.bat/.sh is launched.  The web UI front-end is then accessible
-under fineract-provider/apps - for example:
-
-    https://localhost:8443/fineract-provider/apps/community-app/index.html?baseApiUrl=https://localhost:8443&tenantIdentifier=default#/home
-
-We hope you'll have an amazing experience working with Fineract!
-
-
-PS, internal note to fineract developers preparing packages, only: For this to work, the WAR of
-the Fineract distribution ZIP package will (currently) have to be built using
-the Gradle 'dev' environment profile - e.g. using this command:
-
-    ./gradlew -Penv=dev clean war dist
-
-We now also have a script which convenently prepares both the
-UI front-end and the API back-end together into a ZIP:
-
-    git clone --recursive  https://github.com/openMF/mifosx/
-    git submodule update --init --recursive; git submodule status
-    ./build.sh
diff --git a/fineract-provider/src/main/dist/runfineract.bat b/fineract-provider/src/main/dist/runfineract.bat
deleted file mode 100644
index 3c77274..0000000
--- a/fineract-provider/src/main/dist/runfineract.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@REM
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM
-
-java -version >nul 2>&1 && (
-    echo "Found Java."
-) || (
-    echo "Java should be installed to run Fineract."
-    exit
-)
-
-echo "Starting Fineract ..... "
-
-java -Djava.awt.headless=false -jar fineract-provider.war
diff --git a/fineract-provider/src/main/dist/runfineract.sh b/fineract-provider/src/main/dist/runfineract.sh
deleted file mode 100755
index fa3d2f7..0000000
--- a/fineract-provider/src/main/dist/runfineract.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-
-# First of all, check if Java is installed on this computer
-
-if hash java; then
-    echo "Found Java:"
-    echo $(java -version)
-else
-    echo "Java should be installed to run fineract."
-    exit
-fi
-
-echo "Starting fineract ..... "
-
-java -Djava.awt.headless=false -jar fineract-provider.war
diff --git a/release.sh b/release.sh
deleted file mode 100755
index cfa4d6e..0000000
--- a/release.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-
-VERSION=$1
-if [ -z $VERSION ]; then
-  echo "Usage: $0 version [releasedDate]"
-  exit 1;
-fi
-
-RELDATE=$2
-if [ -z $RELDATE ]; then
-  RELDATE=$(date '+%d/%b/%y')
-fi
-
-APPDIR=apps/community-app
-"$APPDIR/release.sh" "$VERSION" "$RELDATE"
-echo "releaseVersion=$VERSION.RELEASE" > fineract-provider/gradle.properties
-