Skip to content

Commit

Permalink
Full path needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Oct 16, 2023
1 parent 8f648b6 commit d0251f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/IKVM.NET.Sdk/targets/IKVM.Java.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<PropertyGroup>
<_IkvmReferenceExportItemPrepareStateFile Condition=" '$(_IkvmReferenceExportItemPrepareStateFile)' == '' ">$(IntermediateOutputPath)$(MSBuildProjectFile).IkvmReferenceExportItemPrepare.state</_IkvmReferenceExportItemPrepareStateFile>
<_IkvmReferenceExportItemPrepareStateFile>$([System.IO.Path]::GetFullPath('$(_IkvmReferenceExportItemPrepareStateFile)'))</_IkvmReferenceExportItemPrepareStateFile>
</PropertyGroup>

<!-- References may be derived from various sources: ProjectReference or IkvmReference. In each case, compilation of the Java
Expand Down
5 changes: 3 additions & 2 deletions src/IKVM/buildTransitive/IKVM.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
</PropertyGroup>

<PropertyGroup>
<IkvmReferenceItemPrepareStateFile Condition=" '$(IkvmReferenceItemPrepareStateFile)' == '' ">$(IntermediateOutputPath)$(MSBuildProjectName).IkvmReferenceItemPrepare.state</IkvmReferenceItemPrepareStateFile>
<_IkvmReferenceItemPrepareStateFile Condition=" '$(IkvmReferenceItemPrepareStateFile)' == '' ">$(IntermediateOutputPath)$(MSBuildProjectName).IkvmReferenceItemPrepare.state</_IkvmReferenceItemPrepareStateFile>
<_IkvmReferenceItemPrepareStateFile>$([System.IO.Path]::GetFullPath('$(IkvmReferenceItemPrepareStateFile)'))</_IkvmReferenceItemPrepareStateFile>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -95,7 +96,7 @@
</ItemGroup>

<!-- Populates metadata, validates, resolves references, and emits in build order. -->
<IkvmReferenceItemPrepare StateFile="$(IkvmReferenceItemPrepareStateFile)" Items="@(IkvmReferenceItem)" ToolVersion="$(IkvmVersion)" ToolFramework="$(IkvmToolFramework)" RuntimeAssembly="$(IkvmRuntimeAssembly)" References="@(_IkvmReferenceReferences)" StageDir="$(IkvmStageDir)" CacheDir="$(IkvmCacheDir)">
<IkvmReferenceItemPrepare StateFile="$(_IkvmReferenceItemPrepareStateFile)" Items="@(IkvmReferenceItem)" ToolVersion="$(IkvmVersion)" ToolFramework="$(IkvmToolFramework)" RuntimeAssembly="$(IkvmRuntimeAssembly)" References="@(_IkvmReferenceReferences)" StageDir="$(IkvmStageDir)" CacheDir="$(IkvmCacheDir)">
<Output TaskParameter="Items" ItemName="_IkvmReferenceItemWithMetadata" />
</IkvmReferenceItemPrepare>

Expand Down

0 comments on commit d0251f9

Please sign in to comment.