This should do it.
IProject project = WorkflowNavigationUtil
.getWorkflowProcessModelVersion(
Ivy.request().getProcessModelVersion())
.getProject();
IIvyProject ivyProject = IvyProjectUtil
.getIvyProjectByName(project.getName());
Ivy.log().info(ivyProject.getVersion());
This should do it.
IProject project = WorkflowNavigationUtil
.getWorkflowProcessModelVersion(
Ivy.request().getProcessModelVersion())
.getProject();
IIvyProject ivyProject = IvyProjectUtil
.getIvyProjectByName(project.getName());
Ivy.log().info(ivyProject.getVersion());
This should do it.
IProject project = WorkflowNavigationUtil
.getWorkflowProcessModelVersion(
Ivy.request().getProcessModelVersion())
.getProject();
IIvyProject ivyProject = IvyProjectUtil
.getIvyProjectByName(project.getName());
Ivy.log().info(ivyProject.getVersion());