开发者

Convert a .jar file into a .cod file using bb-ant

I'm working on a Blackberry application (JDE 4.6.1) on a Windows system. I need to convert a .jar fi开发者_JAVA技巧le in a .cod file using bb-ant-tools. Does anybody know how to do it? I'm using:

<target name="convert">
        <rapc import="source.jar" destdir="${path}\bin\" output="source"  jdehome="${testing.jde}" generatesourcelist="true">
         <src> 
            <fileset file="${testing_path}\lib\microlog.jar">
             </fileset>
         </src>
        </rapc>  
</target>

Unfortunately I receive back this error message:

[rapc] C:\test\source.jar: error! Duplicate definition for 'net.sfender.AbstarctFileAppender' found in....

which could be the problem?

thanks


Your target is converting microlog.jar, with source.jar as a reference jar. Is that what you want?

If you want to convert source.jar, include it in the src element, and remove it from import.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜