NetBeans 8.0 + GWT 2.6+ - java

Got a simple question. Is it possible to use GWT versions 2.6+ with NetBeans 8.0, taking into consideration, that the last GWT version gwt4nb plugin for NB 8.0 checks for is 2.5?
Or does that mean, that I can only use features from GWT under 2.5 versions with 2.6+ libs?

Yes, you can use NetBeans to develop GWT, and you don't need any plugin.
If you delegate the whole project configuration to maven or gradle (or buck, bazel…) then you can use any IDE. This is the best approach, and the project will work seamlessly also in your CI and using the command line. NetBeans maven integration is excellent and currently, maven is the easiest way to manage a GWT project.
Clone any "modern" project and try it out in your NetBeans installation to see if it satisfies you. Also, take a look at this tutorial for a more detailed explanation.

Related

Code coverage tool for netbeans 7 module development

I am looking for a code coverage plugin for netbeans that supports JDK 7, Netbeans 7.4 and Module development. The closest one is TikiOne JaCoCoverage but it does not support module development.
Is there any plugin for that combination? How can i find any solution?
I am not sure but you may need to change or add some segment of the plugin sections in the POM.xml. It seems like this was the way when creating maven projects.

What Maven 3 archetype to use for Drools project on Jboss?

Objective is to set up developer environment for:
JBoss 7.1, Maven 3.04, Drools 5.3.0 , eclipse platform 3.72 (IDE for Java EE 1.4.2...)
Goal is to be able to follow tutorials and learn Drools using latest available versions of software - without running into version incompatibilities between different components.
Seem to be getting a lot of "missing reference" type errors in eclipse package explorer after compiling code examples in maven. I am a newbie so apologies in advance if this is an obvious question.
Examples appear to compile in maven fine, but when trying to integrate with Eclipse ide am having a lot of reference errors. The version of Java SDK on my PC is 1.7.0_04.
There is no official maven archetype for Drools, and I doubt that any of the community ones are up to date.
Take a look at these resources:
Drools and jBPM version compatibility matrix
On the download page, section "Eclipse update site". IIRC, in 5.3 the plugin was part of JBoss Tools, but for 5.4 it's a separate update site as linked there.
Alternatively to using the 5.4 update site, you can download the droolsjbpm tools zip (5.4 or 5.3), unzip it and configure the plugin in eclipse as a local update site.
PS: I recommend upgrading everything to 5.4.0.Final, that's the latest and greatest community release.

What plugins do I need for Dynamic Web Project or Spring MVC development in Eclipse

I am looking for what plugins I need for Dynamic Web Project or Spring MVC development. The Eclipse installed my package manager of Arch Linux doesn't have that (as expected), and I don't want to download Eclipse EE if possible. I am sure I can accomplish the same result using the Eclipse I have now.
I believe Dynamic Web Project will suffice, how do I get it up
Also tried to install the Spring Toolkit but I keep getting dependencies errors (I suppose I should start with getting Dynamic Web Project up first ...)
Go download the Eclipse Java EE package.
Go into Help -> Eclipse Marketplace -> Search for Spring Source Tool Suite and install it.
This is all you need. Hope it helps.

Not able to Create a JSF Project in new Eclipse Indigo M6a Java EE using JBOSS Tools 3.3.o M1

I have followed the below link to install and configure JBOSS Tools in Eclipse Indigo to work on a JSF project
http://planet.jboss.org/post/jboss_tools_milestone_for_eclipse_3_7_m6_indigo
Steps i followed.
1.Installed Eclipse
2.Configured Proxy
3.Loaded the Urls as specified in above link
however many of the packages fails during installation and i cant see a JSF project in the new project list.
What could be wrong here?. Please help me with some pointers.
You're reading an outdated tutorial. Eclipse Indigo was already finalized a few weeks after that tutorial was written. Even more, it's already in SR1 stage. You can download it here. Finally, you can try to install the JBoss tools through the following URL:
http://download.jboss.org/jbosstools/updates/development/indigo/
It works at least for me.
Please note that you do not necessarily need JBoss Tools in order to be able to create a JSF project. It's already built in Eclipse for Java EE. Just create a new Dynamic Web Project. JSF is available as one of the project facets which is configureable in the Configuration option of the 1st step of the Dynamic Web Project wizard.
The JBoss Tools is just an additional plugin which eases JSF development with several additional (autocomplete) wizards.
See also:
JSF 2.0 tutorial with Eclipse and Glassfish - contains a lot of helpful screenshots

How to install jetty with eclipse on Mac

I am a newbie w.r.t. jetty and RESTful API's.
I want to create REST services using Jetty and wants to use embedded jetty with eclipse.
Can anyone suggest me any HowTo for installing Jetty/ Jetty plugins with Eclipse in Mac OS.
Regards,
If you're looking for an Eclipse plugin that will allow you to start your web app in Jetty via the Debug/Run menus, you may want to take a look at the run-jetty-run plugin.
If you happen to be using Maven, there's a Maven plugin you can use to start your app in Jetty as well. This can be configured to run via a launcher in Eclipse or can be launched via the command line.
Edit - Added more info about the jetty-maven-plugin:
If you're just talking about local development, then you don't have to download Jetty separately for use with the Maven plugin. The Maven plugin handles the download of the dependencies that you need by simply running mvn jetty:run. This will start your web app in Jetty (by default) at http://localhost:8080. If you use this, then there's really no need for the Eclipse plugin, either. As far as versions go, these are the available versions. I'd recommend sticking with a fairly recent version unless you have a need to use an older version of Jetty (it looks like the most recent version is a release candidate--8.0.0.RC0).
There's also an example of usage in a project on Github that I just found, but you may want to update the plugin version used.

Categories