Re: some trouble in DODS in Enhydra5.1 beta8
"Sinisa Milosevic" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, > > I am trying to upgrade from enhydra5.0 to enhydra5.1. > It works and I almost can compile my existing project well. > but I found some problems using DODS. > > 1) in doml file using notUsingOid attribute with table tag > cause an compile error as following message. > Unfortunately, DODS 5.1 doesn't support notUsingOid=true parameter. In new DODS,there are a lot of improvements about caching (mostly oid based). So, in next version of Enhydra (DODS), we will add support for using tables without oid columns. > 3) some DODS classes use non default JVM System Properties such as > "JAVA_HOME", "LOCAL_CLASSPATH", "DODS_HOME", "ENHYDRA_DIR", "enhydra.home". > I think these properties are implicit not accurate and it can be refactored > more simply. for instance "ENHYDRA_DIR" seems to be same "enhydra.home". > I use ant not only for enhydra projects but also other purposes, so I use > original jakarta ant script but not one existing in enhydra bin directory. > So first my build time. I was troubled with messages such as "JVM can not > find neither DODS HOME nor ENHYDRA HOME!" or Un excepted Exception cause of > NullPointerException which cause by getting undefined property. Please use ant script from Enhydra/bin (for Enhydra projects) or from DODS/bin (for DODS projects). DODS needs Java variable -Denhydra.home (set in Enhydra ant script) or -DDODS_HOME (set in dods ant script). Regards, Sinisa Milosevic