File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 <generate-module-factory modulename =" hamcrest-library" configurationfile =" matchers.xml" targetclass =" org.hamcrest.Matchers" />
5858 </target >
5959
60+ <target name =" integration" depends =" library" description =" Build integration with external tools" >
61+ <path id =" cp-hamcrest-integration-main" >
62+ <fileset file =" build/hamcrest-core-${ version } .jar" />
63+ <fileset file =" build/hamcrest-library-${ version } .jar" />
64+ <fileset dir =" lib/integration" includes =" **/*.jar" />
65+ </path >
66+ <path id =" cp-hamcrest-integration-test" path =" lib/integration/junit-dep-4.10.jar;build/hamcrest-core-${ version } -test.jar" />
67+ <compile-module modulename =" hamcrest-integration" />
68+ <test-module modulename =" hamcrest-integration" />
69+ </target >
70+
6071 <macrodef name =" compile-module" >
6172 <attribute name =" modulename" description =" Name of the module to jar" />
6273
114125 </jar >
115126 </sequential >
116127 </macrodef >
117-
118-
119- <target name =" integration" depends =" core, library" description =" Build integration with external tools" >
120- <java-to-jar srcdir =" hamcrest-integration/src/main/java"
121- modulename =" hamcrest-integration"
122- classpath =" build/hamcrest-core-${ version } .jar;
123- build/hamcrest-library-${ version } .jar" />
124- </target >
125128
126129 <target name =" examples" depends =" core, library, integration" description =" Build and run unit tests." >
127130 <java-to-jar srcdir =" hamcrest-examples/src/main/java"
You can’t perform that action at this time.
0 commit comments