Hi Jan,

I think the problem seems to be that the property files workflow.properties
and hibernateCartridge.properties do not exit in your project or are not in
your classpath. Look at the reference project of the Hibernate cartridge
fornax-cartridges-uml2-hibernate-reference, there is a running example.
Futhermore I think at the beginning it is a good idea, if you use the fornax
cartridges, that you do not change the directory structure of the source
directories from the maven standard: src/main/java, src/main/resources, ...

Regards,

Nils



Jandalf wrote:
> 
> Ok, I remember that I have deleted the "src" folder, when I startet the
> project.
> Than I made a new one with subfolders.
> I think I forgot to add the "src"folder to "Source" in the Java Build Path
> (Properties->Java Build Path -> Source).
> After that, I tryed it again:
> rightklick on src/main.resources/workflow.oaw (main.resources instead of
> main/resources since I've added "src" to "Sorce") ->Run as -> OAW Workflow
> 
> 0    INFO  WorkflowRunner     -
> --------------------------------------------------------------------------------------
> 0    INFO  WorkflowRunner     - openArchitectureWare 4.3.1, Build
> 20090107-2000PRD
> 0    INFO  WorkflowRunner     - (c) 2005-2008 openarchitectureware.org and
> contributors
> 0    INFO  WorkflowRunner     -
> --------------------------------------------------------------------------------------
> 0    INFO  WorkflowRunner     - running workflow:
> main/resources/workflow.oaw
> 0    INFO  WorkflowRunner     - 
> 639  ERROR WorkflowRunner     - Couldn't resolve properties file!
> [<property file='./workflow.properties'/>] 
> 639  ERROR WorkflowRunner     - Couldn't resolve properties file!
> [<property file='./hibernateCartridge.properties'/>] 
> 639  ERROR WorkflowRunner     - property feature.model not specified.
> Dereferenced at in main/resources/workflow.oaw:27
> 639  ERROR WorkflowRunner     - property model.file not specified.
> Dereferenced at in main/resources/workflow.oaw:34
> 639  ERROR WorkflowRunner     - property hibernate.modelslot not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:68
> 639  ERROR WorkflowRunner     - property hibernate.properties.file not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:70
> 640  ERROR WorkflowRunner     - property hibernate.modelslot not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:81
> 640  ERROR WorkflowRunner     - property hibernate.modelslot not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:82
> 640  ERROR WorkflowRunner     - property hibernate.properties.file not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:96
> 640  ERROR WorkflowRunner     - property hibernate.modelslot not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:98
> 640  ERROR WorkflowRunner     - property hibernate.modelslot not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:110
> 640  ERROR WorkflowRunner     - property hibernate.properties.file not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:112
> 640  ERROR WorkflowRunner     - property outlet.src.dir not specified.
> Dereferenced at in org/fornax/cartridges/uml2/hibernate/hibernate.oaw:118
> 640  ERROR WorkflowRunner     - property hibernate.properties.file not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:134
> 640  ERROR WorkflowRunner     - property outlet.res.dir not specified.
> Dereferenced at in org/fornax/cartridges/uml2/hibernate/hibernate.oaw:138
> 640  ERROR WorkflowRunner     - property file.encoding.output not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:139
> 640  ERROR WorkflowRunner     - property outlet.res.dir not specified.
> Dereferenced at in org/fornax/cartridges/uml2/hibernate/hibernate.oaw:144
> 640  ERROR WorkflowRunner     - property hibernate.properties.file not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:172
> 640  ERROR WorkflowRunner     - property outlet.src.dir not specified.
> Dereferenced at in org/fornax/cartridges/uml2/hibernate/hibernate.oaw:196
> 640  ERROR WorkflowRunner     - property file.encoding.output not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:197
> 640  ERROR WorkflowRunner     - property outlet.src.once.dir not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:204
> 640  ERROR WorkflowRunner     - property file.encoding.output not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:205
> 640  ERROR WorkflowRunner     - property outlet.src.interfaces.dir not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:212
> 640  ERROR WorkflowRunner     - property file.encoding.output not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:213
> 640  ERROR WorkflowRunner     - property hibernate.modelslot not
> specified. Dereferenced at in
> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:226
> 640  ERROR WorkflowRunner     - property outlet.res.dir not specified.
> Dereferenced at in org/fornax/cartridges/uml2/hibernate/hibernate.oaw:227
> 640  ERROR WorkflowRunner     - property outlet.res.dir not specified.
> Dereferenced at in org/fornax/cartridges/uml2/hibernate/hibernate.oaw:229
> 640  ERROR WorkflowRunner     - Workflow interrupted because of
> configuration errors.
> 
> 
> I don't know what to do with most of this errors. 
> Only
> 639  ERROR WorkflowRunner     - property feature.model not specified.
> Dereferenced at in main/resources/workflow.oaw:27
> 639  ERROR WorkflowRunner     - property model.file not specified.
> Dereferenced at in main/resources/workflow.oaw:34
> can be solved, if I change
> <configFile value="${feature.model}" /> to 
> <configFile value="${myexample.uml}" /> and
> <modelFile value="${model.file}"/> to
> <modelFile value="${modmyexample.uml}"/>
> 
> Are my "solutios" ok? And can Anyone help me with the other errors?
> Many thanks,
> Jan
> 

-- 
View this message in context: 
http://www.nabble.com/%22can%27t-find-the-workflow-file%22--tp25311111s17564p25503393.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to