On Mon, Jan 07, 2002 at 10:19:26PM +0100, Oskar Sandberg wrote:
> I agree that the script/ directory ought to be moved out - that is what
> I said.

So are you proposing a separate module for scripts and non-source code?
That would be a terrible idea, the scripts (makefile, deb and rpm build
scripts, etc) are closely tied to the .java source files, thus they
should definitely be in the same module to ensure consistency.  Yet you
agree that they should not be kept in the same directory or under the
same directory as the source files.  Given these constraints, the
easiest way to achieve both is to have the source within a subdirectory
within the module, with the scripts in a different subdirectory or in
the root of the module.

> > We won't destroy it anyway, it will still be in the old "Freenet"
> > module.
> 
> You think leaving the Freenet code in two modules will be less
> confusing?

I am assuming that, while it is nice to be able to trawl through the
ghosts of Freenet-past, it is not something people will do often enough
for us to worry too much about how convenient it is.

> > And what is the advantage of that over simply having the directory in
> > CVS in the format in which it is distributed? Every other project I am
> > familiar with does it that way, and it works beautifully for them.  This
> > would save us the confusion and inconvenience of having CVS-based
> > developers working with a different directory structure than developers
> > who might just be developing patches on the distributed code base.
> 
> It's not a different directory structure, the only difference is that
> the java source module starts from the src/ directory of your wrapper
> module so people who don't want your wrapper can ignore it.

And even for those who insist on keeping the "Freenet" source files in a
unified Java tree (clearly a minority), what is the huge inconvenience
of typing?:
  ln -s ~/freenet/src/Freenet ~/java/Freenet

Ian.

-- 
Ian Clarke                                        ian at freenetproject.org
Founder & Coordinator, The Freenet Project    http://freenetproject.org/
Chief Technology Officer, Uprizer Inc.           http://www.uprizer.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020107/ea7ec658/attachment.pgp>

Reply via email to