Re: class file has wrong file version 51.0, should be 49.0

2015-06-17 Thread Jens
Looks like you have class files compiled with Java 1.7 but you still launch your common-web project using Java 1.5 which then does not understand classes compiled for Java 1.7. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To un

Re: GWT 2.6 Compatibility with Java 1.5

2015-06-16 Thread Jens
GWT 2.6 requires Java 6. I don't remember when Java 5 support got killed, but given the release notes it seems that GWT 2.2 already produced warnings about using Java 5. If I would need to guess I would say GWT 2.3 might still work with Java 5 but GWT 2.4 will probably not. -- J. -- You rece

Re: How to search object instances by their type ?

2015-06-15 Thread Jens
Why don't you use instanceof? -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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

Re: Compile UiBinder to static html?

2015-06-15 Thread Jens
I see, maybe you can generate a second representation of your constant values as part of the build process. I could imaging slapping an annotation on your interface/enum that defines your constants and using an annotation processor to generate a different output format. Then you place some pl

Re: Compile UiBinder to static html?

2015-06-15 Thread Jens
The UiBinder generator produces Java code and there is no configuration option to tell UiBinder to do anything else than that. Of course you could fork UiBinder and adjust it to your needs. Actually I don't know what you want to develop but if you just want to generate static html pages using t

Re: Super Dev Mode times out on launch

2015-06-13 Thread Jens
DevMode does not time out, the exception tells you that a method on the class Timeout has not been found. The issue is that you have jetty 6.1.x on your class path but GWT 2.7 uses jetty 8.x. Once you fixed that class path issue it should work. -- J. -- You received this message because you a

Re: Important videos from GWT Meet-up 2015

2015-06-12 Thread Jens
> To those who've generously uploaded the videos: any possibility of also > uploading the slides? The technical presentations are pretty much useless > w/o the slides. > The Youtube playlist has a link at the top pointing to a Google Drive containing the slides. -- J. -- You received this

Re: How to deal with large multi-module applications on GWT

2015-06-11 Thread Jens
AFAICT the amount of GWT modules shouldn't noticeably influence the compilation time. What increases compilation time is lines of code obviously, the amount of permutations that need to be compiled (for example I18n can produce lots of permutations), wether or not you use more than one worker d

Re: GWT 2.8.0 forEach, Consumer, Function, Streams and other Java 8 stuff

2015-06-11 Thread Jens
> > > You can compile java even 1.2 source code with JDK 1.8, so what is the > problem with compiling Java 7 source with GWT for Java 8 emulation? > Interfaces also should not be broken because of default methods in > interfaces (that can just be ignored in sourceLevel < 8). Can you give > exa

Re: GWT 2.7.0 RequestFactory + Spring + JPA + Hibernate optimistic locking implementation

2015-06-09 Thread Jens
We don't use RequestFactory but GWT-RPC with Eclipselink + optimistic locking and heavy auto saving. Because we don't want to live with the extra query when doing the em.find / detach / update version / merge dance we simply do the version check manually in the app. Also we don't send versions

Re: Website not working in IE11. How to solve?

2015-06-09 Thread Jens
> > Can't you just debug the app using SuperDevMode? > I thought about it, but I am not sure how as I develop on a Mac? > Install VirtualBox and use a free Windows + IE 11 VM image from Microsoft ( http://modern.ie ). When you bind DevMode to your host IP instead of localhost you can debug y

Re: Website not working in IE11. How to solve?

2015-06-09 Thread Jens
Can't you just debug the app using SuperDevMode? I mean the app starts as it makes server requests and changes the HTML tag. So you should be able to set a breakpoint and step through it. A bit strange that it does not work but no JS errors are on the console. Maybe try GWTs UncaughtExceptionHa

Re: using client GWT and server java RMI, is that possible?

2015-06-04 Thread Jens
If you use GWT-RPC then you must use the GWT-RPC servlet on the server side. On the server side in your GWT-RPC method implementation you can of course use RMI to call other methods if you like. You could even create a Java Proxy that implements your GWT-RPC service interface and automatically

Re: Where is GWT Elemental?

2015-06-02 Thread Jens
Yes its just the stuff in the elemental directory when you checkout the gwt project. When you run "ant elemental" the remaining stuff will be generated and packed into the gwt-elemental.jar. You might want to consider using JsInterop + GWT 2.8 instead of elemental. -- J. -- You received this

Re: How to add folders to a war file

2015-06-01 Thread Jens
How do you generate the *.war file? Also why do you need these folder to be in the war file? Looks like these folders are just containing the jar libraries you already added to the build path? In that case you want the library *.jar files in your *.war file under WEB-INF/lib. Also you probably

Re: SerializationPolicy

2015-06-01 Thread Jens
Your GWT code must know about MyInterfaceImpl and its serializer, otherwise GWT does not know how to deserialize the data when you send MyInterfaceImpl from the server to the client. When you use an interface with GWT-RPC then GWT will search for all implementations of that interface and only t

Re: uibinder h1 translated

2015-05-31 Thread Jens
should work I think. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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

Re: IntelliJ and debugging Javascript issues

2015-05-29 Thread Jens
Hm just tried it myself (using GWT 2.8 SNAPSHOT, IntelliJ 14.1.3) and I have to say that it seems to be broken. I can only see the log output of chrome console in IntelliJ but break points do not work. I guess they do not work because IntelliJ does not see the SourceMaps provided by the SDM Cod

Re: "Scan" a picture with GWT?

2015-05-28 Thread Jens
> Or in aother words: How can I convert an image to canvas? > By using drawImage() of the canvas API: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Using_images -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

Re: Include a GSS file in another GSS file?

2015-05-22 Thread Jens
Maybe I am wrong but as far as I know closure-stylesheets does only parse CSS @Import statements but will not process them. That means it will not follow/download any @Import files and will not use them during processing. So you can not do @import url(constants.gss). Also @provide and @require

Re: Deferred Binding

2015-05-21 Thread Jens
For now you need a generator as the gwt-property-source project does. With GWT 2.8 SNAPSHOT you can simply do System.getProperty(""). Works for permutation properties as well as configuration properties. -- J. -- You received this message because you are subscribed to the Google Groups "Goog

Re: Debugging in Super Dev Mode is a pain.. :-(

2015-05-19 Thread Jens
IntelliJ 13+ can do this out of the box and for Eclipse there is a plugin that connects to Chrome: https://github.com/sdbg/sdbg -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving email

Re: Canvas and a handler on each element

2015-05-18 Thread Jens
You paint into a canvas using its Context2D object (canvas.getContext2d()). It has a bunch of methods for still styles and shapes. Since canvas is just something you paint on you can not attach a handler for each painted rectangle, a painted rectangle is just pixels. You need to attach a handle

Re: Have GWT 2.7.0 SuperDevMode reuse old compile-n files from last run

2015-05-18 Thread Jens
Not sure if it did make into GWT 2.7 but at least 2.8-SNAPSHOT uses some caches when you restart SDM. It still takes a bit but its a lot faster than with previous versions of SDM. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Re: GWT 2.8.0 Snapshots are not published

2015-05-14 Thread Jens
> I've been using that repo for about a month without issues. > Do anybody know why snapshots are not generated anymore? > Old files got cleaned every now and then by Sonatype. If the nightly build of GWT fails often and no new snapshot builds are uploaded then it can happen that no snapsho

Re: Trouble running GWT 2.7 net.ltgt.gwt.maven:gwt-maven-plugin project

2015-05-13 Thread Jens
> > So I thought I would try tomcat since I could not get the jetty to work. > So I do maven build gwt:codeserver -pl *-client -am, then tomcat7:run -pl > *-server -am -Denv=dev. I navigate to http://localhost:8080/index.html > and sure enough I see the html file. Although I don't think any of

Re: Trouble running GWT 2.7 net.ltgt.gwt.maven:gwt-maven-plugin project

2015-05-13 Thread Jens
> I think you are right, probably a typo on my end. I have > tried localhost:8080/index.html but no connection there either. I am just > assuming I want to navigate to index.html since that is the html file in my > WEB-INF directory. > WEB-INF, a typo again? Your index.html should either be i

Re: Trouble running GWT 2.7 net.ltgt.gwt.maven:gwt-maven-plugin project

2015-05-13 Thread Jens
I am pretty sure your pom.xml for your -server project does not change the port of jetty, right? In that case Jetty's default port is 8080 so try using localhost:8080 instead. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To uns

Re: Logging GWT with Tomcat

2015-05-12 Thread Jens
Logging in GWT and logging on Tomcat are two different things each having their own configuration. When you configure logging in your *.gwt.xml file then its for logging inside the web browser (e.g. the browser console). This configuration has no impact on how Tomcat does logging on server side

Re: How to do smooth scrolling on browser back/next button on same-page navigation?

2015-05-12 Thread Jens
Well then your only option is probably pushState. If the browser does not support pushState then you are out of luck. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it,

Re: How to do smooth scrolling on browser back/next button on same-page navigation?

2015-05-10 Thread Jens
So if its so important to you to smooth scroll then you have to implement it yourself without using the native browser behavior. E.g. use any tag with data-scroll-id=section-1 attribute and search that element whenever you get a history change event for #section-1. Since your site should not h

Re: "Cannot read property 'isShowing_1_g$' of null" exception thrown when using GWT 2.7

2015-05-08 Thread Jens
Looks more like that your code has registered a Window.addResizeHandler() and that registered handler has some code of the form someInstance.isShowing() and "someInstance" is null. To get the real exception from the resize handler you need to inspect UmbrellaException.getCauses(). -- J. -- Y

Re: GWT vs js performance: Collections and Strings

2015-05-05 Thread Jens
GWT already optimizes a HashMap similar to what you have implemented. You can see this in [1] and the specialized methods if the key type is String.class. Also ArrayList is backed by a native JS array. Of course GWT carries some overhead because it emulates the full Java API but because it's al

Re: GWT Developer plugin stopped working with Chrome

2015-05-03 Thread Jens
Chrome does not support the plugin API anymore that the GWT plugin requires. Thus the GWT plugin does not work anymore. Either use SuperDevMode or use an older browser. I think there is a workaround to make it work again with Chrome 42 but in a few month this workaround won't work anymore as Ch

Re: Synchronized code after a service call

2015-05-03 Thread Jens
> Do you mean to have a counter in the for loop? > Yeah, if you know you ask 10 times the server you must wait for 10 onsuccess/failures before continuing. So in each callback method increment the counter and check if its 10. If so, call finalize. -- J. -- You received this message bec

Re: Synchronized code after a service call

2015-05-02 Thread Jens
I see. You can still send the whole list to the server and check all dbs at once instead of one-by-one like you do now with a for-loop. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receivi

Re: Synchronized code after a service call

2015-05-02 Thread Jens
Ok here are some points to make your code better: 1.) First something to understand: Whenever you must provide a callback you can be sure that the method requiring the callback is executed asynchronous. In fact literally all web APIs that need to wait for something are asynchronous because the

Re: SuperDevMode compiler results different to Eclipse GWT compiler

2015-04-28 Thread Jens
First check your browser console for any exceptions. Then you can try cleaning SDM caches by opening the CodeServer page (localhost:9876 by default) and hit the small "clean" button. Then restart SDM and it should start a fresh compile without any caches. Finally you could try using GWT 2.8-SNA

Re: Java 8 is Compatable with GWT 2.6 or 2.7

2015-04-28 Thread Jens
When using Java8 you should add -sourceLevel 1.7 parameter to DevMode/CodeServer/Compiler. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-w

Re: GWT 2.6.1

2015-04-28 Thread Jens
GWT has its own Eclipse plugin provided via the Google Plugin for Eclipse: https://developers.google.com/eclipse/index No idea about GWT-EXT, I guess their homepage should tell you what to do. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolk

Re: May deploy GWT web app in a Server without Java installed???

2015-04-25 Thread Jens
GWT compiles to Javascript so you don't need Java on your server, a normal web server is enough. If you need a backend for database access you can write it in any language you want, e.g. PHP/Perl. And yes you can use Bootstrap with GWT. Here is an example from the GwtBootstrap3 project: http://

Re: LESS/ SASS/... style usage in GWT ?

2015-04-24 Thread Jens
I would probably just serve the CSS using a servlet that fetches the CSS from database based on the current customer. The app would then have a small UI to update the CSS in the database. If you don't need to give customers full control but just want to allow them to change logo / colors then I

Re: LESS/ SASS/... style usage in GWT ?

2015-04-24 Thread Jens
> I am not sure i am really clear in my explanation, but i hope you get the > idea... > Yeah I got the idea. Although I don't need it now it seems quite handy for theming and I like the fact that the external CSS file can still be pruned with the help of the generated mapping file. I think

Re: LESS/ SASS/... style usage in GWT ?

2015-04-24 Thread Jens
> With HexaCss for GWT, you can use > Sass, Less, Susy, Foundation, Bootstrap and so on. For the programmer you > use it the same kind of way as CssResource/ClientBundle, but then you bind > your application to external CSS files, and thus can use any CSS Fra

Re: GSS mixin restricted ?

2015-04-24 Thread Jens
You should also add the standard CSS rule to each if statement. If you don't do so your CSS is brittle as you never know when vendor prefixed CSS rules are removed from the corresponding browser. So always do @if is("browser.engine", "webkit") { -webkit-transform: translate(-40%, 0); -webki

Re: SDM and client debugging with eclipse debugger?

2015-04-22 Thread Jens
With SDM your client side code only runs in the browser and you have to set break points in the browser's dev tools. Launching the JVM in debug mode does not give you anything for client side debugging. There is an Eclipse plugin called SDGB on Github that allows Eclipse to connect to Chrome br

Re: Help Posting form with file input using elemental

2015-04-20 Thread Jens
Seems like there is no obvious Elemental API to create a FormData instance. Maybe JSNI works: private native FormData createFormData(FormElement elem) /*-{ return new FormData(elem); }-*/; -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

Re: GSS migration: mixin definition for a transition with multiple transition-property

2015-04-20 Thread Jens
Does it work if you create a constant for the properties? E.g.: @def MY_TRANSITION_PROPERTIES opacity .5s linear 0s, visibility 0s linear .5s; .class { @mixin transitions(MY_TRANSITION_PROPERTIES); } -- J. -- You received this message because you are subscribed to the Google Groups "Goog

Re: UiBinder with an immediate webcomponent tag?

2015-04-18 Thread Jens
Java fields/variables must not contain hyphens so f_my-webcomp1 is invalid Java syntax and causes the compile error. As a workaround you could probably rename your web component to mywebcomp or my_webcomp. The UiBinder generator needs to be adjusted to work with the naming convention of web com

Re: GSS condition with Variable not working ?

2015-04-16 Thread Jens
> > > The doc is mentioning "*set-configuration-property *" but if I use that, > the compiler i complaining. Shouldn't this be the > "define-configuration-property"? > Oh right, good find. Didn't notice that. It should be define-configuration-property. Another thing: how to make the property

Re: GSS condition with Variable not working ?

2015-04-16 Thread Jens
> > > (as explained in the docs), but sorry, I can't get it to work. > Sorry but then you haven't really read the docs ;-) Copy and paste from the docs: *You can also use any boolean configuration property without using the is() function* */* GSS */ * *@if (MY_CONFIGURATION_PROPERTY) { * *

Re: GSS condition with Variable not working ?

2015-04-16 Thread Jens
> @Jens: Yes, I know that, but the exact syntax of the @if conditions isn't > completely clear to me from the docs, so it tried several thinks. > Any idea how it can work ? (what is allowed to be contained in the @if > condition ?) > Whats unclear? There are examples al

Re: GSS condition with Variable not working ?

2015-04-16 Thread Jens
>From http://www.gwtproject.org/doc/latest/DevGuideGssVsCss.html *The is() function cannot be used outside of the conditional css context. @def IS_IE8 is("ie8") will not work.* -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To u

Re: GWT plugin not wortking with Chrome 42.0.2311.90 m

2015-04-16 Thread Jens
NPAPI, the plugin API used by the GWT plugin, has been deactivated in Chrome. In a couple of month NPAPI support will be removed from Chrome as its considered deprecated/unsupported. Use SuperDevMode which does not require a browser plugin or install an older version of the browser. -- J. --

Re: JsInterop @JsFunction is not really a function?

2015-04-14 Thread Jens
a bit more complicated as the lambda expression might get passed back to Java and then should behave as Java again. [1] https://docs.google.com/document/d/1tir74SB-ZWrs-gQ8w-lOEV3oMY6u6lF2MmNivDEihZ4/edit -- J. Am Donnerstag, 9. April 2015 14:31:19 UTC+2 schrieb Marcin Okraszewski: &

Re: How to use gwt with master ?

2015-04-12 Thread Jens
Just because I was curious I have updated my local snapshot build to newest commit c4c559696d4a0709da592d6a52f92dbc3fdd35bf and I don't have any issues with it. I have used Java 7 to build the SDK and Java 8 to launch DevMode/CodeServer with -sourceLevel 1.8 -- J. -- You received this messag

Re: How to use gwt with master ?

2015-04-11 Thread Jens
If you use a build tool that understands Maven you can use 2.8.0-SNAPSHOT provided through https://oss.sonatype.org/content/repositories/google-snapshots/ Otherwise you have to build GWT from source: mkdir gwtproject cd gwtproject git clone https://gwt.googlesource.com/gwt gwt svn checkout http

Re: JsInterop @JsFunction is not really a function?

2015-04-09 Thread Jens
Hmm not 100% sure but it looks intended. How the @JsFunction is implemented in the AST: https://gwt-review.googlesource.com/#/c/11960/8/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java How the Javascript function is generated that wraps the call to your @JsFunction Java SAM m

Re: Issues with sourceLevel in latest 2.8.0-snapshot

2015-04-07 Thread Jens
> Thanks. I'm using ant with some custom build targets and passing in > sourceLevel using . > I think you must use When using "line" it means you have two parameters "-sourceLevel" and "1.8". -- J. -- You received this message because you are subscribed to the Google Groups "Google Web

Re: Issues with sourceLevel in latest 2.8.0-snapshot

2015-04-07 Thread Jens
I have a custom build from 3rd April which only adds some Java 8 API emulation patches and it works without issues when using -sourceLevel 1.8 . Maybe you are not passing the parameter correctly? How do you launch DevMode/CodeServer/Compiler? -- J. -- You received this message because you are

Re: Google Font looks Fuzzy at higher resolution

2015-04-07 Thread Jens
Thats windows/IE font rendering. A writeup of font rendering: http://www.smashingmagazine.com/2012/04/24/a-closer-look-at-font-rendering/ So you might want to check your windows settings, e.g. is ClearType enabled/disabled (on your first image its disabled, while the second has it enabled) -

Re: GWT 2.7.0 is here

2015-04-07 Thread Jens
The plugin does not work anymore in new versions of Chrome. Use SuperDevMode instead which does not require a browser plugin or install an older browser again. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from th

Re: Is GWT trunk version supporting Java 8?

2015-04-03 Thread Jens
GWT trunk supports Lambda, method references, static & default methods in interfaces and intersection casts. It does not contain any Java8 API emulations so far but something like button.addClickHandler((e) -> Window.alert("click")); should work. To enable Java8 you have to use the "-sourceLeve

Re: Where is "js()" method ?

2015-04-03 Thread Jens
The method is not yet implemented. For now you have to use normal JSNI. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr.

Re: Is it possible to call the action with java in client side(not in same machine as server)? any example code for it?

2015-03-30 Thread Jens
There is a project https://code.google.com/p/gwt-syncproxy/ that allows calling GWT-RPC from plain java, however I have no idea how well it works. Generally I would probably create a REST service that delegates to the GWT-RPC implementation and then call the REST service from Java. That way you

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Jens
> Feel free to open a bug for it. >> >> Do you mean open bug over there > https://code.google.com/p/google-web-toolkit/issues/list?cursor=google-web-toolkit%3A6794 > > ? > Yes. --- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" grou

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Jens
Am Donnerstag, 26. März 2015 18:57:40 UTC+1 schrieb Anton Mityagin: > > > Why it's look like a design problem? > > Can I create ActivityManager with CachingActivityMapper > and FilteredActivityMapper? > > Somthing like this: > > public > CachingHorizontalMasterActivityMapper(HorizontalMasterAct

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Jens
ListEditActivity.mayStop() should not return a message if it is valid to change list items. mayStop() is normally used for dirty checking, e.g. someone edits an item and has not yet saved the edits. In that case mayStop() should return a warning message which allows the user to decide to actua

Re: Hide Column in CellTable

2015-03-24 Thread Jens
I see. On the element you need to use "visibility:collapse" to hide the entire column. However browser support is pretty poor for it, seems to only work well in Firefox. The other thread you have linked pretty much has all information available to solve your issue. Basically you have to show/h

Re: Creating a widget that can accept HTML + Widgets in UiBinder (Without using HTMLPanel)

2015-03-24 Thread Jens
> Surely UiBinder isn't hard-coded to only allow HtmlPanel to accept panels > + widgets? > HTMLPanel has its own HTMLPanelParser used by UiBinder which makes mixing HTML + Widgets possible, so yes it is kind of hardcoded. -- J. -- You received this message because you are subscribed to the

Re: Hide Column in CellTable

2015-03-24 Thread Jens
> > > *cellTable.addColumnStyleName(1, "hide"); // added stylename to the Column > with index 1* > *CSS:* > Added this class in stylesheet > * .hide* { > display: none; > } > Hopefully it is a normal CSS file and not a CssResource? Check your browsers dev tools to see what is going on

Re: GSS @alternate errors for duplicate selectors

2015-03-21 Thread Jens
AFAICT closure stylesheets does not allow disabling CSS linting so GWT can't do anything about it. https://code.google.com/p/closure-stylesheets/#Linting -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this gro

Re: .gwt.xml define source path to code from maven dependency

2015-03-21 Thread Jens
Create a file Dtos.gwt.xml in de.backend package and add to it. Alternatively you can put the file into de.backend.dtos and then use . You can then inherit that module in your App.gwt.xml. Keep in mind that GWT needs source files so your backend dependency should contain them or you need to a

Re: cache clear issue in gwt

2015-03-20 Thread Jens
If you apply the correct caching headers there is only minimal overhead on each request because the browser first checks if a new version on the server is available and only if it is available it will download the new version. Otherwise it will continue to use the already cached version. A lot

Re: Set up GWT 2.7 throw "Version is not supported, must be 2.0.0 or later " in eclipse juno (version=4.2.0)

2015-03-18 Thread Jens
> Nope. I have download gwt 2.7 sdk and setup with my project. > I have already gwt plugin installed in eclipse as till now I am working > with gwt 2.5. > When I have setup gwt 2.7, it throw this error. > Can you tell me what is problem here? > The Google plugin for Eclipse reads the GWT versi

Re: Set up GWT 2.7 throw "Version is not supported, must be 2.0.0 or later " in eclipse juno (version=4.2.0)

2015-03-17 Thread Jens
Sounds like you should try updating the Google Eclipse Plugin. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@google

Re: Possible to set a custom (non bindAddress) server IP in sourceMappingURL ?

2015-03-17 Thread Jens
I don't think that you can change it for now. Maybe via a custom linker, not sure, but that would be a bit more work anyways. As a workaround you can reconfigure your VM so you can directly access it without forwarding, e.g. use a bridge instead of NAT. -- J. -- You received this message bec

Re: Problem to do prod compile

2015-03-17 Thread Jens
These outputs are normal when you enable DEBUG log level. It basically shows you what GWT does during deferred binding rules matching. Yes its a lot of output. Generally as your app grows you also have to adjust the heap memory during compilation from time to time. The -localWorkers option also

Re: [GWT developer plugin is not support on linux]

2015-03-15 Thread Jens
> I see on Windows, if run as web application normally within the helping > of gwt developer plugin, after I run my project, then I edit my codes, just > refresh the browser and everythings will change follow my code changing, > it's so convenient > Super Dev Mode works the same if you use G

Re: GWT 3.0 Roadmap?

2015-03-13 Thread Jens
Next release will be called 2.8. Meeting minutes of the Steering group regarding the release: https://docs.google.com/document/d/1g6Ro3RbrOlD4RxqtWUv86wwXVSyD0uSFOO3-LnR9mGc/edit -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Re: ScrollTable?

2015-03-12 Thread Jens
> I'm not sure that's quite going to do what I need - I'm taking advantage > of the FlexTable's ability to have a cell span multiple rows. My table has > four columns. The first three are filled on create, but the data in the > fourth column is dynamic and changes based on buttons (and spans

Re: How to migrate to GWT2.7.0 from GWT2.6.0 using Eclipse?

2015-03-12 Thread Jens
GWT packages Apache Xerces 2.11 into gwt-dev.jar but in your class path is a different version (maybe an older one) before the gwt-dev.jar class path entry. This causes GWT to use a Xerces version that has a different API for org.apache.xerces.dom.ElementNSImpl.setUserData() which causes your e

Re: Anchor with SafeUri constant

2015-03-10 Thread Jens
I guess you can change the return type to SafeUri and use UriUtils.fromSafeConstant(HOME_PAGE) inside NameTokens.getHomePage() -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails

Re: Error "Script Tag Failure - no status available" occurs at times after new deployment

2015-03-06 Thread Jens
First you must send correct HTTP caching headers for all *.nocache.* files so that the browser (or any other caching proxy) first checks if a new version of that file is present on the server before using a locally cached version. That way you do not need to clean any browser caches. Next when

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-04 Thread Jens
> > Because GWT can not convert it on a file-by-file basis. > Why not ? > I have already said it before: in case of old css a constant might be used in one file but is defined in a different file. In case of gss you might use a @mixin in one file but that @mixin is defined in a different file

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-04 Thread Jens
> > > If I understand you correctly, I could be able to mix css and gss files by > using the correct extension. In case it concerns a css file, the gss > mechanism will sue the css2gss converter to create the gss file before > passing it to to the closure compiler. But that is what I am doing,

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-04 Thread Jens
What you are asking for is simply not possible in a reliable way under the requirement that old css syntax needs to be converted to gss syntax to avoid producing compile errors when activating GSS for a project. When I give you (which is hopefully similar to your use case): @Source({ app-consta

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-03 Thread Jens
Ok put differently: When you enable GSS then GWT will use the GssResourceGenerator which accepts valid GSS and hands it over to the closure stylesheets backend to produce the final css output. Your css files could contain CssResource specific extensions like @def, conditionals, sprites, etc. an

Re: [ERROR] Only either css files or gss files are supported on one interface

2015-03-03 Thread Jens
If you have a mixture of *.css and *.gss files referenced in @Source then you can not convert the css files one by one because a css file might not contain @def rules if they are defined in a different file. As you must also honor css rule ordering the only right thing to do is to merge all the

Re: Condition for GWT version in module XML

2015-03-03 Thread Jens
You can't do that in GWT module xml files. Instead of two files I would manage two branches in GIT: one that is compatible with 2.6.1 and one that works with 2.7.0. Once you do not need 2.6.1 support anymore you can get rid of that branch. -- J. -- You received this message because you are su

Re: Exception whit the GWT 2.7

2015-03-01 Thread Jens
The update site is outdated, you can download GWT 2.7 from gwtproject.org and manually add it to Eclipse through Eclipse Settings -> Google. GWT Designer is not maintained by the GWT team at Google and currently GWT Designer does not work with newer GWT versions. From a GWT point of view GWT De

Re: Module property and deferred binding not evaluated correctly after recompile in super dev mode (SDM)

2015-03-01 Thread Jens
Please try GWT 2.8-SNAPSHOT. If I remember correctly there were some commits regarding permutation properties and SDM recompiles after 2.7 has been released. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from thi

Re: GWT 2.70 and emulated compiler stack mode

2015-02-28 Thread Jens
What does "does not work anymore" mean? The exception does not have a stack trace? Or a wrong stack trace? Or you can't send it to the server anymore? Or something else? Given that emulated stacks are generated by the GWT compiler it might be a regression bug, but you have to be more specific a

Re: CellList inside a panel of 100% height

2015-02-25 Thread Jens
> > The panel is located in an UIBinder with a HTMLPanel as root. So I used > getParent().getOffsetHeight(). > Any ideas why this is not exactly the client height? > clientHeight includes padding offsetHeight includes padding, borders and scrollbars > And why does the panel with the CellLis

Re: Looks like ext-js issues migrating from GWT 1.7.0 to GWT 2.7.0. Need help.

2015-02-25 Thread Jens
> >1. Application does not load initially as the IE Browser opens in IE >10 Compatability View Mode. > > Use at the top of your html page that loads the app. > >1. The application loads successfully once I change the Browser Mode >to IE10. At this point if I CLICK on any it

Re: launchConfiguration issue for GWT 2.7.0 (New to GWT)

2015-02-24 Thread Jens
> Thanks Jens. I still have the 2nd error "Unknown argument: -out" > The DevMode class should show you all valid arguments and the description should tell you which one to choose as a replacement. I don't know anything about GWT 1.7, but I assume DevMode -war is probably

Re: GWT & Dagger 2

2015-02-24 Thread Jens
> What's the best way to include your PR ( > https://github.com/google/dagger/pull/119) in a project? > Its a branch in my dagger fork that you can simply build and install into your local repo: https://github.com/jnehlmeier/dagger/tree/gwt-integration -- J. -- You received this message bec

Re: launchConfiguration issue for GWT 2.7.0 (New to GWT)

2015-02-24 Thread Jens
Instead of GWTShell use com.google.gwt.dev.DevMode -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com.

Re: GWT & Dagger 2

2015-02-24 Thread Jens
You need to add the generated sources as Eclipse source folder to make them usable in Eclipse, e.g.: http://stackoverflow.com/questions/7160006/m2e-and-having-maven-generated-source-folders-as-eclipse-source-folders Maybe the above also fixes the gwt:compile class path issue. For successful GW

Re: Static vs dynamic String internationalization

2015-02-23 Thread Jens
> > > - The big advantage of dynamic internationalization to me, is that I can > store my translations in a database, and update texts without the need of > stopping servers to deploy a new compiled version of my application. > Not sure if its that big of an advantage. IMHO translations rarely

<    2   3   4   5   6   7   8   9   10   11   >