Re: Upgrade to 9 questions

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Upgrade to 9 questions
Дата
Msg-id 4CA6BC0D.8070607@opencloud.com
обсуждение исходный текст
Ответ на Re: Upgrade to 9 questions  (Albert Kurucz <albert.kurucz@gmail.com>)
Ответы Re: Upgrade to 9 questions
Re: Upgrade to 9 questions
Re: Upgrade to 9 questions
Список pgsql-jdbc
Albert Kurucz wrote:
> Oliver,
>
> What command do I need to give to Ant to make the necessary substitutions?

The slightly misleadingly named target "driver" will configure the build
environment and do all the substitutions, but not actually compile the
result. So: "ant driver"

> Why source files are not release after preprocessing?

Because the substitutions that are needed are different depending on
your build environment e.g. which JDBC version and JDK you are building
for. The ant buildfile handles both detecting your build environment and
performing suitable substitutions. Releasing multiple source
distributions, each of which only works for one environment, where the
only difference is in the 3-4 templated files - that'd be confusing and
unnecessary when the build process already handles it, don't you think?

> Java source files please for the non Ant users!

I don't think we really support building the driver except via ant, it
is something of a de-facto standard for building Java these days. (Ok,
now the Maven people are going to yell at me ;-))

Consider it a prerequisite for building the driver, just like having a
functional JDK installed is a prerequisite.

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: stagirus
Дата:
Сообщение: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Следующее
От: Samuel Gendler
Дата:
Сообщение: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)