Missing flash_proxy import when generating derived service classes via gas3

12 views
Skip to first unread message

Ansury

unread,
Jan 13, 2012, 9:11:09 AM1/13/12
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

Ansury

unread,
Jan 18, 2012, 11:19:53 AM1/18/12
to Granite Data Services Forum
Addition - actually, it's missing other imports as well. I also have
to add an import for ITideResponder in our "Base" service classes to
get it to compile.
So either this is a gas3 bug or we're missing something.

wdrai

unread,
Jan 31, 2012, 6:04:23 AM1/31/12
to gran...@googlegroups.com
Could be a bug, can you post a JIRA.

Ansury

unread,
Feb 2, 2012, 3:52:29 PM2/2/12
to Granite Data Services Forum
Already have one, GDS-969 which I believe refers back to this thread.
Thanks,
Reply all
Reply to author
Forward
0 new messages