I'm running Helios SR2 and trying to open some old Eclipse based projects I pulled from the repository. Unfortunately, it doesn't recognize the .project files. I'm stuck using Eclipse as just a fancy text editor and compiling from the command line, which is most annoying. :-) Any thoughts on how to fix it?
Or, better yet, any way to automate migrating Eclipse projects into Netbeans (all our new stuff is in Netbeans and it would nice to standardize on one platform)?
Try (re)importing the projects. File → Import → General → Existing Projects into Workspace.
Related
I just installed Eclipse Neon. I also have Eclipse Mars still lying around on my system. When I opened Neon it asked if I wanted to convert my workspace and I did.
So I installed PyDev through Help/Install on Neon and now I go to File/New/PyDev Project and follow the prompts to create a new Python project. It does not show up in PyDev Package Explorer. If I try to create it again with the same name, it says I cannot because the project already exists.
When I first installed PyDev, 3 projects showed up in the PyDev Package Explorer, but they all contain folders underneath which cannot be expanded so I don't think those 3 projects are being handled correctly either. Actually they are closed projects I see, but I see at least 1 is a Java project, so it does not belong to that perspective.
So any idea why Neon/PyDev is not handling my Python projects correctly?
So from the above comments, there were two defaults for PyDev Package Explorer I was not expecting when I installed Neon (which may well not just apply to Neon, but other versions as well)
Display working sets was the default behaviour and I wanted display projects.
I wanted non-Pydev projects filtered out and they were not
I download nusmv-tools(https://code.google.com/a/eclipselabs.org/p/nusmv-tools/) which is a model checker.
I installed it and its dependencies(such as xtext)on eclipse successfully and restart eclipse.
Now, I expect eclipse recognize the nusmv files (which extensions are '.smv'), however it cannot.
My question is, what should I do in order to make parse nusmv files in eclipse, so that eclipse will recognize and highlight the nusmv file(.smv).
(Should I create an xtext project or java project or general project?
Which libraries or external jars should I add to the project?)
Any help?
Thanks
Actually, for nusmv, the problem was: I was using eclipse 64 bit, but it seems the nusmv-tools require to use 32 bits eclipse and xtext 2.5 version...
After downgrading the eclipse and xtext it worked for me...
I usually have a different workspace for each project that I work on (perl, java, PHP, etc.). Sometimes, I find a common new plugin (say EGIT) and install it , but it doesn't show up automatically in the other workspaces. Is there some setting in eclipse where I can enable this? I am using Indigo SR2.
Thanks!
P.S.: I know we have working sets within workspaces to help re-use the same workspace, but sometimes it is easier to manage projects when in separate workspaces.
If you are using the same Eclipse installation, each plug-in that you install will be available in all workspaces. You can see the list of installed plug-ins by selecting Help -> About Eclipse -> Installation Details
From Eclipse Indigo onwards, there is a way to import installations which makes it available across workspaces.
To go with rgerganov's answer:
For certain plugins, although they're installed and available to all workspaces for a given Eclipse installation, they may need to be individually configured within each workspace.
An example of this is the Checkstyle plugin where you need to specify the configuration to use, and enable it for each project within the workspace. This may also be the case for EGit.
For now, I had to use the trick mentioned in here of copying the relevant prefs files from one of the workspace directory to the new workspace directory followed by an eclipse restart to get the plugins enabled. Others feel free to edit if you see a better way.
I have the Perforce plug-In in my Eclipse IDE. Now I want to import Eclipse C projects that is already in the Perforce server. However, I cannot build them. They do not get imported as a C project.
I observed the same situation for Java project. Looks like any project from perforce is imported as just the Project. So that to resolve the problem I used the following approach.
Create project from perforce
Create separate language-specific project and set it up so that it is created from existing sources.
Share project (in perforce plugin terminology) so this is under perforce control now
In my Eclipse, I can right click on the project and choose New --> "Convert to a C/C++ project (Adds C/C++ Nature)". See also this question: Adding a C/C++ nature to an Eclipse project
Hi Netbeans is the default IDE at my workplace. I want to use Eclipse to edit the Netbeans projects. How easy or difficult is it to do this. Can someone outline the steps involved for this.
You should be able to import an existing project into Eclipse by:
File -> Import -> Choose General -> Existing Projects into Workspace
It won't pick up your Netbeans settings however. You may need to set your project up manually in terms of a libraries, source location etc..
Alternatively, if you're using Maven and Eclipse m2eclipse you should be able to import a Maven project and have it pick up most of the settings.
Importing an eclipse project should be easy (for Netbeans 6.7): File->Import Project->Eclipse Project
Or create a 'project with existing sources' which is available for Java, ruby, ...