A wise old hermit known only as Dmitri Colebatch <[EMAIL PROTECTED]> once said:
> On Wed, 5 Dec 2001, Ara Abrahamian wrote: > > > 2- You guys forget that we also distribute samples to end users. Then > > the released version's script should look at ..\lib while cvs > > version's > > folder structure is different and should look at ..\..\dist\lib for > > jars. So current solution works for both and it doesn't harm anyone. > > Does it? Whenever you build it just copies to samples too. > > I'm more than happy with it as is, I just want to close the thing, its > been hanging around for a bit now, we need to make a call and stick with > it. > > Andrew, if you're agreeable with leaving it as is, I think we close it. I'm not bothered overmuch; it mainly irritated me in the first place that there were various jars which had been deleted from the /lib directory still hanging around in /core/samples/lib indefinitely because the clean/total-clean targets of the build script that put them there didn't delete them again. Plus, I keep taking copies of the xdoclet source in to work on floppies (no CVS through the corporate firewall), and the extra files make it that much slower to zip up :-) Ara said > > > The only reason to copy ANY jars from one place in the > > > source tree to another is if we want to distribute the > > > samples alone. Maybe not alone, but we'll probably want to include the samples (and their required jars) in with the distributed xdoclet binaries (i.e. xdoclet.jar) zip (unless we built a seperate samples zip). Whether the dist target needs to compile them, though, or just copy them and their required jars into wherever it's building the zip is another question. On the other hand, building the samples is about the only way we have currently for testing xdoclet when we make changes... Konstantin said > > > Not sure this is a good idea. Shall cleaning of > > > "xdoclet" affect compiling of examples? > > > > > > I think not. I disagree - the compiling of the examples is already affected by the main build script. If you do a fresh checkout of the source, going to the samples directory and compiling will fail unless you first use the other scripts to copy the jars in there (and build xdoclet itself!) So what's wrong with the total-clean target removing them again? Let it tidy up after itself - after all, isn't that what 'clean' targets are for? Andrew. _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
