[libvirt] Can I request a new release of libvirt-java?
Daniel Veillard
veillard at redhat.com
Fri Sep 13 09:26:24 UTC 2013
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 !
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard at redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list