@@ -40,8 +40,8 @@ Installation
40
40
------------
41
41
42
42
The component has been developed to install on top of an existing Alfresco
43
- 4.0, 4.1 or 4.2 installation. The javascript-console-repo-<version >.amp or
44
- javascript-console-share-<version >.amp needs to be installed into the Alfresco
43
+ 4.0, 4.1 or 4.2 installation. The ` javascript-console-repo-<version>.amp ` or
44
+ ` javascript-console-share-<version>.amp ` needs to be installed into the Alfresco
45
45
Repository / Share webapp using the Alfresco Module Management Tool:
46
46
47
47
java -jar alfresco-mmt.jar install javascript-console-repo-<version>.amp /path/to/alfresco.war
@@ -60,14 +60,14 @@ project directory:
60
60
61
61
mvn install
62
62
63
- The command builds two JAR files named javascript-console-repo-<version >.jar /
64
- javascript-console-share-<version >.jar and javascript-console-repo-<version >-sources.jar /
65
- javascript-console-share-<version >-sources.jar as well as javascript-console-repo-<version >.amp /
66
- javascript-console-share-<version >.amp in the ' target' directory within your project.
63
+ The command builds two JAR files named ` javascript-console-repo-<version>.jar ` /
64
+ ` javascript-console-share-<version>.jar ` and ` javascript-console-repo-<version>-sources.jar ` /
65
+ ` javascript-console-share-<version>-sources.jar ` as well as ` javascript-console-repo-<version>.amp ` /
66
+ ` javascript-console-share-<version>.amp ` in the ` target ` directory within your project.
67
67
68
68
If you want to build the module so it can be installed and run in an Alfresco 4.0 / 4.1 server
69
69
running on Java 6 you need to have a Java 6 JDK available. Either make sure that your JDK 6 is set
70
- as the default Java environment (PATH / JAVA_HOME environment variable) or run the build with the
70
+ as the default Java environment (` PATH ` / ` JAVA_HOME ` environment variable) or run the build with the
71
71
following command from the base project directory:
72
72
73
73
mvn install -P Java6-crossCompile -Djdk6.executable=/path/to/javac
@@ -81,7 +81,7 @@ Using the component
81
81
- In the left-hand-side navigation, click * Javascript Console*
82
82
- Enter Alfresco repository javascript code in the textarea at the top. Press
83
83
the execute button to run the script.
84
- - You can use the special print(..) javascript command to output messages to
84
+ - You can use the special ` print(..) ` javascript command to output messages to
85
85
the output window.
86
86
- use Ctrl+Space for code completion. Note that only global objects and specific
87
87
variables (document, space, variables ending in ...node) are completed.
0 commit comments