Java& Flash在一个项目中:如何在Eclipse和Git中组织它? [英] Java & Flash in one project: How to organize it in Eclipse and Git?

查看:95
本文介绍了Java& Flash在一个项目中:如何在Eclipse和Git中组织它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含不同语言的组件的Web项目:Java中的两个组件(必须在不同的服务器上运行),ActionScript中的组件和C#中的组件。



我想把它们全部放在一个可管理的块中。这两个Java组件正在Eclipse中开发,并使用Ant进行构建。到目前为止,Java组件是单独的Git repos中的单独项目,Flash和C#组件不在git下,而且它们的源代码位于各自开发人员的本地计算机上。



如何将它们变成一个实体?

解决方案

我不知道我是否可以完全回答你的问题,但我可以再加一点讨论。 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.

这篇关于Java& Flash在一个项目中:如何在Eclipse和Git中组织它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆