Coder Social home page Coder Social logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Subject should have said: "samples in trunk do NOT build with GWT-Export build 
from 
trunk"

K.

Original comment by [email protected] on 12 May 2010 at 12:47

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
I'm having the same problem, anyone have a solution?

Original comment by [email protected] on 21 Aug 2010 at 4:27

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
I tried to compile this with the 2.10 M2 version, and I get the same compiler 
errors.

Original comment by [email protected] on 22 Aug 2010 at 8:05

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
If I comment out the following lines in Employee.java it'll compile:

@Export
  public Person[] getPeople() {
   return people;
  }

Original comment by [email protected] on 30 Aug 2010 at 6:45

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
After further investigation, it seems that the exporter is failing on arrays of 
non-primitive types (double[] works, but Person[] doesn't as a return value.)

Original comment by [email protected] on 31 Aug 2010 at 1:34

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Hi Michael,

Glad to see you're making some progress on this, I never managed to get 
anywhere unfortunately.

Would be great if this "issue" could get fixed somehow, because this exporter 
is sort of vital to the project I have in mind. (for now the project is on hold 
anyway).

K

Original comment by [email protected] on 31 Aug 2010 at 6:28

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Hello, sorry by the delay.

New version has all these errors fixed.

Thanks for reporting

Original comment by manuel.carrasco.m on 8 Jun 2011 at 9:10

  • Changed state: Fixed

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
[deleted comment]

from gwt-exporter.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
I suggest reopening this. 
I experience the same issue when returning a custom-type array. When I changed 
the return type of the trouble-making method to void (rather than Road[]) 
everything worked fine.

Error: 
  ... Line 64: Referencing method 'org.timepedia.exporter.client.ExporterUtil.wrap([Lgame/client/Road;)': unable to resolve method
  ... [ERROR] Line 13: Unresolvable native reference to method 'wrap' in type 'org.timepedia.exporter.client.ExporterUtil' (did you mean 'wrap(Ljava/lang/Object;)', 'wrap([B)', 'wrap([C)', 'wrap([D)', 'wrap([F)', 'wrap([I)', 'wrap([J)', 'wrap([Lcom/google/gwt/core/client/JavaScriptObject;)', 'wrap([Ljava/lang/String;)', 'wrap([Ljava/util/Date;)', 'wrap([Lorg/timepedia/exporter/client/Exportable;)', 'wrap([S)'?)

Original method signature (fails with error above):
public Road[] factoryRoad(int block,RoadServer[] rArr){ ... }

Fixed method (works; changed code to set arr):
public void factoryRoad(int block,RoadServer[] rArr, Road[] arr){ ... }

GWT version: 2.4.0
gwt-exporter version: 2.4.0-M1

Original comment by [email protected] on 7 Apr 2012 at 10:42

from gwt-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.