ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sviatoslav Sviridov <svd@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: Java compilation concern
Date: Mon, 13 Mar 2006 11:14:56 +0200
Message-ID: <44153810.9090105@altlinux.ru> (raw)
In-Reply-To: <1142085661.16849.9.camel@localhost.localdomain>

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

Mikhail Zabaluev wrote on 3/11/2006 4:01 PM:
> Доброго времени суток.
>
> В связи с появлением в Sisyphus пакетов j2se1.5-sun{,-devel}, которые
> теперь выбираются по умолчанию в сборочной среде, появилась новая
> особенность при сборке пакетов на Java. Компилятор JDK 1.5 по умолчанию
> создает class-файлы, несовместимые с ранними версиями J2SE. Поэтому
> необходимо следить, чтобы в сборочных скриптах для ant или make
> компилятор вызывался с параметрами source и target в значении 1.3 или
> меньше (т.к. у нас в Sisyphus есть еще j2se1.3-sun), если код не требует
> иного. Если в коде используется ключевое слово assert, нужно ставить как
> минимум 1.4; пакетов, использующих нововведения Java SE 5, в Sisyphus
> пока не отмечено.
>   
А возможно ли в случае использования ant передавать требуемые параметры
без изменеиня build.xml? Что-то наподобие глобального build.compiler
имеется? (я такого раньше не видел, но может в последнее время появилось?)
И может имеет смысл FR на ant повесить чтоб такую вещь сделали?

-- 
Best Regards,
Sviatoslav Sviridov


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-03-13  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-11 14:01 Mikhail Zabaluev
2006-03-13  9:14 ` Sviatoslav Sviridov [this message]
2006-03-13  9:59   ` Mikhail Zabaluev

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=44153810.9090105@altlinux.ru \
    --to=svd@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