Ok the problem is that we removed Xdoclet from the hibernate cartridge this
weekend, and no Util classes are generated however a ServiceLocator is
generated now that has access to all services.  We didn't update the
andromdapp:plugin to reflect this (just did right now).  So the next build
will have the correct settings in the generated application.  For now you
can change the serviceAccessorPattern pattern for the bpm4struts cartridge
dependency in your mda/project.xml of your project to this:
 
<serviceAccessorPattern>${pom.package}.ServiceLocator.instance().get{1}()</s
erviceAccessorPattern>

Also add the following customTypesProperty to the hibernate cartridge
dependency in your mda/project.xml:

<customTypesPackage>${pom.package}</customTypesPackage>

Then re-run AndroMDA and that should fix it...let me know if it doesn't

Chad

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 25, 2005 8:30 AM
To: Chad Brandon
Cc: Andromda-user@lists.sourceforge.net
Subject: RE: [Andromda-user] RC1-SNAPSHOT : ObjectServiceUtil.java not
generated

I'm using RC1-SNAPSHOT with hibernate and bpm4struts cartridges

Selon Chad Brandon <[EMAIL PROTECTED]>:

> What version are you using?  And which cartridge?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, January 25, 2005 8:23 AM
> To: Andromda-user@lists.sourceforge.net
> Subject: [Andromda-user] RC1-SNAPSHOT : ObjectServiceUtil.java not
generated
>
>
>
> Hi,
>
> I have a <<Service>> ObjectService object that depends on a Entity one.
> A FrontEndController that depends on the Service Object ObjectService.
>
> When I try do generate code from the schema, andromda doesn't generate the
> ObjectServiceUtil.java class, but this class is claimed by the
> FrontEndController object.
>
> Any clue?
>
> Thanks in advance
>
>
/home/misterfx/MDA/dev/z00l/web/target/src/org/truc/people/web/companyview/V
> iewCompanyController.java:114:
> cannot resolve symbol
> symbol  : class CompanyServiceUtil
> location: package people
>         return org.truc.people.CompanyServiceUtil.getHome().create();
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Andromda-user mailing list
> Andromda-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/andromda-user
>
>
>






-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to