forked from Activiti/Activiti
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added script that don't require jrebel PR Activiti#734
- Loading branch information
1 parent
a700f84
commit a5a9c5f
Showing
3 changed files
with
51 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
if [[ -z "$TOMCAT_HOME" ]] | ||
then | ||
|
||
echo "" | ||
echo "Cannot boot Activiti REST web application : TOMCAT_HOME is not set" | ||
echo "" | ||
|
||
else | ||
|
||
echo "" | ||
echo "TOMCAT_HOME = $TOMCAT_HOME" | ||
echo "" | ||
|
||
ORIGINAL_FOLDER=$(pwd) | ||
export CATALINA_OPTS="-Xms521M -Xmx1024M -noverify -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" | ||
cd $TOMCAT_HOME | ||
rm -rf conf/tomcat-users.xml | ||
cp $ORIGINAL_FOLDER/tomcat-users.xml conf/ | ||
rm -r webapps/activiti* | ||
cd bin | ||
chmod +x *.sh | ||
./catalina.sh run | ||
|
||
fi | ||
|
||
|
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,12 @@ | ||
#!/bin/bash | ||
export MAVEN_OPTS="-Xms512M -Xmx1024M -XX:MaxPermSize=128M -noverify -Xdebug -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" | ||
cd .. | ||
mvn -PbuildWebappDependencies clean install | ||
STATUS=$? | ||
if [ $STATUS -eq 0 ] | ||
then | ||
cd modules/activiti-webapp-explorer2 | ||
mvn -Dfile.encoding=UTF-8 clean package tomcat7:run | ||
else | ||
echo "Build failure in dependent project. Cannot boot Activiti Explorer." | ||
fi |
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,12 @@ | ||
#!/bin/bash | ||
export MAVEN_OPTS="-Xms521M -Xmx1024M -XX:MaxPermSize=256M -noverify -Xdebug -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n" | ||
cd .. | ||
mvn -T 1C -PbuildRestappDependencies clean install | ||
STATUS=$? | ||
if [ $STATUS -eq 0 ] | ||
then | ||
cd modules/activiti-webapp-rest2 | ||
mvn -Dfile.encoding=UTF-8 clean package tomcat7:run | ||
else | ||
echo "Build failure in dependent project. Cannot boot Activiti Rest." | ||
fi |