workspace

Portable Eclipse

旧巷老猫 提交于 2019-11-28 23:45:42
I'm trying to port my entire 'workspace' to a USB key (including the Eclipse executable) so that I can carry my work anywhere with me and work off the key directly. My directory hierarchy is similar to this: /workspace/eclipse - Where my current eclipse binary is stored /workspace/codebase - Where I keep the root of all my eclipse projects /workspace/resources - Where I keep all project files (images, docs, libs, etc.) It all works perfectly fine on one system. But when I change over to another system, the USB key gets mounted on another drive. For example, on my laptop, I get 'E:\', on my PC,

Clean out Eclipse workspace metadata

戏子无情 提交于 2019-11-28 17:49:27
I use multiple workspaces with Eclipse. I recently noticed that some of my workspaces have a lot of cruft in them from software packages that I installed and then later removed. As far as I can tell, the situation is that many packages write stuff (sometimes a lot of stuff) to the .metadata folder for every workspace I open while the package was installed. When I removed a package, it seems to clean out the .metadata folder for the workspace that I happen to have open at the time, but all the other workspaces are left with orphaned metadata. Sometimes this metadata causes problems—often,

Eclipse opens blank workspace

烂漫一生 提交于 2019-11-28 11:20:53
I have this weird issue where the following happens: fresh eclipse juno install (with all updates applied) works fine for a while asking which workspace I want to open with a dialog on startup after a few days it stops prompting me for workspace, opens blank made up workspace instead in /Users/myself/Documents If I check "preferences -> workspace -> startup and shutdown" everything seems fine, the only workspace in the list is the one I created and the checkbox that says "don't prompt for workspace" is not checked . This happened a few times already on fresh eclipse installations and fresh

How to link project in eclipse

我与影子孤独终老i 提交于 2019-11-28 10:55:43
I have a java project and I want to develop it without replacing the source code from its place. I want to link my code to my workspace without replace physically? Select the Project you want to reference from on Package Explorer Right-click and go to Properties ( or hit Ctrl-Enter ). Under Projects in Java Build Path you can add another project which is currently open. If you want to override a class you can make a copy of it in your current project and move it further up in the classpath in Order and Export . Linking Source Project properties -> Java build path (tree-item) -> Source (tab) ->

Eclipse: How do i refresh an entire workspace? F5 doesn't do it

大城市里の小女人 提交于 2019-11-28 05:09:35
I have a workspace with a bunch of java projects. If I go to File->Refresh , it doesn't really refresh anything (perhaps the currently selected project). How do I get eclipse to refresh all of the projects? It will indeed only refresh the current project (or, more specifically, the current selection in the project explorer). I just click somewhere in the project explorer, do Ctrl + A to select all projects and then press F5 to achieve a complete refresh. If you want to refresh all Projects, ignoring closed projects, then the easiest way is to: ctrl-click and item in the Project Explorer (to

Disable building workspace process in Eclipse

一曲冷凌霜 提交于 2019-11-28 04:15:24
What is Eclipse doing when building workspace process is running? Can i disable it because it is taking a long time to complete and i dont know if it is necessary. Thank you VonC Building workspace is about incremental build of any evolution detected in one of the opened projects in the currently used workspace. You can also disable it through the menu " Project / Build automatically ". But I would recommend first to check: if a Project Clean all / Build result in the same kind of long wait (after disabling this option) if you have (this time with building automatically activated) some

How to recover corrupted Eclipse workspace?

亡梦爱人 提交于 2019-11-28 03:54:18
I just managed to corrupt contents of my Eclipse .metadata directory. Starting up with eclipse -clean did not work out. Deleting .metadata and then importing all projects, plugins and setting does not sound too interesting. I ended up moving .metadata/.plugins/org.eclipse.core.resources/ elsewhere and reimporting my projects only. Are there any tools or best practices to recover workspace? I have some experience at recovering from eclipse when it becomes unstartable for whatever reason, could these blog entries help you? http://blog.chris-alex-thomas.com/2009/08/26/eclipse-refuses-to-start

Jenkins Pipeline Wipe Out Workspace

本小妞迷上赌 提交于 2019-11-28 03:21:48
We are running Jenkins 2.x and love the new Pipeline plugin. However, with so many branches in a repository, disk space fills up quickly. Is there any plugin that's compatible with Pipeline that I can wipe out the workspace on a successful build? You can use deleteDir() as the last step of the pipeline Jenkinsfile (assuming you didn't change the working directory). Like @gotgenes pointed out with Jenkins Version. 2.74 , the below works, not sure since when, maybe if some one can edit and add the version above cleanWs() With, Jenkins Version 2.16 and the Workspace Cleanup Plugin , that I have,

Create a new workspace in Eclipse

爱⌒轻易说出口 提交于 2019-11-28 02:54:23
I don't see any menu item I can use to create a new workspace. What should I use to create a new workspace and move some of the projects from existing default workspace to a new workspace? I am using Windows with Eclipse 3.7. I use File -> Switch Workspace -> Other... and type in my new workspace name. (EDIT: Added the composite screen shot.) Once in the new workspace, File -> Import... and under General choose "Existing Projects into Workspace. Press the Next button and then Browse for the old projects you would like to import. Check "Copy projects into workspace" to make a copy. revdrjrr In

Change computer name for a TFS Workspace

百般思念 提交于 2019-11-28 02:49:36
My System Administrator renamed my computer. So where it was "MyLaptop2" it is now just "MyLaptop". So now all my source control bindings and checked out files are looking for a workspace with "MyLaptop2". Is there a way to redirect that workspace to my renamed (but still the same) computer? Vaccano This command run in the Developer Command Prompt for Visual Studio did the trick: tf workspaces /updateComputerName:MyOldComputerName /s:"http://MyServer:8080/tfs/MyCollection" It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new computer name. Greg