|
From: Colin S. <col...@ex...> - 2003-11-12 14:45:36
|
That makes a certain amount of sense now. It's not necessarily the case here, but sometimes you see projects go through pretty big convolutions in merging their CVS dirs and build output, just so they can produce a distributable by doing a (filtered) zip of everything. In a lot of those cases, it's actually easier/cleaner to use some intermediate dirs under 'target' (or whatever the output dir is called). Think about docs for example. If you use plain HTML files then a static 'docs' dir under the root makes at least some sense. Once you start doing transformations to produce the final documentation, this starts to break down, and it makes more sense to put various different kinds of source docs under something like 'src/docs/xxxx' , then the build steps produce and combine the output somewhere else. Anyways, this is not a religious thing for me :-), so I'll leave dist and docs/api where they are for now, and move everything else under target... Rod Johnson wrote: >Good point. dist and docs/api are pretty common practice. > >----- Original Message ----- >From: "jürgen höller [werk3AT]" <jue...@we...> >To: <spr...@li...> >Sent: Wednesday, November 12, 2003 9:20 AM >Subject: Re: [Springframework-developer] Moving all build output under >'target' > > >I don't mind the ".classes"/".testclasses"/etc directories being moved, but >I'm not so sure about the "dist" and "docs/api" directories. They are the >ones that get included in the release zips, at exactly that location: The >release zip directory structure matches our CVS module structure 1:1 >currently (omitting a lot of directories of course), and I believe that's a >good thing. > >Thus, I'd like to keep the docs/api and dist directories where they are. The >Petclinic and Countries sample apps use similar directories in their build >scripts, so this is consistent within the whole project. And switching from >a release zip to a CVS snapshot is straightforward, as the directory >structures match. > >Juergen > > >Von: spr...@li... im Auftrag von >Rod Johnson >Gesendet: Mi 12.11.2003 09:14 >An: spr...@li... >Betreff: Re: [Springframework-developer] Moving all build output under >'target' > > > > > > >>Does anybody object to me changing the build to put all directories (and >>thus all artifacts) produced by the build to be under a top-level dir >>called 'target'? I don't find the present setup, with 'x' number of >>directories produced under the project root, to be too clean or very >>standard. >> >> > >Good idea. > > > |