openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r582851 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
Date Mon, 08 Oct 2007 15:36:50 GMT
Author: mikedd
Date: Mon Oct  8 08:36:49 2007
New Revision: 582851

URL: http://svn.apache.org/viewvc?rev=582851&view=rev
Log:
OPENJPA-397

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java?rev=582851&r1=582850&r2=582851&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
Mon Oct  8 08:36:49 2007
@@ -130,7 +130,8 @@
 
     protected void executeOn(String[] files)
         throws Exception {
-        assertFiles(files);
+        if (SchemaTool.ACTION_IMPORT.equals(flags.action))
+            assertFiles(files);
 
         ClassLoader loader = getClassLoader();
         flags.writer = Files.getWriter(file, loader);



Mime
View raw message