Different cod/jad files created using Blackberry jde and Ant

一曲冷凌霜 提交于 2019-12-11 15:35:57

问题


I am using blackberry ant tools to generate cod/jad files and found the generated cod to be different from the one i am trying to generate using blackberry JDE 5.0 .

The sizes of the siblings cod files and main cod file are not the same. However I am able to install and run the app using the cod files generated from either JDE or Blackberry ant tools without any problem.

I am using the same source code and resource files in both the cases.

Can someone suggest me what could be reason for different cod sizes in this case?


回答1:


Why are you comparing sizes to compare cod files? The cod file is a zip of other files, and those files themselves are zip files. Since this format uses timestamps, you would not expect identical inputs to produce identical output.




回答2:


I've just found and read this post, but can't verify his claims yet. He suggests we must be very careful with the JDE versions we use to compile the app with. Make sure to use a JDE version matching your development target OS.

I think the different JDE versions create slightly different outputs.

I haven't got my apps building correctly yet with Ant, hopefully I'll remember to revisit this answer when I do.



来源:https://stackoverflow.com/questions/5712590/different-cod-jad-files-created-using-blackberry-jde-and-ant

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!