Missing "New Haxe Project" in FDT Free - eclipse

I've just downloaded the FDT IDE Free version from its website. I wanted to use it for Haxe development so at first startup I chose to develop Haxe projects only. However in the "New FDT Project" window I cannot find the Haxe project templates:
I added the Haxe and Neko paths in the preferences but it didn't solved it. I also tried to add them in the "Installed SDKs" tab but I got an error stating that it couldn't find SDKs in that given folder. My last desperate try was to extract a new FDT application and set it that I want to develop AS and Flex applications too but no luck. I still cannot create Haxe projects.
However what is wierd that the version of FDT is around 1.x.x.x:
But as far as I know the latest version is 5.5. Does the free version have separate versioning or I managed to download an outdated version? If the last is true then I don't really know where could I get the latest release since as mentioned above, I downloaded it from the official site.
The same goes for using FDT as a plug-in in an Eclipse Juno installation. Haxe projects are missing there too.
Checked the AppData folder of FDT, and there are Haxe project templates but no Haxe project type:
I originally downloaded the win64 version, but already tried the win32 version and still no Haxe project.

Chatted with tech support at FDT. Apparently, minor bug in the project template configuration files that will be fixed with an upcoming release.
Unsure where they are on non OSX platforms, but for the mac, they are in:
~/Library/Application Support/FDT/projectTemplates2/haxe/*/description.xml
Edit the files and change the 'version' tag from 2.7 to 2.8. Then relaunch FDT and the Haxe project templates will display.

Related

How do I link between the new Eclipse and Scene Builder?

I have downloaded the latest version of eclipse and the latest version of javafx, created a new user library which contains all of the javafx files (I have used this tutorial).
I've noticed that unlike older eclipse versions, there is no "scene builder path" setting in the latest eclipse, and when I attempt to create a new project there is no such thing as "JavaFX Project" (I remember having this option that automatically created an fxml file and control,main classes.)
My question is how do I make it all work together like it used to in the older eclipse versions?
(I know that there's something called e(fx)clipse but I believe it is outdated since it refers to javafx 2, and I have downloaded version 11)
Just go to the eclipse marketplace and install e(fx)clipse. It is not outdated and should provide you with the functionality that you are looking for.

AbstractUIPlugin error and Missing tabs in plugin.xml from eclipse

I checked in eclipse/java plugin project from svn repository.
Eclipse automatically builds the code to show hundreds of errors.
It seems like that eclipse doesn't properly link to the plugin libraries. Googling to find this site that I need dependencies and other tabs in plugin.xml.
What might be wrong? I use Indogo(3.7) on Mac OS X 10.7.4
I used Indigo (3.7) for my Mac, but it happened so that the plugin was built on Helios (3.6). When I run the plugin using Helios, I got the project compiled without errors.
It seems like that some of the plugins are (heavily) version dependent.
Looks like you got the base XML editor instead of the plugin.xml editor.
This is probably caused by your not having the eclipse plugin development environment (PDE) enabled in a new workspace.
Try creating a new plugin project (this will enable the necessary plugin tools), or go to the preferences and enable the "correct" capability. Since the capabilities seem to change from release to release, I always use the first method and then delete the new project.

Eclipse EGit and GWT/GAE

I have a central GIT repository, so that i can work on the project from different computers.
However when i pull the project on the other computer i get the error "Unbound classpath container: 'GWT SDK [missing]' in project 'Test Project'" (I also get a similar error for GAE).
So my question is: How do i setup my project so the same version of GAE/GWT is used on all computers.
I suspect the problem could be caused by the different versions of GAE and GWT on the machines. For example: GWT (1) is not the same version on the machines as it depends on when you updated GWT.
I ran into this problem too, and solved it by installing the GAE and GWT sdks under specific names, manually. That is, instead of relying on eclipse's software update tools, I downloaded the specific SDK version I wanted from the googlecode sites, and then added them manually to eclipse. This way their names include the numbers, and your git repository can store information about which versions it's using.
I do have to install the sdks manually on each developer machine, which is a drag.
To install an sdk manually:
Download it
Right-click on the sdk container in eclipse (in project explorer, it probably says GWT SDK [missing])
Choose properties
Click configure SDKs
follow the path to install a new sdk
You don't have to set the new sdk as default or anything - your project will pick it up immediately after you install it.
Note to any GPE developers: it'd be nice if the sdks were installed automatically with a version-specific name for the benefit of source control!
You can Change the project's SDK target.
In eclipse go to Marker [it is a tab next on the extreme left of the tabs including Console and Development] --> Left Click problem indication --> Click Quick fixes and choose the option which re-configures the project. This should fix the problem. Note that if your code uses features that changed between SDK versions you will have to make changes.
Combined with Rilev Lark's answer This is a chance to Update your projects or your environments whenever the problem occurs.

Using Eclipse 3.7 for developing Plugin based on Eclipse RCP 3.5

is it possible to use Eclipse 3.7 IDE for developing for the 3.5 platform? Or must I use Eclipse 3.5 IDE?
When I try to switch from Eclipse 3.5 IDE to 3.7 I get errors on projects, which were ok before:
Archive for required library: 'C:/.../.metadata/.plugins/org.eclipse.pde.core/.external_libraries/xyz/os/win32/x86' in project 'projectname' cannot be read or is not a valid ZIP file projectname
What do I have to do to exchange the 3.5 IDE with a current one, but still develop for the 3.5 platform?
I hope my explanation did make sense and was understandable :)
Additional Info:
- I never used the RCP before, now I must use it
- It's no option to upgrade the target platform (3.5)
- I searched the net and stackoverflow, but found no answers for using 3.7 and develop for target platform 3.5 (maybe nobody else has these problems or I used the wrong queries)
Cheers
Kai
Use the menu
Window > Preferences:
Plug-in development > target platform
Here you can add your eclipse 3.5 as a target platform, and then set it active.
But I don't think this will solve the errors you mentioned. I think those errors are because you are using the old workspace folder, and there is something not compatible with eclipse3.7. So maybe you can try to switch to a new workspace, and import your projects there.
I just resolved my problem :-)
In my case, there was a plugin jar, that contained the java sources:
jar
com
META-INF
src
plugin.xml
It seems like eclipse is putting jars inside of plugin jars in the following directory:
[WORKSPACE]\.metadata\.plugins\org.eclipse.pde.core\.external_libraries\...
For my plugin, it tried to put the src folder in this directory - which somehow failed.
After deleting the src folder inside the jar, the errors were gone.
RCP == bag of pain :-)

Android string and layout editors in Eclipse-ADT frequently crash

I recently started programming for Android using the Eclipse ADT. What I am frequently observing is, that when I open some Android .xml file (e.g. res/strings.xml or some res/layout/<...>.xml file) that there are NullPointerExceptions.
One can then still edit the file in source mode, but the convenient Resources-tab or the Layout-tab, resp., remain empty. That's especially happening when opening .xml files created by others. E.g. I downloaded and imported the eclipse project found here (http://www.designerandroid.com/?cat=4) and imported the downloaded eclipse project into Eclipse (Helios).
When I open the strings.xml file or any of the layout files, none of the special views (Resources or Layout, resp.) works! Are these ADT views really so brittle or is my setup somehow false or corrupted?
Michael
It is a defect of ADT. See here:
http://code.google.com/p/android/issues/detail?id=8173
I got the same problem when upgrading my WST to a newer version than the one ADT was using.
BTW, Helios is quite new for ADT. The official Android developer site recommends that you should stick with Eclipse 3.4 or 3.5 for now.