mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Christophe Sovant
10.25.2014 8d5f5262c29bf53b0c632b003477f88046c9a961
OPENDJ-1579 Build failure on Windows 7 as dependent packages are not copied to lib folder
Using regexpmapper's handledirsep attribute for Windows builds. See https://ant.apache.org/manual/Types/mapper.html
1 files modified
8 ■■■■■ changed files
opends/build.xml 8 ●●●●● patch | view | raw | blame | history
opends/build.xml
@@ -2839,10 +2839,12 @@
  <target name="resolve" depends="install-ivy" description="--> retrieve dependencies with ivy">
    <ivy:retrieve pattern="${lib.dir}/[type]/[artifact].[ext]">
      <firstmatchmapper>
        <regexpmapper from="(.*/(source|javadoc)/.*)" to="\1"/>
        <!-- Using regexpmapper's handledirsep attribute for Windows builds.
             See https://ant.apache.org/manual/Types/mapper.html -->
        <regexpmapper from="(.*/(source|javadoc)/.*)" to="\1" handledirsep="true"/>
        <!-- Separate test and compile jars ala Maven -->
        <regexpmapper from="(.*)/(jar|bundle)/(.*(?:assertj-core|hamcrest-core|mockito-core|objenesis)\.jar)" to="\1/test/\3"/>
        <regexpmapper from="(.*)/(jar|bundle)/(.*)" to="\1/compile/\3"/>
        <regexpmapper from="(.*)/(jar|bundle)/(.*(?:assertj-core|hamcrest-core|mockito-core|objenesis)\.jar)" to="\1/test/\3" handledirsep="true"/>
        <regexpmapper from="(.*)/(jar|bundle)/(.*)" to="\1/compile/\3" handledirsep="true"/>
      </firstmatchmapper>
    </ivy:retrieve>
  </target>