Ansury
unread,Jan 13, 2012, 9:11:09 AM1/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Granite Data Services Forum
Our Java service classes extend a common base class. When generating
as3 service classes, the base class looks fine (has "use namespace
flash_proxy; AND import flash.utils.flash_proxy;) -- but the
generated derived service classes (extending the base class) are
always missing that "import flash.utils.flash_proxy;" line, even
though they have "use namespace flash_proxy;" (which doesn't
compile). The derived classes do extend the correct base class
(rather than Component).
Removing the "extend BaseFoobarService" from the Java services (simply
not having the service extend a base service) causes the import
statement to be added as needed, and compiles fine. We're using the
latest version (2.3) with the tide templates.
(Also I've noticed that it seems like the Eclipse GUI version of the
builder doesn't appear to be using the Tide templates when you click
the use Tide button. It SAYS it's using them in the gui, but there's
no [Managed] tag in the generated classes. I was able to get the
[Managed] tags to generate in our as3 entity classes by providing full
path file:/// URIs to the gsp templates on my hard drive. Not sure if
that's a related issue or not.)
So it seems either the use namespace is being added mistakenly, or the
flash_proxy import is missing. Would this be a bug or could I be
doing something wrong? We're using the Eclipse version of builder at
the moment (not the Ant task).
Thanks