-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #612 from rosensilva/main
configure maven to download mi from github
- Loading branch information
Showing
5 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...g.wso2.integrationstudio.carbonserver44microei40/resources/scripts/configure-mi-script.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#! /bin/bash | ||
BASE_DIR=$(pwd) | ||
PRODUCT_VERSION=$1 | ||
SERVER_PATH_ROOT=$BASE_DIR/resources/server | ||
|
||
echo BASE_DIR: $BASE_DIR, PRODUCT_VERSION: $PRODUCT_VERSION and SERVER_PATH_ROOT: $SERVER_PATH_ROOT | ||
|
||
# Micro Integrator configurations | ||
DEPLOYMENT_FILE=deployment.toml | ||
DEPLOYMENT_FILE_PATH=$SERVER_PATH_ROOT/$DEPLOYMENT_FILE | ||
|
||
# Unzip micro esb to relevant packages | ||
unzip $SERVER_PATH_ROOT/wso2mi-${PRODUCT_VERSION}.zip -d $SERVER_PATH_ROOT | ||
|
||
# Cleanup | ||
rm $SERVER_PATH_ROOT/wso2mi-$PRODUCT_VERSION.zip | ||
|
||
# Rename as "microesb" (this is the static name used in EI Tooling code) | ||
mv $SERVER_PATH_ROOT/wso2mi-$PRODUCT_VERSION $SERVER_PATH_ROOT/microesb | ||
|
||
# Replace "deployment.toml" in Micro Integrator | ||
cp -f $DEPLOYMENT_FILE_PATH $SERVER_PATH_ROOT/microesb/conf | ||
|
||
# Zip the packages with microesb and JDK | ||
cd $SERVER_PATH_ROOT | ||
zip -r microesb.zip microesb/ | ||
rm -r microesb | ||
|
||
echo Completed Micro Integrator Packaging |
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
.../plugins/org.wso2.integrationstudio.carbonserver44microei40/resources/server/microesb.zip
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters