workspace

Store (almost) all objects in workspace in a list

扶醉桌前 提交于 2019-12-03 13:03:48
问题 Let's say that I have many objects in my workspace (global environment) and I want to store most of those in a list. Here's a simplified example: # Put some objects in the workspace A <- 1 B <- 2 C <- 3 I would like to store objects A and C in a list. Of course, I can do that explicitly: mylist <- list(A,C) However, when the number of objects in the workspace is very large, this would become rather cumbersome. Hence, I would like to do this differently and attempted the following: mylist <-

two projects in xcode4 workspaces (#import failure)

Deadly 提交于 2019-12-03 11:46:52
I'm really struggling to get this to work in xcode 4. I have one project that I will reuse in many applications (networking) so I create a workspace and add my two projects. So far so good.... This is where it fails.. #import "JSONRequest.h" For no apparent reason. It auto completes the file name of the header file. I thought this had something to do with the "scheme" (also new in xcode 4) so I've tried to add my networking target in the build phase. Changing order of them... set "Shared" under Manage schemes.. I've tried so many different combinations of the settings without any success.. And

How to express inter project dependencies in Eclipse PDE

不羁的心 提交于 2019-12-03 11:39:50
问题 I am looking for the best practice of handling inter project dependencies between mixed project types where some of the projects are eclipse plug-in/OSGI bundle projects (an RCP application) and others are just plain old java projects (web services modules). Few of the eclipse plug-ins have dependencies on Java projects. My problem is that at least as far as I've looked, there is no way of cleanly expressing such a dependency in Eclipse PDE environment. I can have plug-in projects depend on

How to fix a workspace in eclipse that does not open anymore?

与世无争的帅哥 提交于 2019-12-03 11:39:47
问题 One of my workspaces in eclipse can't be opened anymore. The other workspaces work fine. How can I fix this? First I thought this is an eclipse problem, but since the other workspaces work fine, something must be wrong with the workspace. 回答1: Try this-->>Goto .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi and remove workbench.xmi file to solve this issue: .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi. 回答2: For me, starting eclipse with -clearPersistedState flag helped.

Print all objects in a workspace

雨燕双飞 提交于 2019-12-03 10:12:17
I cannot find out how to list and print all objects in a workspace. I'd like to see them all and understand what's going on. For example, ls() gives you 30 objects. How, besides typing them individually, is it possible to display them all. Seems so trivial, the solution will probably quite embarrasing. The closest I've come was ls.str() and the idea of looping over the objects. Edit : This is not for data frames. I have a workspace full of functions, without data, and like to understand which ones reference which etc. Do you mean 'display' in the sense of "for every object in ls() , I want to

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

旧时模样 提交于 2019-12-03 07:43:08
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 (deleting the TFS Server on SERVER-2). I then went back to my client machine, reconnected to TFS on SERVER-1

Open applications in different workspaces in Gnome

主宰稳场 提交于 2019-12-03 06:52:59
问题 Given I'm a lazy bastard, I tried to write a Bash script that opens at once some daily apps in different desktops. This script should work in Gnome. I've written that so far: #!/bin/bash firefox & thunderbird & /usr/bin/netbeans --locale en & amsn & gnome-terminal & sleep 2 wmctrl -r firefox -t 0 && wmctrl -r netbeans -t 1 && wmctrl -r gnome-terminal -t 2 && wmctrl -r amsn -t 6 && wmctrl -r thunderbird -t 7 But, it doesn't work. My apps open, but they won't be assigned to the desktops I

Eclipse getting too slow - workspace recreation helped

岁酱吖の 提交于 2019-12-03 06:50:00
问题 My Eclipse was getting slower and slower over time. Tips I found on the Internet did not help. What I did is completely deleted my workspace, created new one and reimported all my projects into the new workspace and this really made the difference. So my question is whether it's possible to perform this workspace clean-up without deleting and recreating workspace... Maybe there is some cache in workspace which is getting big? Any ideas? Thank you! 回答1: Eclipse keeps track of all changes in

Problems adding Projects to Workspace in Xcode 4

 ̄綄美尐妖づ 提交于 2019-12-03 06:32:33
问题 I have a couple of projects that I had started under Xcode 3.2.x some time ago. I switched to Xcode 4 a few days ago and want to make use of the Workspace feature as both projects. Basically, my plan is to extract some common features out of the two projects and make them a common library that both projects depend on. However, before I even get to the tricky bit of dependencies I get stuck just adding my two projects to the workspace. I tried creating a new workspace and selecting "Adding

Disable Eclipse plugins per workspace

醉酒当歌 提交于 2019-12-03 06:00:34
I use Eclipse for different projects, each with its own workspace. They need quite a different set of plugins (SVN vs hg vs git, AppEngine vs Tomcat vs OSGi, and so on), and I have all those plugins installed and active all the time, which clutters the workspace quite a bit. I'd like to selectively disable plugins for each workspace. Eclipse (3.6/3.7) has a UI for disabling some plugins. It's under Window->Preferences->General->Startup and Shutdown->Plugins activated on startup. However not all plugins are listed here. To disable other plugins: It's possible to have separate configuration