File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Using jibx-bind.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Using jibx-bind.jar" Watch "Using jibx-bind.jar" New topic
Author

Using jibx-bind.jar

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
The following bind command works if the source files are next to bind.xml

java -jar C:\jibx\lib\jibx-bind.jar example24\binding.xml

How would i make the above command work if the generated java files were created say in a folder called "example" thus having a "package example" on top of them ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

This http://jibx.sourceforge.net/fromschema/codegen-customs.html might help. See the "package" attribute in that listing.

[My Blog] [JavaRanch Journal]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Using jibx-bind.jar