Select all modified files in Eclipse - eclipse

I want to run a plugin on only the modified files in my Eclipse Workspace. I didn't find any shortcut in eclipse to select only modified files (changed after svn checkout) in the package explorer.
I was hoping there would be an option since Eclipse already shows changed packages with a > symbol.
Note: I want to choose only the changed files and not other files... The Plugin options are not available in the Team Synchronize window for SVN.

Related

Automatically generate .factorypath on project import when using Maven project in Eclipse IDE

The .factorypath file is a generated file, which eclipse requires for annotation-processing. The m2eclipse plugin does generate this file when using "Update Maven Project" (Alt+F5) and checking "Update project configuration from pom.xml".
However, I don't want to check this file into version control. But if not, and someone from the team does a fresh checkout, and imports the project in eclipse, the .factorypath does not get generated until the "Update Maven Project" is performed manually. I don't want this manual step when a project gets imported, this has to happen automatically. Is there an option, that a project has to be updated upon import?
Since this is an IDE related question, and you seem to be using Eclipse IDE:
Menu Window > Preferences > Maven > Automatically update Maven projects configuration .
This will make it for you on project import so you would not need that manual step anymore.
Assuming your real issue is
I don't want to check this file into version control.
Though you have not specified which version control you are using but if you are a GIT or SVN user, you need to add files/directories pattern in GIT ignore file or SVN ignore properties.
Read more on GIT Ignore or SVN Ignore.

my workspace doesn't show up in Luna (updated from Helios)

Windows 7 SP1, Eclipse 3.6 (Helios) updated to Luna.
I downloaded the recent Eclipse dstribution (Luna). Doesn't have an installer for Windows?
It seems just to be a .zip (eclipse-java-luna-SR1-win32-x86_64.zip) which has an eclipse root.
Do I just put it into C:\Program Files (no difference between x86 or x64 ?). I moved away the old eclipse directory to avoid a mixing up.
Now, when I start Luna, the project sidebar is empty and I do not see my old (Helios) projects.
I also see no way to invoke any of the projects. The workspace is
c:\Users\me\workspace.
Clueless at the moment.
You have to import the projects into your existing workspace.
Go to File --> Import --> Select the type of project you want to import (for eg, select General --> import existing code into workspace) --> browse to the directory where your old projects exists --> Next and Finish. Now you can see your projects in the sidebar.
And as far as I know many eclipse versions do not have an installer, they are just copy paste.
Eclipse distribution is mostly a compressed (zip) file. Just unzipping it to a folder is sufficient for Eclipse installation.
You can copy it to any folder you want, but I (personally) prefer a non-whitespace folder name, and unzip to look like C:\Dev\Luna\eclipse
Open your Helios and note down your workspace (mostly you can find it here: File > Switch Workspace > Other...
Now create a shortcut of Luna eclipse.exe in Desktop
Right click the shortcut, select Properties and append the following in the Target location: -data C:\path\of\helios\workspace (You need to give the workspace you previously noted down)
Launch the shortcut, accept the warning Eclipse shows you to update your workspace, and now you should be able to see your existing projects.
And one more point of advice is that do not create projects in the Eclipse workspace, because it ties your projects to the workspace, it can go messy, when the workspace gets corrupted and you need a fresh workspace.

Do not automatically pend some additions in TFS plug-in for Eclipse

I am using TFS plugin for eclipse, i want to make my \bin (It's an Android Project) folder's changes not reflected in TFS, we can say it as "unbinding" or "making it offline". Is that possible by Eclipse TFS plugin
The terminology used by most source control providers, including TFS, is ignored.
The TFS plug-in for Eclipse will honor Eclipse's "derived resource" settings, which is resources that are built from the rest of the project resources. That is to say that your bin directories should be ignored by your Eclipse settings. You may wish to double-check your project configuration to ensure that your filesystem layout reflects what Eclipse believes to be your project layout. (This can happen, for example, if you have a maven-style project configuration and use maven exclusively to produce builds, but you do not use mvn to setup your Eclipse projects and workspace.)
However, you can also accomplish this manually, as the TFS plug-in for Eclipse has an ignore file like most other source control providers.
From within the Eclipse package explorer, you can simply right click on your bin folder and select Team > Ignore. This will create the appropriate ignore file and add an entry for your entire bin folder (recursively).
You can also update the file manually, in TFS 2010 and prior, this file is the .tpignore file. In TFS 2012, with local workspaces, Visual Studio and the TFS plug-in for Eclipse have standardized on the new .tfignore file.

Eclipse, svn:externals, hide externals from project explorer

I'm using Eclipse Indigo IDE + Subversive SVN plugin.
The project I'm working on includes a lot of files and directories (150+) from an other project in the SVN repository using SVN:externals.
Because there are so many files from the other project it is a bit complicated to determine which files are externals and which do really belong to the current project.
The question is, is it possible to hide (filter out) the external files from the Eclipse Package Explorer?
I already tried to do so by using the "Filters..." option of the Package Explorer, but wasn't able to figure out if a file is an externals, because that information is not stored in the file itself.
Thanks in advance!

Eclipse Subclipse not identifying resources under source control

I have used Subclipse, a Subversion plugin for Eclipse, in the past and it has always just worked on install but not now. I added it to my Eclipse Helios and it is not identifying any of my files that are under source control as such. It gives the message "Resource not managed" when I inspect a file I know is managed in the SVN Properties view.
I have verified that SVN is checked under Preferences > General > Appearance > Label Decorations and the settings under Preferences > Team > SVN look reasonable.
I am using Subclipse 1.6.13 and Eclipse 3.6.0.
Any Ideas?
Two of my eclipse projects had some kind of problem, I deleted them from the package explorer (did not delete the project files just removed from package explorer) then imported them back in (File > import) and everything was fine. Nothing to do with helios.
There's some discussion here to the effect that it has to do with Eclipse + user permissions. I can't verify personally, as I haven't fiddled with Helios yet.
That in mind, my answer is: if you aren't using some vital feature of Helios, don't migrate from Galileo (or older) yet.
The quality of the SVN implementation - both Subclipse and Subversive leaves a lot to be desired - the latter being the lesser evil in my experience.
For me the only way to get a folder to be noticed (get the little ? icon) so that 'Add to version control' was working was to 'Right Click > Team > Disconnect' and then delete the .svn folder in the repository, and re-setup SVN through eclipse ('Share project').
I had the same problem with the 'src' directory.
solution:
copy the src directory to some other place, ex: c:\temp.
delete the src directory from eclipse project (via package or
project expl.).
open tortoise SVN (right click/repo browser).
drag & drop (while pressing the Ctrl key) the src directory to the
wanted directory in SVN.
in eclipse do: team/synchronozied, then update.