Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Oracle extensions; dev and testing

On 11/22/17 12:22 AM, William Dazey wrote:
Thanks for the info Lukas! This really helped a lot. I am still having an issue tho when building:

     [java] [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.23.0:compile (default-compile) on project org.eclipse.persistence.oracle: Compilation failure: Compilation failure:      [java] [ERROR] C:\...\org.eclipse.persistence.oracle\src\org\eclipse\persistence\tools\profiler\oracle\DMSPerformanceProfiler.java:[29]
      [java] [ERROR] import oracle.dms.instrument.*;
      [java] [ERROR] ^^^^^^^^^^
      [java] [ERROR] The import oracle.dms cannot be resolved

I have EXTENSION_LIB_EXTERNAL set in my Eclipse workspace now and I have the dms.jar @ ${trunk.build.location}/../extension.oracle.lib.external, but I still get this exception when running ">ant -f antbuild.xml -Doracle.target=oracle.ext build-oracle-extension"

buildsystem/oraclelibs/p2repo has not been generated... can you retry with:
'ant -f antbuild.xml -Doracle.target=oracle.ext build-oracle-extension -Dgenerate.compdeps=true'


(I cant seem to run
oraclebuild.xmldue to being on Windows OS). Any thoughts on what I am doing wrong here?

can you try 'ant -f oraclebuild.xml build -Dgit.exec=path/to/git.exe'? Can't test as I'm not on win...

thanks,
--lukas


Thanks,Will

On Tue, Nov 21, 2017 at 3:36 AM, Lukas Jungmann <lukas.jungmann@xxxxxxxxxx <mailto:lukas.jungmann@xxxxxxxxxx>> wrote:

    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=.
    <http://org.eclipse.core.net/proxyData/HTTP/host=.>..
    org.eclipse.core.net/proxyData/HTTPS/host=.
    <http://org.eclipse.core.net/proxyData/HTTPS/host=.>..
    org.eclipse.core.net/proxyData/HTTPS/hasAuth=false
    <http://org.eclipse.core.net/proxyData/HTTPS/hasAuth=false>
    org.eclipse.core.net/proxyData/HTTP/port=.
    <http://org.eclipse.core.net/proxyData/HTTP/port=.>..
    org.eclipse.core.net/proxyData/HTTPS/port=.
    <http://org.eclipse.core.net/proxyData/HTTPS/port=.>..
    org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
    <http://org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true>
    org.eclipse.core.net/nonProxiedHosts=.
    <http://org.eclipse.core.net/nonProxiedHosts=.>..
    org.eclipse.core.net/systemProxiesEnabled=false
    <http://org.eclipse.core.net/systemProxiesEnabled=false>
    org.eclipse.core.net/proxyData/HTTP/hasAuth=false
    <http://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
    <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 <mailto: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
        <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>

    _______________________________________________
    eclipselink-dev mailing list
    eclipselink-dev@xxxxxxxxxxx <mailto: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
    <https://dev.eclipse.org/mailman/listinfo/eclipselink-dev>




_______________________________________________
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



Back to the top