FINERACT-874: Removing files related to old release process (#890)
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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
|
||||
-29
@@ -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
|
||||
-34
@@ -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
|
||||
-36
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user