Skip to content

Commit

Permalink
Switch back to pregenerated file. Need to come up with some way to fi…
Browse files Browse the repository at this point in the history
…x publish conflict issue.
  • Loading branch information
wasabii committed Jan 9, 2025
1 parent 2162775 commit 191e807
Show file tree
Hide file tree
Showing 32 changed files with 27 additions and 73 deletions.
1 change: 0 additions & 1 deletion src/IKVM.Benchmarks.Java/IKVM.Benchmarks.Java.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.Benchmarks/IKVM.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.ConsoleApp/IKVM.ConsoleApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
43 changes: 0 additions & 43 deletions src/IKVM.Image/buildTransitive/IKVM.Image.properties.targets

This file was deleted.

27 changes: 26 additions & 1 deletion src/IKVM.Image/buildTransitive/IKVM.Image.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
<IkvmImageAvailableRuntimeIdentifiers Include="win-x64;win-x86;win-arm64;linux-x64;linux-arm;linux-arm64;linux-musl-x64;linux-musl-arm;linux-musl-arm64;osx-x64;osx-arm64;android-x64;android-arm64" />
</ItemGroup>

<Import Project="IKVM.Image.properties.targets" />
<PropertyGroup>
<IkvmImageTargetPath Condition=" '$(IkvmImageTargetPath)' == '' ">ikvm</IkvmImageTargetPath>
<IkvmPropertiesFileName Condition=" '$(IkvmPropertiesFileName)' == '' ">ikvm.properties</IkvmPropertiesFileName>
<CopyIkvmImageItemToOutputDirectory Condition=" '$(CopyIkvmImageItemToOutputDirectory)' == '' ">PreserveNewest</CopyIkvmImageItemToOutputDirectory>
<CopyIkvmImageItemToPublishDirectory Condition=" '$(CopyIkvmImageItemToPublishDirectory)' == '' "></CopyIkvmImageItemToPublishDirectory>
<CopyIkvmPropertiesFileToOutputDirectory Condition=" '$(CopyIkvmPropertiesFileToOutputDirectory)' == '' ">PreserveNewest</CopyIkvmPropertiesFileToOutputDirectory>
<CopyIkvmPropertiesFileToPublishDirectory Condition=" '$(CopyIkvmPropertiesFileToPublishDirectory)' == '' "></CopyIkvmPropertiesFileToPublishDirectory>
</PropertyGroup>

<Choose>
<When Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net461'))">
Expand Down Expand Up @@ -177,4 +184,22 @@
</AssignTargetPathsDependsOn>
</PropertyGroup>

<Target Name="IncludeIkvmPropertiesFile" BeforeTargets="_GetPackageFiles;AssignLinkMetadata;AssignTargetPaths">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)$(IkvmPropertiesFileName)">
<CopyToOutputDirectory>$(CopyIkvmPropertiesFileToOutputDirectory)</CopyToOutputDirectory>
<CopyToPublishDirectory>$(CopyIkvmPropertiesFileToPublishDirectory)</CopyToPublishDirectory>
<TargetPath>$(IkvmPropertiesFileName)</TargetPath>
<Pack>false</Pack>
</None>
</ItemGroup>
</Target>

<PropertyGroup>
<AssignTargetPathsDependsOn>
IncludeIkvmPropertiesFile;
$(AssignTargetPathsDependsOn);
</AssignTargetPathsDependsOn>
</PropertyGroup>

</Project>
1 change: 1 addition & 0 deletions src/IKVM.Image/buildTransitive/ikvm.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ikvm.home=..
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />

</Project>
1 change: 0 additions & 1 deletion src/IKVM.JTReg.TestAdapter/IKVM.JTReg.TestAdapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.Java.Extensions/IKVM.Java.Extensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.Java.Tests.Util/IKVM.Java.Tests.Util.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.Java.Tests/IKVM.Java.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.MSBuild.Tasks/IKVM.MSBuild.Tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,5 @@

<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/IKVM.Tests/IKVM.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,5 @@

<Import Sdk="MSTest.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/jar/jar.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
<Import Project="$(MSBuildThisFileDirectory)..\..\IKVM.refs.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/jarsigner/jarsigner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
<Import Project="$(MSBuildThisFileDirectory)..\..\IKVM.refs.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/java/java.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/javac-ref/javac-ref.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />

<!-- javac-ref uses the javac executable from JAVA_HOME: bootstrap -->
Expand Down
1 change: 0 additions & 1 deletion src/javac/javac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/javadoc/javadoc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/javah/javah.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/javap/javap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/jdeps/jdeps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/keytool/keytool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/native2ascii/native2ascii.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

1 change: 0 additions & 1 deletion src/orbd/orbd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>
1 change: 0 additions & 1 deletion src/policytool/policytool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

1 change: 0 additions & 1 deletion src/rmic/rmic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

1 change: 0 additions & 1 deletion src/schemagen/schemagen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

1 change: 0 additions & 1 deletion src/wsgen/wsgen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

1 change: 0 additions & 1 deletion src/wsimport/wsimport.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

1 change: 0 additions & 1 deletion src/xjc/xjc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

<Import Project="$(MSBuildThisFileDirectory)..\IKVM.NET.Sdk\Sdk\Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM\buildTransitive\IKVM.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.Image\buildTransitive\IKVM.Image.properties.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\IKVM.MSBuild\buildTransitive\IKVM.MSBuild.targets" />
</Project>

0 comments on commit 191e807

Please sign in to comment.