Projet

General

Profil

installation Error on Model Designer 0.1.4 [Closed]

Ajouté par Christian Masannek il y a environ 12 ans

Hello Matthieu.
Disregard my post in the closed thread. Sorry for that.

I have a frustrating error after installing the Model Designer.
I followed your steps:
patched both alfresco.war and share.war
dropped share/ and alfresco/
started tomcat
stopped tomcat
create folder c:\Alfresco\designer
edited both designer.properties pointing to the created dir:
\becpg-designer-core\designer.properties :
#Designer
beCPG.designer.configPath = C:\\Alfresco\\designer
#beCPG.designer.configPath = /etc/designer
share\~\alfresco\designer.properties:
#Designer
beCPG.designer.configFiles = file:C:\\Alfresco\\designer\\*.xml
#beCPG.designer.configFiles = file:/etc/designer/*.xml
This configuration doesn't work. Alfresco startup fails with an error:
ERROR [web.context.ContextLoader] [main] Context initialization failed
java.lang.StringIndexOutOfBoundsException: String index out of range: -6
at ~~~
If I comment beCPG.designer.configFiles = file:C:\\Alfresco\\designer\\*.xml out and #beCPG.designer.configFiles = file:/etc/designer/*.xml in alfresco starts, but I can only publish,maintain or create one model. Is this wanted? Maybe I assume something wrong.
Do I point correctly to the designer\ dir?
Additional information:
This is on Windows 7. On our CentOS5.7 Linux installation both path are set correctly and everything works.
What am I missing.
With kind regards
PS: I added a screenshot of the error message!
Christian


Réponses (3)

RE: installation Error on Model Designer 0.1.4 - Ajouté par Philippe Quéré il y a environ 12 ans

Hello,

Have you tried with the character "/" instead of "\\" ?
ie :

beCPG.designer.configFiles = file:C:/Alfresco/designer/*.xml

Note : with the version becpg-contribs-20120327-1212-distribution.tar.gz, you don't have edit the file "designer.properties" in the AMP "becpg-designer-core" and "becpg-designer-share".

Best regards,
Philippe

RE: installation Error on Model Designer 0.1.4 - Ajouté par Christian Masannek il y a environ 12 ans

Hello Philippe.
I'm using becpg-contribs-20120208-1216-distribution.
So in your mentioned package there is not need to edit the designer properties? How come, what did change??

However I tried your suggestion and it works. But why the 2 different Separators? Do you know if that has a special reason?

With kind regards
Christian

RE: installation Error on Model Designer 0.1.4 - Ajouté par Philippe Quéré il y a environ 12 ans

Hello Christian,

For the file designer.properties, we did some improvments (see the change log).

For the path separator, the designer expects the character "/" on windows and linux systems.

Best regards,
Philippe

    (1-3/3)