Sorry, I missed out a point. The project has to be refreshed before you run eclipse's jar export utility.
Here is how I do it: Include the jibx binding compiler to the project's builders (Project>Properties>Builders>New>Ant Build In the dialog for the properties of the new builder In the main tab: point the build file to the jibx ant build xml and the base directory to the project root. In the refresh tab: Check 'Refresh resources on completion' and select the option 'The project containing the selected resource' In the targets tab: set 'Auto Build' to bind (so that it does this every time anything changes in the project. This is sometimes irritating if you are hitting save often.) Or You could just hit F5 on the project before the export. ;) regards Varghese Leon Chen wrote: > HI > I am trying to use JiBX, it is a good tool. > I am also useing Eclipse 3.2, and I can successfuly invoke binding > compiler automatically. > (as described in http://jibx.sourceforge.net/bindcomp.html > <http://jibx.sourceforge.net/bindcomp.html>) > > But when I try tro export the project to a jar file, the generated > JiBX related classes (JiBX_XXXFactory, JiBX_XXX_access)will not be > included in the jar file. > I have to make the eclipse be able to automatically export the correct > jar file. > Is there any step I am missing? > > > Thanks! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
