Bug 237595 - Uncouple IGridJob and from eclipse workspace
Summary: Uncouple IGridJob and from eclipse workspace
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Geclipse (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Pawel Wolniewicz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 04:34 EDT by Romain CLA
Modified: 2014-01-09 16:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Romain CLA 2008-06-18 04:34:15 EDT
Build ID: M7

More information:
IGridJob interface is coupled with the eclipse workspace. I would really like to use geclipse without having to manage an eclipse workspace. The interface IGridJob should be linked with a folder in the workspace and force me to manage an eclipse workspace while I don't need it.
Comment 1 Mathias Stümpert CLA 2008-06-18 04:57:14 EDT
In fact it is not IGridJob that is tightly bound to the workspace (this is just an interface that is tied to the Grid model but not to the workspace). So I assume you mean its implementation, i.e. eu.geclipse.core.jobs.GridJob, right?!

Now I am not sure if it will be possible to decouple this from the workspace. I understand your use case but when designing all these things we always assumed that the user has a workspace. So in fact the whole implementation side of the model is thighly coupled to the workspace. Furthermore you also gain a lot from using a workspace. For instance you have a direct link to your in/output files that may not be possible without the workspace.

Nevertheless I am not the expert on that. Therefore assigning this to Pawel leaving me in CC.
Comment 2 Romain CLA 2008-06-18 05:32:29 EDT
Actually yes. 

But in the top interface IGridElement there is a method that should return an IFileStore. This is a dependency to eclipse workspace.

  public IFileStore getFileStore();

In some case it could be safely ingnored like in the JobService implementation for glite:

  public IFileStore getFileStore() {
    // no file store
    return null;
  }

In some case not, creating strong dependencies to file that should be present in the eclipse workspace.