forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: dependency on project symbols file (Was: svn commit: r632740)
Date Tue, 04 Mar 2008 13:34:18 GMT
On Wed, 2008-03-05 at 00:08 +1100, David Crossley wrote:
> Thorsten Scherler wrote:
> > David Crossley wrote:
> > > David Crossley wrote:
> > > > David Crossley wrote:
> > > > > 
> > > > > No. What the above means is that i configured the core
> > > > > to have a project symbols file. If they over-ride that in
> > > > > their project's xml catalog they can supply their own file.
> > > > 
> > > > Aha, i found it. When this ability for "project and core symbols"
> > > > was added in forrest-0.8 version, i declared the project symbols
> > > > in the xml catalog.xcat file of our seed projects. However i only
> > > > supplied the actual file of symbols in the "fresh-site" not in
> > > > the main/template-sites/basic/
> > > > 
> > > > So if people based their sites on 'forrest seed' then all would
> > > > be okay. However, if based on 'forrest seed-basic' then not.
> > > 
> > > All is okay now. I found a workaround and described its implementation
> > > in FOR-1071.
> > 
> > Hmm, meaning we have a dependency on this file which all sites that
> > updates to a future 0.9 release need to add to the custom project.
> 
> No. No-one is required to add any file. Please read the documentation.
> I have worked very hard to ensure that.

Well, so why I needed to add the file to my custom project, otherwise I
will get: 
Failed to create InputSource
(java.io.FileNotFoundException: /home/thorsten/src/sadesi/boja2/trunk/exporter/src/documentation/resources/schema/symbols-project-v10.ent
(No such file or directory)): file:/home/thorsten/src/sadesi/boja2/trunk/exporter/src/documentation/resources/schema/symbols-project-v10.ent

Did you try on a project where you removed the symbols-project-v10.ent
file?

Try something like:
mkdir 1071
cd 1071/
forrest seed-basic
rm symbols-project-v10.ent
forrest run
lynx http://localhost:8888/index.html

salu2

> 
> If a project wants to take advantage of this feature to over-ride
> some core settings, then yes of course they do need to add a file
> if they don't already have it.



> 
> -David
> 
> > I am not too excited about this but have no time to follow up on it and
> > the work is too valuable to loose it. I will add a note to the update
> > document.
> > 
> > salu2
> > -- 
> > Thorsten Scherler                                 thorsten.at.apache.org
> > Open Source Java                      consulting, training and solutions
> > 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message