From: Kirill Maslinsky <kirill@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] java classpath and jars in openoffice.org
Date: Wed, 17 Sep 2008 14:10:39 +0400
Message-ID: <20080917101038.GC18154@maslinsky.spb.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]
Приветствую!
Перестал собираться 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>
Может ли кто-нибудь подсказать, почему это перестало работать и как бы исправить сборку?
--
Kirill Maslinsky
ALT Linux Team
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2008-09-17 10:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 10:10 Kirill Maslinsky [this message]
2008-09-17 10:19 ` Valery V. Inozemtsev
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=20080917101038.GC18154@maslinsky.spb.ru \
--to=kirill@altlinux.org \
--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