Adding Jemmy v3 to https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK%20code-tools/
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Mon Apr 9 17:52:16 UTC 2018
Do you happen to have full stack trace of that?
Also, how to I get JTReg which are you using?
The reported missing method would be a part of JTReg, clearly.
The other thing is you should probably be ok with just running ant …. test. “test” target is coming from http://hg.openjdk.java.net/code-tools/jemmy/v3/file/898c9e02c8c9/make/build_template.xml.
Shura
> On Apr 6, 2018, at 6:47 AM, Martijn Verburg <martijnverburg at gmail.com> wrote:
>
> Hi Alexandre,
>
> I got a little further (This is using Java 1.8.0_162). Once I set my swt.jar and jtreg.home I was able to run:
>
> ant -Dswt.jar=lib/org.eclipse.swt.cocoa.macosx.x86_64-4.3 check-dependecies-impl
> ant -Dswt.jar=lib/org.eclipse.swt.cocoa.macosx.x86_64-4.3 build-dependecies-impl
> ant -Dswt.jar=lib/org.eclipse.swt.cocoa.macosx.x86_64-4.3 -Djtreg.home=/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/jtreg/ test-dependecies-impl
>
> The first two execute OK but then the test gives me the test failure of:
>
> test:
> [exec] Directory "/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyBrowser/build/test_wd" not found: creating
> [exec] Directory "/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyBrowser/build/test_report" not found: creating
> [exec] runner starting test: org/jemmy/browser/PropPanelTest.java
> [exec] runner finished test: org/jemmy/browser/PropPanelTest.java
> [exec] Error. Unexpected error caught from test org/jemmy/browser/PropPanelTest.java: java.lang.NoSuchMethodError: com.sun.javatest.regtest.agent.JDK_Version.compareTo(Lcom/sun/javatest/regtest/agent/JDK_Version;)I
> [exec] Test results: error: 1
> [exec] Report written to /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyBrowser/build/test_report/html/report.html
> [exec] Results written to /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyBrowser/build/test_wd
> [exec] Error: Some tests failed or other problems occurred.
> [exec] Result: 3
>
> Any ideas?
>
> FYI - I'm still running this locally on my Mac OS X box until I get a clean build so I know the minimum steps for the build farm job. Note to self that the build box will need to provide a platform specific SWT lib (Linux x86).
>
> Cheers,
> Martijn
>
> On 28 March 2018 at 21:43, Alexandre (Shura) Iline <alexandre.iline at oracle.com <mailto:alexandre.iline at oracle.com>> wrote:
> Now including aliases and more recipients..
>
> > On Mar 28, 2018, at 1:41 PM, Alexandre (Shura) Iline <alexandre.iline at oracle.com <mailto:alexandre.iline at oracle.com>> wrote:
> >
> >
> >
> >> On Mar 28, 2018, at 12:28 PM, Martijn Verburg <martijnverburg at gmail.com <mailto:martijnverburg at gmail.com>> wrote:
> >>
> >> Hi Alexandre,
> >>
> >> OK, So I naively tried to run ant in the SWT/JemmySWT folder and that failed with:
> >>
> >> /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/SWT/JemmySWT/build.xml:33: Please specify swt.jar
> >
> > You do need the SWT library to build SWT.
> >
> > this is what I just did:
> >
> > ~/JDK/hg/jemmy/v3/SWT/JemmySWT$ ant -Dswt.jar=/usr/lib/eclipse/plugins/org.eclipse.swt_3.8.2.jar jar
> >
> >
> > I clearly need to provide a README. Will do.
> >
> > Shura
> >
> >>
> >> Then I actually bothered to read the build.xml file and saw the build-dependecies-impl target, so I ran ant build-dependecies-impl which seemed to build:
> >>
> >> /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyCore/build/JemmyCore.jar
> >> /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyAWTInput/build/JemmyAWTInput.jar
> >> /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/v3/core/JemmyBrowser/build/JemmyBrowser.jar
> >>
> >> Then I ran ant test-dependecies-impl and it wanted my jtreg.home set
> >>
> >> Before I shave more Yaks, is this the right direction to be going in?
> >>
> >>
> >> Cheers,
> >> Martijn
> >>
> >> On 28 March 2018 at 20:43, Alexandre (Shura) Iline <alexandre.iline at oracle.com <mailto:alexandre.iline at oracle.com>> wrote:
> >> Martijn,
> >>
> >> Jemmy v3 consists of several project which depend on each other.
> >>
> >> If, besides hosting the source, the intension is to build it, you need to build projects which are in use by others who would be coming to AdoptOpenJDK for binaries.
> >>
> >> At this point of time, from what I know, JemmySWT is what is needed. Ant build scripts are constructed in a way so that by while JemmySWT is build, the dependences are also built, you should have no problem with that.
> >>
> >> Binaries would, then, simply include all jar files create after the build. The jar files will be: */*/build/*.jar
> >>
> >> Shura
> >>
> >>
> >>> On Mar 28, 2018, at 11:35 AM, Martijn Verburg <martijnverburg at gmail.com <mailto:martijnverburg at gmail.com>> wrote:
> >>>
> >>> Hi Dalibor,
> >>>
> >>> We're shifting the code tools off Cloudbees to the new adoptiopenjdk.net <http://adoptiopenjdk.net/> build farm. I'm more than happy to add it, a quick Q:
> >>>
> >>> hg clone http://hg.openjdk.java.net/code-tools/jemmy/v3/ <http://hg.openjdk.java.net/code-tools/jemmy/v3/> gives me:
> >>>
> >>> drwxr-xr-x 7 karianna staff 238 28 Mar 19:30 .
> >>> drwxr-xr-x 44 karianna staff 1496 28 Mar 19:30 ..
> >>> drwxr-xr-x 13 karianna staff 442 28 Mar 19:30 .hg
> >>> drwxr-xr-x 3 karianna staff 102 28 Mar 19:30 .jcheck
> >>> drwxr-xr-x 4 karianna staff 136 28 Mar 19:30 SWT
> >>> drwxr-xr-x 6 karianna staff 204 28 Mar 19:30 core
> >>> drwxr-xr-x 3 karianna staff 102 28 Mar 19:30 make
> >>>
> >>> but I can't see what the canonical entry point to build it is.
> >>>
> >>> I'll sign up to jemmy-dev and x-post there shortly.
> >>>
> >>> Cheers,
> >>> Martijn
> >>>
> >>> On 28 March 2018 at 17:02, dalibor topic <dalibor.topic at oracle.com <mailto:dalibor.topic at oracle.com>> wrote:
> >>> Hi Martijn,
> >>>
> >>> would you be able to add the Jemmy v3 repo at http://hg.openjdk.java.net/code-tools/jemmy/v3/ <http://hg.openjdk.java.net/code-tools/jemmy/v3/> to https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK%20code-tools/ <https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK%20code-tools/> ?
> >>>
> >>> cheers,
> >>> dalibor topic
> >>> --
> >>> <http://www.oracle.com <http://www.oracle.com/>> Dalibor Topic | Principal Product Manager
> >>> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
> >>> <tel:+491737185961>
> >>>
> >>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
> >>>
> >>> ORACLE Deutschland B.V. & Co. KG
> >>> Hauptverwaltung: Riesstr. 25, D-80992 München
> >>> Registergericht: Amtsgericht München, HRA 95603
> >>>
> >>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
> >>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> >>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
> >>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
> >>>
> >>> <http://www.oracle.com/commitment <http://www.oracle.com/commitment>> Oracle is committed to developing
> >>> practices and products that help protect the environment
> >>>
> >>
> >>
> >
>
>
More information about the adoption-discuss
mailing list