简体   繁体   English

如何将Java项目导入Flash Builder 4.7?

[英]How do I import a Java project into Flash Builder 4.7?

Is it possible to work on a Java project inside Flash Builder 4.7? 是否可以在Flash Builder 4.7中处理Java项目? If so I do not know how to import the project. 如果是这样,我不知道如何导入项目。

Also, I might be missing the JDT? 另外,我可能会错过JDT吗? I found some instructions here, https://forums.adobe.com/thread/773965?tstart=0 that say to add it via an update site but the instructions were written for Flash Builder 4 not 4.7. 我在这里找到了一些说明, https ://forums.adobe.com/thread/773965 ?tstart = 0表示要通过更新站点添加它,但这些说明是针对Flash Builder 4而不是4.7编写的。 It gives a link for using the Galileo update site and I don't want to try it because I don't know if it will mess up my install. 它提供了使用Galileo更新站点的链接,我不想尝试它,因为我不知道它是否会破坏我的安装。

FYI: Flash Builder is based on Eclipse and I don't know how to determine what version of Eclipse Flash Builder 4.7 is based on. 仅供参考:Flash Builder是基于Eclipse的,我不知道如何确定Eclipse Flash Builder 4.7的版本。

UPDATE: 更新:
I attempted to go to the next step taking a risk in thinking that it might warn me before installing and it did give me a warning: 我尝试进行下一步,冒着风险,认为它可能会在安装之前警告我,并且确实给了我警告:

"Cannot complete the request.  See the error log for details.
"Eclipse Java Development Tools" will be ignored because a newer version is already installed. 

So it looks like JDT are already installed but still do not see any way to import the Java project. 因此,似乎已经安装了JDT,但仍然看不到导入Java项目的任何方法。

FB 4.7 is based on eclipse indigo version, it's possible to import a java project on FB. FB 4.7基于eclipse indigo版本,可以在FB上导入Java项目。 I'm using Maven to build my project but you can import a general java project. 我正在使用Maven构建我的项目,但是您可以导入一个常规的Java项目。 i'v tried all these solution and all works fine : 我已经尝试了所有这些解决方案,并且一切正常:

Solution 1: change your Java project to Maven project nature with your eclipse, and import it on FB: import>Maven>Existing Maven Project. 解决方案1:使用Eclipse将Java项目更改为Maven项目性质,然后将其导入FB:import> Maven> Existing Maven Project。

Solution 2: like any Java project import>General>Existing Projects into Workkspace. 解决方案2:就像将任何Java项目导入>常规>现有项目导入Workkspace一样。

Solution 3: check your .project file and verify that it's correct. 解决方案3:检查您的.project文件并验证其正确性。

Solution 4: move your project folder into your workspace and create new Java project with FB with a 解决方案4:将您的项目文件夹移动到工作区中,并使用FB创建一个新的Java项目。
similar name as your project folder, this will create a new Java project with FB with your old Java project files. 与项目文件夹类似的名称,这将使用旧的Java项目文件创建带有FB的新Java项目。

Solution 5: do it in inverse: install FB 4.7 plugin in your eclipse and import your flex project to to eclipse. 解决方案5:反向执行此操作:在eclipse中安装FB 4.7插件,然后将flex项目导入到eclipse中。

for jdt plugin error, FB 4.7 use eclipse JDT plugin 3.7.1.r371 and it work fine with this version 对于jdt插件错误,FB 4.7使用eclipse JDT插件3.7.1.r371,并且在此版本下正常工作

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

相关问题 我可以将Flash Builder 4.7用作eclipse mars.1插件吗? - Can I use Flash builder 4.7 as eclipse mars.1 plugin? Flash Builder 4.7中Flex / Java应用程序的远程调试Java部分 - Remote Debug Java part of the Flex/Java application within Flash Builder 4.7 Adobe Flash Builder 4.7启动失败,并显示“无法创建Java虚拟机” - Adobe Flash Builder 4.7 Startup Failed with “Failed to create the Java Virtual Machine” 如何将Flash Player导入Java? 我已经创建了一个浏览器,并且希望它运行Flash,但不会 - How do I import flash player into java? I have created a browser and I want it to run flash, but it won't 如何将* .java文本文件导入Eclipse项目? - How do I import *.java text files into an Eclipse project? 如何在Flash Builder项目中使用SWC文件 - how to use swc file in flash builder project 如何为现有Java项目创建ant构建器文件(build.xml)? - How do I create an ant builder file (build.xml) for an existing Java project? 无法连接到远程VM。 拒绝连接。 尝试在Flash Builder 4.7中调试远程Java应用程序时 - Failed to connect to remote VM. Connection refused. when trying to debug remote java application in Flash Builder 4.7 如何使用Java连接Flash Builder 4.5中的mysql - how to connect mysql in flash builder 4.5 with java 如何将Java swing类导入intellij的GUI构建器? - How can I import a java swing class into the GUI builder of intellij?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM