From: Avery M. <av...@av...> - 2006-06-08 01:42:31
|
Hi Steve, > This suggests that it may be worth exploring > Avery's suggestion, particularly if the transition can be made > (relatively) automatically. Continuing on the working assumption of ant, your two phases could be done safely in parallel: Phase 1: use %TOKEN% replacement for compile-time static final substitution; Phase 2: per previous email, continue to support true preprocessor conditionality; I believe this would permit an orderly zero-risk transition: Phase 2 "//-#if" -> "//[ifdef]" syntactic conversion could be done automatically, and Phase 1 could be done piecemeal presumably on a pain/gain basis. Of course, this whole line of thinking is premature, as it presumes ant--itself a decision implying significant effort to convert over the current build machinery. > your comment applies to method signatures too There are also class inheritance graphs and import statements which are preprocessed conditionally. -a |