db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1237262 - in /db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck: Enhance.java InstallSchema.java
Date Sun, 29 Jan 2012 12:26:36 GMT
Author: andyj
Date: Sun Jan 29 12:26:36 2012
New Revision: 1237262

URL: http://svn.apache.org/viewvc?rev=1237262&view=rev
Log:
Add blank line to console output after task

Modified:
    db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java
    db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/InstallSchema.java

Modified: db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java?rev=1237262&r1=1237261&r2=1237262&view=diff
==============================================================================
--- db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java (original)
+++ db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java Sun Jan 29 12:26:36
2012
@@ -195,36 +195,36 @@ public class Enhance extends AbstractMoj
                     }
                 }
             }
-                // Enhance classes
 
-                URL[] classPathURLs = new URL[2];
-                ArrayList<URL> cpList = new ArrayList<URL>();
-                ClassLoader loader = null;
-                try {
-                    cpList.add((new File(enhancedIdDirName)).toURI().toURL());
-                    cpList.add((new File(fromDirName)).toURI().toURL());
-                    String[] jars = {"jar"};
-                    if (impl.equals("iut")) {
-                        fi = FileUtils.iterateFiles(
-                            new File(iutLibsDirectory), jars, true);
-                        while (fi.hasNext()) {
-                            cpList.add(fi.next().toURI().toURL());
-                        }
-                    }
-                    loader = new URLClassLoader(cpList.toArray(classPathURLs),
-                             getClass().getClassLoader());
-//                    Utilities.printClasspath(loader);
-                } catch (MalformedURLException ex) {
-                    Logger.getLogger(Enhance.class.getName()).log(Level.SEVERE, null, ex);
-                }
-                JDOEnhancer enhancer = JDOHelper.getEnhancer(loader);
-                enhancer.setVerbose(true);
-                enhancer.setClassLoader(loader);
-                String[] classArr = classes.toArray(classArray);
-                enhancer.addClasses(classArr);
-                System.out.println("Enhancing classes for identity type " +
-                        idtype);
-                enhancer.enhance();
+            // Enhance classes
+            URL[] classPathURLs = new URL[2];
+            ArrayList<URL> cpList = new ArrayList<URL>();
+            ClassLoader loader = null;
+            try {
+            	cpList.add((new File(enhancedIdDirName)).toURI().toURL());
+            	cpList.add((new File(fromDirName)).toURI().toURL());
+            	String[] jars = {"jar"};
+            	if (impl.equals("iut")) {
+            		fi = FileUtils.iterateFiles(
+            				new File(iutLibsDirectory), jars, true);
+            		while (fi.hasNext()) {
+            			cpList.add(fi.next().toURI().toURL());
+            		}
+            	}
+            	loader = new URLClassLoader(cpList.toArray(classPathURLs),
+            			getClass().getClassLoader());
+            	//                    Utilities.printClasspath(loader);
+            } catch (MalformedURLException ex) {
+            	Logger.getLogger(Enhance.class.getName()).log(Level.SEVERE, null, ex);
+            }
+            JDOEnhancer enhancer = JDOHelper.getEnhancer(loader);
+            enhancer.setVerbose(true);
+            enhancer.setClassLoader(loader);
+            String[] classArr = classes.toArray(classArray);
+            enhancer.addClasses(classArr);
+            System.out.println("Enhancing classes for identity type " + idtype);
+            enhancer.enhance();
         }
+        System.out.println("");
     }
 }

Modified: db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/InstallSchema.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/InstallSchema.java?rev=1237262&r1=1237261&r2=1237262&view=diff
==============================================================================
--- db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/InstallSchema.java (original)
+++ db/jdo/trunk/exectck/src/main/java/org/apache/jdo/exectck/InstallSchema.java Sun Jan 29
12:26:36 2012
@@ -175,6 +175,7 @@ public class InstallSchema extends Abstr
                 }
             }
             System.out.println("*> See diagnostic output in " + dbLogsDir + ".");
+            System.out.println("");
         }
     }
 }



Mime
View raw message