I want to set up a personal workspace on my home machine. I mainly intend to use it for Java development on home projects. Which tools do you recommend me to use? (I prefer free tools, since this is just for home use.)
我想在家用机器上设置个人工作空间。我主要打算将它用于家庭项目的Java开发。你建议我使用哪些工具? (我更喜欢免费工具,因为这仅供家庭使用。)
I hope you could recommend some tools for me, and I'd be grateful if you could give me a brief comparison of some tools in each category. For example, I'm thinking about source control and issue tracking tools, but any other categories are welcome.
我希望你能为我推荐一些工具,如果你能给我一个每个类别中的一些工具的简要比较,我将不胜感激。例如,我正在考虑源代码控制和问题跟踪工具,但欢迎任何其他类别。
I also hope to get some information about the ability to move between suggested tools (e.g. migrate between CVS and SVN), and even between operating systems if applicable. (I'm currently using Windows Vista, but I may want to switch to Linux sometime soon.) Maybe even information about how easy it would be to move the project to an open-source repository (e.g. SF.net).
我还希望获得有关在建议工具之间移动的能力的一些信息(例如,在CVS和SVN之间迁移),甚至在操作系统之间(如果适用)。 (我目前正在使用Windows Vista,但我可能希望很快转换到Linux。)甚至可能有关将项目移动到开源存储库(例如SF.net)的容易程度的信息。
Thank you.
(P.S. Any comments on how to enhance/clarify my question are more than welcome.)
(P.S.关于如何加强/澄清我的问题的任何评论都非常受欢迎。)
5 个解决方案
#1
The question is too generic, but let me attempt to give it a try:
这个问题过于笼统,但让我尝试尝试一下:
Netbeans or Eclipse IDE. If you do GUI development, I suggest Netbeans, otherwise go for eclipse.
Netbeans或Eclipse IDE。如果你做GUI开发,我建议Netbeans,否则去eclipse。
Git or Mercurial as a VCS. If you're dealing with a large code base or if you dig the UNIX philosophy go for Git. If you don't want to handle cross-OS differences, go for Hg.
Git或Mercurial作为VCS。如果您正在处理大型代码库,或者您正在挖掘UNIX哲学,请转到Git。如果您不想处理跨OS差异,请选择Hg。
Any of these IDE gives you integration with the source control system, so you're just a google search away from it.
这些IDE中的任何一个都可以让您与源代码控制系统集成,因此您只需要远离它进行谷歌搜索。
As for opensource, if you use Git, just push to github. If you use Hg, push it to bitbucket and you're done.
至于opensource,如果你使用Git,只需推送到github。如果你使用Hg,将它推到bitbucket就可以了。
For issue tracking I suggest you hosted Redmine (RoR app) that integrates with CVS, SVN, Git, Mercurial and a few others.
对于问题跟踪,我建议你托管Redmine(RoR应用程序),它集成了CVS,SVN,Git,Mercurial和其他一些应用程序。
If you choose Eclipse, you can integrate it with Mylyn.
如果选择Eclipse,则可以将其与Mylyn集成。
#2
In the free tools space, Eclipse and NetBeans are the primary IDE contenders. IDEA is also available for free for open source developement and a lot of people swear by it. Depending on your background, you may find NetBeans more intuitive than Eclipse. Eclipse has a certain way of looking at the world that is a little different than a lot of other IDEs, especially if you're coming from a Visual Studio background. All three have good built-in support for CVS and SVN as well as integrated debuggers.
在免费工具领域,Eclipse和NetBeans是主要的IDE竞争者。 IDEA也可以免费用于开源开发,很多人都会发誓。根据您的背景,您可能会发现NetBeans比Eclipse更直观。 Eclipse有一种看待世界的方式与许多其他IDE有点不同,特别是如果你来自Visual Studio背景。这三者都具有对CVS和SVN以及集成调试器的良好内置支持。
I personally like Eclipse. I find it much more responsive and more powerful than NetBeans. NetBeans has made a lot of progress over the last few years though.
我个人喜欢Eclipse。我发现它比NetBeans更具响应性和更强大。尽管如此,NetBeans在过去几年中取得了很大进展。
If you're going to be doing Swing development, I would say that the GUI editor in NetBeans is better than anything available in Eclipse. In the area of web service development I've also had a lot more success with NetBeans. For straight Java code, I still prefer Eclipse though.
如果你要进行Swing开发,我会说NetBeans中的GUI编辑器比Eclipse中的任何东西都要好。在Web服务开发领域,我在NetBeans方面也取得了很大的成功。对于直接的Java代码,我仍然喜欢Eclipse。
The question of moving between source control systems is a separate issue from development environment, in my opinion. Move the code then check a fresh copy out from the new server.
在我看来,在源控制系统之间移动的问题是与开发环境不同的问题。移动代码,然后从新服务器检查新副本。
#3
I use the following tools and have been happy moving between Windows/OS X/Linux without a problem:
我使用以下工具,并且很高兴在Windows / OS X / Linux之间移动而没有任何问题:
IDES
- Eclipse 3.4 IDE. Lots of great free plugins. Its a bit slow as an IDE but I prefer it to NetBeans
- NetBeans -- another free IDE that has lots of plugins.
Eclipse 3.4 IDE。很多很棒的免费插件。它作为IDE有点慢,但我更喜欢NetBeans
NetBeans - 另一个拥有大量插件的免费IDE。
Version Control Basically the things people are using now are SVN, CVS, or maybe GIT.
版本控制基本上人们现在使用的东西是SVN,CVS或者GIT。
-
SVN for version control -- it is more mature and now seems more in use than CVS. Has good integration with Eclipse. However in terms of sourceforge I think it still uses CVS though there are other open source hosting that probably use SVN.
用于版本控制的SVN - 它更成熟,现在似乎比CVS更有用。与Eclipse有很好的集成。然而就sourceforge而言,我认为它仍然使用CVS,尽管还有其他开源托管可能使用SVN。
-
CVS still good support though many people have been moving to SVN
尽管许多人已经转向SVN,但CVS仍然提供了很好的支持
-
Git I haven't used it myself though I have heard its been gaining a lot of traction and is more powerful than SVN.
虽然我听说它已经获得了大量的牵引力并且比SVN更强大,但我自己并没有使用它。
Issue Tracking
-
I use Mantis which is actually a PHP-based one. Its ok not a great.
我使用Mantis,它实际上是一个基于PHP的。它确实不是很好。
Bugzilla
Trac
#4
Version Control
I would recommend SVN over CVS, although distributed version tracking tools like Git and Mercurial seem to be very popular among open source projects.
虽然像Git和Mercurial这样的分布式版本跟踪工具似乎在开源项目中非常受欢迎,但我建议SVN而不是CVS。
Importing into a public repository should be easy; if you don't want to keep the revision history, just 'export' a clean copy of the repository, and check it in to the new one.
导入公共存储库应该很容易;如果您不想保留修订历史记录,只需“导出”存储库的干净副本,然后将其签入新版本。
If you do want to keep the revision history, there are tools for cloning repositories, although converting from one type to another might be more tricky.
如果您确实想要保留修订历史记录,则可以使用克隆存储库的工具,尽管从一种类型转换为另一种类型可能会更棘手。
Bug tracking
The most well-known system is possibly Bugzilla - it's the only one I've used on a local system myself. Others can possibly recommend a better single-person tracker. Bugzilla is hosted on a MySQL database, so you should be able to move it to another server easily enough. Moving between bug tracking systems may need a more complicated script though.
最着名的系统可能是Bugzilla - 它是我自己在本地系统上使用的唯一系统。其他人可能会推荐一个更好的单人追踪器。 Bugzilla托管在MySQL数据库上,因此您应该能够轻松地将其移动到另一台服务器。在错误跟踪系统之间移动可能需要更复杂的脚本。
#5
A few other thing besides Eclipse and Subversion.
除Eclipse和Subversion之外的其他一些东西。
IcoFX - freeware icon editor, a copy of Effective Java, Cygwin, VMWare Player (or VMware Workstation), CruiseControl, and SciTE - free source code editor.
IcoFX - 免费软件图标编辑器,Effective Java,Cygwin,VMWare Player(或VMware Workstation),CruiseControl和SciTE的免费源代码编辑器。
#1
The question is too generic, but let me attempt to give it a try:
这个问题过于笼统,但让我尝试尝试一下:
Netbeans or Eclipse IDE. If you do GUI development, I suggest Netbeans, otherwise go for eclipse.
Netbeans或Eclipse IDE。如果你做GUI开发,我建议Netbeans,否则去eclipse。
Git or Mercurial as a VCS. If you're dealing with a large code base or if you dig the UNIX philosophy go for Git. If you don't want to handle cross-OS differences, go for Hg.
Git或Mercurial作为VCS。如果您正在处理大型代码库,或者您正在挖掘UNIX哲学,请转到Git。如果您不想处理跨OS差异,请选择Hg。
Any of these IDE gives you integration with the source control system, so you're just a google search away from it.
这些IDE中的任何一个都可以让您与源代码控制系统集成,因此您只需要远离它进行谷歌搜索。
As for opensource, if you use Git, just push to github. If you use Hg, push it to bitbucket and you're done.
至于opensource,如果你使用Git,只需推送到github。如果你使用Hg,将它推到bitbucket就可以了。
For issue tracking I suggest you hosted Redmine (RoR app) that integrates with CVS, SVN, Git, Mercurial and a few others.
对于问题跟踪,我建议你托管Redmine(RoR应用程序),它集成了CVS,SVN,Git,Mercurial和其他一些应用程序。
If you choose Eclipse, you can integrate it with Mylyn.
如果选择Eclipse,则可以将其与Mylyn集成。
#2
In the free tools space, Eclipse and NetBeans are the primary IDE contenders. IDEA is also available for free for open source developement and a lot of people swear by it. Depending on your background, you may find NetBeans more intuitive than Eclipse. Eclipse has a certain way of looking at the world that is a little different than a lot of other IDEs, especially if you're coming from a Visual Studio background. All three have good built-in support for CVS and SVN as well as integrated debuggers.
在免费工具领域,Eclipse和NetBeans是主要的IDE竞争者。 IDEA也可以免费用于开源开发,很多人都会发誓。根据您的背景,您可能会发现NetBeans比Eclipse更直观。 Eclipse有一种看待世界的方式与许多其他IDE有点不同,特别是如果你来自Visual Studio背景。这三者都具有对CVS和SVN以及集成调试器的良好内置支持。
I personally like Eclipse. I find it much more responsive and more powerful than NetBeans. NetBeans has made a lot of progress over the last few years though.
我个人喜欢Eclipse。我发现它比NetBeans更具响应性和更强大。尽管如此,NetBeans在过去几年中取得了很大进展。
If you're going to be doing Swing development, I would say that the GUI editor in NetBeans is better than anything available in Eclipse. In the area of web service development I've also had a lot more success with NetBeans. For straight Java code, I still prefer Eclipse though.
如果你要进行Swing开发,我会说NetBeans中的GUI编辑器比Eclipse中的任何东西都要好。在Web服务开发领域,我在NetBeans方面也取得了很大的成功。对于直接的Java代码,我仍然喜欢Eclipse。
The question of moving between source control systems is a separate issue from development environment, in my opinion. Move the code then check a fresh copy out from the new server.
在我看来,在源控制系统之间移动的问题是与开发环境不同的问题。移动代码,然后从新服务器检查新副本。
#3
I use the following tools and have been happy moving between Windows/OS X/Linux without a problem:
我使用以下工具,并且很高兴在Windows / OS X / Linux之间移动而没有任何问题:
IDES
- Eclipse 3.4 IDE. Lots of great free plugins. Its a bit slow as an IDE but I prefer it to NetBeans
- NetBeans -- another free IDE that has lots of plugins.
Eclipse 3.4 IDE。很多很棒的免费插件。它作为IDE有点慢,但我更喜欢NetBeans
NetBeans - 另一个拥有大量插件的免费IDE。
Version Control Basically the things people are using now are SVN, CVS, or maybe GIT.
版本控制基本上人们现在使用的东西是SVN,CVS或者GIT。
-
SVN for version control -- it is more mature and now seems more in use than CVS. Has good integration with Eclipse. However in terms of sourceforge I think it still uses CVS though there are other open source hosting that probably use SVN.
用于版本控制的SVN - 它更成熟,现在似乎比CVS更有用。与Eclipse有很好的集成。然而就sourceforge而言,我认为它仍然使用CVS,尽管还有其他开源托管可能使用SVN。
-
CVS still good support though many people have been moving to SVN
尽管许多人已经转向SVN,但CVS仍然提供了很好的支持
-
Git I haven't used it myself though I have heard its been gaining a lot of traction and is more powerful than SVN.
虽然我听说它已经获得了大量的牵引力并且比SVN更强大,但我自己并没有使用它。
Issue Tracking
-
I use Mantis which is actually a PHP-based one. Its ok not a great.
我使用Mantis,它实际上是一个基于PHP的。它确实不是很好。
Bugzilla
Trac
#4
Version Control
I would recommend SVN over CVS, although distributed version tracking tools like Git and Mercurial seem to be very popular among open source projects.
虽然像Git和Mercurial这样的分布式版本跟踪工具似乎在开源项目中非常受欢迎,但我建议SVN而不是CVS。
Importing into a public repository should be easy; if you don't want to keep the revision history, just 'export' a clean copy of the repository, and check it in to the new one.
导入公共存储库应该很容易;如果您不想保留修订历史记录,只需“导出”存储库的干净副本,然后将其签入新版本。
If you do want to keep the revision history, there are tools for cloning repositories, although converting from one type to another might be more tricky.
如果您确实想要保留修订历史记录,则可以使用克隆存储库的工具,尽管从一种类型转换为另一种类型可能会更棘手。
Bug tracking
The most well-known system is possibly Bugzilla - it's the only one I've used on a local system myself. Others can possibly recommend a better single-person tracker. Bugzilla is hosted on a MySQL database, so you should be able to move it to another server easily enough. Moving between bug tracking systems may need a more complicated script though.
最着名的系统可能是Bugzilla - 它是我自己在本地系统上使用的唯一系统。其他人可能会推荐一个更好的单人追踪器。 Bugzilla托管在MySQL数据库上,因此您应该能够轻松地将其移动到另一台服务器。在错误跟踪系统之间移动可能需要更复杂的脚本。
#5
A few other thing besides Eclipse and Subversion.
除Eclipse和Subversion之外的其他一些东西。
IcoFX - freeware icon editor, a copy of Effective Java, Cygwin, VMWare Player (or VMware Workstation), CruiseControl, and SciTE - free source code editor.
IcoFX - 免费软件图标编辑器,Effective Java,Cygwin,VMWare Player(或VMware Workstation),CruiseControl和SciTE的免费源代码编辑器。