open-power / serverwiz

Apache License 2.0
4 stars 18 forks source link

Cannot compile #20

Closed shenki closed 8 years ago

shenki commented 8 years ago

I tried to compile serverwiz 307de96b447f2a0514b2b296681d8b2d36a46b02 and got an error about bad paths. It appears the build.xml is hard coded with some assumptions.

$ ant compile
Buildfile: /home/joel/dev/op/serverwiz/build.xml

compile:
    [mkdir] Created dir: /home/joel/dev/op/serverwiz/build/classes
    [javac] /home/joel/dev/op/serverwiz/build.xml:17: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 30 source files to /home/joel/dev/op/serverwiz/build/classes

BUILD FAILED
/home/joel/dev/op/serverwiz/build.xml:17: /home/joel/dev/op/serverwiz/C:/eclipse/plugins does not exist.

Total time: 0 seconds
nkskjames commented 8 years ago

Fixed with 7bded7d2239bba8c42b744e7d6fa67664852a615. Tested on Ubuntu 16.04. Here is build command line:

ant -f build.xml clean compile jar

Also note there are precompiled jars at https://github.com/open-power/serverwiz/releases.

nkskjames commented 8 years ago

I'm assuming this is fixed since @stewart-ibm is compiling ok, so closing

ghost commented 8 years ago

Yep, current master builds for me, should do for @shenki too.