Hi guys,

Sorry to bother again... :-)

When I try to build a CMS that uses MS SQLserver as a workflow database, using 
the instructions in
        
http://www.hippocms.org/display/CMS/Configuring+workflow+databases+for+Microsoft+SQLServer

I get the following build error:

    [echo] Build dir: C:\Projects\Susa-build-cms\editor/target
    [echo] Using configuration: example_sqlserver_project
    [echo] Using configuration source directory: C:\Projects\Susa-build-cms\edit
or/editor/src/configurations/localdev
    [echo] --

BUILD FAILED
File...... C:\Projects\Susa-build-cms\editor\maven.xml
Element... ant:copy
Line...... 119
Column.... 84
C:\Projects\Susa-build-cms\editor\editor\src\configurations\localdev not found.
Total time: 55 seconds
Finished at: Mon Jul 14 14:05:35 CEST 2008

It seems odd it is looking for localdev while it is configured to use 
example_sqlserver_project.
It is also odd it is looking for .../editor/editor/... which indeed doesn't 
exist.

Some research led me to editor/project.properties where it sais:

maven.cocoon.servermanager.configuration=localdev
maven.cocoon.servermanager.configuration.dir=${basedir}/editor/src/configurations/localdev

Apparently basedir=.../editor, which explains the superfluous "editor" in the 
path.
Also localdev is apparently hardcoded, so it never looks in 
example_sqlserver_project

So I added the following line to my build.properties:
        
maven.cocoon.servermanager.configuration.dir=${basedir}/src/configurations/example_sqlserver_project
which seems to do the trick (didn't run the editor yet, so I am not sure)

I do wonder about the localdev/projects/localdev/... This projects subdir is in all configurations (taxdev, the templates). Seems to suggest that I could also put the projects/example_sqlserver_project subtree under ../localdev/projects, except that the configuration.dir is then still wrongly set.
When using the default (localdev) the dir is determined  differently, so that 
the only config that works...

Anyway, I'd say the instructions need an update...


Reinier



--

Reinier van den Born

HintTech B.V.
Rotterdamseweg 183c, 2629 HD Delft
T: +31(0)15 268 2573
F: +31(0)15 268 2567
M: +31(0)6 494 171 36
--
HintTech levert specialisten op het gebied van softwareontwikkeling (.NET en 
Java),
projectmanagement, informatiebeveiliging en business consulting.
KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01
begin:vcard
fn:Reinier van den Born
n:van den Born;Reinier
org:HintTech B.V.
adr:;;Rotterdamseweg 183c;Delft;;2629HD;Netherlands
email;internet:[EMAIL PROTECTED]
tel;work:+31-15-268 2573
tel;fax:+31-15-268 2567
tel;cell:+31-6 494 171 36
note;quoted-printable:KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01=0D=0A=
	=0D=0A=
	HintTech levert specialisten op het gebied van softwareontwikkeling (.NET=
	en Java), projectmanagement, informatiebeveiliging en business consulting=
	.=0D=0A=
	=0D=0A=
	
url:www.hinttech.com
version:2.1
end:vcard

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to