summaryrefslogtreecommitdiffstats
path: root/README.md
blob: deb2c9bfb253d6b3a95ffb195f88e5fdfcb40d17 (plain)
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
46
47
48
49
# Serverwiz #


## Building ##

Serverwiz uses an ant build script.

To start a build:

    cd <repodir>
    ant -f build.xml clean compile jar
    
The jars are built in the ./build directory.    

The OS specific jar can be ran directly.  In order to do this, there
must be a ./xml directory from where java is executed that contains
the library files.  So if you are in the repository directory, you 
can run:

	java -jar build/serverwiz2_[OS].jar
	
where OS is linux64, macosx64, win32, or win64.

Important: The first time Serverwiz is ran, it will ask you for your 
local git repository location.  It will look for common-mrw-xml repository 
in that directory.  If it does not exist, it will clone the repository from:

	https://github.com/open-power/common-mrw-xml.git

This is the XML based library that contains attribute and target
definitions.   The library can be updated to latest by using
"Manage Library" button.

## Precompiled jars ##

There are precompiled binaries at:

	https://github.com/open-power/serverwiz/releases
	
Download serverwiz2.jar which is the main launcher application.  This
application checks the OS and downloads the proper OS specific jar from
the latest github release.  It will not use the jar that was built locally
unless using the -d flag is used.  

To run:

	java -jar serverwiz2.jar

	
OpenPOWER on IntegriCloud