l...@apache.org a écrit : > Author: luc > Date: Sat Aug 1 14:44:08 2009 > New Revision: 799874 > > URL: http://svn.apache.org/viewvc?rev=799874&view=rev > Log: > moved test java and resources directories for compliance with maven standard > directory layout
In accordance with maven layout, this change has split the former test directory into test/java and test/resources. The latter directory contains the test data files for random and stat packages. Maven obviously automatically knows about these directories and copies the resource files into target/test/classes. Ant does not know about them so the build.xml file had to be updated (see next commit) for copying the data files. IDEs like eclipse also don't know about these files, so they have to be reconfigured to be able to compile the library, its tests and copy the data files appropriately. Luc > > Added: > commons/proper/math/trunk/src/test/java/ > commons/proper/math/trunk/src/test/java/org/ > - copied from r799858, commons/proper/math/trunk/src/test/org/ > commons/proper/math/trunk/src/test/resources/ > commons/proper/math/trunk/src/test/resources/org/ > commons/proper/math/trunk/src/test/resources/org/apache/ > commons/proper/math/trunk/src/test/resources/org/apache/commons/ > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/ > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/random/ > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/random/emptyFile.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/random/emptyFile.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/random/testData.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/random/testData.txt > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/ > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/ > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/Lew.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/Lew.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/Lottery.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/Lottery.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/Mavro.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/Mavro.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/Michelso.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/Michelso.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/NumAcc1.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/NumAcc1.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/NumAcc2.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/NumAcc2.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/NumAcc3.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/NumAcc3.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/NumAcc4.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/NumAcc4.txt > > commons/proper/math/trunk/src/test/resources/org/apache/commons/math/stat/data/PiDigits.txt > - copied unchanged from r799858, > commons/proper/math/trunk/src/test/org/apache/commons/math/stat/data/PiDigits.txt > Removed: > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/emptyFile.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/testData.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/Lew.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/Lottery.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/Mavro.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/Michelso.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/NumAcc1.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/NumAcc2.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/NumAcc3.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/NumAcc4.txt > > commons/proper/math/trunk/src/test/java/org/apache/commons/math/stat/data/PiDigits.txt > commons/proper/math/trunk/src/test/org/ > Modified: > commons/proper/math/trunk/pom.xml > > Modified: commons/proper/math/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=799874&r1=799873&r2=799874&view=diff > ============================================================================== > --- commons/proper/math/trunk/pom.xml (original) > +++ commons/proper/math/trunk/pom.xml Sat Aug 1 14:44:08 2009 > @@ -229,16 +229,6 @@ > </properties> > > <build> > - <testSourceDirectory>src/test</testSourceDirectory> > - <testResources> > - <testResource> > - <directory>src/test</directory> > - <includes> > - <include>**/*.xml</include> > - <include>**/*.txt</include> > - </includes> > - </testResource> > - </testResources> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org