[Yanel-commits] rev 57249 - public/yanel/trunk/src/core/java/org/wyona/yanel/core/attributes/commentable

michi at wyona.com michi at wyona.com
Thu Mar 10 10:23:43 CET 2011


Author: michi
Date: 2011-03-10 10:23:43 +0100 (Thu, 10 Mar 2011)
New Revision: 57249

Added:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/attributes/commentable/README.txt
Log:
readme added re jaxb configs

Added: public/yanel/trunk/src/core/java/org/wyona/yanel/core/attributes/commentable/README.txt
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/attributes/commentable/README.txt	                        (rev 0)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/attributes/commentable/README.txt	2011-03-10 09:23:43 UTC (rev 57249)
@@ -0,0 +1,10 @@
+JAXB requires:
+- package-info.java: You set the namespace for all your data objects as well as the used prefix in the resulting XMLs
+                     Verify that your target JAR or WAR file containing the data CLASS files also contains the package-info.class file!!
+                     Make sure that the build process follows some workarounds described here:
+                     http://stackoverflow.com/questions/4877097/jaxb-2-x-and-ant
+                     
+- jaxb.properties: This file must be available, otherwise you get a runtime exception by the JAXB engine
+                   Also make sure that this properties file gets into the resulting JAR or WAR file.
+                   The file contains one property which defines which JAXB Implementation should be used. Due to issues with the standard JRE6 engine, 
+                   MOXy from the EclipseLink project is used.
\ No newline at end of file



More information about the Yanel-commits mailing list