Versioning and common code-bases with Eclipse

眉间皱痕 提交于 2019-12-11 20:05:56

问题


I'd like to bring out an Android app in the near future, so I was wondering how to support a couple of funcitonalities I have got used whilst developing for J2ME and iPhone

  • first the versioning. With J2ME (using NetBeans as IDE) I had the option to auto-increment the softwwares version every time I compiled it. I was wondering if something like this is available for Eclipse and if so how to use it ?
  • secondly a common code base. Is it possible to have a common code base for several projects ? For example I might have a game which actually uses the same code but needs different graphic resources. I'd hate to have a different project for every game/app and have to manually edit every project's source every time I want to submit a new code-change. Any solution for this ?

Thanks in advance for every kind of help/hints/tips !


回答1:


Another idea:

If you can package the common code into Classes then a library approach would help. In eclipse under project properties you can add a library to your project.

Hope this helps you on.



来源:https://stackoverflow.com/questions/3706512/versioning-and-common-code-bases-with-eclipse

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