Installed google plugin for eclipse but see no web application project menu item - eclipse

I use standalone eclipse on linux. I downloaded it from eclipse site ( not from my distro's repository ) and extracted it to home folder. Installed google plugin for eclipse (using Help->Install New Software). But see no new Web Application Project menu item. When I create new java project, in project properties I can select on Google tab "Use google app engine" checkbox. But I have to create war folder, web.xml, appengine-web.xml, etc. So I want to get new web application project template. How do I turn it on?

You need to be sure that you downloaded "Eclipse IDE for Java EE Developers". Please delete your current Eclipse installation and download a new archive from http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr2

Related

Can't choose an existing server in a Dynamic Web Project a in Eclipse

My colleague just set up a Dynamic Web Project in Eclipse and he also configured the server. He shared the entire project on a git repository and I cloned it. When I try to run the html file I click on 'run on server' but then I'm not able to choose an existing server already configured. Eclipse force me to create a new server with default configuration. I am attaching a screenshot of Eclipse
https://www.youtube.com/watch?v=ipqTnzTPgj0
Help --> Install new software ---> install " eclipse repository - https://download.eclipse.org/releases/oxygen ".
Then install the package for -- Web,XML, Java EE and OSGi Enterprise Development.
Reboot your computer and eclipse. Then it will work. Good luck.
It works for me:
Properties -> Project Facets and do it like this
Right click on you project and go to properties. Go to Project Facets and on Dynamic Web Module click the little drop down menu and select 3.1. I initially had it at 4.0 and it was not supported in my version of Eclipse.

Create new service builder for liferay with eclipse luna does not work

I am trying to create a new service builder for liferay portly project.
If I open the "new Service Builder" dialog, it is not possible for me to click the finish Button. I tried to do this with the guestbook Portlet example on dev.liferay.com, without success.
Eclipse says that I have to enter a project name. However, it is not possible to enter something at Plugin project. I don't know why; perhaps this is a bug?
I did this several times and it worked, but now I've tried this with a new setup. Perhaps this is the reason.
Setup:
Mac OSX 10.10.4
eclipse Luna 4.4.2
installed Plugins:
Liferay
Git
Maven
Liferay 6.2
How do I make this work?
You're using Liferay IDE, right? (I assume that's what you mean when you say you have Liferay installed as a plugin.)
Maybe with your new setup, Eclipse doesn't recognize your guestbook project as a valid Liferay Plugin project. When you click New -> Liferay Service Builder, you have to select a Liferay Plugin project within which to create the Service Builder stuff. Since you can't select anything at the Plugin project selector, I'd guess that Eclipse doesn't recognize any of your projects as valid Liferay Plugin projects.
Note that if you click New -> Liferay Plugin Project, you have to specify a Liferay Plugins SDK and a Liferay runtime. You need to have both of these configured in your new environment.
For Plugins SDK, go to Eclipse's Preferences Window then Liferay -> Installed Plugin SDKs. Add the Plugins SDK that contains your guestbook project and re-import your guestbook project from this SDK. Then check if the Service Builder wizard lets you select your project via the selector.

Dynamic Web Project option missing in Eclipse Kepler [duplicate]

This question already has answers here:
Dynamic Web Project option missing in Eclipse [duplicate]
(8 answers)
Closed 2 years ago.
The "Dynamic Web Project" option for a new project in Eclipse does not showing up in the list. Although the "web" folder showing up with option "static web project" but there is no option for "Dynamic Web project".
I have already installed Web, XML, Java EE plugin.
I am using Eclipse Kepler realease-2.
I had the same problem and did this:
Click "Help" > "Install new software"
In "Work with", paste: http://download.eclipse.org/releases/kepler
In "Web, XML, Java EE and OSGi Enterprise Development", check:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
Finally, click "Next" to install the new software and "Dynamic Web Project" will be available.
Step 1: Click on Help and then click on “Install New Software”.
Step 2: In "Work with", paste this link: Mars- http://download.eclipse.org/releases/mars
Step 3: Scroll down to find “Web, XML, Java EE and OSGI Enterprise Development” option and expand it.
Step 4: Select the following three options under “Web, XML, Java EE and OSGI Enterprise Development”
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Step 5: Click next and you should see that the software is installing. Wait for some time and then a popup would ask your permission to restart the Eclipse. Restart it and you should find the dynamic web project option under project list.
Switch from java to java EE tab at top right of eclipse editor and then look New->Dynamic Web Project
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
These need to be installed.
Now if in your new project you don't get Dynamic Web Project, select a new Project. In that you can go to Web-> Dynamic Web Project.
I don't know when this started, but in Mars.2 I found it here.
Downloaded the 4 files in Eclipse Kepler 4.3, and options for both Dynamic and Static Web project are now available. Can also create HTML5, JS, CSS files for a Hybrid Android application.
We can locate the Create Dynamic Web Project in Eclipse at top Menu bar button, hover mouse pointer over each one of them to find out
Click on Help and then click on “Install New Software”.
In Work with paste this link: http://download.eclipse.org/releases/Kepler
Change the link according to your Eclipse version, for example for the Eclipse
2020-03 the link would be http://download.eclipse.org/releases/2020-03
Scroll down to find “Web, XML, Java EE and OSGI Enterprise Development”
option and expand it.
4.Select the following three options under “Web, XML, Java EE and OSGI Enterprise Development”
-Eclipse Java EE Developer Tools
-Eclipse Java Web Developer Tools
-Eclipse Web Developer Tools
Click next and you would see that the software are installing. Wait for some time and then a popup would ask your permission to restart the Eclipse. Restart it and you would find the dynamic web project option under project list.
Which "Java EE" plug-in do you mean? That wizard requires that the Java EE Developer Tools feature be installed, and you be running with at least Java 6.
actually, you just need to check the check box for generating the web xml, see here
Eclipse Kepler not generating web.xml automatically
install plugin in eclipse for web application. Then dynamic web application option will come.
Find plugin link from here
https://developers.google.com/eclipse/docs/getting_started#creating
And go to help->Install new software-> paste link in work with and click on add select all available plugin.
It could hep you.

Can't chose a Liferay Plugin SDK in Eclipse

I have checked out an existing project from SVN into Eclipse as aLiferay project (in fact the checked in project IS a Liferay project).
The problem is that I get an error:
*No Liferay Plugin SDK configured on project Xxx-portlet.*
Opening the project properties I can see under Liferay menue item that indeed there is no SDK selected. Following the Configure SDKs link I can see an existing installed Liferay Plugin SDK and it's already selected. Clicking OK (even after de- and re-selecting the installed Plugin SDK) the input field remains empty.
How can I assign the Liferay Plugin SDK to the project??
Plugins SDK is an ant-based download that relies on your projects to be in common locations: If you just check out one project, you'll need to have this in a subdirectory of the plugins sdk - e.g. if you are working on a portlet (project name "my-portlet"), this should be located in ${plugins-sdk}/portlets/my-portlet.
In eclipse (or Liferay IDE) you should configure your plugins sdk by naming it and pointing to the root of your sdk folders. Then you can choose to create projects into this sdk (or to import from that SDK)
Note that the sourcecode will be located in the SDK directory, not in the eclipse workspace directory.
This is necessary as IDE relies on the ANT infrastructure to be there and the build.xml files reference common build.xml files in the parent directory. Some build processes in Liferay IDE will trigger ANT.
Liferay IDE 2.0 will also support maven, so this requirement will go away (if you use maven)
Ok! I have to check out the project into the {Liferay Plugin SDK}/portlets folder but not into any other folder.

Path to the GWT Installation Directory

I have installed WindowBuilder and I'm trying to create a GWT Java Project in Eclipse Helios. In the "GWT Settings" window, I am instructed to click the "Configure GWT Location" link and point to the path of the GWT installation directory, but I can't seem to find it even though I know WindowBuilder was installed. According to what I've seen online, it should be in the 'plugins' directory in the 'eclipse' folder where I pointed the WindowBuilder download using Eclipse's "Available Software Sites" function. It's looking for a gwt-user.jar file, but I can't locate such a file even while using Windows Explorer's search function.
What am I doing wrong?
This 2 different things GWT SDK and WindowBuilder both can be installed through Eclipse Update
but WindowBuilder will not work without the GWT SDK.
the simplest way is to use Google Plugin for Eclipse - http://dl.google.com/eclipse/plugin/3.7 (Eclipse Indigo) select all (or leave out the AppEngine in case you do not need it)
after it installed and eclipse Restarted you are done.
the "Configure GWT Location" refer to older versions. Now it is not needed.
What you did "works by a miracle" do not go with it I do not know when it will backfire on you with unpredictable behavior.
Download GWT SDK manually from http://www.gwtproject.org/download.html, .. unzip it ... you'll fine "gwt-user.jar" there
In Eclipse, open Window | Preferences | Google | Web Toolkit .. click "Add" then browse to this unzipped folder.
You do not need GWT turned on in order to create a New Web Application Project. If you do not want to use GWT just uncheck the "Use Google Web Toolkit" checkbox on that same dialog and it should work.