Author: jfallows
Date: Sat Jul 9 09:11:49 2011
New Revision: 1144621
URL: http://svn.apache.org/viewvc?rev=1144621&view=rev
Log:
Compiler profile defaults to FULL
Modified:
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java
Modified:
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java?rev=1144621&r1=1144620&r2=1144621&view=diff
==============================================================================
---
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java
(original)
+++
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java
Sat Jul 9 09:11:49 2011
@@ -207,8 +207,9 @@ public final class DefaultCompiler
}
commands.add( "/warnaserror-" );
//commands.add( "/nowarn" );
+
if ( compilerContext.getCompilerRequirement().getVendor().equals(
Vendor.MONO ) &&
- compilerContext.getCompilerRequirement().getProfile() == null)
+ "FULL".equals(
compilerContext.getCompilerRequirement().getProfile() ) )
{
commands.add( "/nostdlib" );
commands.add( "/noconfig" );