Skip to content

Commit

Permalink
Split ImageRuntime into ImageBinRuntime, so we can deal with native l…
Browse files Browse the repository at this point in the history
…ibs separately from binaries. Hard code javac-ref RIDs to those that are explicitely supported to build IKVM on.
  • Loading branch information
wasabii committed Dec 31, 2024
1 parent 6b524e8 commit f78907b
Show file tree
Hide file tree
Showing 25 changed files with 49 additions and 44 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
<EnabledRuntimes Condition=" '$(EnabledRuntimes)' == '' ">$(SupportedRuntimes)</EnabledRuntimes>
<SupportedImageRuntimes>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-arm64</SupportedImageRuntimes>
<EnabledImageRuntimes Condition=" '$(EnabledImageRuntimes)' == '' ">$(SupportedImageRuntimes)</EnabledImageRuntimes>
<SupportedImageBinRuntimes>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</SupportedImageBinRuntimes>
<EnabledImageBinRuntimes Condition=" '$(EnabledImageBinRuntimes)' == '' ">$(SupportedImageBinRuntimes)</EnabledImageBinRuntimes>
<SupportedToolRuntimes>win-x64;win-arm64;linux-x64;linux-arm;linux-arm64;linux-musl-x64;linux-musl-arm;linux-musl-arm64;osx-x64;osx-arm64</SupportedToolRuntimes>
<EnabledToolRuntimes Condition=" '$(EnabledToolRuntimes)' == '' ">$(SupportedToolRuntimes)</EnabledToolRuntimes>

<_SupportedRuntimes>;$(SupportedRuntimes);</_SupportedRuntimes>
<_EnabledRuntimes>;$(EnabledRuntimes);</_EnabledRuntimes>
<_SupportedImageRuntimes>;$(SupportedImageRuntimes);</_SupportedImageRuntimes>
<_EnabledImageRuntimes>;$(EnabledImageRuntimes);</_EnabledImageRuntimes>
<_SupportedImageBinRuntimes>;$(SupportedImageBinRuntimes);</_SupportedImageBinRuntimes>
<_EnabledImageBinRuntimes>;$(EnabledImageBinRuntimes);</_EnabledImageBinRuntimes>
<_SupportedToolRuntimes>;$(SupportedToolRuntimes);</_SupportedToolRuntimes>
<_EnabledToolRuntimes>;$(EnabledToolRuntimes);</_EnabledToolRuntimes>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions IKVM.deps.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<Choose>
<When Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net461'))">
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Security" />
Expand Down
4 changes: 2 additions & 2 deletions src/IKVM.Image-bin/IKVM.Image-bin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Target Name="GetDotNetClangProjectReferencesByRuntime" Inputs="@(DotNetClangProjectReference)" Outputs="%(DotNetClangProjectReference.Identity)\null" BeforeTargets="AssignClangProjectConfiguration">
<PropertyGroup>
<__SupportedRuntimes>%(DotNetClangProjectReference.SupportedRuntimes)</__SupportedRuntimes>
<__SupportedRuntimes Condition=" '$(__SupportedRuntimes)' == '' ">$(_SupportedRuntimes)</__SupportedRuntimes>
<__SupportedRuntimes Condition=" '$(__SupportedRuntimes)' == '' ">$(_SupportedImageRuntimes)</__SupportedRuntimes>
</PropertyGroup>
<ItemGroup>
<__SupportedRuntimes Include="$(__SupportedRuntimes)" />
Expand All @@ -56,7 +56,7 @@
<_ReferencedClangProjectReference Include="@(DotNetClangProjectReference)">
<RuntimeIdentifier>%(__SupportedRuntimes.Identity)</RuntimeIdentifier>
</_ReferencedClangProjectReference>
<ClangProjectReference Include="@(_ReferencedClangProjectReference)" Condition="$(_EnabledRuntimes.Contains(';%(RuntimeIdentifier);'))">
<ClangProjectReference Include="@(_ReferencedClangProjectReference)" Condition="$(_EnabledImageRuntimes.Contains(';%(RuntimeIdentifier);'))">
<RuntimeIdentifier>%(RuntimeIdentifier)</RuntimeIdentifier>
</ClangProjectReference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/IKVM.Image.JDK-bin/IKVM.Image.JDK-bin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<DisableCopyToOutputDirectory>true</DisableCopyToOutputDirectory>
</PropertyGroup>
Expand Down
22 changes: 11 additions & 11 deletions src/IKVM.Image.JDK/IKVM.Image.JDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
<ItemGroup>
<ProjectReference Include="..\IKVM.Image\IKVM.Image.csproj" ReferenceOutputAssembly="true" />
<ProjectReference Include="..\IKVM.Image.JRE\IKVM.Image.JRE.csproj" ReferenceOutputAssembly="true" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.win-x64\IKVM.Image.JDK.runtime.win-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';win-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.win-x86\IKVM.Image.JDK.runtime.win-x86.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';win-x86;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.win-arm64\IKVM.Image.JDK.runtime.win-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';win-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-x64\IKVM.Image.JDK.runtime.linux-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-arm\IKVM.Image.JDK.runtime.linux-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-arm64\IKVM.Image.JDK.runtime.linux-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-musl-x64\IKVM.Image.JDK.runtime.linux-musl-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-musl-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-musl-arm\IKVM.Image.JDK.runtime.linux-musl-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-musl-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-musl-arm64\IKVM.Image.JDK.runtime.linux-musl-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-musl-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.osx-x64\IKVM.Image.JDK.runtime.osx-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';osx-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.osx-arm64\IKVM.Image.JDK.runtime.osx-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';osx-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.win-x64\IKVM.Image.JDK.runtime.win-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';win-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.win-x86\IKVM.Image.JDK.runtime.win-x86.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';win-x86;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.win-arm64\IKVM.Image.JDK.runtime.win-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';win-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-x64\IKVM.Image.JDK.runtime.linux-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-arm\IKVM.Image.JDK.runtime.linux-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-arm64\IKVM.Image.JDK.runtime.linux-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-musl-x64\IKVM.Image.JDK.runtime.linux-musl-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-musl-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-musl-arm\IKVM.Image.JDK.runtime.linux-musl-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-musl-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.linux-musl-arm64\IKVM.Image.JDK.runtime.linux-musl-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-musl-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.osx-x64\IKVM.Image.JDK.runtime.osx-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';osx-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JDK.runtime.osx-arm64\IKVM.Image.JDK.runtime.osx-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';osx-arm64;'))" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/IKVM.Image.JRE-bin/IKVM.Image.JRE-bin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<DisableCopyToOutputDirectory>true</DisableCopyToOutputDirectory>
</PropertyGroup>
Expand Down
22 changes: 11 additions & 11 deletions src/IKVM.Image.JRE/IKVM.Image.JRE.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@

<ItemGroup>
<ProjectReference Include="..\IKVM.Image\IKVM.Image.csproj" ReferenceOutputAssembly="true" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.win-x64\IKVM.Image.JRE.runtime.win-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';win-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.win-x86\IKVM.Image.JRE.runtime.win-x86.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';win-x86;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.win-arm64\IKVM.Image.JRE.runtime.win-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';win-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-x64\IKVM.Image.JRE.runtime.linux-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-arm\IKVM.Image.JRE.runtime.linux-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-arm64\IKVM.Image.JRE.runtime.linux-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-musl-x64\IKVM.Image.JRE.runtime.linux-musl-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-musl-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-musl-arm\IKVM.Image.JRE.runtime.linux-musl-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-musl-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-musl-arm64\IKVM.Image.JRE.runtime.linux-musl-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';linux-musl-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.osx-x64\IKVM.Image.JRE.runtime.osx-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';osx-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.osx-arm64\IKVM.Image.JRE.runtime.osx-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageRuntimes.Contains(';osx-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.win-x64\IKVM.Image.JRE.runtime.win-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';win-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.win-x86\IKVM.Image.JRE.runtime.win-x86.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';win-x86;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.win-arm64\IKVM.Image.JRE.runtime.win-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';win-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-x64\IKVM.Image.JRE.runtime.linux-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-arm\IKVM.Image.JRE.runtime.linux-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-arm64\IKVM.Image.JRE.runtime.linux-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-musl-x64\IKVM.Image.JRE.runtime.linux-musl-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-musl-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-musl-arm\IKVM.Image.JRE.runtime.linux-musl-arm.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-musl-arm;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.linux-musl-arm64\IKVM.Image.JRE.runtime.linux-musl-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';linux-musl-arm64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.osx-x64\IKVM.Image.JRE.runtime.osx-x64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';osx-x64;'))" />
<ProjectReference Include="..\IKVM.Image.JRE.runtime.osx-arm64\IKVM.Image.JRE.runtime.osx-arm64.csproj" ReferenceOutputAssembly="true" Condition="$(_EnabledImageBinRuntimes.Contains(';osx-arm64;'))" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/jar/jar.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>sun.tools.jar.Main</StartupObject>
<RootNamespace>ikvm.tools.jar</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/jarsigner/jarsigner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>sun.security.tools.jarsigner.Main</StartupObject>
<RootNamespace>ikvm.tools.jarsigner</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/java/java.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<RootNamespace>ikvm.tools.java</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand Down
2 changes: 1 addition & 1 deletion src/javac-ref/javac-ref.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<OutputType>Exe</OutputType>
<AssemblyName>javac</AssemblyName>
<TargetFrameworks>net8.0;net472;net6.0;</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
<PublishReadyToRun>true</PublishReadyToRun>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.tools.javac.Main</StartupObject>
Expand Down
2 changes: 1 addition & 1 deletion src/javac/javac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.tools.javac.Main</StartupObject>
<RootNamespace>ikvm.tools.javac</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/javadoc/javadoc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.tools.javadoc.Main</StartupObject>
<RootNamespace>ikvm.tools.javadoc</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/javah/javah.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.tools.javah.Main</StartupObject>
<RootNamespace>ikvm.tools.javah</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/javap/javap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.tools.javap.Main</StartupObject>
<RootNamespace>ikvm.tools.javap</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/jdeps/jdeps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.tools.jdeps.Main</StartupObject>
<RootNamespace>ikvm.tools.jdeps</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/keytool/keytool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>sun.security.tools.keytool.Main</StartupObject>
<RootNamespace>ikvm.tools.keytool</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/native2ascii/native2ascii.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>sun.tools.native2ascii.Main</StartupObject>
<RootNamespace>ikvm.tools.native2ascii</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/orbd/orbd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>com.sun.corba.se.impl.activation.ORBD</StartupObject>
<RootNamespace>ikvm.tools.orbd</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/policytool/policytool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<RuntimeIdentifiers>$(_SupportedImageBinRuntimes)</RuntimeIdentifiers>
<SelfContained>true</SelfContained>
<StartupObject>sun.security.tools.policytool.PolicyTool</StartupObject>
<RootNamespace>ikvm.tools.policytool</RootNamespace>
Expand Down
Loading

0 comments on commit f78907b

Please sign in to comment.