[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-dev] Oracle extensions; dev and testing
|
On 11/20/17 10:54 PM, William Dazey wrote:
I recently was looking at the "org.eclipse.persistence.oracle" extension
classes and was wondering how I can build this project.
the way I'm building this:
in ~/build.properties I have set following properties:
extensions.depend.dir
oracle.extensions.depend.dir
eclipse.install.dir - pointer to eclipse ide/rcp folder
test.properties - pointer to Oracle DB setup (contains props like
db.driver, db.url, ...); I do also have following props set in this file:
jdbc.driver.jar=
oracle.aqapi.lib=
oracle.orai18n.lib=
oracle.ucp.lib=
oracle.xdb.lib=
oracle.xmlparser.lib=
oracle.sdoapi.lib=<you may not need this one, it's available in the DB>
jdbc.driver.lib=\
${jdbc.driver.jar}:\
${oracle.aqapi.lib}:\
${oracle.orai18n.lib}:\
${oracle.ucp.lib}:\
${oracle.xdb.lib}:\
${oracle.xmlparser.lib}:\
${oracle.sdoapi.lib}
if you're behind proxy, you will also need:
p2.director.additionalArgs=-pluginCustomization /path/to/proxy.ini
where proxy.ini contains:
org.eclipse.core.net/proxyData/HTTP/host=...
org.eclipse.core.net/proxyData/HTTPS/host=...
org.eclipse.core.net/proxyData/HTTPS/hasAuth=false
org.eclipse.core.net/proxyData/HTTP/port=...
org.eclipse.core.net/proxyData/HTTPS/port=...
org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
org.eclipse.core.net/nonProxiedHosts=...
org.eclipse.core.net/systemProxiesEnabled=false
org.eclipse.core.net/proxyData/HTTP/hasAuth=false
Id like to test
a patch I made to add support to Oracle12Platform for the FETCH and
OFFSET added for v12, but it seems I cant build this project. I see
there are like 11 dependency jars, is there an "easy" way of obtaining
these dependencies so that I can build?
the easiest way I can think of is to use maven/gradle-like way as it is
shown at https://community.oracle.com/thread/4031349 or if you have the
DB or SQL Developer, grab jars from there
Once you have this, all you need is to 'ant -f oraclebuild.xml build'
which calls 'ant -f antbuild.xml -Doracle.target=oracle.ext build && ant
-f antbuild.xml -Doracle.target=oracle.nosql build'
thanks,
--lukas
Itll be difficult to make
changes here if I cant at least build & test locally first.
Thanks,
Will Dazey
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev