workspace

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

巧了我就是萌 提交于 2019-11-30 03:30:41
问题 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! 回答1: The Java process is

Unable to determine the workspace using TF.exe

六月ゝ 毕业季﹏ 提交于 2019-11-30 00:34:14
问题 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

Eclipse - “Workspace in use or cannot be created, chose a different one.” [duplicate]

▼魔方 西西 提交于 2019-11-29 18:55:28
This question already has an answer here: Eclipse says: “Workspace in use or cannot be created, chose a different one.” How do I unlock a workspace? 22 answers I'm trying to create a workspace in the /Users/Shared/ directory with the thought that I can share that workspace between users. The problem is that after I create the workspace and change the permission on it, I encounter the error below (image) without even switching to a different user. I changed the permissions from /Users/Shared $ ll drwxr-xr-x 3 HristoOskov wheel 102 Sep 18 20:07 myWorkspace ... to... /Users/Shared $ ll drwxrwxr-x

Location of projects in eclipse that are not in the workspace

不羁的心 提交于 2019-11-29 15:20:57
问题 I have multiple projects that are stored on my local computer but are not in the Eclipse workspace that I am working from. But when I open the same Eclipse workspace the projects are there. How is this achieved ? Is there a setting in the metadata of the workspace which dictates where the project is stored ? Are there any advantages of using such an approach instead of storing the projects in the workspace ? 回答1: The workspace is designed as a logical container of projects, it just so happens

Import Visual Studio TFS workspaces

时光怂恿深爱的人放手 提交于 2019-11-29 14:22:20
问题 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 回答1: 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

'Building workspace' has encountered an error

左心房为你撑大大i 提交于 2019-11-29 11:58:28
问题 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).

TFS Error: Unable to determine the workspace for this solution

左心房为你撑大大i 提交于 2019-11-29 10:42:16
问题 I get this error when trying to "Go Online" with a project on a Visual Studio 2010 ALM project. The project was previously connected to a team project on Team Foundation Server (2010), but I had to reinstall both the SQL Server and the TFS installation and I guess all that information was deleted. Now, I'm trying to get the project into a new Team Project on TFS, and the TFS gives me this error. Any ideas? Thanks. 回答1: What I ended of having to do was re-map the workspace within the Visual

Eclipse's workspace: Shall I put my images in 'src' or 'bin' folder?

落花浮王杯 提交于 2019-11-29 04:40:24
I'm working in a project in Java and sometimes all my images randomly dissapeared from the project's bin folder. It is getting very annoying because I have to put everything again every time it happens. Someone told me that I shouldn't put my extra files in bin but in src. But eclipse doesn't read my images if I put them in src, as if they weren't there. Why is this happening? Thanks. Create one resources folder and put them there. Then mark that folder as "source folder" (right click -> Build Path -> Use as source folder) ethan.zz Follow these two steps. Worked well for me in Eclipse Kepler.

“Workspace is closed” exception when trying to get the workspace through ResourcesPlugin

雨燕双飞 提交于 2019-11-29 03:59:41
I get this error when trying to get the workspace through ResourcesPlugin: java.lang.IllegalStateException: Workspace is closed. at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:339) The code generating this is: IWorkspace ws = ResourcesPlugin.getWorkspace(); Can you please help with this problem? Does your Manifest.MF contain the org.eclipse.core.resources in the Require-bundle section ? And do you launch your test as a plugin ? (not as a 'Java Application') See also this thread . As mentioned in the " Resources and the file system " help page, You can access

Xcodebuild'ing a workspace and setting a custom build path

南楼画角 提交于 2019-11-29 02:11:01
问题 I'm trying to use xcodebuild to build a multi-project project in a workspace. When XCode builds a workspace it automatically places all build artifacts in a common directory in DerivedData so that each project can access it dependencies. If I use this command: xcodebuild -workspace myWorkspace.xcworkspace -schema builtIt -configuration Release Eveything works, but the artifacts are placed in usual derived data directory. I want then to appear in a specific directory which I can access from CI