How to deploy on JBoss AS 7 from Eclipse Juno? - eclipse

I'm using Eclipse Juno and want to test my Java web app in JBoss AS 7. How do I configure Eclipse so that it starts JBoss AS 7 and deploys the war? Also remote debugging should work. It seems I can't use JBoss Tools as they are only released for the previous Eclipse versions (Indigo and Helios).
Any pointers?

It seems that the current stable releases of JBoss Tools supports Eclipse Indigo (3.7.2) and Helios (3.6.x) as detailed here :
Is there a Beta Update site for Juno ?
This page has the details of the update site for Juno :
Instructions will be posted after the first Juno-compatible milestone
is available.
Until then, just point your Eclipse 4.2 (Juno) installation at this
site to install the latest nightly build. Note that there is no
guarantee of quality with a nightly, nor do we guarantee it won't set
your computer on fire.
Update site : JBoss Tools - Core - Nightly Build Update Site
It bears repeating, that the above is unstable at the moment.
Stability of JBoss Tools Beta for Juno ?
From this page:
Since the first version of Eclipse Juno is arriving soon it is worth
mentioning that JBoss Tools from its updatesite can be installed on
top of Juno.
It is though not guaranteed everything works, we know that especially
Hibernate Dali/JPT integration have issues since here the API has
changed greatly.
But if you are a Juno early-adopter then do please try run JBoss Tools
on it and if you find issues let us know in the forum or on JIRA.
Also, this might be of interest :
Our latest Beta, soon coming CR1 runs on Eclipse Juno (3.8/4.2) except for the Eclipse Dali/JPA integration

I use Eclipse Juno and I installed Jboss Tool for helios version.
Works like a charm.

This stable version of JBoss Tools 4.0.0 works well with Eclipse 4.2 (Juno).
Steps :
Add this URL 'JBoss Tools - Core - Stable Release Update Site ' to site URL's
(Help > Install New Software > Add )
Select the features to install, or click the Select All button.
Click Next, agree to the license terms, and install.
Note : You can also download JBoss Tools as individual zips for offline installation.
Refer :JBoss Tools 4.0.1.Final Stable Release

Please find the below steps to add JBoss Tools for Eclipse Juno
Go to Help -> Eclipse Marketplace
Type JBoss Tools in the Find text box
You can see the JBoss Tools (Juno) icon in the listed items with install button
Click on the install button
Restart your Eclipse to reflect.

Related

Eclipse Luna + WildFly 9

Can I use Eclipse Luna with WildFly 9 server ? Or should I move to Eclipse Mars ? I'm asking because I can't create a WildFly 9 server on my Eclipse but I can create a WildFly 8 server. I checked my Jboss Tools plugin which seems to be up to date (version 4.2.6). On Eclipse Mars a 4.3.0 version is available.
As you see below links, all informations show JBoss Tools 4.3.0 Final release is not appropriate for Eclipse Luna.
Check JBoss Tools column on JBoss Tools Download Overview.
Check installation part in Blog Announcement of JBoss Tools for Eclipse Mars.
Check server section on Documentation of JBoss Tools 4.3.0 Final.
If there is no any policy or another, moving Eclipse Mars is better choice to work stable and prevent future conflicts. Lastly, I have tried to download the bundle and install it manually but process is blocked by Eclipse Luna.
The JBoss Tools Download site claims that the current 4.3 release can be installed into Eclipse Luna.
You may need to download the bundle and install it manually.
That said, if you are not constrained by some policy or another then you should consider upgrading to Eclipse Mars.

My eclipse plugin is showing on eclipse marketplace web site, but not in eclipse marketplace client

I uploaded a plugin I developped to eclipse marketplace platform, following the steps described at https://marketplace.eclipse.org/quickstart.
Now I can find my plugin on their web site (https://marketplace.eclipse.org), and I can install it from there (by dragging and dropping the install button).
The problem is I can't find it using eclipse marketplace client (the one inside eclipse, that opens using Help / Eclipse Marketplace...).
What could be wrong...? Maybe the development stage (now beta) ? Maybe eclipse compatible versions have to be specified ? (I said luna but maybe there is a format or something)
I have not put links to my plugin because I wasn't sure about SO policy. I can put them / send them by mail if it can be helpful.
Thanks in advance !
Well it works now !
I changed several things so I'm not sure which one was the good one :
- Changed development stage from "alpha" to "beta"
- Added a version for the plugin ("1.1.0", this is just a text field)
- Added a version for eclipse ("Luna", this is just a text field)
I think the missing information was the Eclipse version. Without that, the Marketplace Client in your Eclipse install doesn't know if the connector is compatible with that version of Eclipse.
For example, the JBoss Tools and Red Hat Developer Studio marketplace connectors have several different versions of tooling in it, each targeting a different version of Eclipse.
4.5 / 11 -> Eclipse Oxygen (4.7)
4.4 / 10 -> Eclipse Neon (4.6)
4.3 / 9 -> Eclipse Mars (4.4)
4.2 / 8 -> Eclipse Luna (4.3)
So, depending on the version of Eclipse you're using, you'll get a different version of tooling from the connector, as it links to a different update site for each version.

spring development - with or without eclipse + checking eclipse version

Several tutorials mention that you can download spring in a tarball
and install it on your computer but when I go to the springsource
site all I can see is that you can download Spring Tool Suite
which is an eclipse plugin. So my questions are:
What if I wanted to work from the command line or an IDE other than eclipse?
The packages are available for Juno 3.8.2 or Juno 3.4.2, but how can I find
out my eclipse version? I've downloaded the most frequently downloaded version
of eclipse which is the one for Java EE developers but when I click on the Help
-> About entry I get:
Version: Juno Service Release 2
Build id: 20130225-0426
which does not match the eclipse versions on the springsource site 3.8.2 or 3.4.2,
so how do I know which plugin I need?
Thanks.
You can find out your Eclipse version by going to Help -> About Eclipse...
In the dialog that pops up, you will see something like:
Version 4.2.2
or
Version 3.8.2
If you downloaded the most commonly downloaded version, then you most likely have 4.2.2. The "Juno" release actually has distributions built for both 3.8.x and 4.2.x (a little complicated and confusing, I know). So, you should be able to install the Juno version of STS and be fine no matter what which version of Juno Eclipse you have.
EDIT
Your question is not very clear. I thought you were asking about how to install STS, but maybe you are asking about whether or not Eclipse is necessary at all. The answer is that of course, Eclipse is not necessary for Spring development, but it really is the easiest way to develop your spring apps (disclaimer, I am on the STS dev team).
There is no single way to just "downlaod the SpringFramework" because the framework is really just a very large set of jar files and their dependencies. Any single project typically only requires a subset of them as well as requiring other third party dependencies. For this reason, most people prefer working with a build tool like gradle or maven.
Probably the easiest way to get started w/o STS is to clone one of the sample projects from github. A list of the templates are available here: http://dist.springsource.com/release/STS/help/descriptors-3.0.xml which is obvioulsy meant to be consumed from inside of STS. But, you can use the file to grab links to the various github projects.
The Springsource Tool Suite (STS) is not required for developing with Spring. If the question is how you would install the STS, that's actually very easy. In Eclipse 3.7 (Indigo) or 3.8, 4.2 (Juno), click on the Help menu and select Eclipse Marketplace. If its not in the inital screen, use the find box type spring and click go which should bring up the the STS with the version of eclipse it is for in the title. Click install and the correct version and its dependencies will be installed for you. Try to use the eclipse marketplace for all the plugins you install, if possible. It makes things much simpler

IBM worklight 5 - Unable to install plug-in

I'm trying to run the IBM Worklight plugin in eclipse classic, but I'm running into some errors:
First of all, I want to update eclipse, but it seems to take over 20 hours to do so. Is there another possibility to update to the latest software? I need to do this in order to install ibm worklight.
Secondly, I'm receiving this errorcode:
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse 4.2 Dependencies 1.0.0.v20120615_1503 (com.ibm.rational.dependency.eclipse42.feature.group 1.0.0.v20120615_1503)
I'm loading the IBM worklight from a .zip file. Hopefully I have given you enough information to help me.
Update 1: I also tried using eclipse EE for IDE. Then I got this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: AJAX Web Tools 1.0.0.v20120731_1538 (com.ibm.wdt.webtools.ajax.feature.feature.group 1.0.0.v20120731_1538)
Are you loading the developer version of Worklight or a licensed. I would suggest using the Eclipse marketplace and searching for the Worklight plug in. Typically this is a smoother way of installing the plug in. Where did you get the zip files of the plug in? If it was directly from IBM, make sure it is the newest version which is the 5.0.5.1 (crazy versions, I know) If not, let me know.
IBM Worklight supports Eclipse versions 4.2, 3.7, and 3.6. For the Marketplace client use Juno, Indigo or Helios Eclipse IDE for Java EE Developers. (taken from: http://marketplace.eclipse.org/content/ibm-worklight-developer-edition#.UTTUNoeH7zs).
If you use other versions of eclipse you'll probably face installation problems.
Also check the "Contact all update sites during install to find required software" option in "Install new software" wizard.
Regarding upgrading eclipse as far as I know there is no way to upgrade eclipse to the next version, you must download and install desired eclipse version.

Eclipse 3.8: where is the download site?

I'm a bit confused about Eclipse release 3.8
It seems a bit like a ghost to me: no codename, no download site?
Where are all the packages, like "Eclipse for RCP and RAP Developers"?
Eclipse 3.8 and 4.2 were released concurrently as part of the Juno release, but the compilations for various developer types are only available based on version 4.2.
To use Eclipse 3.8, you will need to download the basic platform and install the plugins you need from Eclipse Marketplace or the Juno repository.
Surf to here and download the one labeled Eclipse SDK:
http://download.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/
Juno repository:
http://download.eclipse.org/releases/juno/
Official 'Eclipse Project 3.x' Stream Downloads page
http://download.eclipse.org/eclipse/downloads/eclipse3x.html
This has links to 3.8.1 release, and the 3.8 maintenance build.. If you want to link anywhere to 3.8, this is probably the best place.
Note that 3.8 is not a full 'packaged' release -- it's just the core. Features & plugins can be added from within the IDE, to replicate functionality of the Java EE/ PHP/ C++ etc packaged distributions.
3.8 is of particular interest to those (like myself) who are downgrading from 4.2 Juno due to the serious performance problems in that release. These seem to affect XML editors, PHP, switching, opening & closing editors -- turning the instant performance of previous Eclipse versions into endless 3-5 second waits.
Indigo 3.7 is the last 'packaged' release available. 3.8 may offer advantages in fixing several Indigo bugs & having Java 7 support.
A link to the recently released 3.8.2: http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/
None of the links in other answers seem to work anymore, but The Eclipse Project Updates Sites page at eclipse.org says it's http://download.eclipse.org/eclipse/updates/3.8 and that works for me and 3.8 has now been moved to the archives. I don't think updates are available anymore.
To install Java EE into the 3.8.1 download, this worked for me: https://stackoverflow.com/a/5028910/503025
Java EE is in the Juno upgrade site.