We have a a product developed on Windows for years. The product is composed of one Eclipse workspace and about 20 projects.
On Windows, we ask every developer check out projects into d:\dev\product folder, and copy a unified Workspace to d:\dev\prod_workspace. This way, whenever a new machine is set, we simply copy files to the same fold...
I have a workspace that is lost forever. I have some files checked out from this workspace. I want to unlock them but I can't. I tried to do:
TF UNDO $/MyProject/MyFolder/MyFile.cs /WORKSPACE:LOST;user /s:http://mysite:8080
But I got this message:
The workspace LOST;user is not on this
computer. Run get (get all if edits
were...
I have copied a project to a new directory, and now the workspace will not load into the vc++6 ide. There is no error, just no workspace. I have diff'ed the dsw and dsp files, and they are the same.
...
I want to modify an Eclipse workspace programatically from within a plugin (adding existing projects is my main request).
Also I want to modify CDT options (environment, indexer options) from within that plugin.
Does anyone know how to best do this or can point me to good documentations on that topic?
EDIT:
Actually I don't want to mod...
I just managed to corrupt contents of my Eclipse .metadata directory. Starting up with eclipse -clean did not work out. Deleting .metadata and then importing all projects, plugins and setting does not sound too interesting. I ended up moving .metadata/.plugins/org.eclipse.core.resources/ elsewhere and reimporting my projects only.
Are t...
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....
Normall, this code is used for converting from File to Ifile:
IWorkspace workspace= ResourcesPlugin.getWorkspace();
IPath location= Path.fromOSString(file.getAbsolutePath());
IFile ifile= workspace.getRoot().getFilesForLocation(location);
But this only works for java files within the project. How can I get the IFile when File file i...
I get this error:
java.lang.IllegalStateException: Workspace is closed.
at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:339)
The code generating it is this:
IWorkspace ws = ResourcesPlugin.getWorkspace();
Can you please help with this problem?
...
I enjoy using Netbeans, especially for development with Maven, however, I've found recently that I've been working with three different branches of the same code base in different parts of the development cycle.
One of the things that Eclipse can do, is separate the projects into different workspaces, so i can simply start Eclipse wit...
I'm running the following code:
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
public class WorkspaceTest {
public static void main(String[] args) {
IWorkspace workspace = ResourcesPlugin.getWorkspace();
}
}
and I get the following error:
Exception in thread "main" ja...
Hi,
Is it possible in linux to take a screenshot of a workspace while being in another one ?
Thanks in advance
Blizz
...
I am new to Team Foundation Server and I'm trying to connect to a project programmatically using c#. I have the following block of code ...
string serverName = "http://tfs01:8080";
TeamFoundationServer tfs = new TeamFoundationServer(serverName);
VersionControlServer version = (VersionControlServer)tfs.GetService(typeof (VersionControlSe...
I work in a .net body shop, but we have recently taken on some in-house development for a client. As we do most of our work outside the office, the current pcs are underpowered (Pentium D, 2GB RAM, 7200RPM HDD, 17inch monitor).
I am pushing to get us new hardware, but the owner wants to hard facts on why/how it will help.
Does anyone h...
I have a workspace in Eclipse containing two BlackBerry projects. I started the workspace with the first project and later added the second project. Now I wanted to build and run the second project, but Eclipse keeps starting the first project in the BlackBerry simulator. When I close the first project and try to run the second one again...
Hi,
I'm new to perforce and have created a few workspaces as exercises for getting familiar with it. Now I would like to delete some of the workspaces. I just want to get rid of the workspaces so that they do not appear on the drop-down in the workspaces view (DO NOT want to do anything with actual depot files).
Googling up an answer ...
I have been developing using a single 15.4" laptop for a while (duh!). Actually I am quite comfortable. I use compiz Grid, scale, window and some other nice add ons, to easily navigate.
I am now impressed by other dual monitor related questions on Stackoverflow and am buying more monitors.
Since I am not exactly used to these multiple ...
As part of a build I want to add some workfolder mappings. I basically want to read the mappings from another build definition, and assign those to the current builds workspace (not the build definitions workspace template). I have tried to add this to several targets like afterclean with partial success. It downloads the sourcecode for ...
Here is my problem. I have a build script which adds mappings to a certain workspace dynamically, then unmaps them when it is through. I am worried that if (when) my script fails before the unmapping is done, the mappings will holdover until the next time and screw things up.
So I would like to unmap the entire workspace at the start of...
I'm trying to figure out how to detect when the current user has changed their workspace in Mono. I'm not even really sure how the workspace aspect of Gnome operates. A brief look through Monodoc didn't turn anything up, and I couldn't locate a GConf key that gave me what I wanted either.
Update:
The method below will ONLY work if Compi...
I want to share an eclipse project with the rest of my team through SVN. Which files should I add to subversion? In the workspace, there are many files which IMHO are not supposed to be on source control - they are a few megabytes in size.
When adding just the project, another user who checks out the code still has to import the project...