[Libreoffice] Autogen.sh pb with junit

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Mon Apr 4 02:22:52 PDT 2011

On Sun, 3 Apr 2011 16:54:28 +0200
Miklos Vajna <vmiklos at frugalware.org> wrote:

> Rene also suggested that the dependency can be declared in junit's
> manifest file, which is the place where this is fixed e.g. in Debian,
> so my configure change turned out to be unnecessary.

On current debians (I just tried sid) and Ubuntus there is the no
classpath set in the system junit jar that also does not contain
hamcrest. Since this problem is widespread: How about checking, if

 - the jar sets an classpath in the manifest
 - the jar contains hamcrest

and complain explicitly
"your junit jar neither sets a classpath nor includes hamcrest --
please provide a full junit jar or use --without-junit"
if neither is the case. This also helps people making the right choice
with the upstream jars, where both (including hamcrest and excluding
hamcrest) are available.

Doing this little additional testing might prevent some newcomers to
run away screaming (it might not be the first issue they hit on their
first build).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110404/3b1c330d/attachment-0001.pgp>

More information about the LibreOffice mailing list