Debug library code in eclipse

2017-04-10 Thread Magnus
Hello, my application uses a java library (jar). When debugging the application, I would like to also step into the library code, but it's not available. Both, the application and the library are maven projects. The library is defined as a dependency in the application's pom.xml file. Both

Re: Debug library code in eclipse

2017-04-10 Thread Rodolfo Raya
Expand "Referenced Libraries" and locate the jar in your project inside Eclipse. Right-click the jar and select "Properties". In the dialog that appears, select "Java Source Attachment" and complete the form using the "Workspace location" option. Hope this helps, Rodolfo On Mon, Apr 10, 2017

Re: Compilation of a large GWT application?

2017-04-10 Thread Frank Hossfeld
@Kirill: Do you have an example how the splitting will work? Am Sonntag, 9. April 2017 10:54:50 UTC+2 schrieb Kirill Prazdnikov: > > Think about to split your app into several apps and interop between them > via jsinterop. We did that and detach 1 mb of genersted js app. > > Our app is pretty

Re: Compilation of a large GWT application?

2017-04-10 Thread Daniel Kurka
If you compile your gwt app with -generateJsInteropExports any @JsType is accessible in global scope: Exporting app: package foo; @JsType public Bar { public Baz baz = new Baz(); } Consuming JS: new Bar().baz.baz1(); Consuming gwt app ( No need for -generateJsInteropExports):

Re: Compilation of a large GWT application?

2017-04-10 Thread Daniel Kurka
There is a whitelist / blacklist to control that. On Mon, Apr 10, 2017 at 12:30 PM Kirill Prazdnikov wrote: > As far as I know this will add lots of GWT internal stuff which I not > going to export. Right ? > > понедельник, 10 апреля 2017 г., 21:57:33 UTC+3 пользователь

Re: Generator Class Name

2017-04-10 Thread J-23
W dniu 10.04.2017 o 10:46, Jens pisze: Oh and be aware that GWT generators won't work anymore in GWT 3. So you better use annotation processors for new code. Thanks for the information. Regards J-23 -- You received this message because you are subscribed to the Google Groups "GWT Users"

Re: Debug library code in eclipse

2017-04-10 Thread Jens
Alternatively you can probably also change your maven settings in Eclipse to always download sources / javadoc artifacts as well (also useful for stepping into 3rd party libs), see:

Re: Compilation of a large GWT application?

2017-04-10 Thread Marcin Okraszewski
That is a nice idea. Actually compiling modules as separate entities was definitely something would helped. ModuleCompiler that was producing gwtar output, but looks like it was dropped in 2.8. Now I wonder if that approach is applicable to us. We have a pretty extensive "common" module,

Re: Compilation of a large GWT application?

2017-04-10 Thread Kirill Prazdnikov
You can also use DOM Elememts as an interop types. -- 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

Re: Compilation of a large GWT application?

2017-04-10 Thread Kirill Prazdnikov
As far as I know this will add lots of GWT internal stuff which I not going to export. Right ? понедельник, 10 апреля 2017 г., 21:57:33 UTC+3 пользователь Daniel Kurka написал: > > If you compile your gwt app with -generateJsInteropExports any @JsType is > accessible in global scope: > >> >>

Slow debugging with SDM

2017-04-10 Thread Paul Stockley
Is anyone else having serious performance problems when stepping through SDM code in chrome? The issue happens in cases where this is mapped to the window object and chrome want to expand all the globals in the inspection window. There is a chrome issue logged

Re: Compilation of a large GWT application?

2017-04-10 Thread Kirill Prazdnikov
The approach is very simple and easy, you use you detached GWT app like any other JS script. Any GWT app is a JS script. 1st you need to define the interface of the detached module in terms of JsInterop: isNative = true. You can only use Strings, numbers, arrays and isNative = true interfaces.

Re: Compilation of a large GWT application?

2017-04-10 Thread Jens
> As far as I know this will add lots of GWT internal stuff which I not > going to export. Right ? > If you are willing to use master branch you can apply filters during compilation: https://github.com/gwtproject/gwt/commit/9eda5dc418f9bdfef2fd21c6113e48dd10672beb -- J. -- You

Re: Slow debugging with SDM

2017-04-10 Thread Jens
Yeah expanding window isn't a great idea when using GWT, too much stuff installed on window. There is (or was? not sure) a GWT compiler option to install code on the window object using namespaces (I think based on package structure). But could be that SDM never supported it. Also, hitting a

Re: Clicks taking over entire window

2017-04-10 Thread Ed
This post never showed up in my gmail account. Has it not bee approved? Ed On Monday, April 10, 2017 at 7:12:31 AM UTC-4, Ed wrote: > > Hi, > > GWT 2.8 > > I have a top menu bar and a side nav using gwt material. > > They both process click to a center HTML Panel. > > When I click a link inside

Re: Generator Class Name

2017-04-10 Thread Jens
Oh and be aware that GWT generators won't work anymore in GWT 3. So you better use annotation processors for new code. -- J. -- 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

Populate a CellTree From Database

2017-04-10 Thread Chiheb Nabil
Hi Guys , I want to populate a celltree from database without hard coding sublevel/subtree my model looks have 3 fields private int id; private String designation; private Integer parentId; Thanks -- You received this message because you are subscribed to the Google

Clicks taking over entire window

2017-04-10 Thread Ed
Hi, GWT 2.8 I have a top menu bar and a side nav using gwt material. They both process click to a center HTML Panel. When I click a link inside the panel it takes over the whole screen. I know I can use a frame to eliminate this problem. I have tried: - focuspanel -wrapping html inside a div

Re: Generator Class Name

2017-04-10 Thread Kirill Prazdnikov
GWT 3? It is real ? -- 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 group, send email to

Re: Generator Class Name

2017-04-10 Thread Jens
Generators are executing at compile time, so no. Usually you would use an abstract class or an interface as parameter to GWT.create() so the name of the generated class should be irrelevant, it is an implementation detail. The only way to configure generators is using annotations, GWT

Re: [gwt-contrib] Digest for google-web-toolkit-contributors@googlegroups.com - 7 updates in 1 topic

2017-04-10 Thread Arnaud TOURNIER
Do you plan to open source your Typescript to Java generator ? Do you have a time frame for that ? I am interrested in that because I made one myself which I would not continue if you open source your own. I can already see that we have some decisions in common (like some similarities handling

Re: [gwt-contrib] Digest for google-web-tool...@googlegroups.com - 7 updates in 1 topic

2017-04-10 Thread Jens
> Do you plan to open source your Typescript to Java generator ? > elemental2 is generated from closure extern files and not typescript definitions. However the generator should also support typescript definitions by the time it is open sourced, at least it has been said in this group. --