AS Jibx sample fails on JDK 1.7 and I had a look at the failing step. It
fails when running the binding compiler. According to [1], binding compiler
does the byte code enhancements on the compiled java classes and that is
how Jibx works. But even if I remove the binding compiler from the ant
build by commenting out the following target, the sample works fine.

<!-- Run JiBX binding compiler -->
    <!--target name="jibx-binding-compiler" depends="compile-all">
        <bind verbose="true" load="true" binding="conf/jibx_unwrapped.xml">
            <classpath>
                <pathelement path="${classes}"/>
                <path refid="axis2.class.path"/>
            </classpath>
        </bind>
    </target-->

Then I just checked the Axis2 jibx samples as well. But it also doesn't
have this binding compiler step. Does anyone has an idea about how it works
without this step and whether we can get rid of this step?

Thanks,
~Isuru

[1] http://jibx.sourceforge.net/index.html

-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to