|
From: Gurpreet S. <gur...@gm...> - 2007-12-16 13:20:42
|
Jess,
I am still not able to generate code, getting following error trace
9250 INFO initializing model elements (calling initializeModelElements)
9297 INFO ModelChecker
9297 INFO checking model elements (calling checkConstraints)
9297 INFO Generator(generator): generating 'Root::Root FOREACH
me.getElements('Model')' => directory 'null'
9500 ERROR Error in Component generator of type
org.openarchitectureware.xpand2.Generator:
EvaluationException : No Definition 'Root::Root for
org::openarchitectureware::core::meta::core::Model' found!
[23,49] on line 1 'EXPAND Root::Root FOREACH me.getElements('Model')'
9500 ERROR Workflow interrupted. Reason: null
Gurpreet
On Dec 15, 2007 5:25 PM, Jess Singh < sin...@gm...> wrote:
> Rosie,
>
> The documentation is excellent and it should replace our getting started
> page as this one is lot more comprehensive. I think we need to add a couple
> of steps though - one is to create the database by the project name e.g if
> the project is called "crm" we need to create a database "crmdb" in mysql.
>
> Other step (probably you aren't aware ) is to run InitialDataSetup class
> in src>test>java>initialsetup package. It will create 5 instances of each
> entity in the newly created database.
>
> Also, the trunk thing applies to all projects - its a subversion
> convention so that means other projects such as oawclassic, mdasupport
> ,mvnarchetype etc should be checked out at the trunk level as well.
>
> To be honest, I have been using maven for over a year now and didnt know
> about the -o option.
>
> About the console dump you sent me - I am not sure - does the project not
> start properly when you do mvn jetty:run and also how did the code
> generation go ?
>
> Once again thanks for the documentation,
> Jess
>
> On Dec 14, 2007 11:51 AM, Rosemary Wood <woo...@ho...> wrote:
>
> > Hi Jess,
> > I have started documenting the basic steps as I go along as it
> > might help someone else. See attached "Witchcraft steps".
> > When I updated the source folders it mentioned I had the wrong jre, (my
> > default is 1.6) so I added the 1.5 library and tried again. I got
> > the attached output. (updateSource.rtf)
> > Rosie
> >
> >
> >
> >
> >
> >
> > ------------------------------
> > Date: Fri, 14 Dec 2007 10:40:16 -0500
> > From: sin...@gm...
> > To: woo...@ho...
> > Subject: Re: [Witchcraft-developers] Error Fixed: Code generation not
> > possible
> >
> > Hi Rosie,
> >
> > I am answering both your mails in one -
> >
> > No worries there are no stupid questions - In fact someone in the team
> > needs to step up and do better documentation
> > oawgenerator.classicgeneratorwc.project is the core Witchcraft engine
> > that is responsible for generating code from UML model. MDASupport module
> > encapsulates the common stuff between all generated projects.
> >
> > As far as the code generation error goes - it is because oaw can't find
> > the mdzip file and should be easy to resolve.
> >
> > I'd urge you to delete your existing jshoppingcart and get the latest
> > again - make sure this time you get it at the trunk level and not at
> > jshoppingcart level - see the attached image. That you won' t have trunk at
> > all in your source path and then when you do maven2 > update source folders
> > , your classpath should be resolved correctly.
> >
> > Let me know if it helps and i totally agree that you should be able to
> > generate code before you go ahead and make the changes i requested you to.
> >
> >
> >
> >
> >
> > On Dec 14, 2007 9:54 AM, Rosemary Wood < woo...@ho...>
> > wrote:
> >
> > Hi Jess,
> > I'm still not able to run the workflow file for the shopping
> > cart, now I'm getting this error:
> >
> >
> > 0 INFO
> > --------------------------------------------------------------------------------------
> >
> > 10 INFO openArchitectureWare 4.2.0, Build 200709162219NGT
> >
> > 10 INFO (c) 2005-2007 openarchitectureware.org and contributors
> >
> > 10 INFO
> > --------------------------------------------------------------------------------------
> >
> > 10 INFO running workflow: generatorClassic.oaw
> >
> > 10 INFO
> >
> > 1332 WARN ERROR in Component generator of type
> > org.openarchitectureware.xpand2.Generator
> >
> > 'genPath' and 'srcPath' properties are ignored since you have specified
> > outlets! in workflow: Generator(generator): generating 'Root::Root FOREACH
> > me.getElements('Model')' => directory 'null'
> >
> > 1332 WARN ERROR in Component pageFlowGenerator of type
> > org.openarchitectureware.xpand2.Generator
> >
> > 'genPath' and 'srcPath' properties are ignored since you have specified
> > outlets! in workflow: Generator(pageFlowGenerator): generating
> > 'PageFlow::file FOREACH me.getElements('StateMachine')' => directory
> > 'null'
> >
> > 1332 ERROR ERROR in Component of type
> > org.openarchitectureware.core.frontends.xmi.workflow.XMIInstantiator
> >
> > model file not found: C:/Documents and
> > Settings/RosieWood/workspace/jshoppingcart/trunk/src/model/jshoppingcart.mdzip
> > in workflow: XMIInstantiator
> > 1332 ERROR Workflow interrupted because of configuration errors.
> >
> > I would like to get the shopping cart running before working on the UI
> > as I need to see an example.
> > I have attached my view of the shopping cart project in Eclipse as it
> > looks strange. Is this how the subfolders in trunk should look or have I
> > done something wrong?
> > Regards Rosie
> >
> >
> >
> >
> >
> >
> > ------------------------------
> > Date: Wed, 12 Dec 2007 12:20:32 -0500
> > From: sin...@gm...
> > To: woo...@ho...;
> > wit...@li...
> > Subject: Re: [Witchcraft-developers] Error Fixed: Code generation not
> > possible
> >
> >
> > Rosie,
> >
> > This error is because of g
> >
> >
> > On Dec 12, 2007 12:17 PM, Jess Singh <sin...@gm...> wrote:
> >
> > Rosie,
> >
> > This error is because of generatorClassic.oaw not being on classpath -
> > Also i see another issue
> > oawclassic.generator.project /src/generatorClassic.oaw - is not the
> > right path , what you need to do is
> >
> > Right click on project Team > Update - This will get the latest from
> > SVN repository.
> > Next Right Click on project and Maven 2 > Update source folders. Your
> > generatorClassic.oaw would be in src > main resources.
> >
> > If this doesn't help let me know.
> >
> >
> >
> > On Dec 11, 2007 1:55 PM, Rosemary Wood <woo...@ho... >
> > wrote:
> >
> > Hi All,
> > When I run the workflow.properties file I am getting this error:
> >
> >
> > 0 ERROR WorkflowRunner - can't find the workflow file 'C:/Documents and
> > Settings/Rosie
> > Wood/workspace/oawclassic.generator.project/src/generatorClassic.oaw' in the
> > current class path
> >
> > The file "generatorClassic.oaw" is in the correct location. Have I
> > failed to add a classpath or is it something else?
> > Any help appreciated!
> >
> > Regards Rosie
> >
> >
> >
> >
> >
> > ------------------------------
> > Date: Tue, 11 Dec 2007 12:46:13 -0500
> > From: sin...@gm...
> > To: wit...@li... ;
> > gur...@gm...
> > Subject: [Witchcraft-developers] Error Fixed: Code generation not
> > possible
> >
> > Gurpreet and rest of the team,
> >
> > I have fixed the issue with Test.xpt and now you should be able to
> > generate code all right. Please get the latest of poc project.
> >
> >
> > ------------------------------
> > Messenger on the move. Text MSN to 63463 now!<http://mobile.uk.msn.com/pc/messenger.aspx+>
> >
> >
> >
> >
> > ------------------------------
> > Everything in one place. All new Windows Live!<http://www.windowslive.co.uk/get-live>
> >
> >
> >
> > ------------------------------
> > Messenger on the move. Text MSN to 63463 now!<http://mobile.uk.msn.com/pc/messenger.aspx+>
> >
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Witchcraft-developers mailing list
> Wit...@li...
> https://lists.sourceforge.net/lists/listinfo/witchcraft-developers
>
>
|