commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r397957 - in /jakarta/commons/sandbox/jci/trunk: ./ compilers/eclipse/ compilers/groovy/ core/src/java/org/apache/commons/jci/monitor/ examples/ examples/src/java/org/apache/commons/jci/examples/commandline/ tests/ tests/src/test/org/apache...
Date Fri, 28 Apr 2006 17:14:58 GMT
Author: tcurdt
Date: Fri Apr 28 10:14:55 2006
New Revision: 397957

URL: http://svn.apache.org/viewcvs?rev=397957&view=rev
Log:
proper versions, removed some warnings, added factory tests

Modified:
    jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml
    jakarta/commons/sandbox/jci/trunk/compilers/groovy/pom.xml
    jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
    jakarta/commons/sandbox/jci/trunk/examples/pom.xml
    jakarta/commons/sandbox/jci/trunk/examples/src/java/org/apache/commons/jci/examples/commandline/Compile.java
    jakarta/commons/sandbox/jci/trunk/pom.xml
    jakarta/commons/sandbox/jci/trunk/tests/pom.xml
    jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilerUtils.java
    jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java
    jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/compilers/JavaCompilerFactoryTestCase.java

Modified: jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml Fri Apr 28 10:14:55 2006
@@ -15,7 +15,7 @@
 
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-jci-eclipse</artifactId>
-  <version>3.2.0</version>
+  <version>3.2.0.658</version>
 
   <name>Jakarta Commons JCI Compiler - Eclipse</name>
 <!--

Modified: jakarta/commons/sandbox/jci/trunk/compilers/groovy/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/compilers/groovy/pom.xml?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/compilers/groovy/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/compilers/groovy/pom.xml Fri Apr 28 10:14:55 2006
@@ -29,8 +29,8 @@
 
     <dependency>
       <groupId>groovy</groupId>
-      <artifactId>groovy-all-1.0-jsr</artifactId>
-      <version>03</version>
+      <artifactId>groovy-all</artifactId>
+      <version>1.0-jsr-03</version>
     </dependency>
 
   </dependencies>

Modified: jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
Fri Apr 28 10:14:55 2006
@@ -130,7 +130,9 @@
 
     public static class UniqueMultiHashMap extends MultiHashMap {
 
-        public UniqueMultiHashMap() {
+		private static final long serialVersionUID = 1L;
+
+		public UniqueMultiHashMap() {
             super();
         }
 

Modified: jakarta/commons/sandbox/jci/trunk/examples/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/examples/pom.xml?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/examples/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/examples/pom.xml Fri Apr 28 10:14:55 2006
@@ -21,7 +21,7 @@
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-jci-eclipse</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>3.2.0.658</version>
     </dependency>
 
   </dependencies>

Modified: jakarta/commons/sandbox/jci/trunk/examples/src/java/org/apache/commons/jci/examples/commandline/Compile.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/examples/src/java/org/apache/commons/jci/examples/commandline/Compile.java?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/examples/src/java/org/apache/commons/jci/examples/commandline/Compile.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/examples/src/java/org/apache/commons/jci/examples/commandline/Compile.java
Fri Apr 28 10:14:55 2006
@@ -1,6 +1,5 @@
 package org.apache.commons.jci.examples.commandline;
 
-import org.apache.commons.jci.compilers.EclipseJavaCompiler;
 import org.apache.commons.jci.compilers.JavaCompiler;
 import org.apache.commons.jci.compilers.JavaCompilerFactory;
 
@@ -9,8 +8,6 @@
     
 
     public static void main( String[] args ) {
-        
-        EclipseJavaCompiler jc = new EclipseJavaCompiler();
         
         final JavaCompiler compiler = JavaCompilerFactory.getInstance().createCompiler("eclipse");
         if (compiler == null) {

Modified: jakarta/commons/sandbox/jci/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/pom.xml?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/pom.xml Fri Apr 28 10:14:55 2006
@@ -132,7 +132,6 @@
     </snapshotRepository>
     <site>
       <id>website</id>
-      <name>website</name>
       <url>scpexe://minotaur.apache.org/www/jakarta.apache.org/commons/sandbox/commons-jci</url>
     </site>
   </distributionManagement>

Modified: jakarta/commons/sandbox/jci/trunk/tests/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/tests/pom.xml?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/tests/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/tests/pom.xml Fri Apr 28 10:14:55 2006
@@ -30,25 +30,19 @@
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-jci-eclipse</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>3.2.0.658</version>
     </dependency>
 
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-jci-janino</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>2.4.1</version>
     </dependency>
 
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-jci-groovy</artifactId>
-      <version>1.0-SNAPSHOT</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-jci-groovy</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.0-jsr-03</version>
     </dependency>
 
     <dependency>

Modified: jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilerUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilerUtils.java?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilerUtils.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilerUtils.java
Fri Apr 28 10:14:55 2006
@@ -5,13 +5,9 @@
 import org.apache.commons.jci.readers.ResourceReader;
 import org.apache.commons.jci.stores.MemoryResourceStore;
 import org.apache.commons.jci.stores.ResourceStore;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 
 
 public final class CompilerUtils {
-    
-    private final static Log log = LogFactory.getLog(CompilerUtils.class);
     
     private CompilerUtils() {       
     }

Modified: jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java
Fri Apr 28 10:14:55 2006
@@ -3,19 +3,16 @@
 import java.io.File;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
+
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.jci.compilers.AbstractCompilerTestCase;
 import org.apache.commons.jci.compilers.JavaSources;
 import org.apache.commons.jci.listeners.CompilingListener;
 import org.apache.commons.jci.monitor.FilesystemAlterationMonitor;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 
 
 public final class CompilingClassLoaderTestCase extends AbstractCompilerTestCase {
 
-    private final static Log log = LogFactory.getLog(CompilingClassLoaderTestCase.class);
-    
     private ReloadingClassLoader classloader;
     private CompilingListener listener;
     private FilesystemAlterationMonitor fam;

Modified: jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/compilers/JavaCompilerFactoryTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/compilers/JavaCompilerFactoryTestCase.java?rev=397957&r1=397956&r2=397957&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/compilers/JavaCompilerFactoryTestCase.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/tests/src/test/org/apache/commons/jci/compilers/JavaCompilerFactoryTestCase.java
Fri Apr 28 10:14:55 2006
@@ -20,9 +20,15 @@
 
 public final class JavaCompilerFactoryTestCase extends TestCase {
     public void testEclipseCompilerCreation() {
+    	final JavaCompiler compiler = JavaCompilerFactory.getInstance().createCompiler("eclipse");
+    	assertNotNull(compiler);
     }
     public void testJaninoCompilerCreation() {
+    	final JavaCompiler compiler = JavaCompilerFactory.getInstance().createCompiler("janino");
+    	assertNotNull(compiler);
     }
     public void testGroovyCompilerCreation() {
+    	final JavaCompiler compiler = JavaCompilerFactory.getInstance().createCompiler("groovy");
+    	assertNotNull(compiler);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message