Last change
on this file since 70 was
70,
checked in by hkaulbersch, 10 years ago
|
Added a method to get the whole path of generated files.
|
-
Property svn:mime-type set to
text/plain
|
File size:
361 bytes
|
Line | |
---|
1 | package de.ugoe.cs.swe.bnftools.generator;
|
---|
2 |
|
---|
3 | import org.eclipse.core.resources.IWorkspace;
|
---|
4 | import org.eclipse.core.resources.ResourcesPlugin;
|
---|
5 |
|
---|
6 | public class WorkspaceResolver {
|
---|
7 |
|
---|
8 | public static String getWorkspace(){
|
---|
9 | IWorkspace workspace = ResourcesPlugin.getWorkspace();
|
---|
10 | return workspace.getRoot().getLocation().toFile().toURI().getPath();
|
---|
11 | }
|
---|
12 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.