workspace

How do you force the deletion of a TFS 2010 workspace on a client when the TFS Server no longer exists?

淺唱寂寞╮ 提交于 2019-12-09 06:10:53
问题 I currently have a TFS 2010 Server running on SERVER-1. On my client (MY-CLIENT) I have VS2010 running and have a workspace associating SERVER-1 with \MY-CLIENT\Development. All is good. I was playing around with setting up a different instance of TFS on SERVER-2. On my client, I deleted the original SERVER-1 workspace and created a new workspace associating SERVER-2 with \MY-CLIENT\Development. All is good. Having finished my experiments with TFS on SERVER-2, I re-imaged the machine

How can an Eclipse plugin access the project directory?

北战南征 提交于 2019-12-08 19:14:58
问题 Is there a way to get the directory of a project in Eclipse? We are writing a plugin that will allow the user to select files, and then run some processes on those files. I would ideally like to be able to get all the files with a certain extension, but that is not necessary. 回答1: sure: ResourcesPlugin.getWorkspace().getRoot().getProjects() will get you a list of all the projects in the workspace. you can easily iterate to find the one you want. At that point, you can look for certain files

how to get workspace path in eclipse? [closed]

大兔子大兔子 提交于 2019-12-08 17:18:40
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I am doing to study about PDE(Eclipse Plugin Project). I need to get workspace path. My text widget(swt) should to be set current workspace path. How to get workspace path in eclipse? 回答1: You want: ResourcesPlugin.getWorkspace().getRoot().getLocation().toString(); 回答2: File -> Switch Workspace ->

Copying an Android Project Folder is Not a FULL Backup?

£可爱£侵袭症+ 提交于 2019-12-08 08:16:30
问题 Several weeks ago I took a snapshot of my Android project by simply copying the entire folder (Windows 7) to a network share. A few weeks later, I wanted to build that snapshot in a new (and different) workspace. So I: Created an empty folder for the workspace, Switched Eclipse to it, Then used File > Import... to copy that snapshot to the workspace. I was then surprised to find errors in the project - errors that weren't there before I copied it over to the network share. The first symptom

Relative Paths in Eclipse

一个人想着一个人 提交于 2019-12-07 07:09:52
问题 I have an Eclipse workspace that is checked into a Subversion repository. However, if I change the name of the workspace directory, the project files don't load and I have to re-import them, as well as set any workspace related settings again. Does Eclipse work with relative paths? I am not the only team member on this project, and unfortunately the other guy refuses to follow a common directory organization scheme. EDIT These are all java projects at this point EDIT There are several files

Launcher WorkSpace 左右滑动切换屏幕

半腔热情 提交于 2019-12-07 04:03:16
http://blog.csdn.net/yao_guet/article/details/6393962 http://cowboy.1988.blog.163.com/blog/static/75105798201211059361/ 提取Launcher中的WorkSapce,可以左右滑动切换屏幕页面的类 分类: Android 2011-05-04 14:37 8690人阅读 评论 (73) 收藏 举报 提取Launcher中的WorkSapce,可以左右滑动切换屏幕页面的类 By:Yao.GUET 转载请注明出处。 http://blog.csdn.net/Yao_GUET 对于Launcher的桌面滑动大家应该都比较熟悉了,最好的体验应该是可以随着手指的滑动而显示不同位置的桌面, 比一般用ViewFlinger+动画所实现的手势切换页面感觉良好多了~~~~ 分析了一下Launcher中的WorkSpace,里面有太多的代码我们用不上了(拖拽,长按,,,),把里面的冗余代码去掉得到实现滑动切换屏幕所必需的。。。。 新建一个ScrollLayout类,继承自ViewGroup。 重写onMeasure和onLayout两个方法: 其中onMeasure方法中,得到ScrollLayout的布局方式(一般使用FILL_PARENT),然后再枚举其中所有的子view

Workspace with multiple projects or one project with multiple targets?

帅比萌擦擦* 提交于 2019-12-07 03:44:14
问题 I have 4 iOS apps that are all similar. They're flash card apps, with each app having a different topic. They share a lot of classes and images. Right now I have all 4 of them as separate projects, but I'm looking to simplify maintenance and share resources. Would it be better to have all 4 projects in the same workspace, or have 4 targets in one project? What are some pros/cons of each method? They seem very similar. 回答1: This is an excerpt of the PDF that Marty posted. It is an excellent

Integration of Java and Python Code in One Eclipse Project

非 Y 不嫁゛ 提交于 2019-12-07 02:17:21
问题 I am writing a compiler in Python using Eclipse with PyDev. I've come to a stage where I needed to write some code in Java. I'm wandering if there is a way of combining these into a single project, because at the moment I have two separate projects, and whenever I need to change the Java code, I have to manually copy the .class file into the Python project. If this is not possible, what would you suggest is the most elegant way of structuring the files of these projects, and how should I set

Can TFS workspaces be used without being tied to a specific machine?

青春壹個敷衍的年華 提交于 2019-12-06 23:44:42
问题 So I've got a situation where we have a project with 10 developers. Each developer, when they come in for the day, is randomly issued a machine to use for development that day. The machine names are different, say DEV01 - DEV10. At the time that they are issued to the developers, the machines are identical, and no changes the developers make during the day are persisted on the machines (source code changes are stored in TFS, not locally). These are of course actually virtual machines, but

Jenkins SYSTEM user removes custom workspace configuration

大兔子大兔子 提交于 2019-12-06 06:23:52
I have a job NightlyTest-Winx64 configured to use the customWorkspace D:\builds\build-dir\Quick-Winx64-Trunk. Quick-Winx64-Trunk is a job in Jenkins that will checkout the source repository, compile, archive some artifacts and then trigger the NightlyTest-Winx64 job. It triggers NightlyTest-Winx64 to run on the same node using the same workspace so that we're not checking out and compiling twice and only need to run test. On the first run of the NightlyTest-Winx64 the customWorkspace exist and is used as expected. However during this first run the SYSTEM user removes the customWorkspace