Skip to content

Commit ed2778a

Browse files
committed
Added information on how to hot deploy to Alfresco
1 parent 5fd4eab commit ed2778a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

javascript-console-repo/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ The command builds two JAR files named javascript-console-repo-<version>.jar and
3434
javascript-console-repo-<version>-sources.jar as well as javascript-console-repo-<version>.amp
3535
in the 'target' directory within your project.
3636

37+
To hotdeploy to a local alfresco installation you can use the alfresco:install
38+
command to deploy the Javascript Console directly to a WAR file or an exploded war folder:
39+
40+
mvn package alfresco:install -Dmaven.alfresco.warLocation=/path/to/tomcat/webapps/alfresco.war
41+
3742
If you want to build the module so it can be installed and run in an Alfresco 4.0 / 4.1 server
3843
running on Java 6 you need to have a Java 6 JDK available. Either make sure that your JDK 6 is set
3944
as the default Java environment (PATH / JAVA_HOME environment variable) or run the build with the

javascript-console-share/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ The command builds two JAR files named javascript-console-share-<version>.jar an
3333
javascript-console-share-<version>-sources.jar as well as javascript-console-share-<version>.amp
3434
in the 'target' directory within your project.
3535

36+
To hotdeploy to a local alfresco installation you can use the alfresco:install
37+
command to deploy the Javascript Console directly to a WAR file or an exploded war folder:
38+
39+
mvn package alfresco:install -Dmaven.alfresco.warLocation=/path/to/tomcat/webapps/share.war
40+
3641
If you want to build the module so it can be installed and run in an Alfresco 4.0 / 4.1 server
3742
running on Java 6 you need to have a Java 6 JDK available. Either make sure that your JDK 6 is set
3843
as the default Java environment (PATH / JAVA_HOME environment variable) or run the build with the

0 commit comments

Comments
 (0)