且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Java& Flash在一个项目中:如何在Eclipse和Git中组织它?

更新时间:2022-10-14 21:55:23

我不知道我是否可以完全回答你的问题,但我可以再加一点讨论。 Git的性质我相信(有人纠正我,如果我错了)支持一个非常精细的粒度结构,当涉及到仓库。换句话说,我认为你***的选择是为每个java源提供一个git Repo,一个用于ActionScript源,另一个用于C#源。原因是我相信社区专注于为每个项目进行一次回购。我只熟悉eclipse,所以我强烈推荐 EGit 。对于ActionScript,我使用FlashBuilder和同样的EGit插件。我建议做同样的事情。就C#来说(假设你使用Visual Studio) Git扩展程序似乎是流行的选择。



注意:如果安装了Egit,可以轻松地在Eclipse市集中找到。


I have a web project that contains components in different languages: two components in Java (that have to run on different servers), a component in ActionScript, and a component in C#.

I would like to have all of them in one manageable chunk. The two Java components are being developed in Eclipse and use Ant for building.

So far the Java components are separate projects in separate Git repos, the Flash and C# components are not under git, and their sources are on the local machines of their respective developers.

How can I turn them into, sort of, one entity?

I don't know if I can answer your question completely but I can add a little to the discussion. Git by nature I believe (someone correct me if I'm wrong) supports a very fine granular structure when it comes to repositories. In other words I think your best option would be to have one git Repo for the each java source, one for the ActionScript source, and the last for the C# source. The reason being that I believe the community is focused on having one repo for each project. I am only familiar with eclipse so I highly recommend EGit. For ActionScript I use FlashBuilder and the same EGit plugin. I recommend doing the same. As far as C# goes (I assume you are Using Visual Studio) Git Extensions seems to be a popular option.

Note: Egit can easily be found in the Eclipse marketplace if you have it installed.