Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [geclipse-dev] Job creation and submission code

1. your code is correct to create a project  and the result shall be an Iproject.

2. project.getFolder creates a folder only when the folder of this name doe not exist. Otherwise it just returns the handle to the folder (no creation is performed)

Jie

-----Ursprüngliche Nachricht-----
Von: geclipse-dev-bounces@xxxxxxxxxxx [mailto:geclipse-dev-bounces@xxxxxxxxxxx] Im Auftrag von Romain
Gesendet: Montag, 26. Mai 2008 15:58
An: Developer mailing list
Betreff: Re: [geclipse-dev] Job creation and submission code

Mariusz Wojtysiak a écrit :
> Hello Romain!
>
> Well, your snippet concerning to job submission looks good. I didn't 
> notice problems in there.
>
>
> If you created IGridProject, you would call:
How do you create a grid project. I am using:
            IWorkspaceRoot swRoot = ws.getRoot();
            project = swRoot.getProject( "myproject" );

but getProject returns an IProject.
> IFolder jobsFolder = project.getProjectFolder( IGridJob.class );
Cool, but what does that method exactly. One should have one folder by job, so does it creates a new folder each time?

Thank you for your help,
Romain.

_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev


Back to the top