[libvirt] Can I request a new release of libvirt-java?

Wido den Hollander wido at widodh.nl
Fri Sep 13 10:07:24 UTC 2013



On 09/13/2013 11:26 AM, Daniel Veillard wrote:
> On Fri, Sep 13, 2013 at 11:13:53AM +0200, Wido den Hollander wrote:
>>
>>
>> On 09/13/2013 10:29 AM, Daniel Veillard wrote:
> [...]
>>>    I'm puzzled, how can the build be successful if the main jar is not
>>> generated ???
>>>
>>
>> Odd, I tried building the Deb and that works fine:
>>
>> wido at wido-laptop:~/repos/libvirt-java$ ant deb
>> Buildfile: /home/wido/repos/libvirt-java/build.xml
>>
>> init:
>>      [mkdir] Created dir: /home/wido/repos/libvirt-java/target/classes
>>      [mkdir] Created dir: /home/wido/repos/libvirt-java/target/testclasses
>>      [mkdir] Created dir: /home/wido/repos/libvirt-java/target/cache
>>       [copy] Copying 1 file to /home/wido/repos/libvirt-java
>>
>> build:
>>      [javac] Compiling 64 source files to
>> /home/wido/repos/libvirt-java/target/classes
>>
>> jar:
>>        [jar] Building jar:
>> /home/wido/repos/libvirt-java/target/libvirt-0.5.0.jar
>>
>> deb:
>>      [mkdir] Created dir:
>> /home/wido/repos/libvirt-java/target/libvirt-java/DEBIAN
>>       [copy] Copying 1 file to
>> /home/wido/repos/libvirt-java/target/libvirt-java/DEBIAN
>>      [mkdir] Created dir:
>> /home/wido/repos/libvirt-java/target/libvirt-java/usr/share/java
>>       [copy] Copying 1 file to
>> /home/wido/repos/libvirt-java/target/libvirt-java/usr/share/java
>>       [exec] dpkg-deb: building package `libvirt-java' in
>> `target/libvirt-java_0.5.0_all.deb'.
>>
>> BUILD SUCCESSFUL
>> Total time: 3 seconds
>> wido at wido-laptop:~/repos/libvirt-java$
>>
>>
>> The problem with the RPM seems to be it executes "ant build docs"
>>
>> While "build" actually builds the classes, it doesn't generate a JAR file.
>>
>> It should run:
>>
>> $ ant jar docs
>>
>> That produces the correct .jar file in the target directory.
>
>    Indeed that was the problem, I just commited the fix, thanks !
>

Great! I see you tagged the 0.5.0 release.

Could you also upload the files here: 
http://www.libvirt.org/maven2/org/libvirt/libvirt/

That way we can use Maven in CloudStack to depend on libvirt-java 0.5.0

Wido

> Daniel
>




More information about the libvir-list mailing list