[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

instant bugfix for build.xml




Hi folks,
there is a small but momentous bug in Ozone's build.xml. The regular
expression which is used to mark the update methods for Ozone's remote
objects doesn't work properly. I don't know why the Apache regular
expression implementation doesn't work, but you have to extend this
string 

  <target name="xml" depends="tools">

    ...snipped...
   
    <!-- generate DOM proxies -->
    <java classname="org.ozoneDB.tools.OPP.OPP"
          fork="yes"
          failonerror="yes"
          classpathref="/ozone-users/07-2001/run.classpath">
      <jvmarg value="-Dozone.javac=${opp.compiler}"/>
      <arg line="${opp.options}"/>
      <arg value="-p'(dummy.*)|(set.*)|(init.*)|(append.*)|(insert.*)|(remove.*)|(delete.*)|(replace.*)|(normalize.*)|(split.*)|(dummy.*)'"/>

     ...snipped...

Without the "dummy" in front and at the end of the "-p" flag the "set"
and "split" methods won't be marked as update methods.

This could solve some problems with DOM/SAX storage reported in the
past weeks.


Regards,
Lars
--
______________________________________________________________________
Lars Martin                                    mailto:lars@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com

----------------------------------------------------------------------
Post a message:         mailto:ozone-users@ozone-db.org
Unsubscribe:            mailto:ozone-users-request@ozone-db.org?body=unsubscribe
Contact adminstrator:   mailto:ozone-users-owner@ozone-db.org
Read archived messages: http://www.ozone-db.org/
----------------------------------------------------------------------