Author: lcorneliussen Date: Thu Apr 26 13:56:13 2012 New Revision: 1330856 URL: http://svn.apache.org/viewvc?rev=1330856&view=rev Log: [NPANDAY-559] NPanday can't build against EXE references
o fixed Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/CompilerContextImpl.java Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/CompilerContextImpl.java URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/CompilerContextImpl.java?rev=1330856&r1=1330855&r2=1330856&view=diff ============================================================================== --- incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/CompilerContextImpl.java (original) +++ incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/impl/CompilerContextImpl.java Thu Apr 26 13:56:13 2012 @@ -247,8 +247,10 @@ public final class CompilerContextImpl Artifact artifact = (Artifact) i.next(); // TODO: use isAddedToClassPath instead? May need to annotate types - if ( !ArtifactTypeHelper.isDotnetLibrary( artifact.getType() ) && !ArtifactTypeHelper.isDotnetAnyGac( - artifact.getType() ) ) + if ( + !ArtifactTypeHelper.isDotnetLibrary( artifact.getType() ) + && !ArtifactTypeHelper.isDotnetExecutable( artifact.getType() ) + && !ArtifactTypeHelper.isDotnetAnyGac( artifact.getType() ) ) { continue; }