开发者

Heterogeneous Development Environments

I have a mix of Linux and Windows development environments. When I include an exte开发者_运维百科rnal JAR file as a library I have issues with the paths to such.

I want to have some commonalities between my projects rather than dictate what my developer must use as their OS.

How have you guys solved this problem?


I've successfully used Eclipse to develop Android apps in Windows, Linux and Mac OS, reusing the project files between each OS. You would need to encode your path names as "Classpath Variables" in the IDE. Here is one of many articles talking about how to set that up: http://www.informit.com/articles/article.aspx?p=367962.


Use Maven, which stores all the references in a repository, and references them via logical names (group/artifact IDs), or store the jars in your project tree, and reference them with relative paths.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜