Ok, granite-generator, the dependency of flexmojos-maven-plugin that contains all the standard templates, includes a tideEntityBase.gsp. I'll try declaring the use of that first then try modifying it second.
Cheers On Dec 9, 6:53 am, Darren <[email protected]> wrote: > Yes, is it simply the case that flexmojos:generate and GraniteDS/Gas3 > does not support LCDS data management? > > I suspect I have a missing SWC dependency i.e. fds.swc. I thought I > had correctly declared that but I'll have to check; it's the only > place I can imagine that would declare/define/recognise the [Managed] > metadata. > > So I've done some reading on > GraniteDS:http://www.graniteds.org/confluence/pages/viewpage.action?pageId=5668941 > > Does flexmojos:generate support the tide=true setting? > I guess workarounds are: > Don't use flexmojos:generate and perhaps use GraniteDS' Eclipse > builder to manually generate the AS3 classes > Write a custom base-template that uses [Managed] instead of [Bindable] > Hand-code the AS3 objects > > I guess for now I'll just define a custom template. > > Cheers, Darren > > On Dec 8, 4:44 pm, velo <[email protected]> wrote: > > > > > That is a granite issue, not flexmojos. > > > Please refer to granite doc for > > instructionshttp://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 > > > VELO > > > On Dec 8, 1:17 pm, Darren <[email protected]> wrote: > > > > Hi All, > > > > I've been trying to use the generate mojo to produce AS entity > > > classes, but I (and the compiler) have noticed that the Xxx.as and/or > > > XxxBase.as classes don't declare the [Managed] metadata. > > > > When I try to create an item on my data-service I get: > > > > ArgumentError: Items must support IManaged. See [Managed] for more > > > information: object: org.workingwithmrb.model::Employee > > > > Also most examples I've seen don't declare any graniteds SWC > > > dependencies, but I have had to as the generated code imports/uses a > > > 'meta' namespace that isn't defined anywhere. Including > > > org.graniteds:granite-essentials-swc:2.0.0.SP1:swc seems so solve that > > > problem, but I have no idea if this is the right SWC to reference? And > > > the [Managed] issue described above remains. > > > > Velo, anyone... any pointers? > > > > Cheers, Darren -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/
