ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Kuznetsov <vitty@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Вопрос специалистам по Java/Ant
Date: Mon, 06 Aug 2007 16:21:15 +0400
Message-ID: <46B7123B.80109@altlinux.ru> (raw)

Собираю некую софтину ant-ом, получаю
[javac]
/usr/src/RPM/BUILD/fedora-ds-console-1.1.0/src/com/netscape/management/client/preferences/FilePreferenceManager.java:49:
reference to Console is ambiguous, both class
com.netscape.management.client.console.Console in
com.netscape.management.client.console and class java.io.Console in
java.io match
    [javac]         File f = new File(Console.PREFERENCE_DIR);

Можно ли как-то сказать ему о приоритете
com.netscape.management.client.console.Console?

Или каким-нибудь образом заставить не использовать java.io.Console?

Всё это возникает при использовании jdk > j2se1.4
При сборке с j2se1.4 всё нормально.


             reply	other threads:[~2007-08-06 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-06 12:21 Vitaly Kuznetsov [this message]
2007-08-06 12:27 ` Damir Shayhutdinov
2007-08-06 12:37   ` Vitaly Kuznetsov
2007-08-06 12:52     ` Mikhail A. Pokidko

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=46B7123B.80109@altlinux.ru \
    --to=vitty@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