El jue, 26-01-2006 a las 21:28 +0100, Jörn Nettingsmeier escribió:
> Thorsten Scherler wrote:
> > El jue, 26-01-2006 a las 17:44 +0100, Michael Wechner escribió:
> >> Andreas Hartmann wrote:
> >>
> >>> Thorsten Scherler wrote:
> >>>
> >>> [...]
> >>>
> >>>> Yeah, we *should* try to not even deploy the publications anymore into
> >>>> the build dir, because the only thing needed to be deployed are java
> >>>> classes. The rest could be read directly from the src (copyless).
> >>>
> >>> That sounds very tempting. Actually I think it should be not too hard.
> >>
> >> It should be configurable ;-) because leaving it within subversion dir 
> >> means you
> >> get a lot of content or other stuff, which shouldn't go into SVN, or am 
> >> I mixing something
> >>
> > 
> > It *is already* configurable:
> > cat local.build.properties
> > ...
> > #------------------------------------------------------------------------------------
> > # Root directories where publications are located
> > 
> > pubs.root.dirs=src/webapp/lenya/pubs
> > #pubs.root.dirs=src/webapp/lenya/pubs:../anotherproject/pubs:/home/user/my-pub
> > ...
> > 
> > salu2
> 
> but iiuc these are not copyless yet. at least when i tried it, the pubs 
> in my external dir ended up in build/lenya/webapps/lenya/pubs.

Jeje, yeah that is why I wrote "we *should* try to not even deploy the
publications anymore". ;-)

> 
> the changes proposed so far sound nice to me. could you please add a 
> short comment to build.properties that explains how it's done (i.e. 
> copied or used copyless, etc.)

Yeah, as soon as we have done this step. Right now pubs are *not*
copyless! They have to be deployed to the build dir. 

> 
> fwiw, i think the only pubs that should be in src/ at all are the 
> default and blog examples, but even those might be better placed in the 
> root of the the lenya sandbox.

Hmm, IMO they have to come with the trunk since they are the best start
for pub development with lenya. The module system let us extract heaps
part of functionality but still we need to show how one can use them.
This is what the "default" pub is for. There have been some talks to
extract the blog pub to modules, when this is done I am in favor to drop
this pub and only maintain default.

Lenya is a CMS *framework* the default pub is the example CMS for the
framework.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to