Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

40
external/ikvm/msbuild/AssemblyInfo.cs vendored Normal file
View File

@@ -0,0 +1,40 @@
/*
Copyright (C) 2007, 2008, 2010 Jeroen Frijters
Copyright (C) 2009 - 2012 Volker Berlin (i-net software)
Copyright (C) 2010 Karsten Heinrich (i-net software)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Jeroen Frijters
jeroen@frijters.net
*/
#region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("IKVM.MSBuild")]
[assembly: AssemblyDescription("Java build task for .NET")]
//[assembly: System.Security.AllowPartiallyTrustedCallers]

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
****************************************************************************************************
IKVM.Java.targets
****************************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask
TaskName="IKVM.MSBuild.JavaTask"
AssemblyFile="$(IkvmBinPath)\IKVM.MSBuild.dll"/>
<Target Name="CreateManifestResourceNames"></Target>
<Target Name="CoreCompile" DependsOnTargets="ResolveProjectReferences;ResolveAssemblyReferences">
<JavaTask
EmitDebugInformation="$(DebugSymbols)"
References="@(_ResolveAssemblyReferenceResolvedFiles)"
Sources="@(Compile)"
Platform="$(PlatformTarget)"
Configuration="$(Configuration)"
OutputAssembly="$(AssemblyName)"
MainFile="$(MainFile)"
TargetType="$(OutputType)"
OutputPath="$(OutputPath)"
/>
</Target>
<Import Project="$(MSBuildBinPath)\Microsoft.Common.targets"/>
</Project>

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<ProjectGuid>{D7FF23BC-49C2-490D-B702-8EEE8F5AF296}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<OutputType>Library</OutputType>
<RootNamespace>IKVM.MSBuild</RootNamespace>
<AssemblyName>IKVM.MSBuild</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
<DebugSymbols>True</DebugSymbols>
<DebugType>Full</DebugType>
<Optimize>False</Optimize>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="IKVM.OpenJDK.Core">
<HintPath>..\bin\IKVM.OpenJDK.Core.dll</HintPath>
</Reference>
<Reference Include="IKVM.OpenJDK.Tools">
<HintPath>..\bin\IKVM.OpenJDK.Tools.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Framework" />
<Reference Include="Microsoft.Build.Tasks" />
<Reference Include="Microsoft.Build.Utilities" />
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="JavaTask.cs" />
</ItemGroup>
<ItemGroup>
<None Include="IKVM.MSBuild.Java.Targets">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\reflect\IKVM.Reflection.csproj">
<Project>{4CB170EF-DFE6-4A56-9E1B-A85449E827A7}</Project>
<Name>IKVM.Reflection</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
</Project>

532
external/ikvm/msbuild/JavaTask.cs vendored Normal file

File diff suppressed because it is too large Load Diff

20
external/ikvm/msbuild/msbuild.build vendored Normal file
View File

@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<project name="msbuild" default="msbuild">
<target name="msbuild">
<csc target="library" output="../bin/IKVM.MSBuild.dll">
<sources>
<include name="AssemblyInfo.cs" />
<include name="JavaTask.cs" />
</sources>
<references>
<include name="../bin/IKVM.OpenJDK.Core.dll" asis="true" />
<include name="../bin/IKVM.OpenJDK.Tools.dll" asis="true" />
<include name="Microsoft.Build.Framework.dll" asis="true" />
<include name="Microsoft.Build.Tasks.dll" asis="true" />
<include name="Microsoft.Build.Utilities.dll" asis="true" />
<include name="System.dll" asis="true" />
</references>
</csc>
<copy file="IKVM.MSBuild.Java.Targets" tofile="../bin/IKVM.MSBuild.Java.Targets" overwrite="true" />
</target>
</project>