Permalink
Browse files

Applied user patch for FLEXMOJOS-417

  • Loading branch information...
velo committed Aug 5, 2011
1 parent 2f8f2d3 commit 063ae758f72068e9f4349994d859589324fcd892
@@ -47,6 +47,7 @@
import org.sonatype.flexmojos.compiler.IRuntimeSharedLibraryPath;
import org.sonatype.flexmojos.compiler.MxmlcConfigurationHolder;
import org.sonatype.flexmojos.compiler.command.Result;
+import org.sonatype.flexmojos.plugin.common.FlexClassifier;
import org.sonatype.flexmojos.plugin.common.flexbridge.MavenPathResolver;
import org.sonatype.flexmojos.plugin.compiler.MxmlcMojo;
import org.sonatype.flexmojos.plugin.compiler.attributes.MavenRuntimeException;
@@ -56,7 +57,18 @@
import org.sonatype.flexmojos.util.PathUtil;
import org.sonatype.flexmojos.util.SocketUtil;
-import flex2.compiler.common.SinglePathResolver;
+import java.io.*;
+import java.util.*;
+
+import static org.hamcrest.CoreMatchers.anyOf;
+import static org.hamcrest.CoreMatchers.not;
+import static org.hamcrest.Matchers.nullValue;
+import static org.hamcrest.Matchers.startsWith;
+import static org.sonatype.flexmojos.matcher.artifact.ArtifactMatcher.*;
+import static org.sonatype.flexmojos.plugin.common.FlexExtension.SWC;
+import static org.sonatype.flexmojos.plugin.common.FlexExtension.XML;
+import static org.sonatype.flexmojos.plugin.common.FlexScopes.*;
+import static org.sonatype.flexmojos.util.PathUtil.file;
/**
* <p>
@@ -378,8 +390,8 @@ private FlexClassScanner getFlexClassScanner()
Map<String, Object> context = new LinkedHashMap<String, Object>();
// TODO need a better idea to resolve link report file
- context.put( LINK_REPORT,
- file( project.getBuild().getFinalName() + "-" + LINK_REPORT + "." + XML,
+ context.put( FlexClassifier.LINK_REPORT,
+ file( project.getBuild().getFinalName() + "-" + FlexClassifier.LINK_REPORT + "." + XML,
project.getBuild().getDirectory() ) );
scanner.scan( sp, coverageExclusions, context );
}

0 comments on commit 063ae75

Please sign in to comment.