546 |
18 Jan 08 |
nicklas |
1 |
---------------------------------------------------------------------- |
546 |
18 Jan 08 |
nicklas |
Instructions for compiling the |
546 |
18 Jan 08 |
nicklas |
Illumina plug-ins package for BASE. |
546 |
18 Jan 08 |
nicklas |
4 |
---------------------------------------------------------------------- |
546 |
18 Jan 08 |
nicklas |
5 |
|
546 |
18 Jan 08 |
nicklas |
6 |
------------ |
546 |
18 Jan 08 |
nicklas |
Requirements |
546 |
18 Jan 08 |
nicklas |
8 |
------------ |
546 |
18 Jan 08 |
nicklas |
9 |
|
1446 |
02 Nov 11 |
nicklas |
1. Ant 1.8 |
546 |
18 Jan 08 |
nicklas |
11 |
|
2286 |
13 Mar 14 |
nicklas |
2. Java 1.7 |
546 |
18 Jan 08 |
nicklas |
13 |
|
2286 |
13 Mar 14 |
nicklas |
3. BASE 3.3.0 |
546 |
18 Jan 08 |
nicklas |
15 |
|
546 |
18 Jan 08 |
nicklas |
16 |
--------- |
546 |
18 Jan 08 |
nicklas |
Compiling |
546 |
18 Jan 08 |
nicklas |
18 |
--------- |
546 |
18 Jan 08 |
nicklas |
19 |
|
807 |
21 Oct 08 |
nicklas |
1. Type `ant download-lib` to automatically download the BASE core JAR file that |
807 |
21 Oct 08 |
nicklas |
are neeed for compilation. You can also do this manually by copying the |
1386 |
06 Sep 11 |
nicklas |
base-core-3.x.jar, base-coreplugins-3.x.jar, base-webclient-3.x.jar and base-webservices-client-3.x.jar |
1386 |
06 Sep 11 |
nicklas |
files from the BASE installation directory (<basedir>/www/WEB-INF/lib/) to the ./lib/compile |
807 |
21 Oct 08 |
nicklas |
directory. |
807 |
21 Oct 08 |
nicklas |
25 |
|
807 |
21 Oct 08 |
nicklas |
2. Type `ant` to compile the code and put everything you need into |
546 |
18 Jan 08 |
nicklas |
the ./dist directory. |
546 |
18 Jan 08 |
nicklas |
28 |
|
553 |
25 Jan 08 |
nicklas |
3. See the INSTALL file for installation instructions. |
546 |
18 Jan 08 |
nicklas |
30 |
|
807 |
21 Oct 08 |
nicklas |
4. Use `ant package` to create a downloadable tar.gz package in the ./package |
585 |
13 Feb 08 |
nicklas |
directory. |
585 |
13 Feb 08 |
nicklas |
33 |
|
546 |
18 Jan 08 |
nicklas |
34 |
---------- |
546 |
18 Jan 08 |
nicklas |
Developers |
546 |
18 Jan 08 |
nicklas |
36 |
---------- |
546 |
18 Jan 08 |
nicklas |
37 |
|
546 |
18 Jan 08 |
nicklas |
To make the development and testing of this plug-in easier do the following steps: |
546 |
18 Jan 08 |
nicklas |
39 |
|
685 |
30 Apr 08 |
jari |
1. First time compilation and installation: Compile the source and |
685 |
30 Apr 08 |
jari |
follow the instructions above and in the INSTALL and README files. |
546 |
18 Jan 08 |
nicklas |
42 |
|
585 |
13 Feb 08 |
nicklas |
43 |
|
1386 |
06 Sep 11 |
nicklas |
2. Enabled the plug-in auto reload functionality in BASE by adding the following |
546 |
18 Jan 08 |
nicklas |
configuration option to your base.config file: |
546 |
18 Jan 08 |
nicklas |
46 |
|
546 |
18 Jan 08 |
nicklas |
plugins.autounload = 1 |
546 |
18 Jan 08 |
nicklas |
48 |
|
585 |
13 Feb 08 |
nicklas |
You may have to restart Tomcat after the change. |
585 |
13 Feb 08 |
nicklas |
50 |
|
585 |
13 Feb 08 |
nicklas |
51 |
|
1386 |
06 Sep 11 |
nicklas |
3. Create a symbolic link from the BASE plug-ins directory to the JAR file in: |
585 |
13 Feb 08 |
nicklas |
53 |
|
685 |
30 Apr 08 |
jari |
./dist/illumina-plugins.jar |
585 |
13 Feb 08 |
nicklas |
55 |
|
585 |
13 Feb 08 |
nicklas |
56 |
|
685 |
30 Apr 08 |
jari |
4. Now, when you change the code and re-compile it, BASE will |
685 |
30 Apr 08 |
jari |
automatically detect the change and reload the new code the next |
685 |
30 Apr 08 |
jari |
time you run the plug-in. There is no need to restart Tomcat or to |
1386 |
06 Sep 11 |
nicklas |
manually unload the old plug-in code. Note! The auto reload only works |
1386 |
06 Sep 11 |
nicklas |
for plug-ins. Extensions must be updated with the regular installation |
1386 |
06 Sep 11 |
nicklas |
procedure at Administrate -> Plug-ins & extensions -> Overview. |
1386 |
06 Sep 11 |
nicklas |
63 |
|
1386 |
06 Sep 11 |
nicklas |
64 |
|
1386 |
06 Sep 11 |
nicklas |
65 |
|