How to install Web Platform Tools in Eclipse? - java

Which URL do I install this and any pre-reqs from, and how can I install them? Been struggling with this for the last 1 hour with no luck.

new 2013 answer: it seems to depend on what version of eclipse you're running.
click "help" -> "about eclipse sdk" to find the version (e.g. 4.2.2).
optionally, from the version number you can know the codename (e.g. Juno) from wikipedia: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases
go here: http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
right click on the correct WTP link copy the link address (e.g. WTP 3.4) (they should be listed by version and codename)
now in eclipse, click "help" -> "install new software..." and paste the link location in the "work with" field (e.g. "http://download.eclipse.org/webtools/repository/juno/").
choose "Web Tools Platform (WTP #.#.#)" and click next and install everything.
restart eclipse, close all open files and re-open them for web tools to start working.

If you can use a clean install of Eclipse. Download Enterprise Java version. WTP its included in this Eclipse distribution. When you need updates for WTP, you can get updates via "Eclipse Software Updates" tool.
Regards

You can download WTP from Eclipse Help Menu. Following is the link to download the WTP into Eclipse.
http://download.eclipse.org/webtools/updates
Install Software Menu in Eclipse
Following image show the Install New Software Window.
Install New Software window

I try my best to stick to Pulse, which handles a lot of the configuration of Eclipse plugins for you. I'm not associated with them by the way, but am very happy with the service. WTP is one of the features they provide.

Related

Error installing GlassFish Tools on eclipse

The eclipse foundation has archived the GlassFish Tools 1.0.0 and 1.01.
It is no longer possible to install GlassFish Tools either through Eclipse MarketPlace or through Install new Software on the eclipse help menu. Both attempts lead to the error No repository found at https://download.eclipse.org/glassfish-tools/1.0.0/repository/.
Thank you for all your suggestions.
After some research, I was able to install GlassFish Tools on eclipse.
Although eclipse has archived the GlassFish Tools dependencies, Oracle has maintained them and offers documentation for installing them.
Several links are proposed but, I will just show you the ones that worked for me.
Follow this link for the documentation
https://download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/
Copy this link to download the dependencies
http://download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/dependencies/
Following the link of the documentation (1)
Open Eclipse and select the Install New Software menu item under the Help menu.
Copy and paste this URL (2) http://download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/dependencies/ into the Work with text box, then press ENTER.
Once the repository is loaded, the available features should show up in the table.
Select Eclipse GlassFish Tools, click on next button and follow the wizard to install them.
The installation is a bit slow but it works.

Vaadin plugin for eclipse installation error

I am using Eclipse luna 4.4.2 and trying to install vaadin plugin for eclipse from eclipse market place. Trying from install new software (from eclipse ui) and Drag drop Install button (from eclipse market place) but unfortunately both caught an error.
How can i overcome?
Any helps will be appreciated.
Anyways, In my case I solved the problem given below.Open your eclipse IDE
From help click install new software.
Type your url in work with section.
From available software section, expand the installation package and deselect the designer plugin.
After installing vaadin project successfully restart your IDE.
Repeat 1, 2 and then select only designer plugin and install it.
Restart your IDE.
Summary is install the two module one by one, not all at a time.

Cannot find "New Web Application Project" option in Eclipse Luna with GWT

I followed these instructions to install Google Web Toolkit in a freshly installed Eclipse (Luna). I have Java version 8 on Mac OS 10.7.5. I restarted Eclipse twice for good measure. I can see the following installed software:
I now want to start making a GWT project as outlined here. However I can't find any "New Web Application Project button" or icon. Here's a screenshot of the dropdown menu under "New".
I found a previous recommendation to install from a download but this option doesn't seem to be available for Luna.
I also found these FAQs which say where the SDK is installed; indeed, I have a /Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0 directory.
How can I start a new GWT project? Thanks!
File -> New -> Other -> Google -> Web Application Project
Restart your Eclipse from command prompt with -clean option as
./eclipse -clean
This should make all the GWT related views available.
Setting -clean option will remove all the OSGi and Eclipse Runtime cache data.
This will also clean the caches used to store bundle dependency resolution and eclipse extension registry data.

Eclipse 4.2.1 Error installing Google plug in 4.2

i am new to the eclipse and i am trying to install the google plug in for eclipse and i get the following :
Cannot complete the install because one or more required items could not be found.
Software being installed: Google Plugin for Eclipse 4.2 3.2.0.v201302131858-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.2.0.v201302131858-rel-r42)
Missing requirement: Google Plugin for Eclipse 4.2 3.2.0.v201302131858-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.2.0.v201302131858-rel-r42) requires 'org.eclipse.wst.css.core 0.0.0' but it could not be found
Use Eclipse Java EE, not Eclipse SDK..
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junosr2
Taken from this page http://www.shekhargovindarajan.com/tips-n-tricks/solved-requires-bundle-org-eclipse-wst-xml-core-error-while-installing-google-plugin-in-fedora-eclipse/
Launch Eclipse. Click on Help>Install New Software. On the subsequent window titled “Available Software”, click on blue link ‘Available Software Sites’. Look for the URL http://download.eclipse.org/releases/galileo in the list of Software Sites. Select and click on Enable (button on the right). Click on OK.
Back on the “Available Software” window, type the URL http://dl.google.com/eclipse/plugin/3.5 in the field labeled “Work with:” . Click on Add. This will show Plugin and SDKs in the bottom pane. Check the boxes against them and click on Next. Follow the onscreen instructions. This will install the Google plugin and SDK. When prompted, restart Eclipse.
You may obviously need to update the links to be 4.2 instead of 3.5 and juno instead of galileo.
As Kevin Fritz said, use preferably the Eclipse Java EE package. If you don't want to install Eclipse from scratch, you can also install the needed plugins from the Juno update site or the WTP update site. Install the WTP packages. Just ask if you don't know how to proceed.

What can't I see the run-as server option in eclipse

I'm working on a project in Eclipse Version: 3.5.2
My colleague and I both checked out the same maven project from svn. I'm trying to debug it by running it in Tomcat.
He can see the run-as server option when he right-clicks the project, but I can't.
What did I forget to do?
I can't even see the server option under Window->Show View->Other
Thanks
Deployment of applications on Java EE Application Servers or containers is possible only when you have WTP installed. From the screenshots posted, I can infer that either WTP is unavailable or it hasn't been loaded by Eclipse (for some unfortunate reason).
You ought to perform one of the following:
You can get a copy of the Eclipse IDE for Java EE developers, which contains WTP by default. If you need the Galileo edition, you will need to look into the Galileo archives. Also, you should use a JDK to start Eclipse. WTP might not be available if you use a JRE.
If you do not wish to install Eclipse with WTP from scratch, install the WTP plug-ins. Use the Galileo update site for this.
If you are sure that you have WTP installed, but you are unable to find that Galileo has loaded the plug-ins, then you will need to inspect the contents of the .metadata\.log file in your workspace. This would give you a hint as to why the plug-in was not loaded. Start Eclipse with the -clean flag, to get Eclipse to detect the plug-in if it hasn't done so previously.
Note: If WTP has been installed, you should be able to confirm this by view the list of loaded features, as shown below.
Here's are some instructions I wrote up when I configured my Eclipse to work with Tomcat. Hopefully it'll help you.
Open Servers Window
Open the Servers view.
If servers view is not open, select menu item Window/Show View/Other...
Select Servers under the Server section.
Add New Server
Right Click in the Servers View select New/Server
Expand Apache and select Tomcat v5.5 Server
Click Next.
Select the directory of your Tomcat installation. (ie c:\tomcat)
Click Finish
This will be the solution for all your questions. A must read pdf.
Did you create a Web Project? If you right click on the project and go to Properties > Project Facets is Dynamic Web Module selected. This works for me.
In case of web application 3.0 in my case i have taken war file of project and deleted existing app from eclipse and replaced it with war it worked for me

Categories

Resources