Hide Forgot
Domain->createDomainXML call takes CreateFlags as second argument but these flag definitions are defined as package only in Domain class. Please make them public. TY.
See http://libvirt.org/git/?p=libvirt-java.git;a=blob;f=src/main/java/org/libvirt/Domain.java;h=ee26a95fa468c115777c8dacd8754eb447071fc5;hb=5d84874d99ee399276873fb52625303ec3a3f396#l33 and http://libvirt.org/git/?p=libvirt-java.git;a=blob;f=src/main/java/org/libvirt/Connect.java;h=b3e29be75d1f77200c983dbbba0c77a0f8b4083e;hb=5d84874d99ee399276873fb52625303ec3a3f396#l284
Ah sorry, it's Connect->domainCreateXML.
CCing Claudio Bley who is the libvirt-java maintainer
Might also be a good idea to use enums for those constants such that Java IDE's can find them automatically and suggest them to the user.
Yes, this has been a thorn in my side for quite some time. And yes, I want to use Enums. (https://www.redhat.com/archives/libvir-list/2014-March/msg01436.html) I'll see that I get something together during the next week.