[Ikvm-developers] Error while compiling IKVM 7.0.4335.0
Brought to you by:
jfrijters
From: Yves L. <yv...@la...> - 2012-06-17 18:29:02
|
Hi, When trying to compile IKVM from the source bundle I get an error shown below. Any idea? Thanks Yves ... [nant] C:\workspace\ikvmsrc-7.0.4335.0\openjdk\openjdk.build Buildfile: file:///C:/workspace/ikvmsrc-7.0.4335.0/openjdk/openjdk.build Target framework: Microsoft .NET Framework 2.0 Target(s) specified: all version: allsources.gen.lst: [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\allsources.gen.lst'. System.Core: [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk'. [csc] Compiling 1 files to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\GenerateSystemCore.exe'. [delete] Deleting 2 files. classes: [delete] Deleting 21224 files. [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\AssemblyInfo.java'. [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\java\lang\PropertyConstants.java'. [exec] Note: Some input files use or override a deprecated API. [exec] Note: Recompile with -Xlint:deprecation for details. [exec] Note: Some input files use unchecked or unsafe operations. [exec] Note: Recompile with -Xlint:unchecked for details. rmi: vfs: [zip] Zipping 468 files to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\vfs.zip'. resources: [zip] Zipping 92 files to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\resources.zip'. response.gen.txt: [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk\response.gen.txt'. core: [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk'. [copy] Copying 1 file to 'C:\workspace\ikvmsrc-7.0.4335.0\openjdk'. [exec] System.ArgumentException: Item has already been added. Key in dictionary: 'programfiles' Key being added: 'programfiles' [exec] at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) [exec] at System.Collections.Specialized.StringDictionary.Add(String key, String value) [exec] at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) [exec] at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) [exec] at Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs) [exec] at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames) [exec] at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources) [exec] at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources) [exec] at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources) [exec] at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) [exec] at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) [exec] at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) [exec] at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace) [exec] at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) [exec] at IKVM.Internal.CompilerClassLoader.CreateCompiler(CompilerOptions options, CompilerClassLoader& loader, Boolean& compilingCoreAssembly) [exec] at IKVM.Internal.CompilerClassLoader.Compile(String runtimeAssembly, List`1 optionsList) [exec] at IkvmcCompiler.Main(String[] args) BUILD FAILED - 0 non-fatal error(s), 22 warning(s) C:\workspace\ikvmsrc-7.0.4335.0\openjdk\openjdk.build(176,10): External Program Failed: C:\workspace\ikvmsrc-7.0.4335.0\openjdk/../bin/ikvmc.exe (return code was 1) Total time: 112.5 seconds. ... |