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

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.

Related

How do I properly setup JavaFX for Eclipse Mars?

My Java specifications: JRE: 1.8_u60, JDK: 1.8_u60
JAVA_HOME is set-up correctly.
I´ve downloaded and installed the latest Eclipse Mars Java SDK (Eclipse Mars.1 / 4.5.1) from the official Eclipse download page and used the installer.
I used the Eclipse update site from e(fx)clipse to install the JavaFX IDE.
As described in the site´s tutorial I should now be able to create FX projects with File > New > Other > JavaFX ...
But unfortunatelly I don´t have any option to create an FX project. There is no sub-section called JavaFX.
How do I set up JFX for Eclipse Mars properly (if my setup does not work at all)? here is one more similar Question asked.
Remove the installed plugin and try installing it through Marketplace.
Edit after the answer was accepted:
Just for clarification, it should also work in the way OP has tried it. Before one tries to troubleshoot why it's not working, it is very convenient to verify that the installation is not working from marketplace either.
Since JavaFX is now on default classpath, you do not need any extra plugin to create a JavaFX application. You can just create a simple Java Project in Eclispe and get started.
But, e(fx)clipse is recommended to install on Eclipse because of the extra features it adds to the IDE.
I just finished installing the e(fx)clipse plugin on my Eclipse Mars to check if your scenario can be reproduced, but unfortunately after installing the plugin & restarting Eclipse, I can create JavaFX projects.
You can either try restarting Eclipse or re-install the plugin again.
As mentioned in previous Question by tomsontom, you can check your status of e(fx)clips bundles. Or you can use All-In-One Download.

How to add the JSF 2.0 plugin to eclipse?

I want to make a "Hello World" app on eclipse using jsf config. I couldn't find the link to install the plugin!
Go to the eclipse in "Help" -> Install New Software-> Add the following addres to the update site of jboss tools "http://download.jboss.org/jbosstools/updates/stable/kepler".
In this case I'm using the eclipse Kepler the newest version of eclipse, you have to verify which eclipse version you have before download.
Select the Option "Jboss Web and Java EE Development" when you see the available software for update.
Download the Java Enterprise Edition Package for eclipse instead.
It has the jsf stuff included already.
usually 2nd from top on the list here

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

How to install Web Platform Tools in Eclipse?

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.

Categories

Resources