workspace

Show dialog to choose workspace while it starts

空扰寡人 提交于 2019-12-01 02:12:37
I know its a silly question but i am stuck into it from 2 hours..Can any body tell me how should i enable the dialog which opens at the time we start eclipse and we choose workspace location from there. See I want this window to be displayed first when eclipse starts By mistake I have checked "Use this as the default and do not ask again". Please guide me how to show up this dialog again You can find it here : Menu: Window -> Preferences -> General -> Startup and Shutdown -> Workspaces -> Prompt for workspace on startup Eclipse preferences has a lot of options. You can search for specific

Read .txt file from workspace groovy script in Jenkins

感情迁移 提交于 2019-12-01 01:47:50
I am new to Jenkins and to groovy scripting, I want to read a .txt file which is located in the workspace of one of the jobs. I am trying to do this way: myfile = Jenkins.instance.getJob('JobName').workspace.readFileFromWorkspace('file.txt'); But leads to the following error: groovy.lang.MissingMethodException: No signature of method: hudson.FilePath.readFileFromWorkspace() is applicable for argument types: (java.lang.String) values: [file.txt] Try this: file = new File("${Jenkins.instance.getJob('JobName').workspace}/file.txt").text I was struggling to make it work for the pom modules for a

Show dialog to choose workspace while it starts

两盒软妹~` 提交于 2019-11-30 22:28:33
问题 I know its a silly question but i am stuck into it from 2 hours..Can any body tell me how should i enable the dialog which opens at the time we start eclipse and we choose workspace location from there. See I want this window to be displayed first when eclipse starts By mistake I have checked "Use this as the default and do not ask again". Please guide me how to show up this dialog again 回答1: You can find it here : Menu: Window -> Preferences -> General -> Startup and Shutdown -> Workspaces -

Where do you put input file in eclipse(java) in order to read it from console command?

六眼飞鱼酱① 提交于 2019-11-30 20:03:45
I am writing a java program in eclipse(galileo version). The program reads simple user data from input file specified at console command and process it. But I am not sure where I should place this input file inside eclipse workspace, so that when I run program in eclipse and type in input file name, it can be found and program can process it. and is there way to set file path so that I can just place input file anywhere and specified the file path at runtime? thanks! The Java process is started with the project directory as the working directory by default. The default working directory, when

Unable to determine the workspace using TF.exe

隐身守侯 提交于 2019-11-30 17:08:27
I have this script (bat file) tf workspaces /s:http://project02:8080 tf workspace /s:http://project02:8080 Team.descomp;MyDomain\Myuser tf workfold /workspace:Team.descomp tf get $/Team/Main/Projects /recursive /force /noprompt I get this error: Unable to determine the workspace., when I try execute tf get. Console output is similar like: Server: project02 Workspace: DESCOMP Owner : MyUser Computer : DESCOMP Workspace: Team.descomp Owner : MyUser Computer : DESCOMP ... Workspace: Team.descomp (MyUser) Server : http://project02:8080/ $/Team: C:\Temp\Team2 ... Unable to determine the workspace.

jenkins continuous delivery with shared workspace

自作多情 提交于 2019-11-30 15:19:53
问题 Background: We have one Jenkins job ( Production ) to build a deliverable every night. We have another job ( ProductionPush ) that pushes out the deliverable over a proprietary protocol to production machines the next day. This is because some production machines are only available during certain hours during the day (It also gives us a chance to fix any last-minute build breaks). ProductionPush needs access to the deliverable built by the Production job (so it needs access to the same

jenkins continuous delivery with shared workspace

会有一股神秘感。 提交于 2019-11-30 13:56:47
Background: We have one Jenkins job ( Production ) to build a deliverable every night. We have another job ( ProductionPush ) that pushes out the deliverable over a proprietary protocol to production machines the next day. This is because some production machines are only available during certain hours during the day (It also gives us a chance to fix any last-minute build breaks). ProductionPush needs access to the deliverable built by the Production job (so it needs access to the same workspace). We have multiple nodes and concurrent builds (and thus unpredictable workspaces) and prefer not

Import Visual Studio TFS workspaces

你说的曾经没有我的故事 提交于 2019-11-30 09:05:37
Is there a way to import Visual Studio TFS workspace, I have over 30 workspace and I need to import them to a TFS on new machine. Thanks If you want to clone the structure of your workspaces but leave the old ones alone, run tf workspace /server:yourserver /new NewName /template:OldName;OldOwner http://msdn.microsoft.com/en-us/library/tzy14b58.aspx If you want to permanently migrate your workspaces from one machine to another, run... tf workspaces /server:yourserver /updatecomputername:OldComputerName http://msdn.microsoft.com/en-us/library/54dkh0y3.aspx ...then move all your files from the

'Building workspace' has encountered an error

Deadly 提交于 2019-11-30 08:35:06
Eclipse Luna 4.4.0 Error occurred during the Build Error instantiating builder 'ord.eclipse.m2e.core.maven2Builder'. Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder An error occurred while automatically activating bundle org.eclipse.m2e.core (547). Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder. An error occurred while automatically activating bundle org.eclipse.m2e.core (547). Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'. Plug-in org.eclipse.m2e.core was

Eclipse sync workspaces/perspectives/preferences across computers

泪湿孤枕 提交于 2019-11-30 06:18:52
问题 I have a project I need to be working on from two different computers, at work and at home. I need to be able to work on the code from both computers, so the issue is two fold; Sharing the code Sharing the workspace. 1 is simple enough with svn; but I feel icky committing broken code to svn just so I can access that again from home. I can live with this but is there a better option? To elaborate more on 2. I have a highly customized eclipse setup on one of the computers where I spent hours