Returns a string that contains the path to the output directory in the workspace. In the event of an error, an exception is thrown.
getOutputDirectory(IProject project) throws CoreException | |||
---|---|---|---|
Argument | IProject | project | Project object |
Return value | String | Path to the project folder in the workspace. |
The path to the project folder in the workspace. This path differs depending on whether a desktop or job server installation has been performed.
import com.mind8.mechatronic.skill.AbsoluteNameUtil
proj=AbsoluteNameUtil.getObjectByAbsolutePath("Feeder ", UnitOfWork)
path = IUtilAPI.DEFAULT.getOutputDirectory(proj)
// Diese Methode liefert im normalen Kontext beispielsweise den Pfad "WS\Feeder\" zurück.
// Im Job Server-Kontext liefert diese Methode beispielsweise den Pfad "WS\Feeder\-etsehvxndtqz\" zurück.