converting GWT1.7 application to GWT2.0 - maven-2

I am developing a web application in GWT 1.7.Now I am planning to move to GWT 2.0. I am using maven build tool and intellij idea IDE.Can any one tell me the maven plugin for GWT2.0 and how to run/debug using intellij idea IDE?RIght now I am using GWT Mojo plugin http://mojo.codehaus.org/gwt-maven-plugin/ ?

I've provided detailed steps and a pom.xml to use Maven, GWT 2.0 and the Maven GWT Plugin 1.2 in this answer. All the non Eclipse specific steps (i.e. the Maven part) should apply and help you to update from GWT 1.7 to 2.0.

gwt-maven-plugin 1.2 has been released and now full supports GWT 2.0.
I'm not familiar with IntelliJ IDEA. But, they do support maven integration like any other IDE. You can integrate your maven-gwt project like any other one into IntelliJ.

Related

IntelliJ Idea LanternaGriffon Doesn't Recognize Griffon Project

I just made my first Griffon project, using lazybones. I chose griffon-lanterna-groovy for my template, and I then removed pom.xml and maven/ as I will be using Gradle. I then run gradle build test run and everything looked good. (it ran, build succeeded, etc.)
Next, I opened the project in IntelliJ and I've tried this in a variety of ways. No matter what I do, it IntelliJ doesn't recognize that this is a Griffon project.
I am using the latest stable version of all these library's, and I'm using IntelliJ Idea Ultimate Edition. I'm to to lazybones, Griffon, and lanterna, so any help is appreciated.
Griffon 2.x applications are either regular Gradle or Maven projects, you do not need an specific Griffon IDE plugin. IntelliJ ships with a Griffon plugin that's only compatible with Griffon 1.x projects. Do not use this plugin.
Refer to http://griffon-framework.org/tutorials/1_getting_started.html#_tutorial_1_4

Vaadin Plugin in IntelliJ Idea

In Vaadin's website it says that only Eclipse and NetBeans have fully functional (which sets up project, compiles your widgets, provides a visual editor for drag&drop) Vaadin plugin.
I wonder whether IntelliJ has any plugin or support for Vaadin, if not why?
Nowadays there is a Vaadin plugin for IntelliJ: Vaadin support. However, haven't tried it myself because I use Eclipse.

Maven and Clearcase integration

I want to integrate Maven with Clearcase, I am using 7.1 version in UCM mode with dynamic view.
I am new to maven and need to integrate for an existing project. Please let me know what steps I need to follow to integrate Maven and clearcase.
Have a look at the Maven documentation: http://maven.apache.org/scm/clearcase.html

Link Maven OSGi to Maven NetBeans Platform Project

I am using NetBeans 6.9 Beta and I would like to accomplish the following:
Set up a project representing the main application using Maven (for instance "Maven Project", "Maven NetBeans Application")
Ideally, the project should only contain the necessary libraries to run in Apache Felix (I would like to be able to right-click the project and select "Run in Felix")
I do not want that the project contains all the NetBean Platform APIs
I would prefer to implement the modules using OSGi. For instance "Maven OSGi Bundle", "Maven NetBeans Module" + OSGi
These are the problems, which I have at the moment:
The standard Maven archetype ("Maven NetBeans Application") seems always to select all APIs and I have not found a way to deselect APIs - in normal NetBeans Platform Applications that can be accomplished by going to the project properties and deselected the platform modules) - I guess it has something to do with the NetBeans repository (http://bits.netbeans.org/maven2)? Do I have to create another repository?
When creating normal "NetBeans Module" with OSGi support, the modules contain both NetBeans Module and OSGi meta data, which is nice. So, for instance the tool support in NetBeans is available for both technologies. But the "Maven NetBeans Modules" have only NetBeans meta data and the Maven OSGi Bundles have only OSGi meta data).
3. I figured out how to add modules to the project by using project / new and then placing the modules in the Maven project folder. However, I do not quite know yet how I could link to modules from other locations (NetBeans uses Maven modules, which have to be in the same directory as the project?).
Below some useful links for Maven + OSGi in NetBeans
wiki.netbeans.org/STS_69_Maven_OSGI NetBeans Maven OSGi Test Specification
platform.netbeans.org/tutorials/nbm-maven-quickstart.html NetBeans Platform Quick Start Using Maven (6.9)
wiki.netbeans.org/MavenBestPractices NetBeans Maven BestPractices
maven.apache.org/pom.html#Aggregation Maven Documentation Multi-Module Projects
(sorry about the missing protocol but couldn't post the message otherwise)
your nbm-application project depends on all platform projects.. just use the regular maven dependency management (adding/removing dependencies, adding dependency excludes to limit your platform
configure the nbm plugin and the bundle plugin yourself to sequentially append content to the manifest file.. I think Fabrizio Guidici's forceten and bluemarine projects do that in some way..
I don't understand the problem entirely. maven modules are a different thing than netbeans modules. you can for sure compose the application from multiple independently build nb module artifacts.

Glassfish IDE integration

I am an Eclipse user.
I am going to be using Glassfish on a project.
Is the Glassfish IDE integration substantially better in NetBeans (or some other), or is the integration the same as Eclipse?
I can't compare it to eclipse because I never tried it in eclipse but I can cast my vote for Netbeans integration. I've been using it for a while with Netbeans and I am very satisfied with the result.
with the full set of JavaEE plugins in Eclipse, it's trivial to control/deploy to glassfish. Grab the JavaEE version of Eclipse and follow the wizard for creating a new enterprise application.
Generally speaking, unless you're debugging the only intergration you really need is: start, stop, deploy. You can make almost any IDE/script/buildfile do that. Stick with the IDE you're most productive in.
I stuck with Eclipse.
Glassfish IDE integration is better with NetBeans.
The plugin for Eclipse isn't quite ready for primetime.
https://glassfishplugins.dev.java.net/eclipse34/
My personal experience is that Eclipse with the Java EE extensions are more than sufficient for development, and deployment of JAX-WS apps are faster in Eclipse than with Netbeans.
The Glassfish plugin has forms for editing configuration for things as nuanced as WSIT WS-Security and WS-AtomicTransaction. This speeds configuration. However, I've found that deploying a JAX-WS app performs ws-import more times than necessary, which doubles deployment time.