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

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.

Related

Can not find "GWT Eclipse Plugin" in Eclipse marketplace to install it

I have installed Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) Version: 2022-12 (4.26.0) and Build id: 20221201-1913, when I open Eclipse marketplace and search for gwt it can not find GWT Eclipse Plugin, so I am unable to install it.
I tried other ways like drag n drop the install button from Use the Drag and Drop Install Button and it didn't worked,
also I tried adding the url http://storage.googleapis.com/gwt-eclipse-plugin/v3/release via Help->Install New Software... menu and I encountered with error that the url is not reachable.
Today is 12/27/2022 and I have seen reports that the url was available in some time frames but now it is unavailable.
Finally after many try and error I found how to add GWT Eclipse Plugin
1-Download the released package from
http://storage.googleapis.com/gwt-eclipse-plugin/v3/downloads/repo-3.0.0.zip
2- From Help->Install New Software... select a name and select the
downloaded zip file, then you were able to see GWT EClipse Plugin and
Google SDK option, the next steps is straight.

Can't create a GWT web application in Eclipse

I'm installing the plugin following these istruction http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html
The installation appears to be successful (if i go on the installed plugins I can see GWT Eclipse plugin 3.0.0) , but when I have to create a new web application I don't find the button for create it. I tried to search the button in "other" too.
Eclipse version: 4.22.0
The eclipse plugin is not fully maintained right now, the recommended way for creating new GWT projects is to use a multi module archetype that separate the client from the server, there is already a good archetype to do that you can find it here tbroyer gwt archetype and follow the instructions in the readme file to check how you can run the application.

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.

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

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

GWT Wizards are not showing in the eclipse Wizards menu

The google documentation http://code.google.com/webtoolkit/tools/gwtdesigner/wizards/gwt/uibinder_dialogbox.html shows GWT wizards in eclipse, however, on my system this is not displayed. How do I get them to show?
Google docs
My System
I definitely have GWT installed in eclipse and can run GWT projects
Here are my updated sites from the Help menu
Eclipse 3.7 WindowBuilder Repo http://download.eclipse.org/windowbuilder/WB/integration/3.7 Enabled
GWT Framework http://dl.google.com/eclipse/plugin/3.7 Enabled
Indigo http://download.eclipse.org/releases/indigo Enabled
Subclipse SVN http://subclipse.tigris.org/update_1.8.x Enabled
The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/3.7 Enabled
Try this:
http://code.google.com/webtoolkit/tools/download-gwtdesigner.html
You need to install the full version of GWT Designer. Installing the GPE only gets you a stripped down version of GWT Designer (w/o any of its wizards).
Here's how I was able to get the GWT Designer tools to work on Eclipse Juno:
I already had GWT 2.5.0 installed, with GWT Designer. However, I couldn't see the designer anywhere
At the same time, I did not have WindowBuilder installed on my Eclipse.
So I first installed the WindowBuilder plugin from the main Eclipse plugin repo
Then I uninstalled GWT Designer (all 3 packages or so that are included)
Restarted Eclipse
Re-installed GWT Designer
Restarted Eclipse
Went to File > New > WindowBuilder > GWT User Interface
Got a dialog saying that I needed to install additional WindowBuilder toolkits. "Click finish to install this toolkit"
Clicked finished, Eclipse did its thing, problem solved =)
Not sure all the steps are required. I think the key is to have WindowBuilder installed with your GWT Designer, and remember to go to New > WindowBuilder instead of New > Google Web Toolkit