Re: Typescript annotations to JsInterop java classes automatic generation tool ready
Great! That will be absolutely must have tool, thank you. On Thursday, September 28, 2017 at 2:54:05 AM UTC-7, Ltearno wrote: > > Hi everyone, > > I made up and published today a tool which uses Typescript type > definitions (.d.ts) and generates the corresponding JsInterop classes for > use inside a GWT application (or JaCL when available). > > The tool is here : https://github.com/ltearno/typescript2java > > I use it to translate the full Angular 4 API (2000+ classes) into > JsInterop and get a working code. It can also generate the standard web api > from 'lib.es6.d.ts' and generate something that ressembles Elemental2 a lot! > > I am interested to help if people want to use it or have some other use > cases (wrapping D3.js or any other library available on 'definitely > typed'). So don't hesitate to file an issue on github... Or to answer here! > > Thanks > Arnaud > -- 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 google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Problems with Eclipse Oxygen and GWT Plugin
Have you tried converting the project to faceted form and enabling the gwt and "Dynamic web module" facets? If you do don't forget to edit the "Dynamic web module" when you select it with the link eclipse displays of "additional configuration" setting the web content folder to "war" instead of "WebContent" or your project will run but serve content from an empty folder. -W On Thursday, September 28, 2017 at 7:14:59 AM UTC-5, JP wrote: > > Hello Rodolfo, > > many thanks for your reply. > > I tried it with a fresh Java Developer Edition and GWT plugin > installation. Unfortunately I still get the same error when trying to > create a new GWT Project without sample code. When closing the creation > dialog box I get the message "Errors occurred while refreshing resources > with the local file system. > The project description file (.project) for 'GWTTest' is missing. This > file contains important information about the project. The project will > not function properly until this file is restored." > > Perhaps this may help!? > > Kind regards, > > JP > > > Am Montag, 10. Juli 2017 16:31:39 UTC+2 schrieb Rodolfo M. Raya: >> >> Hi, >> >> Try installing Eclipse for Java Developers instead of the Java EE IDE for >> Web Developers. >> >> You can add all Java EE plugins and GWT to the base IDE. That combination >> works well for me. >> >> Regards, >> Rodolfo M. Raya >> >> On Fri, Jul 7, 2017 at 6:30 AM JP wrote: >> >>> Hello, >>> >>> I have installed Eclipse Oxygen Release Java EE IDE for Web Developers >>> (64 bit) and found GWT Eclipse Plugin 3.0.0 in the Marketplace. >>> >>> After successfully installation of the plugin, I tried to create a new >>> GWT Web Application Project *without *sampe code. The result was an >>> error "Creation of element failed". >>> >>> I tried another project creation, this time *with* sample code. It >>> worked! However, when I tried to add a GWT module, I got another error >>> (extract from log file): >>> >>> !MESSAGE Problems occurred when invoking code from plug-in: >>> "org.eclipse.jface". >>> !STACK 0 >>> java.lang.ClassCastException: org.eclipse.jdt.internal.core.JarEntryFile >>> cannot be cast to org.eclipse.core.resources.IFile >>> at >>> com.google.gwt.eclipse.core.modules.AbstractModule.getShortName(AbstractModule.java:294) >>> at >>> com.google.gwt.eclipse.core.modules.AbstractModule.getQualifiedName(AbstractModule.java:272) >>> at >>> com.google.gwt.eclipse.core.modules.ModuleJarResource.getQualifiedName(ModuleJarResource.java:1) >>> at >>> com.google.gwt.eclipse.core.modules.AbstractModule.getSimpleName(AbstractModule.java:342) >>> at >>> com.google.gwt.eclipse.core.modules.ModuleJarResource.getSimpleName(ModuleJarResource.java:1) >>> at >>> com.google.gwt.eclipse.core.modules.ModuleUtils$3.visit(ModuleUtils.java:220) >>> at >>> com.google.gwt.eclipse.core.modules.ModuleUtils$3.visit(ModuleUtils.java:1) >>> ... >>> >>> How can I create a module? Is there a way around this error? >>> >>> Kind regards, >>> >>> JP >>> >>> -- >>> 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 google-we...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/google-web-toolkit. >>> For more options, visit https://groups.google.com/d/optout. >>> >> > -- 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 google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Typescript annotations to JsInterop java classes automatic generation tool ready
Wow! This is impressive! I am not familiar with Angular and cannot comment in the quality of the generated API. Any chance you could post jquery jsinteropified with your tool? jquery is the basis for a lot of libraries so if you get that correctly a lot libaries will be trivial to process. I skimmed through the README and I like the configuration control. Can it be per class or is a global configuration per .d.ts file? Thanks for that contribution. On Thu, Sep 28, 2017 at 12:54 PM, Ltearno wrote: > Hi everyone, > > I made up and published today a tool which uses Typescript type > definitions (.d.ts) and generates the corresponding JsInterop classes for > use inside a GWT application (or JaCL when available). > > The tool is here : https://github.com/ltearno/typescript2java > > I use it to translate the full Angular 4 API (2000+ classes) into > JsInterop and get a working code. It can also generate the standard web api > from 'lib.es6.d.ts' and generate something that ressembles Elemental2 a lot! > > I am interested to help if people want to use it or have some other use > cases (wrapping D3.js or any other library available on 'definitely > typed'). So don't hesitate to file an issue on github... Or to answer here! > > Thanks > Arnaud > > -- > 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 google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- Vassilis Virvilis -- 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 google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Typescript annotations to JsInterop java classes automatic generation tool ready
Hi everyone, I made up and published today a tool which uses Typescript type definitions (.d.ts) and generates the corresponding JsInterop classes for use inside a GWT application (or JaCL when available). The tool is here : https://github.com/ltearno/typescript2java I use it to translate the full Angular 4 API (2000+ classes) into JsInterop and get a working code. It can also generate the standard web api from 'lib.es6.d.ts' and generate something that ressembles Elemental2 a lot! I am interested to help if people want to use it or have some other use cases (wrapping D3.js or any other library available on 'definitely typed'). So don't hesitate to file an issue on github... Or to answer here! Thanks Arnaud -- 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 google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.