You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ca...@apache.org on 2011/11/04 14:38:08 UTC
svn commit: r1197556 - in /incubator/jena/Jena2/jena/trunk: pom.xml
src/test/java/com/hp/hpl/jena/test/TestPackage.java
src/test/resources/jena-test-log4j.properties
src/test/resources/log4j.properties
Author: castagna
Date: Fri Nov 4 13:38:08 2011
New Revision: 1197556
URL: http://svn.apache.org/viewvc?rev=1197556&view=rev
Log:
JENA-36
Renaming src/test/resources/log4j.properties file to jena-test-log4j.properties.
When you execute tests from Eclipse you'll see:
log4j:WARN No appenders could be found for logger (com.hp.hpl.jena.util.FileManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Added:
incubator/jena/Jena2/jena/trunk/src/test/resources/jena-test-log4j.properties
- copied unchanged from r1197540, incubator/jena/Jena2/jena/trunk/src/test/resources/log4j.properties
Removed:
incubator/jena/Jena2/jena/trunk/src/test/resources/log4j.properties
Modified:
incubator/jena/Jena2/jena/trunk/pom.xml
incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/test/TestPackage.java
Modified: incubator/jena/Jena2/jena/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/pom.xml?rev=1197556&r1=1197555&r2=1197556&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/pom.xml (original)
+++ incubator/jena/Jena2/jena/trunk/pom.xml Fri Nov 4 13:38:08 2011
@@ -52,6 +52,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <systemProperties>
+ <property>
+ <name>log4j.configuration</name>
+ <value>jena-test-log4j.properties</value>
+ </property>
+ </systemProperties>
<includes>
<include>com/hp/hpl/jena/test/TestPackage.java</include>
</includes>
Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/test/TestPackage.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/test/TestPackage.java?rev=1197556&r1=1197555&r2=1197556&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/test/TestPackage.java (original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/test/TestPackage.java Fri Nov 4 13:38:08 2011
@@ -23,7 +23,7 @@ public class TestPackage extends TestCas
static {
// better to have a separate log4j.properties for testing, see JENA-36
- setLog4jConfiguration("log4j.properties") ;
+ setLog4jConfiguration("jena-test-log4j.properties") ;
}
static public TestSuite suite() {