[jibx-users] OTA Schema Project
I've been using your JiBX tool for a while now and I'm hooked. I realize you are touting the performance as the primary strength, but frankly I like the fact that I can write nice, clean code using plain old java classes. I've been working with the opentravel schema and your ota-jibx sub-project. I really like how you have split the schema into independent packages for each travel product segment, such as rail, air, etc. I also like the fact that you have broken down the schema into separate packages (base.jar and everything else). This got me thinking. It would be nice to break down the schema into separate jars by product segment (base.jar, air.jar, etc). I'm thinking that there would be a couple of great advantages to doing this: 1. I only use the jars that I need depending on the schema that I use. (maybe even automatic resource loading via osgi?) 2. These jars could be packaged and placed in a (maven) repository so they can be easily loaded into development and runtime environments. ... so here's my questions. 1. Am I crazy? (You don't have to answer this pary of the question) My initial tests indicate that this is doable. Do you see any reason why this won't work? 2. I've found a few tiny bugs in the jibx code in my research. Some are simple and I can provide the code. Others, I have hacked the code to make it work, but I would want someone to fix it correctly. Is this the place to report them? 3. Do you mind if I use your binding file from the jibx-ota project? Again... I really love JiBX. Nice work. Thanks for you time. Don -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] New JiBX-OTA sub-project: Pre-build osgi modules for opentravel.org schema
I've set up new sub project of the JiBX-OTA project: This project creates a library of modules that are bound to the opentravel schema (A huge schema library for the travel industry). Each module handles a product area (hotel, air, etc). The module deployment is handled by maven, so only the dependent modules are included. For example, if you are using the hotel schema, the hotel, profile, air, vehicle, and base code (jars) will be added to your war file). The 'on-demand' class loading is handled by osgi. For example, the profile part of the schema would not be loaded unless it is used. This project seems to work. If you want to give it a quick try, type these 3 maven command to create, build, and run a sample program: https://jibx.svn.sourceforge.net/svnroot/jibx/jibx-ota/trunk/jibx-ota-osgi/readme.txt This project was a proof of concept. It seems to work. If you use the opentravel schema, give it a try and send me your suggestions. Thanks, Don -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 50, Issue 1
Julian Fawcett Subject: [jibx-users] maven-jibx-plugin not working in multi-module project Joolz, The maven-jibx-plugin has been re-written for version 1.2.3 (which should be out in the next week or so). Please try the new code to see if your problem is resolved. To use the new code now, please check it out of the cvs dev repository and build it. i.e., type: *cvs -z3 -d:pserver:anonym...@jibx.cvs.sourceforge.net:/cvsroot/jibx co -P maven-jibx-plugin* *cd maven-jibx-plugin* (or dir maven-jibx-plugin if you are using windows) *mvn install* Then build your project again (without changing anything). If you still have an error, please run maven with the -e flag and send me the log: *mvn -e package* Also, if you can, send me a zipped copy of your project. Thanks, Don -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 50, Issue 1
Peet, The fix for JIBX-331 /browse/JIBX-331 was not applied until version 1.2.3 (which should be out in the next week or so). This was a very simple fix. To use the new code now, please check it out of the cvs dev repository and build it. i.e., type: *cvs -z3 -d:pserver:anonym...@jibx.cvs.sourceforge.net:/cvsroot/jibx co -P maven-jibx-plugin* *cd maven-jibx-plugin* (or dir maven-jibx-plugin if you are using windows) *mvn install* Then build your project again (using the 1.2.2 plugin). Remember to update your version to 1.2.3 when it is released. Thanks, Don -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Jibx an Maven: how to have different profiles
Miguel, This issue has been solved in JiBX 1.2.3. We are attempting to get this release out the door soon. The new jibx plugin has goals for generating schema code (test-schema-codegen) and binding (test-bind) during the test phase. To use the new code, please check it out of the cvs dev repository and build it. ie., type: cvs -z3 -d:pserver:anonym...@jibx.cvs.sourceforge.net:/cvsroot/jibx co -P maven-jibx-plugin cd maven-jibx-plugin mvn install mvn site (this will install the new documentation on your hard disk at target/site (ignore any warnings) This will overwrite your maven-jibx-plugin version 1.2.2 with the new code. Now try to build your maven project. It should work as expected. Thanks, Don ---quoted Message: 4 Date: Sat, 15 Jan 2011 12:22:35 + From: Miguel mig...@almeida.at Subject: [jibx-users] Jibx an Maven: how to have different profiles for testing and production To: jibx-users@lists.sourceforge.net Message-ID: 1295094155.3648.11.camel@itcd001 Content-Type: text/plain; charset=utf-8 Dear all, I use Maven and the jibx-maven plugin. I have a conceptual doubt regarding the usage of both with testing. While testing the jibx components I have some *bindingTest.xml bindings. While these are useful for testing purposes, they shouldn't be in the production environment. Moreover, I might even have two conflicting bindings (ie, relating to the same class), like PersonbindingTest.xml and Personbinding.xml Now, because Jibx uses bytecode enhancement, this means that if I package my classes in Maven and run the tests, I believe the packaged file will contain bindingTest's bytecode enhancement, even if, in Maven, I tell it not to package the bindingTest.xml files. My current hack for this problem involves creating two maven profiles in the jibx-plugin (see http://pastebin.com/GbDVP54d ): one is invoked in the testing goal, the other in the packaging goal. The tests fail, however, if I run the package goal without skip tests, because *bindingTest.xml files were not used. Is there a configuration I am not seeing that allows us to run the bindingTest.xml to perform the test, but ignores these files (and deletes the corresponding bytecode enhanced classes) in the packaging phase? All input welcome! Miguel Almeida quoted -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Jibx an Maven: how to have different profiles
Miguel, Dennis has a few more things to finish up, then we'll have this release out very soon. You know how it is, sometimes its tough to find some free time. Thanks for your patience! Don On Tue, Jan 18, 2011 at 1:59 AM, Miguel mig...@almeida.at wrote: Hey Don, I got your message a few minutes ago, but it was the same as yesterday's one. Did you get my reply to it (see below)? Regards, Miguel Yesterday's reply-- Hi Don, That is good news. Do you have any expected release date? I was actually using 1.2.3-SNAPSHOT (not knowing about the new goals), but for production I had to revert to 1.2.2 (because it is not good policy to have SNAPSHOTS dependencies in final versions and the maven release plugin doesn't even allow it). Regards, Miguel On Tue, 2011-01-18 at 01:39 -0800, Don Corley wrote: -- Forwarded message -- From: *Don Corley* d...@donandann.com Date: Mon, Jan 17, 2011 at 3:08 AM Subject: [jibx-users] Jibx an Maven: how to have different profiles To: jibx-users@lists.sourceforge.net Miguel, This issue has been solved in JiBX 1.2.3. We are attempting to get this release out the door soon. The new jibx plugin has goals for generating schema code (test-schema-codegen) and binding (test-bind) during the test phase. To use the new code, please check it out of the cvs dev repository and build it. ie., type: cvs -z3 -d:pserver:anonym...@jibx.cvs.sourceforge.net:/cvsroot/jibx co -P maven-jibx-plugin cd maven-jibx-plugin mvn install mvn site (this will install the new documentation on your hard disk at target/site (ignore any warnings) This will overwrite your maven-jibx-plugin version 1.2.2 with the new code. Now try to build your maven project. It should work as expected. Thanks, Don ---quoted Message: 4 Date: Sat, 15 Jan 2011 12:22:35 + From: Miguel mig...@almeida.at Subject: [jibx-users] Jibx an Maven: how to have different profiles for testing and production To: jibx-users@lists.sourceforge.net Message-ID: 1295094155.3648.11.camel@itcd001 Content-Type: text/plain; charset=utf-8 Dear all, I use Maven and the jibx-maven plugin. I have a conceptual doubt regarding the usage of both with testing. While testing the jibx components I have some *bindingTest.xml bindings. While these are useful for testing purposes, they shouldn't be in the production environment. Moreover, I might even have two conflicting bindings (ie, relating to the same class), like PersonbindingTest.xml and Personbinding.xml Now, because Jibx uses bytecode enhancement, this means that if I package my classes in Maven and run the tests, I believe the packaged file will contain bindingTest's bytecode enhancement, even if, in Maven, I tell it not to package the bindingTest.xml files. My current hack for this problem involves creating two maven profiles in the jibx-plugin (see http://pastebin.com/GbDVP54d ): one is invoked in the testing goal, the other in the packaging goal. The tests fail, however, if I run the package goal without skip tests, because *bindingTest.xml files were not used. Is there a configuration I am not seeing that allows us to run the bindingTest.xml to perform the test, but ignores these files (and deletes the corresponding bytecode enhanced classes) in the packaging phase? All input welcome! Miguel Almeida quoted -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.2.3 is now in maven central
JiBX 1.2.3 is now in maven central. We've made many improvements to JiBX. Read about them herehttp://jibx.cvs.sourceforge.net/viewvc/jibx/core/changes.txt ! In addition, we have also upgraded our infrastructure to use the maven nexus release process. This will allow us to release new versions and bugfixes more frequently. If you use an IDE such as eclipse or netbeans, you will be able to see our source code and javadocs. We love to see bug reports with patches included! We have also improved the maven-jibx-pluginhttp://jibx.sourceforge.net/maven-jibx-plugin/ including: - Addition of jibx2wsdl. - All tasks can now run during the testing phases To upgrade to version 1.2.3, make these changes to your pom files: 1. Change your maven-jibx-plugin, jibx-run, jibx-extras, etc. version numbers to 1.2.3. 2. Remove the jibx repository entries: repositories ... urlhttp://jibx.sf.net/maven2/url Since we have changed to nexus, all of our artifacts go directly to maven central. The first time you run maven you may have to refresh your cache with the 'update' flag: mvn -U install We have also added OSGi entries to JiBX. If you are using obr (felix), we have an repository index for automatic loading of JiBX bundles here: http://jibx.org/repository.xml (If anyone out there knows how to set up p2 (eclipse plugin style) provisioning from maven projects, we would welcome your help) Thanks for using JiBX! -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Newer jibx-maven-plugin
jibx-maven-plugin version 1.2.3 has now been released as a replacement for the maven-jibx-plugin plugin. Besides the name change to conform to the maven plugin naming convention, there are several changes. The main goal of this project was to simplify the plugin's usage while maintaining compatibility with the old plugin. You should be able to replace the plugin name in your projects without changing any configuration. You will notice that many of the parameter names have been deprecated and replaced with more descriptive names. The main reason for this change was that the code-gen and the bind functions were using the same parameter names for different functions. The new documentation is available at http://jibx.org/jibx-maven-plugin. For example, for a web-based schema the new plugin configuration can be simplified to: plugin groupIdorg.jibx/groupId artifactIdmaven-jibx-plugin/artifactId version1.2.3/version executions execution goals goalschema-codegen/goal /goals /execution execution goals goalbind/goal /goals /execution /executions configuration schemaLocationhttp://www.jibx.org/sampleschema//schemaLocation includeSchemas includeSchemaperson.xsd/includeSchema /includeSchemas /configuration /plugin Give it a try! -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] The JiBX Schema Library is live.
The JiBX Schema Library is a collection of pre-built java schema bindings. The code is available as maven artifacts and also from our OSGi index. You can find the documentation here on the JiBX site: http://jibx.org/schema-library. If you're considering creating a java schema binding, look here first. We already have almost 100 bundles, including schema from the following projects: w3.org (wsdl 2.0, xhtml, etc) opentravel.org - The opentravel consortium hr-xml.org - Human resources xml maven.apache.org - (pom schema) webservicex.net (currency converter, stock quotes) If you have a JiBX java schema binding project using a public schema definition, please consider contributing your project so others can benefit from your expertise. This project introduces some new tools that makes creating a new project as easy as supplying the schema definition URL. Take a look! -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] The JiBX Schema Library is live
The JiBX Schema Library is a collection of pre-built java schema bindings. The code is available as maven artifacts and also from our OSGi index. You can find the documentation here on the JiBX site: http://jibx.org/schema-library. You may get the message twice. The email filter delayed my original announcement. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 58, Issue 14
Tomaz, You have probably noticed that the new maven plugin has the capability to reference base binding files and classes that are located in maven artifacts as described here: http://jibx.sourceforge.net/jibx-maven-plugin/modular-codegen.html Of course, the referenced classes in the maven artifacts have already been processed by JiBX. I'm not exactly sure what it is that you want to do. Could you give an example. Thanks, Don Message: 3 Date: Thu, 17 Mar 2011 14:11:05 +0100 From: TomazM tomaz.majerh...@arnes.si Subject: [jibx-users] bind mapping classes which are in jar To: JiBX users jibx-users@lists.sourceforge.net Message-ID: 4d820869.8080...@arnes.si Content-Type: text/plain; charset=utf-8 Is it possible to bind mapping classes which are in jar with maven-jibx-plugin? Regards; Tomaz -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] errors when compiling OTA2010B
Marius-Cristian Vasilescu, You're going to love this solution! The new JiBX schema library has pre-built, optimized bindings ready to use. The JiBX bindings are already modularized and deployed to maven central as OSGi bundles so that you only use the schema that you need. They are even included in the JiBX OSGi index so they will deploy automatically into your web server. ...and it just so happens that OTA 2010B is one of the schemas that is in the JiBX schema library. You can find the OTA 2010B schema description here: http://jibx.sourceforge.net/schema-library/site.html#opentravel.org There is a quick tutorial on using the 2010B schema with eclipse here: http://jibx.sourceforge.net/schema-library/opentravel/index.html Enjoy! Don -- Message: 1 Date: Sun, 17 Apr 2011 16:52:09 +0200 From: Marius-Cristian Vasilescu mar...@vegan.ro Subject: [jibx-users] errors when compiling OTA2010B To: JiBX users jibx-users@lists.sourceforge.net Message-ID: banlktimdx2rvtatupqgnapv8n38eyvq...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hi, More errors, sorry for this. I've tried everything I could imagine, but couldn't fix those ones. I've started using the ota-osgi packages, but since I needed to do some tweaks on PingRS I had to recompile the ping package. I've tried this two ways, but both failed when compiling. By the way, is there any difference between the ota-osgi packages and the jibx-ota generated packages? In the first instance I've used the ota-osgi base ping packages + the binding files (from maven's repos). I modified PingRS.java, compiled it and then I've tried to compile the bindings for the ping package. Actually without modifing anything and just trying to redo the bindings for the ping packages fails too with the same error. *$ java -cp .:./joda-time.jar:./jibx-extras.jar:./jibx-bind.jar org.jibx.binding.Compile ping-binding.xml Error running binding compiler java.lang.IllegalStateException: Internal error - cannot modify class org.jibx.ota.base.Action loaded from /home/... at org.jibx.binding.classes.ClassFile.getClassGen(ClassFile.java:1286)* I compiled the OTA2010B using jibx-ota and failed with OTA2010B, however it was ok with OTA2006B. I would prefer to use the latest tough. I've also noticed that with OTA2006B the timestamp of payloadStdAttributes is Date in the java file although in the schema it's dateTime. For OTA2010B the timestamp type is correct. I'm wondering why this difference. *generate-full: [echo] Running code generation from schema [java] Warning: No type defined for attribute 'Number' at (line 343, col 7, in file:///media/38da93d9-2eaf-47e0-96df-4cc5c89d8450/tmp/jibx-ota/OTA2010B/OTA_RailCommonTypes.xsd) [java] Warning: No type defined for attribute 'MoreEchoDataToken' at (line 92, col 9, in OTA_HotelInvChangeRQ.xsd) [java] Loaded and validated 256 specified schema(s) and 26 referenced schema(s) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:FareAccessPrefType; on format element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:CabinPrefGroup-AttributeGroup; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:DestinationLevelGroup-AttributeGroup ; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:ExtrasSelectionGroup-AttributeGroup ; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:PriceGroup-AttributeGroup; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:ResortCodeGroup-AttributeGroup; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:ChargesType; on mapping element at (sourException in thread main ce unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:CustomerCountsType; on mapping element at (source unknorg.jibx.runtime.JiBXException: Terminating due to errors in bindings [java] at org.jibx.schema.codegen.CodeGen.writeBindings(CodeGen.java:1618) [java] at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1808) [java] at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:2202) [java] own) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:ExtrasCoreType; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:ExtrasInfoType; on mapping element at (source unknown) [java] Error: Duplicate name { http://www.opentravel.org/OTA/2003/05}:ExtrasType; on mapping element at (source unknown) [java] Error: Duplicate name {
[jibx-users] Cloning JiBX git repository fails
Stevo, You may have hit our git repo while we were making changes. Over the last few months we've been trying to consolidate and organize our source repositories. After finding out (the hard way) that sourceforge doesn't really support multi-module git projects, we decided to move all our code to the subversion repository. ALL of our code can now be found under the subversion https://jibx.svn.sourceforge.net/svnroot/jibx/trunk path. The projects in the GIT repo have been stubbed out. Hopefully, we will switch to git for jibx 2.0. Thanks, Don -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] opentravel.org 2011A spec plus servicemix example
The JiBX schema library project http://www.jibx.org/schema-library has released pre-built JiBX bindings for the latest version (2011A) of the opentravel.org schema. These schema cover message exchange in the travel industry. You can find the opentravel.org binding documentation here: www.jibx.org/schema-library/site.html#opentravel.org You can also find detailed instructions on how to use this (or any JiBX library) to set up a web service with apache servicemix. The quick version is here: http://www.jibx.org/schema-library/webservices.html The detailed (step-by-step) version is here: http://blog.tourgeek.com/2011/06/using-jibx-schema-library-to-create.html Enjoy, Don -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Problems with eclipse dependencies
I've removed the eclipse dependencies from the jibx-maven-plugin and deployed the new code to the maven snapshot repository. I'm pretty sure this code was there to fix a very old eclipse OSGi dependency conflict. Please give it a shot and see this fixes your problems. To use the snapshot version, just change your jibx (plugin and dependency) versions from 1.2.3 to 1.2.4-SNAPSHOT and include this xml in your maven project file: pluginRepositories pluginRepository idsonatype-snapshots/id urlhttp://oss.sonatype.org/content/repositories/snapshots//url /pluginRepository pluginRepositories Tell me if this works! Don -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Eclipse Indigo - Maven to Eclipse (m2e) connector for JiBX
The newest version of Eclipse (Indigo) requires new tooling for Maven plugins. We have released our first m2e connector for the JiBX maven plugin. This connector contains the basic functionality needed to get the JiBX maven plugin to work under Eclipse. Eclipse Indigo will display a 'Lifecycle' error until you install this plugin. Instructions for installation and use are here: http://www.jibx.com/jibx-maven-plugin/m2e.html If you have expertise writing eclipse plugins, we welcome your contributions... otherwise, I'll be enhancing this plugin as I figure out how eclipse plugins work. Don Corley JiBX contributor -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX Apache CXF and Apache ServiceMix integration
You can now use your JiBX code in Web Service applications using Apache CXF and Apache ServiceMix. The new JiBX databinding module is now part of Apache CXF and Apache ServiceMix. You can find examples here: Simple CXF and ServiceMix example: http://jibx.sourceforge.net/jibx-maven-plugin/webservice.html Simple ServiceMix example using the JiBX schema-library: http://jibx.sourceforge.net/schema-library/webservices.html WARNING: The JiBX datamodule does not work correctly with the released version of CXF (2.4.0), you will have to build CXF from source until version 2.5 is released. ServiceMix JiBX databinding works fine with the current release. Don -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Trouble using jibx databinding in CXF 2.4.0
Juergen, There is a bug in CXF 2.4 when you use JiBX databinding. It has been fixed in CXF 2.5. Until 2.5 is released, you will have to use the apache/fusesource snapshot version. Instructions on building CXF from source are here: http://cxf.apache.org/building.html I'll create another post today with a link to a working CXF/JiBX example. Don Corley JiBX contributor Message: 3 Date: Tue, 26 Jul 2011 13:16:33 +0200 From: J?rgen Bockhorn juergen.bockh...@heuboe.de Subject: [jibx-users] Trouble using jibx databinding in CXF 2.4.0 To: jibx-users@lists.sourceforge.net jibx-users@lists.sourceforge.net Message-ID: 128DB53227227D43B4AAEED73E89A81902CF59D814@vm-exchg-2k8.heuboe.hbintern Content-Type: text/plain; charset=iso-8859-1 Hi, we are trying to move from AXIS2 with JiBX databinding to CXF/JiBX. Unforunately we are running into an error. Both CXF/JAXB and AXIS2/JiBX are working fine with the example. wsdl2java with jibx data-binding crashes if the schema contains simpleType definitions (stacktrace below). To reproduce this behaviour I attached a maven project including - pom.xml - src/main/resources/fooBar.wsdl - src/main/resources/fooBar.xsd The fooBar.xsd schema contains a simpleType definition 'EnumErrorType'. If this definition (and its usage) is removed the compile process works like expected. Using JAXB data binding the wsdl2java process runs also with the simpleType included. The fooBar.wsdl passes the wsdlvalidation tool without errors. Any hints how to make the jibx databinding work would be appreciated. Thanks -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Trouble using jibx databinding in CXF 2.4.0
Jürgen, This problem is very strange. The CXF JiBX databinding module does not like these declarations in your schema definition: xsd:enumeration value=NOT_FOUND_EXCEPTION/ xsd:enumeration value=ACCESS_DENIED_EXCEPTION/ I tried generating code using only the jibx-maven-plugin and it worked fine... meaning there is something incorrect that the databinding module is passing to JiBX. I don't have the time right now to dig through the code to see what is happening, but I'll add this to my to-do list. I did however simplify and isolate my cxf/servicemix example. This build no longer requires snapshot code and you will be able to build without downloading the entire JiBX source tree. Take another look: http://jibx.sourceforge.net/maven-jibx-plugin/webservice.html I always find it easier to start with a working example. This example demonstrates some of the problems you will have tring to use your current project (POM) file. Your project is missing the JiBX binding step and the OSGi manifest declaration. In my example, I also put the schema def in a different java package then the wsdl code. This makes your code a lot easier to work with. With a little OSGi slight-of-hand you can easily get around your current problem. All you have to do is supply a simple (fake) schema def to cxf and exclude it from the OSGi bundle using the maven-bundle-plugin. Then, build your schema to code using the jibx-maven-plugin. Again, use the maven-bundle-plugin to re-merge the code. Hope this helps! Don Message: 4 Date: Thu, 28 Jul 2011 10:23:23 +0200 From: J?rgen Bockhorn juergen.bockh...@heuboe.de Subject: Re: [jibx-users] Trouble using jibx databinding in CXF 2.4.0 To: JiBX users jibx-users@lists.sourceforge.net Message-ID: 128DB53227227D43B4AAEED73E89A81902CF59D822@vm-exchg-2k8.heuboe.hbintern Content-Type: text/plain; charset=iso-8859-1 Hi Don, unfortunately also the snapshot version doesn't work with the examples we have submitted with the first mail. We still get the following exception: mvn clean install [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building cxf-jibx-foobar 0.0.1-SNAPSHOT [INFO] [WARNING] The POM for org.eclipse:osgi:jar:v20080605-1900 is missing, no dependency information available [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cxf-jibx-foobar --- [INFO] Deleting C:\FooBar\workspaces\spin\cxf-jibx-foobar\target [INFO] [INFO] --- cxf-codegen-plugin:2.5.0-SNAPSHOT:wsdl2java (generate-sources) @ cxf-jibx-foobar --- Retrieving document at 'file:/C:/FooBar/workspaces/spin/cxf-jibx-foobar/src/main/resources/fooBar.wsdl'. Retrieving schema at 'fooBar.xsd', relative to 'file:/C:/FooBar/workspaces/spin/cxf-jibx-foobar/src/main/resources/fooBar.w sdl -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 63, Issue 4
Abhijit, You're right, the binding option requires a path relative to the source directory. Just change your option as follows: options b../config/agreementservice-client-binding.xml/b /options I believe b and binding-file-name are the same option. You should use only one of them. Don Message: 3 Date: Thu, 11 Aug 2011 20:09:43 -0400 From: Abhijit Sarkar forumsplusbl...@gmail.com Subject: Re: [jibx-users] [schema-codegen] Is it possible to generate source and binding files in separate directories? To: JiBX users jibx-users@lists.sourceforge.net Message-ID: CAJOO2V9d1Dv-inWQ=VKZv0Ut6eak-ZfQaMQb26R=vgmq0+a...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Don, The only reason I am generating in src is because I am using these generated classes for marshaling/unmarshaling. The codegen is an one time process and I am keeping the classes. That being said, it did not work as you suggested. It's trying to prepend sourceDirectory before b. [ERROR] Failed to execute goal org.jibx:jibx-maven-plugin:1.2.3:schema-codegen (agreementservice-schema-codegen) on project webservices-client: removed/src/main/java/src/main/config/ecif-agreementservice (No such file or directory) - [Help 1] [ERROR] configuration verbosetrue/verbose schemaLocationsrc/main/config/ecif-agreementservice/schemaLocation schemaBindingDirectory${build.sourceDirectory}/schemaBindingDirectory includeSchemas includeSchema*.*/includeSchema /includeSchemas excludeSchemas excludeSchema*.wsdl/excludeSchema /excludeSchemas defaultPackageagreementservice.client.types/defaultPackage options packageecif.agreementservice.client.types/package show-schemafalse/show-schema generate-alltrue/generate-all bsrc/main/config/ecif-agreementservice/b binding-file-nameagreementservice-client-binding.xml/binding-file-name /options /configuration On Thu, Aug 11, 2011 at 7:16 PM, Don Corley d...@donandann.com wrote: Abhijit, I assume from your directory names that you are using the maven plugin. It is considered bad practice in maven to generate files under the 'src' directory. Typically, since they are generated every time you build, you would want both the source and binding files generated somewhere under the 'target' directory. Now that you have my recommendation, the answer to your question is: Yes, you may generate the source and binding files in different directories. I did not include a parameter for a separate binding file directory in the maven plugin, but I did include a way to add any of the raw code gen parameters. All you need to do is include the '-b' parameter to codegen by adding the following to your maven configuration section: configuration *schemaBindingDirectory*src/main/java/*schemaBindingDirectory* options bsrc/main/config/b options /configuration Again, I highly recommend against using this directory structure. You might want to look at some of the examples (in our source control repository) and read the maven plugin and source gen documentation. Cheers! Don Message: 2 Date: Wed, 10 Aug 2011 20:14:07 -0400 From: Abhijit Sarkar forumsplusbl...@gmail.com Subject: Re: [jibx-users] [schema-codegen] Is it possible to generate source and binding files in separate directories? To: 'JiBX users' jibx-users@lists.sourceforge.net Message-ID: 01cc57bb$973cb220$c5b61660$@com Content-Type: text/plain; charset=us-ascii Someone please advise. From: Abhijit Sarkar [mailto:forumsplusbl...@gmail.com] Sent: Tuesday, August 09, 2011 5:40 PM To: 'JiBX users' Subject: [schema-codegen] Is it possible to generate source and binding files in separate directories? Hi, I was wondering if it is possible to generate source and binding files in separate directories during codegen? I wanted the sources to be under src/main/java and binding files under src/main/config. Regards, Abhijit -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users -- next part -- An HTML attachment was scrubbed
Re: [jibx-users] Eclipse Indigo - Maven to Eclipse (m2e)
Miguel, The new Maven to Eclipse connector for jibx maps the maven lifecycle phases to the correct eclipse phases. They are trying to get maven to work better with eclipse. It looks like your project's configuration does the same thing. Don Message: 3 Date: Fri, 30 Sep 2011 12:06:55 +0100 From: Miguel Almeida mig...@almeida.at Subject: Re: [jibx-users] Eclipse Indigo - Maven to Eclipse (m2e) connector for JiBX To: JiBX users jibx-users@lists.sourceforge.net Message-ID: 1317380815.2103.2.camel@itcd001 Content-Type: text/plain; charset=utf-8 Hi Don, I haven't quite understood what this is for, though. However, I did not have to install any connector. I just added the following to the pluginManagement section of my project. Don't know if you reckon it's the same - I'll have to investigate this whole connector shebang after solving my current issue. plugins plugin groupIdorg.eclipse.m2e/groupId artifactIdlifecycle-mapping/artifactId version1.0.0/version configuration lifecycleMappingMetadata pluginExecutions pluginExecution pluginExecutionFilter groupIdorg.jibx/groupId artifactIdmaven-jibx-plugin/artifactId versionRange[1.2.2,)/versionRange goals goalbind/goal /goals /pluginExecutionFilter action execute / /action /pluginExecution /pluginExecutions /lifecycleMappingMetadata /configuration /plugin /plugins -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX source repositories moved to github
You can now find the JiBX source code at: github.com/jibx -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Java 7 and JiBX 1.2.2
Adam, I get the same error when I run the current JiBX test suite under jdk1.7. This bug has been entered at: http://jira.codehaus.org/browse/JIBX-465 Thanks for reporting this. Don -- Message: 1 Date: Mon, 31 Oct 2011 15:00:24 -0500 From: Adam Weigold aweig...@vitalimages.com Subject: [jibx-users] Java 7 and JiBX 1.2.2 To: jibx-users@lists.sourceforge.net jibx-users@lists.sourceforge.net Cc: Grant Cermak gcer...@vitalimages.com Message-ID: 216a50e5c959a144b5c12b10ff23334b0112b3b7a...@srv-exchmbx.vitalimages.com Content-Type: text/plain; charset=utf-8 Hello, We are working to migrate to Java 7 (1.7.0_01) and are having incorrect bindings when using the JiBX maven plugin (1.2.2). Is Java 7 supported by JiBX 1.2.2 or are we likely 'doing something wrong'? I have run compile jibx:bind with both verify and load options set to true, neither fail. Running with verbose doesn't yield anything abnormal looking. However after trying to perform unmarshalling, errors like this appear: testVitalConfig2(com.vitalimages.common.server.config.VitalConfigTest) Time elapsed: 0.001 sec ERROR! java.lang.VerifyError: Expecting a stackmap frame at branch target 12 in method com.vitalimages.common.server.config.VitalConfig.JiBX_VitalConfig_newinstance_1_0(Lcom/vitalimages/common/server/config/VitalConfig;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/vitalimages/common/server/config/VitalConfig; Thanks, -- __ [cid:1320090316.3232.4.camel@ubuntu-aweigold1] Adam J. Weigold | Software Engineer 5850 Opus Parkway, Suite 300 l Minnetonka, MN 55343 952.487.9835 l 866.433.4624 l www.vitalimages.com http://www.vitalimages.com/ -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX on Android
JiBX works well on Android. It's probably the best data binding for Android, because: - JiBX is fast! - JiBX has a small footprint (it will add only 60KB to your .apk) - JiBX uses the Android XMLPull parser by default - It's easy to use! Basically, just add your jar'd bindings and the jibx runtime jar to your Android project and it works. If you need step-by-step instructions, here they are: http://blog.tourgeek.com/2011/12/xml-data-binding-for-java-on-android.html Enjoy, Don -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX android development using maven
If you are using maven for your android development, I added a pom.xml to the simple android example at: https://github.com/jibx/schema-library/blob/master/schema-utilities/examples/android/jibxapp/pom.xml Just checkout this project or set it up by following the instructions in my blog: http://blog.tourgeek.com/2011/12/xml-data-binding-for-java-on-android.html Remember to configure your maven development environment for android first: http://www.sonatype.com/books/mvnref-book/reference/android-dev-sect-config-build.html Have fun! Don -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] opentravel.org latest schema added to the JiBX schema library
The new opentravel.org schema bindings (version 2011B) have been added to the JiBX schema library. You will find the schema binding documentation here: jibx.org/schema-library/site.html#opentravel.org Our webservice example (using servicemix) has been updated to use the new schema. If you want to quickly download, build, and try this example, read the instructions here: http://jibx.sourceforge.net/schema-library/webservices.html If you want the step-by-step instructions on building this example from scratch, check my (updated) blog entry: http://blog.tourgeek.com/2011/06/using-jibx-schema-library-to-create.html Enjoy! Don -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Skip code generation for included XML Schema
Klaus, Actually, JiBX handles included schema very easily. Just run JiBX on the included schema and package it as a separate project. Then, run JiBX on your main schema using the includeBaseBindings tag as explained in the maven instructions here: http://jibx.sourceforge.net/maven-jibx-plugin/modular-codegen.html . There is a nice example in our source repository at https://github.com/jibx/maven-plugin/tree/master/test-suite/base-binding-test . Hope this helps! Don -- Message: 5 Date: Tue, 24 Jan 2012 11:52:37 +0100 (CET) From: k.clas...@web.de Subject: [jibx-users] Skip code generation for included XML Schema To: JiBX users list jibx-users@lists.sourceforge.net Message-ID: 1511076043.2708015.1327402357516.JavaMail.fmail@mwmweb067 Content-Type: text/plain; charset=UTF-8 Dear all, This is a question about code generation. I wonder if it is possible to skip the generation of Java code for schema files which are included by others. Example: ** Schema foo.xsd ?xml version=1.0 encoding=UTF-8? xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; ?? ?xmlns:tns=http://foo.bar; ?? ?targetNamespace=http://foo.bar; version=1.0 ?? ?xs:include schemaLocation=bar.xsd / ... I would like to skip the code generation of the types declared in bar.xsd as I already generated them in a separate artefact (which is on the classpath). I first tried to exclude the schema in the jibx-maven-plugin section of my pom.xml ?? ?excludeSchemas ?? ??? ?exludeSchemabar.xsd/exludeSchema ?? ?/excludeSchemas ?? ? but this does not exlude the schema (I think because it is included by another one). Then I tried to explicitly exlude the generation of the types declared in bar.xsd in a custom schema configuration with: ?xml version=1.0 encoding=UTF-8 standalone=no? schema-set xmlns:xs=http://foo.bar; ?? ?schema name=bar.xsd excludes=myType / /schema-set This prevents the generation of myType but also skips generating all occurences (usage) of this type in foo.xsd (e.g. as elements for declared types in foo.xsd). So my question: Is it possible to skip the generation of Java source code for special schema files (or even types) which are included by other schemas - without also skipping all usage occurences of these types? Thanks for any help ? Klaus -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] maven-jibx-plugin 1.2.3 - eclipse dependencies
Tomas, Sorry about that, but for reason sonatype purged all our snapshots. I missed a few files when I deployed a few days ago, so I just redeployed all the code again to make sure the entire 1.2.4-SNAPSHOT codebase is in the snapshot repo. I double-checked and built this on a virgin system and everything, including the eclipse dependencies are downloading and building correctly. Give it a shot and tell me if this works. If you have any problems, here is the sample project that I used: Two files: pom.xml src/main/config/person.xsd The files look like this: pom.xml: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion artifactIdorg.jibx.schema.person/artifactId groupIdorg.jibx.test.basebinding/groupId version1.2.3/version packagingjar/packaging nameschema-person/name build plugins plugin groupIdorg.jibx/groupId artifactIdjibx-maven-plugin/artifactId version1.2.4-SNAPSHOT/version inheritedtrue/inherited executions execution idgenerate-java-code-from-schema/id goals goalschema-codegen/goal /goals /execution execution idcompile-binding/id goals goalbind/goal /goals configuration directorytarget/generated-sources/directory includes includebinding.xml/include /includes /configuration /execution /executions /plugin /plugins /build dependencies dependency groupIdorg.jibx/groupId artifactIdjibx-run/artifactId version1.2.4-SNAPSHOT/version /dependency /dependencies pluginRepositories pluginRepository idsonatype-nexus-snapshots/id nameSonatype Nexus Snapshots/name urlhttps://oss.sonatype.org/content/repositories/snapshots/url snapshots enabledtrue/enabled /snapshots /pluginRepository /pluginRepositories repositories repository idsonatype-nexus-snapshots/id nameSonatype Nexus Snapshots/name urlhttps://oss.sonatype.org/content/repositories/snapshots/url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled /snapshots /repository /repositories /project person.xsd: ?xml version=1.0? xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; elementFormDefault=qualified targetNamespace=http://www.jibx.org/sampleschema/person; xmlns:tns=http://www.jibx.org/sampleschema/person; xs:element name=person xs:complexType xs:sequence xs:element name=firstName type=xs:string/ xs:element name=lastName type=xs:string/ /xs:sequence /xs:complexType /xs:element /xs:schema Then, build the project by typing: mvn -U clean install in the project root. Tell me if this works. Cheers! Don Message: 3 Date: Sun, 12 Feb 2012 17:27:10 +0100 From: TomazM tomaz.majerh...@arnes.si Subject: [jibx-users] maven-jibx-plugin 1.2.3 To: JIBX jibx-users@lists.sourceforge.net Message-ID: 4f37e85e.3010...@arnes.si Content-Type: text/plain; charset=iso-8859-1 There is still going bad with this plugin, so bad, in JIRA JIBX-416 said that Fix Version/s: JiBX 1.2.3 but there are some mayor fails(probably design of plugin), it wont to download eclipse staff?? -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] JiBX vs Lombok clash in Eclipse w/Maven
Francis, We have recently updated handling of our eclipse dependencies. This will probably fix your problem. Can you try your build using our snapshot version 1.2.4-SNAPSHOT. The instructions on using our snapshot are here: http://jibx.sourceforge.net/maven-jibx-plugin/snapshots.html Good Luck! Don Message: 2 Date: Mon, 26 Mar 2012 08:12:38 -0700 From: Francis Lalonde fralalo...@expedia.com Subject: [jibx-users] JiBX vs Lombok clash in Eclipse w/Maven To: jibx-users@lists.sourceforge.net jibx-users@lists.sourceforge.net Message-ID: 6bafc263f335ba4a8c0e251f91ff11c604a9ae8...@chc-ccr01.sea.corp.expecn.com Content-Type: text/plain; charset=us-ascii I have a problem with a project that uses both JiBX and Lombok ( http://projectlombok.org/) Eclipse extension. The problem shows up when building within Eclipse (using the Maven m2e jibx plugin). Running Maven at the command line works fine - code gets generated, compiled and packaged. Lombok supplements the java compiler to generate methods from annotations at compile-time. It is very nice - one of these things you can't live without once you start using them. I will file a bug report but I am posting this first here so that it can be discussed. I had to revert to JiBX 1.2.2 to get this stack trace as v1.2.3 was eschewing most of it : Execution gencode of goal org.jibx:maven-jibx-plugin:1.2.2:schema-codegen failed: An API incompatibility was encountered while executing org.jibx:maven-jibx-plugin:1.2.2:schema-codegen: java.lang.LinkageError: loader constraint violation: when resolving method lombok.eclipse.TransformEclipseAST.transform_swapped(Lorg/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration;Lorg/eclipse/jdt/internal/compiler/parser/Parser;)V the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current class, org/eclipse/jdt/internal/compiler/parser/Parser, and the class loader (instance of bootloader) for resolved class, lombok/eclipse/TransformEclipseAST, have different Class objects for the type ransformEclipseAST.transform_swapped(Lorg/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration;Lorg/eclipse/jdt/internal/compiler/parser/Parser;)V used in the signature - realm =pluginorg.jibx:maven-jibx-plugin:1.2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/D:/Dev/.m2/repository/org/jibx/maven-jibx-plugin/1.2.2/maven-jibx-plugin-1.2.2.jar urls[1] = file:/D:/Dev/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar urls[2] = file:/D:/Dev/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[3] = file:/D:/Dev/.m2/repository/org/jibx/jibx-tools/1.2.2/jibx-tools-1.2.2.jar urls[4] = file:/D:/Dev/.m2/repository/org/jibx/jibx-schema/1.2.2/jibx-schema-1.2.2.jar urls[5] = file:/D:/Dev/.m2/repository/bcel/bcel/5.1/bcel-5.1.jar urls[6] = file:/D:/Dev/.m2/repository/regexp/regexp/1.2/regexp-1.2.jar urls[7] = file:/D:/Dev/.m2/repository/org/jibx/jibx-bind/1.2.2/jibx-bind-1.2.2.jar urls[8] = file:/D:/Dev/.m2/repository/org/jibx/jibx-extras/1.2.2/jibx-extras-1.2.2.jar urls[9] = file:/D:/Dev/.m2/repository/org/jibx/jibx-run/1.2.2/jibx-run-1.2.2.jar urls[10] = file:/D:/Dev/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.jar urls[11] = file:/D:/Dev/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar urls[12] = file:/D:/Dev/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar urls[13] = file:/D:/Dev/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar urls[14] = file:/D:/Dev/.m2/repository/commons-io/commons-io/1.1/commons-io-1.1.jar urls[15] = file:/D:/Dev/.m2/repository/org/eclipse/jdt/core/3.3.0-v_771/core-3.3.0-v_771.jar urls[16] = file:/D:/Dev/.m2/repository/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar urls[17] = file:/D:/Dev/.m2/repository/org/eclipse/core/expressions/3.3.0-v20070606-0010/expressions-3.3.0-v20070606-0010.jar urls[18] = file:/D:/Dev/.m2/repository/org/eclipse/core/runtime/3.3.100-v20070530/runtime-3.3.100-v20070530.jar urls[19] = file:/D:/Dev/.m2/repository/org/eclipse/osgi/3.4.3.R34x_v20081215-1030/osgi-3.4.3.R34x_v20081215-1030.jar urls[20] = file:/D:/Dev/.m2/repository/org/eclipse/core/jobs/3.3.0-v20070423/jobs-3.3.0-v20070423.jar urls[21] = file:/D:/Dev/.m2/repository/org/eclipse/equinox/registry/3.3.0-v20070522/registry-3.3.0-v20070522.jar urls[22] = file:/D:/Dev/.m2/repository/org/eclipse/equinox/preferences/3.2.100-v20070522/preferences-3.2.100-v20070522.jar urls[23] = file:/D:/Dev/.m2/repository/org/eclipse/core/contenttype/3.2.100-v20070319/contenttype-3.2.100-v20070319.jar urls[24] = file:/D:/Dev/.m2/repository/org/eclipse/core/filesystem/1.1.0-v20070606/filesystem-1.1.0-v20070606.jar urls[25] = file:/D:/Dev/.m2/repository/org/eclipse/text/3.3.0-v20070606-0010/text-3.3.0-v20070606-0010.jar urls[26] =
Re: [jibx-users] Configuring PermGenSize for jibx-maven-plugin
Mukarram, There should be a way to increase the PermGenSize for a maven plugin since they are run in a forked jvm. I tried to find a way to do this within maven, but could not. You might look at several plugins that do this by adding a config line, such as: https://community.jboss.org/message/647753 If you can't find a way to do this within maven, just submit you patch as a pull request on github and I'll integrate your code right away. The jibx-maven-plugin is here: https://github.com/jibx/maven-plugin Good Luck! Don Message: 7 Date: Mon, 30 Apr 2012 11:26:42 +0530 From: Mukarram Baig mukarram.b...@gmail.com Subject: [jibx-users] Configuring PermGenSize for jibx-maven-plugin without environment variables To: jibx-users@lists.sourceforge.net Message-ID: CAAdDoeQQ+go5Zfej4NH2es9XDk7PvUoFEa=vfnbsjw3gwge...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 When running the schema-codegen goal of jibx-maven-plugin, we sometimes run into OOME on the PermGenSize. Currently, we set the MAVEN_OPTS of the enclosing shell to specify a higher PermGenSize setting to get by. This doesn't work well with automated installs and overall use of environment variables seem evil. Wanted to know if it makes sense to have this configured via the maven plugin itself? I would like to contribute a patch to get this done if someone can give me a pointer from where to start. Thanks in advance. -- next part -- An HTML attachment was scrubbed... -- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -- ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users End of jibx-users Digest, Vol 71, Issue 1 * -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.2.4 Release
JiBX 1.2.4 has been released. You can download it from our sourceforge download pagehttps://sourceforge.net/projects/jibx/files/jibx/jibx-1.2.4/. It has also been deployed to the maven central repositoryhttp://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.jibx%22 . This release updates some external dependencies has a few bug fixes detailed in this readme filehttps://sourceforge.net/projects/jibx/files/jibx/jibx-1.2.4/ . Give it a try! Remember, if you find a bug or would like to improve JiBX, your best bet is to submit a patch. Our code is in githubhttps://github.com/organizations/jibx. Just create an issue http://jira.codehaus.org/browse/JIBX, fork it, fix it, and submit a pull request. Hey, you're a programmer, right! I know I'm preaching to the choir, but in case you didn't know: JiBX is fast JiBX uses the XMLPull parser by default, so it runs great on androidhttp://blog.tourgeek.com/2011/12/xml-data-binding-for-java-on-android.html . JiBX had an apache dataconnectorhttp://blog.tourgeek.com/2012/04/creating-soap-and-rest-services-for.htmlwhich works with SOAP and REST servers such as servicemix. JiBX is flexible. For example, the opentravel schemahttp://jibx.sourceforge.net/schema-library/site.html#opentravel.org has 22 versions, over 300 schema files in 35 separate segments, all in one namespace. With JiBX these can be organized under unique java packages. Enjoy! Don -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Source snapshots in Maven Central Snapshots repo
Mukarram, If you are planning to submit a patch, it is best to check our source code out of github. Then you have the most recent code. Our repository is located at: https://github.com/organizations/jibx If you are familiar with git, you can submit your patch as a pull request, otherwise a regular patch is fine. Source is typically not deployed with snapshots. Actually, now is a great time to create a patch. We just release version 1.2.4, so the source code in maven central is the same as the source in our repository. Thanks! Don -- Message: 1 Date: Tue, 1 May 2012 12:05:13 +0530 From: Mukarram Baig mukarram.b...@gmail.com Subject: [jibx-users] Source snapshots in Maven Central Snapshots repo To: jibx-users@lists.sourceforge.net Message-ID: CAAdDoeQF213itKinKzc5xm6Fr=8ws9-b+tzrbbu53xfsihz...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi All, Is there any reason not to upload source snapshots as well to the maven central snapshots repo? I am trying to give a patch to the jibx-maven-plugin and having sources for the dependencies would help in debugging and understanding the logic. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX maven 1.2.4 (re)release
The JiBX 1.2.4 artifacts have been synced to maven central (again!). Use version 1.2.4.5 in your pom files: dependency groupIdorg.jibx/groupId artifactIdjibx-run/artifactId version1.2.4.5/version /dependency -and- plugin groupIdorg.jibx/groupId artifactIdjibx-maven-plugin/artifactId version1.2.4.5/version ... Tell me if this works for you! I'm still confused about how a snapshot dependency could make it into maven central. I've adjusted my release procedure so this won't happen again. Don -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] New opentravel 2012A JiBX schema library released
The JiBX schema library has been updated to include the new opentravel.org2012A schema. You will find the documentation here: http://jibx.sourceforge.net/schema-library/site.html#opentravel.org A simple SOAP/REST web services example here: http://jibx.sourceforge.net/schema-library/webservices.html A step-by-step web services example on my blog: http://blog.tourgeek.com/ ...and I'll see if I can throw together an Android example in the near future. Enjoy! Don -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Sample Android App using JiBX opentravel schema
I just posted an example Android application that uses JiBX to send a RESTful XML message and process the reply. I use the opentravel touractivity SearchRQ/RS message pair from the 2012A schema (which is included in the JiBX schema library). You'll be amazed at how simple the code is. Get the details here: http://blog.tourgeek.com/2012/09/opentravel-mobile-android-app.html Enjoy! Don -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Web Services Client Framework
The JiBX web services client framework has been updated and improved. If you are writing a SOAP or RESTful client or a test suite for your web service, this framework is for you. Included in this suite are methods to easily convert your JiBX java objects to xml or DOM and back to JiBX. There are also utilities that simplify namespace-aware XSL Transformations and XPath queries. These tools are indispensable when you need to verify your web service. You can also read local XML messages as JiBX objects, then make changes before you send them out. For a quick start, take a look at the JiBX documentation: http://jibx.sourceforge.net/schema-library/client.html or check out my blog for an explanation of the client framework's capabilities: http://blog.tourgeek.com/2012/11/opentravel-web-services-client-test.html I've included a sample using the opentravel hotel schema library in our github source repository: https://github.com/jibx/schema-library/tree/master/org.opentravel/_2012A/opentravel-ws/opentravel-hotel-ws-test-client Enjoy! Don Corley d...@tourgeek.com -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX Web Services Server Framework
The JiBX web services server framework has been updated and improved. If you are writing a SOAP or RESTful web service or a test suite, this framework is for you. Included in this suite are methods to easily convert your JiBX java objects to xml or DOM and back to JiBX. There are also utilities that simplify namespace-aware XSL Transformations and XPath queries. These tools are indispensable when you need to verify your web service. You can also read local XML messages as JiBX objects, then make changes before you send them out. For a quick start, take a look at the JiBX documentation: http://jibx.sourceforge.net/schema-library/client.html or check out my blog for an explanation of the client framework's capabilities: http://blog.tourgeek.com/2012/11/opentravel-web-services-client-test.html I've included a sample using the opentravel hotel schema library in our github source repository: https://github.com/jibx/schema-library/tree/master/org.opentravel/_2012A/opentravel-ws/opentravel-hotel-ws-test-client Enjoy! Don Corley -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] JAX-WS annotation
James, That is a very old example. I had to do some tricky stuff to get it to work. I try to update my examples with the updates in CXF and servicemix. Again, you might have better luck with the newer code described in my blog. The work that you have done so far should easily transfer to the new procedures. Don On Fri, Jan 4, 2013 at 3:41 AM, jibx-users-requ...@lists.sourceforge.netwrote: Message: 2 Date: Wed, 28 Nov 2012 19:08:56 + From: James Annesley ja...@annesley.net Subject: Re: [jibx-users] JAX-WS annotation To: jibx-users@lists.sourceforge.net Message-ID: cam8it1xmah7hesfphsye7g9pj0ps_rmryrhah3znbnw3uar...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hi, I did some more work on this and discovered the following: 1) The CXF maven codegen plugin was not binding the generated java files. 2) I used the CXF maven codegen plugin to generate the source files from the wsdl. Then jibx:bind to bind them. I ran a test and managed to unmarshall and marshall an XML file successfully. This proves that JIBX is configured ok. 3) I managed to set the data binding in the JAX-WS test case via the JaxWsProxyFactoryBean class. This is a reference to my last message. 4) I then tried again to access the SOAP service but received the error 'Exception in thread main java.lang.RuntimeException: org.jibx.runtime.JiBXException: Unable to access binding information for class ... Make sure the binding has been compiled'. The offending class is an enum - could this have anything to do with it? I think there is something wrong with the way the CXF has set up its path to the bindings files. Does anyone have any info to help? Thank you very much in advance. Best regards, James -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 79, Issue 1
James, It sounds like you are trying to use JAXB instead of JiBX to generate your binding definitions. You can find some great examples using CXF with JiBX to create web services on my blog at: http://blog.tourgeek.com/ I hope this helps. Don On Fri, Jan 4, 2013 at 3:41 AM, jibx-users-requ...@lists.sourceforge.netwrote: Message: 1 Date: Wed, 28 Nov 2012 15:24:46 + From: James Annesley ja...@annesley.net Subject: [jibx-users] JAX-WS annotation To: jibx-users@lists.sourceforge.net Message-ID: cam8it1vgufyxhdl-pa6ojw6bkf_7nw-uy5oly9165gohn_4...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hi, I am trying to use CXF maven codegen plugin with my schema with some success. I am succeeding in configuring it for JIBX, generating the Java source and binding them. I am having trouble building a front end however. Using JAX-WS I receive the message Unable to create JAXBContext. I have checked for JAX-WS JIBX binding annotations on the generated files. What else could be the problem and solution? James -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 79, Issue 2
Justin, Have you considered using the jibx-maven-plugin inside eclipse. The maven plugin is much more capable than the eclipse plugin... and it works great under eclipse. See: http://jibx.sourceforge.net/maven-jibx-plugin/index.html Don Message: 5 Date: Mon, 28 Jan 2013 18:11:38 + (GMT) From: Justin McCartney be_st...@yahoo.co.uk Subject: [jibx-users] Maven Jibx Wtp Issue no generated classes To: jibx-users@lists.sourceforge.net Message-ID: 1359396698.49057.yahoomailclas...@web133104.mail.ir2.yahoo.com Content-Type: text/plain; charset=iso-8859-1 Hello, I have recently been attempting to move our web application from Eclipse 3.6 (M2Eclipse) to Eclipse 4.2 (M2E). I am currently able to get it to build correctly in Eclipse 4.2 but when deploying to Tomcat 7 server inside Eclipse, the component (jar) that uses JIBX does not have any of the JIBX generated classes in its jar file. ?I am using M2e-Wtp as well This works perfectly with good old Maven from the command line. I can see that when building in Eclipse, that component1/target/classes/ does contain the JIBX class files but they never make it into the jar file that is deployed with the web application. In this case WebApp1 depends on Component1. ?It is component1 that includes the JIBX definitions. Any help appreciated? ?Considering a move back to Eclipse 3.6 M2E version:?1.2.0.20120903-1050M2E-Wtp: 0.16.0.20120914-0945 Thanks, Justin -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX SOAP and RESTful Web Services using Apache CXF
I've just updated the web services examples on using JiBX with apache CXF. With a few simple lines, you can have a SOAP or RESTful service running on Apache CXF using your JiBX bindings. You can take advantage of the CXF code generation capability to convert your WSDL's to java code and have JiBX handle the marshaling/unmarshaling of your messages. You can find the quick-start instructions here: SOAP: http://jibx.sourceforge.net/maven-jibx-plugin/webservice.html REST: http://jibx.sourceforge.net/maven-jibx-plugin/rest.html I didn't include too much explanation, just instructions on getting these samples running in under a minute. The source code is pretty self-explanatory. These sample projects are in maven central and our source repo: SOAP: https://github.com/jibx/maven-plugin/tree/master/examples/cxfse-bundle REST: https://github.com/jibx/maven-plugin/tree/master/examples/cxf-jaxrs Cheers! Don -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX message support added for opentravel 2012B messages
The JiBX schema library has added support for the new opentravel 2012B message version. opentravel is primary standard for messaging in the travel industry. Their messages support Airlines, hotels, cruises, car rentals, tours, etc. Even if you are not involved in the travel industry, you may want to check out some of the examples included on the JiBX site, including client test suites, android examples, and web services frameworks. My personal favorite is the CXF webservices example: http://jibx.sourceforge.net/schema-library/webservices.html It shows how easy it is to use the JiBX CXF datasource connector to create a SOAP and RESTful webservice using apache CXF. Cheers! Don -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.2.5 released to maven central
The JiBX 1.2.5 plugin has been published to maven central. Please update your plugin versions. You can find the new jibx-maven-plugin documentation here: http://jibx.sourceforge.net/maven-jibx-plugin You can find source code in our github repository: https://github.com/jibx/core We also pushed a copy to our sourceforge git repository. Cheers! Don -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Eclipse m2e (maven) connector for JiBX has been updated
The eclipse m2e connector has been updated to work with m2e versions 1.2+. The connector is now available at the jibx eclipse update site: http://jibx.sourceforge.net/eclipse -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] Apache CXF with JiBX and customization
Franz, Nice job! Yes, I could not figure out how to pass the JiBX codegen commands to the cxf-codegen-plugin. JiBX needs to run during two different maven phases to make the bytecode generation work correctly. I'm looking forward to your blog entry showing us how to run this in a non-OSGi environment! Don Corley JiBX Maven Plugin Author Hello, I have written a simple example to demonstrate the usage of Apache CXF with JiBX databinding including the use of customization (usage of class-decorators). The CXF support for JiBX seems to be rather rudimental. I did not find any possibility to pass any JiBX CodeGen command line parameter to the code generation process in the cxf-codegen-plugin. So I excluded the code generation here and included a jibx-maven-plugin schema-codegen section to do the job. Have a look if interested. Any feedback is welcome! A blog post with some more explanations might follow https://github.com/FrVaBe/cxf-soap-with-jibx#readme Regards Franz -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.2.6 released
JiBX 1.2.6 has been released. This is a cleanup release. Some of the dependencies have been updated and the maven build configurations have been streamlined. We're excited about the recent work on the BCEL project. When the next version of BCEL is released, we will release a new JIBX version that will be compatible with JDK 8. Currently JiBX runtimes work fine with JDK 8, but you have to run the binding tools with JDK 7. The JiBX 1.2.6 plugin has also been published to maven central. Please update your plugin versions. You can find the new jibx-maven-plugin documentation here: http://jibx.sourceforge.net/maven-jibx-plugin You can find source code in our github repository: https://github.com/jibx/core You can also download JiBX 1.2.6 from sourceforge: http://sourceforge.net/projects/jibx/ All of the packaged schema bindings have also been updated. See the documentation here: http://www.jibx.org/schema-library/ Sorry for the slow response from me lately. I've been working full-time at USC for the last 1.5 years. Cheers! -- Don Corley 626-664-8491 (Cell) 626-358-2903 (Home) -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] XSD Catalog or similar
xsd:documentation /xsd:documentation /xsd:annotation xsd:sequence xsd:element name=?person? type=?per:person? minOccurs=0 / /xsd:sequence /xsd:complexType /xsd:schema If I were using JAXB I would be able to use catalogs to reference the external xsd: from message-project to the stored under model-project but I have not been able to find something equivalent for JiBX. I need to do it using maven generation lifecycle under command line, eclipse, IntelijIdea etc. Does anybody has been able to make this thing, not counting with schemas published online, only local copies on their respective projects and generated jar files. Hope you can help me, Best, -Martin -- next part -- An HTML attachment was scrubbed... -- -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ -- ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users End of jibx-users Digest, Vol 93, Issue 3 * -- Don Corley 626-664-8491 (Cell) 626-358-2903 (Home) -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] Sourceforge is still down
JiBX users, You may have noticed that jibx.org has been down for almost a week. Don't worry, everything is fine with the JiBX project. Sourceforge's site hosting service crashed and they can't seem to get it going again. Any ideas where we can move our site? Thanks for your patience, Don -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX and Java 8
Archie, We're ready to go with the Java 8 compatible version of JiBX. I'll we need is the BCEL 6.0 release. We can't release a version of JiBX that has a dependency on a RC version. Thanks, Don > > FYI, > > A co-worker has tried JiBX with the latest BCEL release (BCEL_6_0_RC4) and > claims that this combination works on Java 8. > > I have not tried this myself yet. I'd be interested to hear others' > experiences if you do. > > -Archie > -- ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.3.0-SNAPSHOT released
JiBX 1.3.0-SNAPSHOT has been released. Thanks to the new BCEL release, JiBX is now compatible with JDK 1.6, 1.7, and 1.8. You can find the jar file here: https://sourceforge.net/projects/jibx/files/jibx/jibx-1.3.0-SNAPSHOT/jibx_1_3_0_SNAPSHOT.zip The snapshot is in the maven central snapshot repo. You can browse maven snapshots here: https://oss.sonatype.org/content/repositories/snapshots/org/jibx/ To use a snapshot in your pom file, add a repository section: central Maven Repository Switchboard default http://repo1.maven.org/maven2 false central-snapshot Central Repository https://oss.sonatype.org/content/repositories/snapshots default true false central Maven Plugin Repository http://repo1.maven.org/maven2 default false never central-snapshot Central Repository https://oss.sonatype.org/content/repositories/snapshots default true false Test it. Log your issues here: https://github.com/jibx -> Issues It looks pretty solid. I should be able to put out a release in a few weeks. Cheers! Don -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.3.1 released
JiBX 1.3.1 has been released. Thanks to the new BCEL release, JiBX is now compatible with JDK 1.6, 1.7, and 1.8. You can find the jar file here: https://sourceforge.net/projects/jibx/files/jibx/jibx-1.3.1/jibx_1_3_1.zip/download The maven artifacts are available in maven central. You can find the instructions on the JiBX site: http://jibx.sourceforge.net/maven-jibx-plugin/index.html If you have any problems, enter your issues here: https://github.com/jibx -> Issues Cheers! Don -- ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.3.3
JiBX 1.3.3 has been released. This release includes the following changes: 1. Dependencies updated, such as joda-time and BCEL. 2. maven-jibx-plugin has been renamed to jibx-maven-plugin to comply with plugin naming rules. 3. Compatibility with Java 6, 7, 8, 9, 10, 11, 12, and 13+. You can find the release file here: https://sourceforge.net/projects/jibx/files/ Maven artifacts are available in maven central. You can find the instructions on the JiBX site: http://jibx.sourceforge.net/jibx-maven-plugin/index.html Enter your issues here: https://github.com/jibx -> Issues Cheers! Don ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
Re: [jibx-users] jibx-users Digest, Vol 111, Issue 1
Sridhar, Thanks for your bug report. I've entered a new issue in github: https://github.com/jibx/jibx/issues/14 Active maintenance of JiBX is on hold. If you would like to create a pull request, I can assess the code. Remember, dom4j is only a compile-time dependency. dom4j does not need to be included in your runtimes for JiBX to work. Cheers, Don On Thu, Mar 19, 2020 at 5:52 AM wrote: > Send jibx-users mailing list submissions to > jibx-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/jibx-users > or, via email, send a message with subject or body 'help' to > jibx-users-requ...@lists.sourceforge.net > > You can reach the person managing the list at > jibx-users-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of jibx-users digest..." > > > Today's Topics: > >1. Need to update dom4j in JIBX (Sridhar Kumar) > > > -- > > Message: 1 > Date: Thu, 19 Mar 2020 07:18:15 + > From: Sridhar Kumar > To: "jibx-users@lists.sourceforge.net" > > Subject: [jibx-users] Need to update dom4j in JIBX > Message-ID: > < > sn6pr03mb395201124604940223af1753ac...@sn6pr03mb3952.namprd03.prod.outlook.com > > > > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > I am a new user of JIBX plugin. Thank you much for the great plugin. > Currently I am using jibx-extras version 1.3.3 as dependency. > I see that there is a compile dependency on dom4j:jar:1.6.1 from JIBX side. > > Same dom4j version is listed in dependencies page as well. > http://jibx.sourceforge.net/maven-jibx-plugin/dependencies.html > > dom4j version older than 2.1.1 are listed as vulnerable because of > CVE-2018-1000632 > https://nvd.nist.gov/vuln/detail/CVE-2018-1000632 > > If I override dom4j to 2.1.1 at runtime, I get runtime issues. > Is it possible to update dom4j to 2.1.1, so that all the JIBX users can > benefit ? > > Note: dom4j package changes from dom4j:dom4j to org.dom4j:dom4j in 2.x > > Regards > Sridhar > -- next part -- > An HTML attachment was scrubbed... > > -- > > > > -- > > Subject: Digest Footer > > ___ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > -- > > End of jibx-users Digest, Vol 111, Issue 1 > ** > -- Don Corley 626-664-8491 (Cell) 626-358-2903 (Home) ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] log4j vulnerability does not apply to JiBX
Sujatha, The log4j vulnerability only applies to Log4J versions 2.x. JiBX uses Log4J 1.2.17, so you are okay. Cheers, Don Corley ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.4.2 Released
JiBX 1.4.2 has been released. This release includes the following changes: 1. ant updated to remove vulnerability. 2. Fix handling of special characters You can find the release file here: https://sourceforge.net/projects/jibx/files/ Maven artifacts are available in maven central. You can find the instructions on the JiBX site: http://jibx.sourceforge.net/jibx-maven-plugin/index.html Enter your issues here: https://github.com/jibx -> Issues Cheers! Don -- Don Corley 626-664-8491 (Cell) 626-358-2903 (Home) ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users
[jibx-users] JiBX 1.4.1 Released
JiBX 1.4.1 has been released. This release includes the following changes: 1. Dependencies updated, such as joda-time. 2. log4j updated to 2.18.0 to remove vulnerability warning. You can find the release file here: https://sourceforge.net/projects/jibx/files/ Maven artifacts are available in maven central. You can find the instructions on the JiBX site: http://jibx.sourceforge.net/jibx-maven-plugin/index.html Enter your issues here: https://github.com/jibx -> Issues Cheers! Don -- Don Corley 626-664-8491 (Cell) 626-358-2903 (Home) ___ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users