openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r582852 - /openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
Date Mon, 08 Oct 2007 15:41:28 GMT
Author: mikedd
Date: Mon Oct  8 08:41:25 2007
New Revision: 582852

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

Modified:
    openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java

Modified: openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java?rev=582852&r1=582851&r2=582852&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
(original)
+++ openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/SchemaToolTask.java
Mon Oct  8 08:41:25 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