Re: Pre-processing during build

Поиск
Список
Период
Сортировка
От Stephen Nelson
Тема Re: Pre-processing during build
Дата
Msg-id CAHpHs3=BR+4Y9LRmW_z1zBRohLWbFT0hL=wRQ02S6F_jW-tq6g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pre-processing during build  (dmp <danap@ttc-cmc.net>)
Ответы Re: Pre-processing during build  ("Markus KARG" <markus@headcrashing.eu>)
Re: Pre-processing during build  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Список pgsql-jdbc

The discussion has veered off topic somewhat with the discussion of build systems and their respective qualities.

My pull request is proposing to change build system from Ant to Maven. All existing functionality in the Ant build has been/will be replicated in the Maven build - including the pre-processing step. There are many advantages to using Maven as opposed to Ant. However, this is orthogonal to the discussion I'd like to have about the pre-processing used during the build process.

Focusing on the aim of the current pre-processing step - which is to select the appropriate spec implementation at compile time. The options seem quite complicated to me as a relative novice in the finer points of the language spec.

Taking a step back, could this not be achieved using annotations and a custom annotation processor to emit some code to select the correct implementation of the spec? This seems more Java-like and not a massive change from the existing code.

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

Предыдущее
От: "Markus KARG"
Дата:
Сообщение: Re: Pre-processing during build
Следующее
От: "Markus KARG"
Дата:
Сообщение: Re: Pre-processing during build