-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing run.bat files and update run.sh files for SDK 2.1.1.
- Loading branch information
Showing
4 changed files
with
48 additions
and
6 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,19 @@ | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
:: Dev environment startup script for Alfresco Community. :: | ||
:: :: | ||
:: Downloads the spring-loaded lib if not existing and :: | ||
:: runs the Repo AMP applied to Alfresco WAR. :: | ||
:: Note. the Share WAR is not deployed. :: | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
@echo off | ||
|
||
set springloadedfile=%HOME%\.m2\repository\org\springframework\springloaded\1.2.3.RELEASE\springloaded-1.2.3.RELEASE.jar | ||
|
||
if not exist %springloadedfile% ( | ||
mvn validate -Psetup | ||
) | ||
|
||
set MAVEN_OPTS=-javaagent:"%springloadedfile%" -noverify -Xms256m -Xmx2G | ||
|
||
mvn integration-test -Pamp-to-war -nsu | ||
:: mvn integration-test -Pamp-to-war |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/bash | ||
# Downloads the spring-loaded lib if not existing and runs repository AMP | ||
springloadedfile=~/.m2/repository/org/springframework/springloaded/1.2.0.RELEASE/springloaded-1.2.0.RELEASE.jar | ||
# Downloads the spring-loaded lib if not existing and | ||
# runs the Repo AMP applied to Alfresco WAR. | ||
# Note. the Share WAR is not deployed. | ||
springloadedfile=~/.m2/repository/org/springframework/springloaded/1.2.3.RELEASE/springloaded-1.2.3.RELEASE.jar | ||
|
||
if [ ! -f $springloadedfile ]; then | ||
mvn validate -Psetup | ||
fi | ||
|
||
MAVEN_OPTS="-javaagent:$springloadedfile -noverify -Xms256m -Xmx2G -XX:PermSize=300m" mvn integration-test -Pamp-to-war | ||
MAVEN_OPTS="-javaagent:$springloadedfile -noverify -Xms256m -Xmx2G" mvn integration-test -Pamp-to-war |
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,20 @@ | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
:: Dev environment startup script for Alfresco Community. :: | ||
:: :: | ||
:: Downloads the spring-loaded lib if not existing and :: | ||
:: runs the Share AMP applied to Share WAR. :: | ||
:: Note. requires Alfresco.war to be running in another :: | ||
:: Tomcat on port 8080. :: | ||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
@echo off | ||
|
||
set springloadedfile=%HOME%\.m2\repository\org\springframework\springloaded\1.2.3.RELEASE\springloaded-1.2.3.RELEASE.jar | ||
|
||
if not exist %springloadedfile% ( | ||
mvn validate -Psetup | ||
) | ||
|
||
set MAVEN_OPTS=-javaagent:"%springloadedfile%" -noverify | ||
|
||
mvn integration-test -Pamp-to-war -nsu | ||
:: mvn integration-test -Pamp-to-war |
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/bin/bash | ||
# Downloads the spring-loaded lib if not existing and runs the Share AMP | ||
springloadedfile=~/.m2/repository/org/springframework/springloaded/1.2.0.RELEASE/springloaded-1.2.0.RELEASE.jar | ||
# Downloads the spring-loaded lib if not existing and runs the Share AMP applied to Share WAR | ||
# Note. requires Alfresco.war to be running in another Tomcat on port 8080 | ||
springloadedfile=~/.m2/repository/org/springframework/springloaded/1.2.3.RELEASE/springloaded-1.2.3.RELEASE.jar | ||
|
||
if [ ! -f $springloadedfile ]; then | ||
mvn validate -Psetup | ||
fi | ||
|
||
MAVEN_OPTS="-javaagent:$springloadedfile -noverify" mvn integration-test -Pamp-to-war | ||
MAVEN_OPTS="-javaagent:$springloadedfile -noverify" mvn integration-test -Pamp-to-war |