ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Valery V. Inozemtsev" <shrek@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] java classpath and jars in openoffice.org
Date: Wed, 17 Sep 2008 14:19:30 +0400
Message-ID: <200809171419.30474.shrek@altlinux.ru> (raw)
In-Reply-To: <20080917101038.GC18154@maslinsky.spb.ru>

[-- Attachment #1: Type: text/plain, Size: 1724 bytes --]

В сообщении от 17 сентября 2008 Kirill Maslinsky написал(a):
> Приветствую!
>
> Перестал собираться writer2latex с явными признаками того,
> что javac не может обнаружить классы из jar'ов, включённых
> в openoffice.org и необходимых для сборки writer2latex.
>
> Я попробовал их вписать в переменную CLASSPATH явно, но получаю
> ошибку:
> + export CLASSPATH=/usr/share/java/junit.jar
> + CLASSPATH=/usr/share/java/junit.jar
> + export CLASSPATH=/usr/share/java/junit.jar
> /usr/lib64/OpenOffice.org2/program/classes/jurt.jar
> /usr/lib64/OpenOffice.org2/program/classes/unoil.jar
> /usr/lib64/OpenOffice.org2/program/classes/ridl.jar
> /usr/lib64/OpenOffice.org2/program/classes/juh.jar +
> CLASSPATH=/usr/share/java/junit.jar
> /usr/src/tmp/rpm-tmp.887: line 94: export:
> `/usr/lib64/OpenOffice.org2/program/classes/jurt.jar': not a valid
> identifier /usr/src/tmp/rpm-tmp.887: line 94: export:
> `/usr/lib64/OpenOffice.org2/program/classes/unoil.jar': not a valid
> identifier /usr/src/tmp/rpm-tmp.887: line 94: export:
> `/usr/lib64/OpenOffice.org2/program/classes/ridl.jar': not a valid
> identifier /usr/src/tmp/rpm-tmp.887: line 94: export:
> `/usr/lib64/OpenOffice.org2/program/classes/juh.jar': not a valid
> identifier
>
> Впрочем, раньше эти классы обнаруживались без проблем, в build.xml пакета
> есть для этого ручка:
>
>     <!-- classpath for the application; needs java-uno classes -->
>     <path id="main.class.path">
>         <filelist dir="${OFFICE_HOME}/program/classes"
>             files="jurt.jar,unoil.jar,ridl.jar,juh.jar"/>
>     </path>
>
> Может ли кто-нибудь подсказать, почему это перестало работать и как бы
> исправить сборку?

OFFICE_HOME=%_libdir/openoffice.org

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-09-17 10:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-17 10:10 Kirill Maslinsky
2008-09-17 10:19 ` Valery V. Inozemtsev [this message]
2008-09-18 11:22 ` Igor Vlasenko
2008-09-23  9:46   ` Kirill Maslinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200809171419.30474.shrek@altlinux.ru \
    --to=shrek@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git