Instead of writng own java code for parsing the repository.xml, you can customise the velocity templates for ojb and run the ant task 'project-om' in build-torque.xml So you can generate and format the java code as you want.
> hi all, > I am a new comer to ojb world and I got some problem with the ojb mapping > file reading. > > I need to read the repository.xml, repository_user.xml,.. files from a java > code. it is to create a object hierarchy from the mappings and do some > processing on them > > my problem is how the obj read the mapping files to get the configurations, > then I can follow the same method to read the file. I tried several methods > and failed. > > I hope someone will help me in this problem. > > thanks > indrajith rambukkanage --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]