Hi,

I think this is a bug. The task SchemaToolTask does not implements 
"dropTables" argument. According to the documentation [1] this task can 
take "dropTables" arguments
but when I run as shown below I get this error: The <schematool> type 
doesn't support the "droptables" attribute.

    <schematool dropTables="true" action="retain">
            <fileset dir="${build.sql.dir}">
                <include name="schema.xml" />
            </fileset>
            <config 
propertiesFile="${prototype.src.model.base}/META-INF/persistence.xml" />
        </schematool>

In fact, I looked in source code and this task has no set method for 
"dropTables"argument.


Does anyone know why? or any way to work around it?

I use :
revision.number=422266:683325
openjpa.version=1.2.0

[1] 
http://openjpa.apache.org/builds/1.2.0/apache-openjpa-1.2.0/docs/manual/ref_guide_schema_schematool.html
 
Thanks,


-- 
View this message in context: 
http://n2.nabble.com/OpenJPA-1.2.0%3A-SchemaToolTask-does-not-have-%22dropTables%22-argument-tp2454421p2454421.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to