You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Damjan Jovanovic <da...@apache.org> on 2016/12/31 10:53:13 UTC

Re: Download Junit and Hamcrest in ./bootstrap?

Hi Kay

Why did you delete hamcrest from configure.ac in r1757861?

It's essential: (recent) Junit doesn't work without it, and at least
subsequent tests can't run!

I will be adding it back soon if there are no objections.

Regards
Damjan


On Mon, Aug 22, 2016 at 10:53 PM, Kay Schenk <ka...@gmail.com> wrote:

>
> On 08/20/2016 03:18 PM, Kay Schenk@apache.org wrote:
> >
> > On 08/18/2016 02:00 PM, Kay Schenk wrote:
> >>
> >>
> >> On 08/17/2016 04:37 PM, Don Lewis wrote:
> >>> On 12 Aug, Damjan Jovanovic wrote:
> >>>> Sadly it's not that simple: Junit builds with Maven, and Hamcrest with
> >>>> Gradle.
> >>>>
> >>>> Is it ok to download the binaries, or is only source code allowed
> under
> >>>> ext_sources?
> >>>
> >>> I think it would be misleading because of the directory name.  Dragging
> >>> in extra dependencies just to build the .jar files seems like a waste.
> >>> Downloading everything to one directory would make life easier, so it
> is
> >>> too bad about the name.
> >>>
> >>> The description for OOO Extras on Sourceforge says this:
> >>>
> >>>   A space to store classic OOo dependencies that cannot be easily
> >>>   redistributed in Apache OpenOffice's SVN tree,
> >>>
> >>>   Initially this was meant for copyleft tarballs only but it is also
> >>>   pretty handy to mirror other file dependencies.
> >>>
> >>> Since ext_sources isn't distributed in the source archives for
> >>> releases, checking even non-copyleft source tarballs into svn under
> that
> >>> directory only helps people who are building from sources checkout out
> >>> via svn.
> >>
> >> Do we know if the current buildbots have ANY version of Junit or
> >> Hamcrest installed? As near as I could determine, our "last" published
> >> version requirement for Junit was junit-4.10:
> >>
> >> https://wiki.openoffice.org/wiki/QA/test_automation_guide#
> Prerequisites_2
> >>
> >>
> >> Or, it might be better to request direct access to the buildbots for
> >> this kind of installation.
> >>
> >>
> >>
> >
> > We can request installation of packs on the buildbot but they need to be
> > in the form of deb packages.
> >
> > I found hamcrest here: https://mirror.hmc.edu/ubuntu/pool/main/libh/
> > and junit4 here: https://mirror.hmc.edu/ubuntu/pool/main/j/junit4/
> >
> > from Ubuntu repos. @Damjan: can you provide a combination that would
> work?
> >
> >
>
> I will work with infra on getting these installed on the Linux buildbots
> we're using. I don't think trying to build/load them locally would be
> very easy really. I ran through the tests using command line
> instructions from:
> https://wiki.openoffice.org/wiki/QA/test_automation_guide
>
> We really do need this testing, and I don't see any tests set up for
> Base, so we need to work on that.
>
> --
> --------------------------------------------
> MzK
>
> "Time spent with cats is never wasted."
>                    -- Sigmund Freud
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>

Re: Download Junit and Hamcrest in ./bootstrap?

Posted by Kay Schenk <ks...@apache.org>.
On Sat, Dec 31, 2016 at 2:53 AM, Damjan Jovanovic <da...@apache.org> wrote:

> Hi Kay
>
> Why did you delete hamcrest from configure.ac in r1757861?
>
> It's essential: (recent) Junit doesn't work without it, and at least
> subsequent tests can't run!
>
> I will be adding it back soon if there are no objections.
>
> Regards
> Damjan
>

​I think I did this because at the time, all the buildbots were failing
with this additional requirement, and I just wanted to get back to using
whatever version of Junit was supplied by default on the build systems --
probably a lower version than what you had spec'd as I recall. We had been
adequately testing with Junit 4.12 once upon a time which is what I had in
my config options without the additional explicit Hamcrest version and what
successfully allowed for testing with Junit 4.12. It seems most installs of
Junit already have SOME Hamcrest available without explicitly using this
requirement.
​


>
>
> On Mon, Aug 22, 2016 at 10:53 PM, Kay Schenk <ka...@gmail.com> wrote:
>
>>
>> On 08/20/2016 03:18 PM, Kay Schenk@apache.org wrote:
>> >
>> > On 08/18/2016 02:00 PM, Kay Schenk wrote:
>> >>
>> >>
>> >> On 08/17/2016 04:37 PM, Don Lewis wrote:
>> >>> On 12 Aug, Damjan Jovanovic wrote:
>> >>>> Sadly it's not that simple: Junit builds with Maven, and Hamcrest
>> with
>> >>>> Gradle.
>> >>>>
>> >>>> Is it ok to download the binaries, or is only source code allowed
>> under
>> >>>> ext_sources?
>> >>>
>> >>> I think it would be misleading because of the directory name.
>> Dragging
>> >>> in extra dependencies just to build the .jar files seems like a waste.
>> >>> Downloading everything to one directory would make life easier, so it
>> is
>> >>> too bad about the name.
>> >>>
>> >>> The description for OOO Extras on Sourceforge says this:
>> >>>
>> >>>   A space to store classic OOo dependencies that cannot be easily
>> >>>   redistributed in Apache OpenOffice's SVN tree,
>> >>>
>> >>>   Initially this was meant for copyleft tarballs only but it is also
>> >>>   pretty handy to mirror other file dependencies.
>> >>>
>> >>> Since ext_sources isn't distributed in the source archives for
>> >>> releases, checking even non-copyleft source tarballs into svn under
>> that
>> >>> directory only helps people who are building from sources checkout out
>> >>> via svn.
>> >>
>> >> Do we know if the current buildbots have ANY version of Junit or
>> >> Hamcrest installed? As near as I could determine, our "last" published
>> >> version requirement for Junit was junit-4.10:
>> >>
>> >> https://wiki.openoffice.org/wiki/QA/test_automation_guide#Pr
>> erequisites_2
>> >>
>> >>
>> >> Or, it might be better to request direct access to the buildbots for
>> >> this kind of installation.
>> >>
>> >>
>> >>
>> >
>> > We can request installation of packs on the buildbot but they need to be
>> > in the form of deb packages.
>> >
>> > I found hamcrest here: https://mirror.hmc.edu/ubuntu/pool/main/libh/
>> > and junit4 here: https://mirror.hmc.edu/ubuntu/pool/main/j/junit4/
>> >
>> > from Ubuntu repos. @Damjan: can you provide a combination that would
>> work?
>> >
>> >
>>
>> I will work with infra on getting these installed on the Linux buildbots
>> we're using. I don't think trying to build/load them locally would be
>> very easy really. I ran through the tests using command line
>> instructions from:
>> https://wiki.openoffice.org/wiki/QA/test_automation_guide
>>
>> We really do need this testing, and I don't see any tests set up for
>> Base, so we need to work on that.
>>
>> --
>> --------------------------------------------
>> MzK
>>
>> "Time spent with cats is never wasted."
>>                    -- Sigmund Freud
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
>


-- 
--------------------------------------------------
Kay Schenk
Apache OpenOffice

"Things work out best for those who make
 the best of the way things work out."
                                           -- John Wooden