1
+
1
2
Javascript Console Admin Console component for Alfresco Share
2
3
=============================================================
3
4
@@ -11,21 +12,41 @@ Installation
11
12
------------
12
13
13
14
The component has been developed to install on top of an existing Alfresco
14
- 3.4 installation.
15
+ 3.4 or 4.0 installation. There are two different version in this archive with
16
+ a specific folder for each of the Alfresco version.
17
+
18
+ When you have chosen the correct folder (3.4.x or 4.0.x) for your Alfresco version
19
+ you'll find two jar files within that folder. The javascript-console-repo.jar needs
20
+ to be copied into the Alfresco repository:
21
+
22
+ tomcat/webapps/alfresco/WEB-INF/lib/
23
+
24
+ The other file javascript-console-share.jar needs to be copied to the
25
+ corresponding folder in the Share webapp:
26
+
27
+ tomcat/webapps/share/WEB-INF/lib/
28
+
29
+ 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.
15
32
16
- An Ant build script is provided to build a JAR file containing the
17
- custom files, which can then be installed into the 'tomcat/shared/lib' folder
18
- of your Alfresco installation.
19
33
20
- To build the JAR file, run the following command from the base project
21
- directory.
34
+ Building
35
+ --------
22
36
23
- ant clean dist-jar
37
+ To build the individual JAR files, run the following command from the base
38
+ project directory.
24
39
25
- The command should build a JAR file named javascript-console.jar
26
- in the 'dist' directory within your project.
40
+ ant -Dalfresco.sdk.dir=c:\dev\sdks\alfresco-enterprise-sdk-4.0.0 clean dist-jar
27
41
28
- To deploy the dashlet files into a local Tomcat instance for testing, you can
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.
44
+
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
48
+
49
+ To deploy the extension files into a local Tomcat instance for testing, you can
29
50
use the hotcopy-tomcat-jar task. You will need to set the tomcat.home
30
51
property in Ant.
31
52
@@ -34,8 +55,10 @@ property in Ant.
34
55
Once you have run this you will need to restart Tomcat so that the classpath
35
56
resources in the JAR file are picked up.
36
57
58
+
37
59
Using the component
38
60
-------------------
39
61
40
62
Log in to Alfresco Share as an admin user and navigate to the Administration
41
63
page. Click 'Javascript Console' in the left hand side navigation.
64
+
0 commit comments