cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: Javac task design problems
Date Mon, 24 Feb 2003 15:20:04 GMT


Carsten Ziegeler wrote, On 24/02/2003 13.17:
> There are currently three properties used in Constants.java: the name,
> the copyright year and the version. Ok, the first one could be simply
> hard-coded because it is fixed. (And I think we can remove this name
> property completly from the build system).
> 
> Now, if this is the only place in the java code where filters are
> used, I personally have no problems with
> hardcoding the version and the copyright in Constants.java, so that
> the filters are not required. This would (unfortunately) lead to
> the fact that we define these two pieces of information in two
> places and both have to be updated accordingly. But fortunately
> I'm currently doing the releases and I'm updating the information
> in the build files, so I can also update them in Constants.java
> as well. No problem.
> 
> What do you think?

+1

Also, we should not use filtering for copyright years, they must be set 
by hand, since CVS *does* deliver them, and without filtering.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message