List Info

Thread: Re: should we store the pub id in the config file?




Re: should we store the pub id in the config file?
country flaguser name
Switzerland
2007-02-27 07:05:24
Michael Wechner schrieb:
> Jörn Nettingsmeier wrote:
> 
>> hi !
>>
>> iiuc, the publication id (which is the most
important property of any
>> publication) is not stored explicitly anywhere. it
seems to be defined
>> as the directory name under pubs.root.dir in which
the publication
>> data is stored.
>>
>> i wonder: should we store it in publication.xconf?
on the one hand,
>> that means duplication of data (dirname and config
setting), otoh, it
>> seems wrong to have such a fundamental property
only as an implicit
>> value dependent on filesystem layout. wdyt?
> 
> 
> I also think it should be independent of the filesystem
name

With the current build process, this would mean that we need
two
distinguished names, the directory name and the actual
publication ID.

It would be great if we could use the "copyless"
mechanism for
publications. Then the directory name would be entirely up
to
the user, and the actual publication ID would be the only
identifier
which matters to Lenya.

So, if we want to approach this, I agree to storing the
publication ID
in publication.xconf.

-- Andreas


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )