1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
**************************
* PLUGIN_NAME INSTALL *
**************************
PLUGIN_NAME is written in Java. In order to build the whole project you need Apache Ant.
However Eclipse can be used during the development phase.
PLUGIN_NAME uses the version control system Bazaar in order to keep track of
revisions, releases, milestones, bugs and blueprints.
The source code is hosted on Launchpad: lp:~jhelioviewer-dev/jhelioviewer/PLUGIN_NAME
This document serves only as a quick reference for building the source code. More detailed
instructions as well as development guidelines and information can be found on
http://www.helioviewer.org/wiki/index.php?title=JHelioviewer_Development_Information
Build instructions
-------------------
I)
Get and save the source:
1.) Install Bazaar (http://bazaar.canonical.com/en/)
2.) Get the latest jhelioviewer trunk
(http://www.helioviewer.org/wiki/index.php?title=JHelioviewer_Development_Information)
3.) Open a terminal and type:
bzr branch lp:~jhelioviewer-dev/jhelioviewer/PLUGIN_NAME ${PATH_TO_JHV_SRC}/plugins/
II) Build the source code with Ant (http://ant.apache.org/)
1.) Open a terminal and change to the PLUGIN_NAME directory in the plugins dir
2.) Type the following to build PLUGIN_NAME (files are placed in the 'build' subdirectory):
ant
- In order to build the java documentation type:
ant doc
- In order to delete temporary build files type:
ant clean
3.) Type 'ant install-plugin' in order to copy the jar to JHelioviewers plugin folder
Note 1: You can also build ALL plugins from the JHelioviewers root directory. The commands are:
ant release-plugins
ant doc-plugins
ant clean-plugins
ant install-plugins
Note 2: If the PLUGIN_NAME directory is not in the plugins directory of the jhv trunk
you have to specify the location of the jhv source with:
ant -Djhv.root=PATH_TO_JHV_SRC
|