jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r280299 - in /incubator/jackrabbit/trunk/contrib/tck-webapp: maven.xml project.properties src/java/org/apache/jackrabbit/tck/TestFinder.java
Date Mon, 12 Sep 2005 09:11:31 GMT
Author: mreutegg
Date: Mon Sep 12 02:11:25 2005
New Revision: 280299

URL: http://svn.apache.org/viewcvs?rev=280299&view=rev
Log:
JCR-208: tck doesn't compile (use of enum keyword)

Modified:
    incubator/jackrabbit/trunk/contrib/tck-webapp/maven.xml
    incubator/jackrabbit/trunk/contrib/tck-webapp/project.properties
    incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/TestFinder.java

Modified: incubator/jackrabbit/trunk/contrib/tck-webapp/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/tck-webapp/maven.xml?rev=280299&r1=280298&r2=280299&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/tck-webapp/maven.xml (original)
+++ incubator/jackrabbit/trunk/contrib/tck-webapp/maven.xml Mon Sep 12 02:11:25 2005
@@ -32,7 +32,7 @@
         <m:reactor 
             basedir="../.."
             includes="project.xml"
-            goals="jar:install"
+            goals="multiproject:install"
             banner="Building"
             ignoreFailures="false"/>
      </goal>

Modified: incubator/jackrabbit/trunk/contrib/tck-webapp/project.properties
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/tck-webapp/project.properties?rev=280299&r1=280298&r2=280299&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/tck-webapp/project.properties (original)
+++ incubator/jackrabbit/trunk/contrib/tck-webapp/project.properties Mon Sep 12 02:11:25 2005
@@ -2,4 +2,6 @@
 maven.repo.remote = http://www.ibiblio.org/maven/,http://www.day.com/maven/
 maven.test.skip = true
 
-
+# force to compile for java 1.4
+maven.compile.source=1.4
+maven.compile.target=1.4

Modified: incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/TestFinder.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/TestFinder.java?rev=280299&r1=280298&r2=280299&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/TestFinder.java
(original)
+++ incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/TestFinder.java
Mon Sep 12 02:11:25 2005
@@ -80,10 +80,10 @@
             jarFile = new JarFile(tmpFile);
 
             // go through all jar file entries and take the one we are interessted in.
-            Enumeration enum = jarFile.entries();
+            Enumeration en = jarFile.entries();
 
-            while (enum.hasMoreElements()) {
-                JarEntry entry = (JarEntry) enum.nextElement();
+            while (en.hasMoreElements()) {
+                JarEntry entry = (JarEntry) en.nextElement();
                 String name = entry.getName();
 
                 if (!entry.isDirectory() && name.endsWith(".java")) {
@@ -223,4 +223,4 @@
     public Map getSuites() {
         return suites;
     }
-}
\ No newline at end of file
+}



Mime
View raw message