问题描述
我正在尝试将一个eclipse JEE6项目中的所有工作都转移到另一个eclipse程序。我知道我将不得不重新配置很多,并重建了很多图书馆文件,但是最简单的方式是尽可能多地传输。
I'm trying to transfer everything I'm working on in one eclipse JEE6 project with database to another eclipse program. I know I will have to reconfigure a lot and rebuild a lot of library files but what is the easiest way to transfer as much as I can?
推荐答案
您应该将eclipse项目导出为归档文件。然后将存档文件保存到拇指驱动器。然后将其导入到其他机器的eclipse实例中。数据库的东西(如果您使用eclipse本地连接到数据库并查看模式信息等)存储在 .metadata\.plugins\org.eclipse.datatools.connectivity\driverStorage.xml下
。所以你也可以复制该文件。
You should export you eclipse project as an archive file. Then save the archive file to a thumb drive. Then import it back in your other machine's eclipse instance. The database stuff (if you used eclipse to locally connect to a db and see schema info and such) is stored under .metadata\.plugins\org.eclipse.datatools.connectivity\driverStorage.xml
. So you can also copy that file over.
File-> Export->存档文件
然后做 File-> Import->存档文件
更安全的选择是使用源存储库(即svn,git等)和在那里提交你的项目,然后从那里查出来源。
The preferred & safer choice is to use a source repository (ie. svn, git, etc) & commit your project there and then check out the source from there.
这篇关于将项目从一个日食转移到另一个日食的最好方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!