You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you prefer the AMP deployment method you also find amp files in the respective
31
-
folder that you can install with the apply_amps.sh or apply_amps.bat utilities. Be
32
-
aware that you need to install both amps files: the repo-amp and the share-amp.
33
-
34
-
The deployment location has changed recently (with Javascript Console 0.5)
35
-
because the Javascript Console now uses Java classes that have to be deployed
36
-
to these locations and can NOT reside in tomcat/shared/lib anymore.
23
+
You can also use the Alfresco Maven SDK to install or overlay the AMP during the build of a
24
+
Repository / Share WAR project. See https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/plugins/alfresco-maven-plugin/advanced-usage.html
25
+
for details.
37
26
38
27
39
28
Building
40
29
--------
41
30
42
-
To build the individual JAR files, run the following command from the base
43
-
project directory.
44
-
45
-
ant -Dalfresco.sdk.dir=c:\dev\sdks\alfresco-enterprise-sdk-4.0.0 clean dist-jar
31
+
To build the module and its AMP / JAR files, run the following command from the base
32
+
project directory:
46
33
47
-
The command should build a JAR file named javascript-console-repo.jar or
48
-
javascript-console-share.jar in the 'dist' directory within your project.
34
+
mvn install
49
35
50
-
There also is the javascript-console-dist project which builds both jar files
51
-
and creates a patched version for Alfresco 3.4.x which does not support all the
52
-
features of the version for 4.0.x. This project creates the AMP files as well.
36
+
The command builds two JAR files named javascript-console-repo-<version>.jar /
37
+
javascript-console-share-<version>.jar and javascript-console-repo-<version>-sources.jar /
38
+
javascript-console-share-<version>-sources.jar as well as javascript-console-repo-<version>.amp /
39
+
javascript-console-share-<version>.amp in the 'target' directory within your project.
53
40
54
-
To deploy the extension files into a local Tomcat instance for testing, you can
55
-
use the hotcopy-tomcat-jar task. You will need to set the tomcat.home
56
-
property in Ant.
41
+
If you want to build the module so it can be installed and run in an Alfresco 4.0 / 4.1 server
42
+
running on Java 6 you need to have a Java 6 JDK available. Either make sure that your JDK 6 is set
43
+
as the default Java environment (PATH / JAVA_HOME environment variable) or run the build with the
44
+
following command from the base project directory:
57
45
58
-
ant -Dtomcat.home=C:/Alfresco/tomcat clean hotcopy-tomcat-jar
59
-
60
-
Once you have run this you will need to restart Tomcat so that the classpath
The deployment location has changed recently (with Javascript Console 0.5)
30
-
because the Javascript Console now uses Java classes that have to be deployed
31
-
to these locations and can NOT reside in tomcat/shared/lib anymore.
20
+
You can also use the Alfresco Maven SDK to install or overlay the AMP during the build of a
21
+
Repository WAR project. See https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/plugins/alfresco-maven-plugin/advanced-usage.html
22
+
for details.
32
23
33
24
34
25
Building
35
26
--------
36
27
37
-
To build the individual JAR files, run the following command from the base
38
-
project directory.
39
-
40
-
ant -Dalfresco.sdk.dir=c:\dev\sdks\alfresco-enterprise-sdk-4.0.0 clean dist-jar
28
+
To build the module and its AMP / JAR files, run the following command from the base
29
+
project directory:
41
30
42
-
The command should build a JAR file named javascript-console-repo.jar or
43
-
javascript-console-share.jar in the 'dist' directory within your project.
31
+
mvn install
44
32
45
-
There also is the javascript-console-dist which builds both jar files and
46
-
creates a patched version for Alfresco 3.4.x which does not support all the
47
-
features of the version for 4.0.x
33
+
The command builds two JAR files named javascript-console-repo-<version>.jar and
34
+
javascript-console-repo-<version>-sources.jar as well as javascript-console-repo-<version>.amp
35
+
in the 'target' directory within your project.
48
36
49
-
To deploy the extension files into a local Tomcat instance for testing, you can
50
-
use the hotcopy-tomcat-jar task. You will need to set the tomcat.home
51
-
property in Ant.
37
+
If you want to build the module so it can be installed and run in an Alfresco 4.0 / 4.1 server
38
+
running on Java 6 you need to have a Java 6 JDK available. Either make sure that your JDK 6 is set
39
+
as the default Java environment (PATH / JAVA_HOME environment variable) or run the build with the
40
+
following command from the base project directory:
52
41
53
-
ant -Dtomcat.home=C:/Alfresco/tomcat clean hotcopy-tomcat-jar
54
-
55
-
Once you have run this you will need to restart Tomcat so that the classpath
The deployment location has changed recently (with Javascript Console 0.5)
30
-
because the Javascript Console now uses Java classes that have to be deployed
31
-
to these locations and can NOT reside in tomcat/shared/lib anymore.
32
-
20
+
You can also use the Alfresco Maven SDK to install or overlay the AMP during the build of a
21
+
Share WAR project. See https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/plugins/alfresco-maven-plugin/advanced-usage.html
22
+
for details.
33
23
34
24
Building
35
25
--------
36
26
37
-
To build the individual JAR files, run the following command from the base
38
-
project directory.
39
-
40
-
ant -Dalfresco.sdk.dir=c:\dev\sdks\alfresco-enterprise-sdk-4.0.0 clean dist-jar
27
+
To build the module and its AMP / JAR files, run the following command from the base
28
+
project directory:
41
29
42
-
The command should build a JAR file named javascript-console-repo.jar or
43
-
javascript-console-share.jar in the 'dist' directory within your project.
30
+
mvn install
44
31
45
-
There also is the javascript-console-dist which builds both jar files and
46
-
creates a patched version for Alfresco 3.4.x which does not support all the
47
-
features of the version for 4.0.x
32
+
The command builds two JAR files named javascript-console-share-<version>.jar and
33
+
javascript-console-share-<version>-sources.jar as well as javascript-console-share-<version>.amp
34
+
in the 'target' directory within your project.
48
35
49
-
To deploy the extension files into a local Tomcat instance for testing, you can
50
-
use the hotcopy-tomcat-jar task. You will need to set the tomcat.home
51
-
property in Ant.
36
+
If you want to build the module so it can be installed and run in an Alfresco 4.0 / 4.1 server
37
+
running on Java 6 you need to have a Java 6 JDK available. Either make sure that your JDK 6 is set
38
+
as the default Java environment (PATH / JAVA_HOME environment variable) or run the build with the
39
+
following command from the base project directory:
52
40
53
-
ant -Dtomcat.home=C:/Alfresco/tomcat clean hotcopy-tomcat-jar
54
-
55
-
Once you have run this you will need to restart Tomcat so that the classpath
0 commit comments