Skip to content

Commit

Permalink
XIVY-12549 adapt: new IRequest api
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed Dec 19, 2023
1 parent d9afad0 commit 3172c23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.glassfish.jersey.media.multipart.file.FileDataBodyPart;

import ch.ivyteam.ivy.environment.Ivy;
import ch.ivyteam.ivy.project.IIvyProject;

/**
* <p>
Expand Down Expand Up @@ -86,7 +87,7 @@ public static File toTempIoFile(IFile resource) throws IOException
*/
public static IFile getHdResource(String dialogId, String pathToFileInDialog) throws FileNotFoundException
{
IProject eclipseProject = Ivy.request().getProject().getProject();
IProject eclipseProject = IIvyProject.of(Ivy.request().project()).getProject();
String dialogPath = dialogId.replace(".", "/");

IFolder dialogDir = eclipseProject.getFolder("src_hd").getFolder(dialogPath);
Expand Down

0 comments on commit 3172c23

Please sign in to comment.