workspace

Java Swing save and load workspace/settings

微笑、不失礼 提交于 2019-11-26 23:15:56
I have a Java Swing application that contains a bunch of frames which in turn predominantly contains tables that display large amounts of data. Since it is always a hassle and its time consuming to arrange all windows and tables on startup, I would like to implement 'workspace'-functionality so that the user can save a setup of preference and on startup choose to automatically load the stored workspace to have all windows and tables appear as previously saved. Specifically, the settings that I wish to store in a workspace are: Active windows (JFrame) and their sizes and positions on screen

TFS Workspaces across VS 2010 and 2012?

自闭症网瘾萝莉.ら 提交于 2019-11-26 19:48:43
问题 I am currently developing on Visual Studio 2012 RC using TFS Preview for source control. I would like to create an SSIS Integration project, which requires me to use Visual Studio 2010. However, when I connect to TFS from VS 2010, it automatically creates a new workspace and does not list the VS 2012 workspace. If I issue the tf workspaces command from the VS 2010 command prompt, I see only the VS 2010 workspace, and if I issue the command from the VS 2012 command prompt, I see only the VS

How to Clone an Eclipse Workspace

末鹿安然 提交于 2019-11-26 18:58:39
问题 I am wondering how to create new clean Eclipse workspace but having all settings from an existing one. Maybe something like cloning but without projects? 回答1: I use export -> preferences -> all then change to a new workspace and import the prefs. Works fine (though clearly not very comfortable). Unfortunately, eclipse only offers to copy the layout settings when changing workspaces which is not enough for most purposes. 回答2: You can have a look at the following plugin : http://code.google.com

Jenkins Pipeline Wipe Out Workspace

╄→гoц情女王★ 提交于 2019-11-26 18:57:32
问题 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? 回答1: You can use deleteDir() as the last step of the pipeline Jenkinsfile (assuming you didn't change the working directory). 回答2: Like @gotgenes pointed out with Jenkins Version. 2.74 , the below works, not sure since when, maybe if some one can

Eclipse: Error “.. overlaps the location of another project..” when trying to create new project

倾然丶 夕夏残阳落幕 提交于 2019-11-26 18:54:47
问题 I keep getting an error message in Eclipse when creating a new project. I have created a workspace at the level C:\Users\Martin\Java\Counter Inside Counter there are no files but there is a directory called counter_src which contains source files for the project Counter So in Eclipse I do, New Java Project, and then uncheck default location and choose the directory counter_src (which is one level down from Counter) but it now displays C:\Users\Martin\Java\Counter\counter_src overlaps the

Understanding element wise clearing of R's workspace

断了今生、忘了曾经 提交于 2019-11-26 17:15:59
问题 I am trying to find a way to clear the workspace in R using lists. According to the documentation, I could simply create a vector with all my workspace objects: WS=c(ls()) . But nothing happens when I try element wise deletion with rm(c(ls()) or rm(WS) . I know I can use the command rm(list=ls()) . I am just trying to figure how R works. Where did I err in my thinking in applying the rm() function on a vector with the list of the objects? Specifically, I'm trying to create a function similar

How to force Eclipse to ask for default workspace?

*爱你&永不变心* 提交于 2019-11-26 15:25:01
问题 I noticed that after installing cdt, Eclipse always loads the default workspace. The workspace listed in the config.ini in osgi.instance.area.default . Eclipse does not ask which workspace to open regardless if Prompt for workspace on startup is set or not. How do I force Eclipse to ask which workspace to load on startup? 回答1: I had the same problem with indigo on linux 3.0 X86_64: After runnning eclipse -clean everything went back to normal. Thanks to some comment on the eclipse issue: https

Eclipse Workspaces: What for and why?

橙三吉。 提交于 2019-11-26 15:06:06
问题 I have seen, read and thought of different ways of using workspaces (per project, per application (multi-asseted or not), per program language, per target (web-development, plugins,..), and so on) and I am still doubting what the best approach is. Can anyway give an elaborate, but not a page long insight into this? This involves a lot of sub-questions, so to speak, and I don't know all the specific sub-questions I should ask, because I am not sure I don't know all the aspects of eclipse (and

How to change workspace and build record Root Directory on Jenkins?

浪尽此生 提交于 2019-11-26 13:56:39
问题 I would like Jenkins' data to be written to drive "E:" since this is the large drive on the server. Jenkins itself is installed on "C:". How do I do that? The default configuration that I saw is: Workspace Root Directory: ${ITEM_ROOTDIR}/workspace Build Record Root Directory: ${ITEM_ROOTDIR}/builds Will the following changes help me achieve what I need? Workspace Root Directory: E:/Jenkins/workspace Build Record Root Directory: E:/Jenkins/builds/${ITEM_FULL_NAME} In addition, what does "$

The cause of “bad magic number” error when loading a workspace and how to avoid it?

让人想犯罪 __ 提交于 2019-11-26 13:49:58
问题 I tried to load my R workspace and received this error: Error: bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warning message: file ‘WORKSPACE_Wedding_Weekend_September’ has magic number '#gets' Use of save versions prior to 2 is deprecated I'm not particularly interested in the technical details, but mostly in how I caused it and how I can prevent it in the future. Here's some notes on the situation: I'm running R 2.15.1 on a MacBook Pro running Windows