Write own emulation / serializables

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Write own emulation / serializables

Postby mupf3l » Sat Jan 19, 2008 4:41 am

Hi,

I am adding java.sql.Date and java.sql.Timestamp support to my gwt module. I have to add my own emulation files. Therefore I need a module inside my source where the packages below do not match the underlying filesystem/ project package hierarchy.

Does anyone know which ist the beat approach to do that with gwt designer? Simply adding it to the source works, and if I ignore the errors from the java compiler it even works when I start the app.

brgds,

Papick
mupf3l
 
Posts: 22
Joined: Mon Aug 15, 2005 6:52 am
Location: Karlsruhe

Re: Write own emulation / serializables

Postby Eric Clayberg » Sat Jan 19, 2008 12:49 pm

Have you tried using the GWT <super-source> tag?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Write own emulation / serializables

Postby mupf3l » Sun Jan 20, 2008 1:28 am

Yes, I used. It works fine, it's just the eclipse project is not understanding the gwt package names.
mupf3l
 
Posts: 22
Joined: Mon Aug 15, 2005 6:52 am
Location: Karlsruhe

Re: Write own emulation / serializables

Postby Eric Clayberg » Sun Jan 20, 2008 12:06 pm

mupf3l wrote:Yes, I used. It works fine, it's just the eclipse project is not understanding the gwt package names.

That doesn't sound like something we can help you with.

That would be a good issue to raise in Google's GWT forum or in one of the Eclipse newsgroups.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Write own emulation / serializables

Postby mupf3l » Tue Jan 22, 2008 12:23 am

Although it looks awkward, I moved the emulation classes to a ressources folder not included in the eclipse classpath and I am simply packaging it along with the rest.

Thanks,

Papick
mupf3l
 
Posts: 22
Joined: Mon Aug 15, 2005 6:52 am
Location: Karlsruhe

Re: Write own emulation / serializables

Postby Eric Clayberg » Tue Jan 22, 2008 10:51 am

Sounds good.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests