Re: Generated source files? (Re: Small problem with Netbeans on fop-users@)

2007-03-10 Thread Peter B. West
Andreas L Delmelle wrote:
 On Mar 10, 2007, at 15:34, Vincent Hennebert wrote:
 
 Thomas Zastrow a écrit :
 snip /
 But I haven't a directory called gensrc? I downloaded the SVN-version
 just minutes ago.

 This directory contains source files automatically generated during the
 build process. To create it you have to run
 ant codegen
 in the root directory of FOP.
 
 FWIW, the XML sources of these generated files hardly ever change, so I
 think we may even consider replacing these with pregenerated java
 classes...?
 
 It always seems to confuse people who are interested in contributing code.
 Then, once you start wondering why these need to be generated and cannot
 simply be added as java sources, you'll quickly realize there is no good
 reason for that. Replacing maintenance of 15 classes with maintaining 2
 stylesheets and 15 XML source files hardly seems worth the trouble... :/
 
 
 Cheers,
 
 Andreas

Novel idea.

http://marc.theaimsgroup.com/?l=fop-devm=105728457029132w=2


Re: Generated source files? (Re: Small problem with Netbeans on fop-users@)

2007-03-10 Thread Andreas L Delmelle

On Mar 10, 2007, at 21:14, Peter B. West wrote:


snip /
Novel idea.


Yeah, I did seem to remember this coming up earlier...


http://marc.theaimsgroup.com/?l=fop-devm=105728457029132w=2




Cheers,

Andreas


Re: Generated source files? (Re: Small problem with Netbeans on fop-users@)

2007-03-10 Thread Andreas L Delmelle

On Mar 10, 2007, at 21:16, Andreas L Delmelle wrote:


On Mar 10, 2007, at 21:14, Peter B. West wrote:


snip /
Novel idea.


Yeah, I did seem to remember this coming up earlier...


http://marc.theaimsgroup.com/?l=fop-devm=105728457029132w=2



Re-reading this thread, I even realize now that it may just have been  
that discussion that drove me to disliking the idea of generated  
source files in the first place. Yes, it was in fact /your/ idea,  
Peter. :)


Later on, I encountered other scenarios where generated source files  
were being used, and the only thing in particular that comes to mind  
about them, is that they were driving the devs who had to work with  
them crazy like hell... Changing a column in the master database with  
a nightly script would leave them with altered method signatures for  
some of the referenced classes the next morning they came in.


Cheers,

Andreas