How do you run SDM on that project? Would you be able to create a small repro
case (or maybe this is an open source project?)
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send
I think the crux is thinking in terms of messages (payloads) rather than
"domain objects". This applies to DTOs vs domain objects too, with RPC or
RequestFactory or whatever.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from
I mean java8 Streams
(https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html).
And I said that is the same as Immutable+FluentIterable because you can use
Stream.of(values[]). And IMO this makes more sense in a DTO than using the
interfaces on the collection
@JsType with isNative = false (the default) are probably treated as normal
classes now if you do not use -generateJsInteropExports as compiler
parameter. I guess it works again if you use the compiler parameter?
-- J.
--
You received this message because you are subscribed to the Google
When launching the SDM code server, is it possible to hide the swing UI
window?
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Thanks for the write up. I would definitely have it in mind.
BTW can you expand a bit on the stream thingy? Is there a link somewhere to
read about?
Vassilis
On Fri, Aug 19, 2016 at 8:59 PM, Ignacio Baca Moreno-Torres <
igna...@bacamt.com> wrote:
> Migrating everything is not a good idea,
Migrating everything is not a good idea, but you should give a try to
arrays in new models or some parts of your application. We found that we
frequently end up using Immutable collections and FluentIterable, and this
is almost the same that using arrays and streams. As you said, migrating a
Hi Daniel,
Link to download SDK on the official page still points to RC1.
http://www.gwtproject.org/download.html
On Thursday, August 11, 2016 at 6:25:18 PM UTC-7, Daniel Kurka wrote:
>
> Hi all,
>
> I just build the GWT 2.8.0 RC2 and pushed it to maven central. The
> complete SDK is also
Is the underlying object actually an ArrayBuffer? The return value is
supposed to be either an ArrayBuffer or a String depending on how you
invoke the reader API.
It seems to me that any methods which might throw CCE because of this
should actually return null, e.g.
class FileReader {
public
Sounds great. Thanks!
On Fri, Aug 19, 2016 at 4:27 PM Julien Dramaix
wrote:
> elemental2 is generated from closure extern files.
>
> The open source version of the generator should have a support for
> converting d.ts file to java. We don't know yet when the generator
I dont think it's a gwt issue.
I guess the issue will be resolved when errai will use gwt 2.8 final
instead of gwt 2.8 beta
On Friday, August 19, 2016 at 6:24:10 PM UTC+3, Alberto Mancini wrote:
>
> Yes, adding the dependency actually solves the problem, thanks.
> Actually i cannot remove errai
elemental2 is generated from closure extern files.
The open source version of the generator should have a support for
converting d.ts file to java. We don't know yet when the generator will be
open sourced.
On Fri, Aug 19, 2016 at 4:12 PM James Horsley
wrote:
> I
Yes, adding the dependency actually solves the problem, thanks.
Actually i cannot remove errai profile in the real project.
In your opinion, is it an issue in gwt or errai dependencies ?
Thanks again,
Alberto.
On Fri, Aug 19, 2016 at 3:49 PM Andrei Korzhevskii
Hello all,
I was tripped yesterday by a discrepancy in JsType field treatment between
beta1 and rc2 releases, so I made a small Maven project reproducing it:
https://github.com/bbrudnoy/jsinterop-test.
The problem is as follows: given a simple JsType-annotated class, HelloWorld
Hi All,
after the migration to GWT 2.6.1 - > 2.8 I'm not anymore able to run our
unit tests (GWTTestCases's).
The call of new
ScriptInjector.FromString(javascript).setWindow(ScriptInjector.TOP_WINDOW
).inject(); doesn't work anymore.
Following error happens:
Aug 19, 2016 4:34:09 PM
The SDM recompile happens first time, it's just that when I reload the page
I see the "skipped compile because no input files have changed" message.
I think I have a similar problem to this:
http://stackoverflow.com/questions/27433642/gwt-superdevmode-fails-to-see-changes
but if I remove
I remember hearing that elemental2 was being generated from TypeScript
definitions. If that's true, is there any chance we could get a look at the
generator code too?
On Thursday, June 30, 2016 at 1:23:51 AM UTC+1, Julien Dramaix wrote:
>
> A new experimental version of Elemental2 using the new
This makes sense for newer projects maybe.
I already have a codebase and making trampolines to convert collections and
maps to arrays and don't know what is a terrifying option.
I prefer to depend on gwt-jackson (which doesn't work for me - resty-gwt
works - resty-gwt is switching to gwt-jackson
IMHO supporting the whole collection frameworks is just an unnecessary
complication. Just use plain array, not generics need, and now that stream
are supported in GWT you has no excuse to use arrays. The inheritance is
not solved in JsInterop for now, just try to avoid.
On Friday, August 19,
Yes, that's true. Some dependency hell is going on there.
Commenting out the errai profile does not help but it helps if you just add
gson 2.6.2 to your project as a dependency
com.google.code.gson
gson
2.6.2
On Friday, August 19, 2016 at 4:13:12 PM UTC+3,
How about transmitting nested Collections, Map, complex inheritance and
generics?
On Fri, Aug 19, 2016 at 4:30 PM, zakaria amine
wrote:
> I also tried to convert back to the original object:
>
> @JsType(isNative=true, namespace=GLOBAL)
> public class JSON {
> public
I also tried to convert back to the original object:
@JsType(isNative=true, namespace=GLOBAL)
public class JSON {
public native static String stringify(Object obj);
public native static Object parse(String obj);
}
and then:
//
Record converted = (Record) JSON.parse(json);
and it works
I had a quick look at that sample project.
The errai profile which is activated by default at the bottom of your
pom.xml has a dependencyManagement section BOM import.
That is conflicting the versions for gson and some others, xerces.
If you comment out the whole profile bit
On Friday, 19
I have seen no issues with Chrome 50 in my apps. They work as usual.
Is there any reason why you upgraded to Chrome 50? The current stable
version is 52. Have you tried it?
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this
Ok, I've tracked down the problem.
The problem is that gwt-dev somehow relies on gson 1.7.2 but should rely on
2.6.2. I dont know what the problem is. I hope Jens or Thomas can help with
that.
The problem was that gson 1.7.2 incorrectly parsed provided source map
string and returned empty
mvn:run should give you the error
>
Sorry, i mean:
mvn gwt:run
Thanks,
A.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Thanks Andrei,
pushed the sample on githib:
https://github.com/abmancini/testcase-sourcemap
mvn:run should give you the error
if you comment
<*dependency*>
<*groupId*>com.google.gwt
<*artifactId*>gwt-dev
<*version*>${gwt.version}
It's hard to see what the problem actually is. I see you've created a test
project, can you share it? That would help to reproduce and track the error.
On Friday, August 19, 2016 at 1:06:56 PM UTC+3, Alberto Mancini wrote:
>
> Hello,
> we have still the same problem with SourceMaps.
> A teammate
Hello,
we have still the same problem with SourceMaps.
A teammate tracked down the problem and we found that the error appears if we
depend on gwt-dev (rc1 or rc2) and errai.
---
Job com.testcase.sourcemap.App_1_0
[INFO] Linking into
It works. I prefer your solution.
Le vendredi 19 août 2016 11:51:35 UTC+2, Jens a écrit :
>
>
>
> Am Freitag, 19. August 2016 11:43:12 UTC+2 schrieb zakaria amine:
>>
>> I have tried something like:
>>
>> @JsType(namespace=GLOBAL)
>> public class Record {
>> String id;
>> String date;
>> String
Am Freitag, 19. August 2016 11:43:12 UTC+2 schrieb zakaria amine:
>
> I have tried something like:
>
> @JsType(namespace=GLOBAL)
> public class Record {
> String id;
> String date;
> String data;
> public Record() {
> }
> }
>
By default @JsType property "isNative" is false, so your Record
I have tried something like:
@JsType(namespace=GLOBAL)
public class Record {
String id;
String date;
String data;
public Record() {
}
}
As mentioned above, I created a JsInterop wrapper for the JSON class in
javascript :
@JsType(isNative=true, namespace=GLOBAL)
public class JSON {
public
Or you could use an array instead of a collection.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this
33 matches
Mail list logo