AnsweredAssumed Answered

Cant find bootstrap for exampleModel.xml using TestModel

Question asked by brianmp on Feb 14, 2008
Latest reply on Sep 16, 2009 by norgan
Hi

I am having some trouble getting exampleModel.xml verified by the TestModel program. The files work fine in Alfresco, but i plan to use the TestModel program to verify my custom made models, so i would like to know what i am doing wrong.

I have not changed the example files, except renaming 'example-model-context.xml.sample' to 'example-model-context.xml'.

I hope someone can help, this is driving me nuts…

Regards
Brian


Command:
java -cp .;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\*;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\*;" org.alfresco.repo.dictionary.TestModel C:\Alfresco\tomcat\shared\classes\alfresco\extension\exampleModel.xml


Output:
Testing dictionary model definitions…
alfresco/model/dictionaryModel.xml
alfresco/model/systemModel.xml
org/alfresco/repo/security/authentication/userModel.xml
alfresco/model/contentModel.xml
alfresco/model/wcmModel.xml
alfresco/model/applicationModel.xml
alfresco/model/bpmModel.xml
C:\Alfresco\tomcat\shared\classes\alfresco\extension\exampleModel.xml
Found an invalid model…
Could not find bootstrap model C:\Alfresco\tomcat\shared\classes\alfresco\extension\exampleModel.xml

Outcomes