Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/27/08 17:19:31 (8 months ago)
Author:
bwolfe
Message:

Fixing generation of test-openmrs-api-*.jar to be more consistent - #691

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/build.xml

    r4167 r4386  
    214214                        <compilerarg line="${compile.arguments}" /> 
    215215                </javac> 
    216                 <copy todir="${build.dir}"> 
    217                         <fileset dir="${test.dir}/api/org/openmrs/test" includes="TestingApplicationContext.xml" /> 
    218                         <fileset dir="${test.dir}/api/org/openmrs/test/include/" includes="initialInMemoryTestDataSet.xml" /> 
    219                 </copy> 
     216                 
     217                <!-- move files over that are required for modules to use this test-openmrs-api*.jar file --> 
     218                <copy todir="${build.dir}/org/openmrs/test" file="${test.dir}/api/org/openmrs/test/TestingApplicationContext.xml" /> 
     219                <copy todir="${build.dir}/org/openmrs/test/include" file="${test.dir}/api/org/openmrs/test/include/initialInMemoryTestDataSet.xml" /> 
     220                 
    220221        </target> 
    221222 
     
    227228                        </manifest> 
    228229                        <fileset dir="${build.dir}"> 
     230                                <exclude name="**/web/test/*.class" /> 
    229231                                <include name="**/test/*.class" /> 
    230                                 <include name="TestingApplicationContext.xml" /> 
    231                                 <include name="**/initialInMemoryTestDataSet.xml" /> 
     232                                <include name="org/openmrs/test/TestingApplicationContext.xml" /> 
     233                                <include name="org/openmrs/test/include/initialInMemoryTestDataSet.xml" /> 
    232234                        </fileset> 
    233235                </jar>