Hi Konrad, Besides generating new classes JiBX also modifies the class files for your bound classes, so there's really no way to separate out the added class files from your own class files. I agree that this can be a nuisance when using an IDE such as Eclipse, which expects to have full control over the generated classes. I don't have any good solutions for this, other than setting up a build step to run the binding compiler - see the last two topics on http://jibx.sourceforge.net/bindcomp.html for some details.
- Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Konrad Hübner wrote: > Hi, > > I added an ant task to move the generated class files from my bin > directory to a different directory (gen) which is part of the > classpath in my eclipse project. When I run my application, JiBX > cannot find the binding classes (Unable to access binding information > for ...). Is it required to have the binding classes in the same > directory as the mapped classes (in contrast to having them somewhere > in a different class directory)? Does anyone have experience with > that? The point is that eclipse rebuilds the content of the bin folder > quite often and removes the generated classes then. In case nothing > changed in the mapped classes it should be possible to reuse the > binding classes so I want to save them from being deleted. > > Thanks > Konrad > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users