Community

Code generation for JBJCA

reply from Jeff Zhang in JCA Development - View the full discussion

I commit the initial codes of code generation. That is first step and simple. Just input resource adapter package name and class name and code generator will create a resource adapter java file.

 

The code is in the trunk\codegenerator.

use "ant sjc" in the trunk directory. It will create jboss-jca-codegenerator.jar in the sjc/lib. Currently we need copy the codegenerator.sh/bat into lib directory and execute it.

 

Please input ResourceAdapter package name:org.jboss.jcaPlease input ResourceAdapter class name:BaseResourceAdpaterJava file wrote

 

 

Then BaseResourceAdpater.java file output.

 

 

PS: Jesper, you said we output the code into doc/codegenerator directory, this is default directory and we can use -output to configure it, correct?

Reply to this message by going to Community

Start a new discussion in JCA Development at Community