How I deploy my libgdx project to HTML/JS using TeaVM - gwt

I recently created a libGDX project using vis-runtime version 0.3.4. As due to long build times and requirement for separate runtime-gwt project, GWT support was dropped in 0.3.3 version of vis-runtime.
Maybe TeaVM can be used as web backend, so I am looking for integration of TeaVM with vis-runtime library ?
Take a look of this project (integration of libgdx with teaVM) that uses Maven as build system not Gradle.
Any help would be greatly appreciated.

I created TeaVM backend for libGDX as a prototype. I have no time to maintain it and thought someone from libGDX community becomes interested and picks this project. No one did, so backend is not maintained anymore. You can ask question on libGDX community forums and may be you find someone who is interested in developing my prototype. From my side I can help with fixing bugs in TeaVM and telling how this or that thing works in TeaVM.
Regarding Gradle, there's no official support, but 3rd party plugin is available: https://github.com/edibleday/teavm-gradle-plugin. You can examine source code and see that it's easy to write one. You can even write your own Gradle plugin if you are not satisfied with this one. However, I think that supporting Gradle is a little more complicated task than just wring Gradle plugin. For example, IDE integration is also needed (i.e. IDE must import and setup project from build.gradle).

Related

telepat Java Eclipse IDE plugin

I am building an application prototype for my client. I am excited about using telepat api. Problem is, I am a newbie developer. Is there a telepat api plugin available for Java Eclipse IDE? If so, it can help me speed up the prototyping process. Does anyone know of a telepat plugin for eclipse IDE?
#Rajeev. Unfortunately there's no Eclipse IDE at this time. However, the API requests are fully documented here: http://docs.telepat.io/api.html
It might not be trivial for a new developer, but you should be able to use big parts of the Android Telepat SDK (https://github.com/telepat-io/telepat-android-sdk) as a client for your Java application. Of course, the GCM transport is not going to work, and the project is configured for gradle rather than ANT, but a lot of the source code should be reusable.
(This is not related to this question specifically, but if you do decide to use the Android SDK, feel free to post any questions here and we're also ready to accept pull requests on this)

Netbeans 7.3 annoyances

I recently switched from Eclipse to Netbeans 7.3 and experiencing a lot of quirks and i'm wondering if anyone else experienced them and/or got a solution. Because of these 'problems' i'm considering switching back to Eclipse again but i'm in doubt because NB has a lot of good things too !
These are the quirks:
when creating a new Java class, and make some typo's e.g. somewhere in a method, NB does not recognize / display the errors directly, but after a very long wait or a restart of NB.
This also happens to existing classes.
background scanning tasks is sometimes stuck at 100%
code completion does take forever. Don't even think about refactoring or renaming a class because it takes >3 minutes to scan the classpath (why, it's a new class for crying out load)
hot-deployment: changes are not always synchronized correctly with the (Glassfish) server.
Sometimes a complete undeploy and deploy is needed to reflect the changes made in the source.
NB manipules my pom.xml and glassfish-web.xml: it adds a deploy hint to the pom.xml and also changes or removes the context-root in the glassfish-web.xml. Please stop doing this!
Why o why can't i do a 'Fix imports' on my entire project. You can do a 'organize import' on the entire project, but this won't add the missing imports. See http://netbeans.org/bugzilla/show_bug.cgi?id=167031#c2
Running NB 7.3 on Windows XP, 3GB RAM, 2+GHz cpu
The project is a Java 7 maven project containing 12 modules / sub projects
I strongly recommend that you DO NOT attempt to install the ScanOnDemand plugin. It completely trashed my Netbeans, forcing me to use the Task Manager to kill the process. No existing projects were found; they were all listed as "unrecognized project; missing plug-in?". I had to re-install Netbeans.
One thing to look for is max heap allowed. Try adding "-J-Xmx2000M" to the Netbeans startup.
ref: Setting Heap Size
I suggest stick to your favourite IDE. Eclipse is still popular and Juno packages are doing good and Kepler is already available. You can try around latest packages.
IntelliJ IDEA looks better than other Java IDEs (light weight, faster, nice integration with SCM(source configuration) tools, possibility of easy cloud deployment, except that if you have freedom to choose your IDE whether you are part of a big/small teams, Otherwise there is no need to shift from one to other.
IntelliJ is the first IDE to give nice in-built support to Play framework
Google Android ADT is completely moving towards AndroidStudio based on community version of IntelliJ IDEA for faster and better GUI and app development.
As a Java developer it is not bad to try the other IDE to do some experiments or for any reason it strikes your mind.
Eg: Netbeans comes with sample apps in Java EE,Java7/Java2EE which looks better, nice examples for websockets, Servlet3.0, NIO examples etc,...but just try it or just ignore if it does not work. It is very easy to generate Entities from Database Tables, creating REST Endpoints in NetBeansIt may come with lot of in-built plugin-support for various java frameworks like RESTful webservice frameworks, JSF2.x, Primefaces3.x, SpringMVC, Struts but you may not sure to use the same version of framework. Some plugins may not work sufficient according to your business needs. Even if you okay with existing version it is not very friendly to develop Rich real-time UI development because Netbeans with Primefaces, instead you need to manually create XHTML templates.
Netbeans comes with nice support for Glassfish and tomcat, (other servers I am not sure but support is in-built). You can remote deployment with ease. Netbeans learning tutorials on JavaEE nice for beginners in the subject.
Netbeans also available as zipped bundle, hence no need to install even on Windows machines.
Eclipse has got better support with Java RoboCode learning tool (initiated by developed by IBM long ago.).
Also Netbeans comes with nice support for HTML5, Groovy, PHP, C++ as well (according to posts by users community, because I did not use them).

Using Eclipse with HTML5 Boilerplate

I just got my new computer and I'm going to learn an IDE fresh. Everyone suggests Eclipse; therefore, I'll go with that. I downloaded Java EE for I may use it later for java programming also. I don't mind the bloat.
What I want to achieve is that every time I create a new website project that HTML5 Boilerplate also gets created as a template to the project. Anyone know how to achieve this?
Also any additional plugins for web dev or anything to do helpful with web development ideas with eclipse would be most appreciated.
If you are using Java EE eventually, I think the best strategy would be creating a Maven archetype. This way once you have your baseline project definition, you can archetype it and create all your subsequent projects from that.
Apache - Guide to creating archetypes
If you don't have Maven yet, you can get it here.
And the Maven Eclipse plugin can be installed from the update site: http://download.eclipse.org/technology/m2e/releases
Finally, since you are new to Eclipse, you can install plugins from Help > Install New Software. Best of luck! I know that's probably a lot to take in.

Building the project without launching eclipse product

I need help on building the project without launching eclipse product. I'm building a eclipse plugin for couple of mainframes. The project that i'm creating is not of Java project and it has has different project nature ( we have customized it for the mainframe ). now i need to build this project without launching the eclipse product. I went through the help and tutorials of Buckminster, but in vain. did not get anything in concrete to implement ( I admit that i did not understand anything there).
Appreciate anyone guiding me how to accomplish building the project.
Have a look a "headless" Eclipse builds. That is, you have access to Eclipse facilities without running the UI. See this article

Flex development in Eclipse

I was about to start with a chat application like this one. I was wondering how to do it on Eclipse. Does Eclipse support Flex development? Is there a plugin or a tool which I need to download for Eclipse?
I installed Flash Develop on my machine, but I am getting some issue in unzipping the zip file for Flex SDK which I can't figure out why. Thus I was thinking of switching to Eclipse. It will be really great if someone can also help me fix this issue.
Thanks,
Stone
Another solution would be to use Maven and especially the Flexmojos Plugin to build your application and to use Maven inside Eclipse. This was the way we did it for quite a long time, because Eclipse really sucked if a Project consisted of 50+ Sub-Projects. In the meanwile we switched to IntelliJ but are still using the Maven+Flexmojos approach.
Eclipse does not support Flex development by itself. You will need to purchase Flash Builder which is based on Eclipse. It can be used is a plug-in for an existing Eclipse installation, or installed as a standalone application. There isn't a free solution for using flex inside of eclipse that I am aware of.
Flash Builder has advantages and disadvantages compared to Flash Develop. Try both and see which one meets your requirements.
If you are having trouble using the Flex SDK to with Flash Develop, please post a new question with the details.