OPENJPA-397

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582851 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2007-10-08 15:36:49 +00:00
parent 4fb0c28dc2
commit 8c6e31a1d9
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,8 @@ public class SchemaToolTask
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);