| Index: compiler/dart_analyzer.xml
|
| diff --git a/compiler/dart_analyzer.xml b/compiler/dart_analyzer.xml
|
| index ff5713b080e143c2f71b28682db0e8a4e64c2f9d..ec04b4c7d080f18e2746a4217a7653fbb40bb6cb 100644
|
| --- a/compiler/dart_analyzer.xml
|
| +++ b/compiler/dart_analyzer.xml
|
| @@ -132,6 +132,10 @@
|
| <regexpmapper from="${third_party.dir}/(.*)" to="$DART_ANALYZER_LIBS/\1"/>
|
| </pathconvert>
|
|
|
| + <pathconvert property="analyzer.classpath.runtime.win" targetos="windows" refid="classpath.runtime">
|
| + <regexpmapper from="(.*)third_party\\(.*)" to="%DART_ANALYZER_LIBS%\\\2"/>
|
| + </pathconvert>
|
| +
|
| <copy file="scripts/dart_analyzer.sh" tofile="${dist.dir}/bin/dart_analyzer">
|
| <filterset>
|
| <filter token="CLASSPATH" value="$DART_ANALYZER_LIBS/dart_analyzer.jar:${analyzer.classpath.runtime.unix}"/>
|
| @@ -139,6 +143,14 @@
|
| </copy>
|
| <chmod file="${dist.dir}/bin/dart_analyzer" perm="a+rx"/>
|
|
|
| + <copy file="scripts/dart_analyzer.bat" tofile="${dist.dir}/bin/dart_analyzer.bat">
|
| + <filterset>
|
| + <filter
|
| + token="CLASSPATH"
|
| + value="%DART_ANALYZER_LIBS%\dart_analyzer.jar;${analyzer.classpath.runtime.win}"/>
|
| + </filterset>
|
| + </copy>
|
| +
|
| <!--
|
| TODO: The following files are not strictly due to dist, move them out.
|
| -->
|
| @@ -157,7 +169,7 @@
|
| -->
|
| <copy todir="${dist.dir}/util/analyzer">
|
| <path refid="classpath.runtime"/>
|
| - <regexpmapper from="${third_party.dir}/(.*)" to="\1"/>
|
| + <regexpmapper from="(.*)third_party[/\\](.*)" to="\2"/>
|
| </copy>
|
| </target>
|
|
|
|
|