Issue 6 in gwt-rpc-plus: CodeGen will only generate JSNI objects if referenced by a service

3 views
Skip to first unread message

gwt-rp...@googlecode.com

unread,
May 10, 2010, 10:11:01 PM5/10/10
to dotspots-o...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 6 by philippe.laflamme: CodeGen will only generate JSNI objects
if referenced by a service
http://code.google.com/p/gwt-rpc-plus/issues/detail?id=6

What steps will reproduce the problem?
1. Create a thrift with a single struct definition
2. Invoke CodeGen with -client

What is the expected output? What do you see instead?

Expected the struct JSNI object to be generated, but nothing happens.

What version of the product are you using? On what operating system?

2010-04-13 release.

Please provide any additional information below.

Not sure this is a real issue since it may not make sense to have JSNI
objects without any RPC stubs. But it's confusing that nothing is produced
after issuing a proper CodeGen call. The only output we get is:

gwt-rpc-plus Thrift Compiler: http://code.google.com/p/gwt-rpc-plus/

Parsing src/idl/Testing.thrift


gwt-rp...@googlecode.com

unread,
May 10, 2010, 10:37:27 PM5/10/10
to dotspots-o...@googlegroups.com
Updates:
Status: Accepted

Comment #1 on issue 6 by mmastrac: CodeGen will only generate JSNI objects
Thanks for the report, Phillipe. This is currently a known issue. The
workaround is to create a fake service for
now, but we should ideally generate all types in a file (we currently do
this in a few places).

I'll try to schedule some time to fix this.


Reply all
Reply to author
Forward
0 new messages