简体   繁体   English

尝试将eclipse项目从Mac lap top移植到Windows Server

[英]trying to port eclipse project from mac lap top to windows server

I'v been making a simple target card reading server on eclipse, on my mac portable. 我一直在Mac便携式计算机上的Eclipse上制作一个简单的目标卡读取服务器。 I have a windows server set up, which I would like to install it within eclipse and test run it live. 我已经安装了Windows服务器,我想将其安装在eclipse中并进行实时测试。

I can't figure out how to move the project over, this is what i did 1. on mac portable selected export, general and archive, saved it as card game.zip. 我不知道如何移动项目,这就是我所做的1.在Mac Portable上选择导出,常规和存档,并将其另存为纸牌game.zip。

On my server, I did import from the file menu, deleted general, zip file and selected game.zip. 在服务器上,我确实从文件菜单导入,删除了常规文件,zip文件并选择了game.zip。

it got added to my first project, not as a separate project. 它被添加到我的第一个项目中,而不是作为一个单独的项目。 I then tried to create a empty project and right click on it, then select import. 然后,我尝试创建一个空项目,右键单击它,然后选择导入。 My game crd a project files where added to this project. 我的游戏将项目文件添加到该项目中。 But when I tried to run it I got a selection does not contain main type error. 但是当我尝试运行它时,我得到的选择不包含主类型错误。

There must be a way to do this.... 必须有一种方法可以做到这一点。

I believe you're doing everything right up to the import, at which point you want Import > General > Existing Project into Workspace . 我相信您要在导入之前做所有事情,这时您要导入>常规> 现有项目到Workspace中 In that dialog, there is an option (at the top) to import from an archive file. 在该对话框中,有一个选项(位于顶部)从存档文件导入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM