Freemarker Eclipse Plug-In - eclipse

How can I install Freemarker Plug-In in eclipse?
I googled it and found this site
https://sites.google.com/site/hcao2008site/development/leareclipse/install-freemarker-plugin-in-eclipse
but it did not work for me. The URL "http://www.freemarker.org/eclipse/update" as it has mentioned in #3 does not exist. Then I tried the URL "http://www.freemarker.org/eclipse/" then it worked but after installation, I added *.ftl as file types inside
Windows -> Preference -> General -> Editors -> FIle Associations but I could not find the Freemarker editor inside "Associated editors".
I am using Eclipse of Version: Indigo Service Release 1 in windows 7.
Any suggestions please???

You could try the JBoss Tools plugins available from http://download.jboss.org/jbosstools/updates/development/indigo/, they contain the "FreeMarker IDE" which provides a nice freemarker editor.
I didn't find a screenshot of the editor right now, so I will show you how it looks like in my installation (Indigo on Ubuntu 11.10), so that you can decide if this is what you want:

I have installed the freemarker just now, here is the screenshot for it, you can just check it

You can install it, from an update site - http://download.jboss.org/jbosstools/updates/stable/helios/
For installing, open eclipse, than go to Help > Install New Software >> add the above update site url, From the many installations available from that update site, you can just install the editor, you can just install the ‘FreeMarker IDE’ from All JBoss Tools menu. See below screenshot for help.

Jeewan#Feb 21 '12 at 21:38, you are missing the “freemarker” suffix in your link. The complete url is http://www.freemarker.org/eclipse/freemarker/ . It works for me on Eclipse Juno, OS Linux Ubuntu 12.04. #Jason#Sep 28 '12 at 6:59, I don’t understand your answer to mention the solution make more sense.

I found detailed instructions under http://freemarker.org/editors.html in the first table row ("Eclipse", "Part of the JBoss Tools Project. Install like this"). Although I restarted Eclipse as recommended, it was also necessary to reopen each file for the syntax coloring to take effect.

Since July 2016 also published on Eclipse marketplace as separate entry
https://marketplace.eclipse.org/content/freemarker-ide-jboss-tools
Quote
This is quick way to install FreeMarker IDE plugin from JBoss Tools
http://tools.jboss.org/.
Sources are at https://github.com/jbosstools/jbosstools-freemarker
Issue tracker is JBoss Tools JIRA
https://issues.jboss.org/browse/JBIDE (specify component freemarker)
As recommended on http://freemarker.org/editors.html nightly version
is used for Neon.

For Eclipse Oxygen / Photon:
The Freemarker Plugin from JBoss Tools was deprecated in the new release for Oxygen, see changelog for JBoss Tools 4.5.0:
https://tools.jboss.org/documentation/whatsnew/jbosstools/4.5.0.AM2.html#freemarker
So I use JBoss Tools 4.4.4 instead (which was for Neon, but seems to work fine with Oxygen):
https://tools.jboss.org/downloads/jbosstools/neon/4.4.4.Final.html#update_site
Installation:
Help > Install New Software > Add http://download.jboss.org/jbosstools/neon/stable/updates/ > Expand JBoss Application Development > Freemarker IDE

Related

Eclipse Oxygen | Installed Drools plugin doesn't show in perspective

I have installed Eclipse Oxygen . I tried installing Drools 7.3.0 in my eclipse.
When i try to install i get below scenario.
Prior to this i had installed and used drools in Eclipse Luna.
I checked the installed software tab in the below path:
Help-->About Eclipse-->Installation Details
I can see the Drools plugins installed . Sharing the image from my eclipse.
When i checked on goole , i saw the similar problem mentioned here. I checked and tried the options mentioned to no use. I cannot run it as admin , however i have all rights for the folder in which it is installed.I cannot see Drools in the perspective as a result of which i cannot create a Drools project.
Is it because of any bug in Oxygen which i am unaware of ? Or am i a missing a thing.
I have Java 8 on my system.
This doesn't look as if you have the plugins installed.
You have to download the zip file from drools.org/download/download.htmlgiven under the heading Drools and jBPM tools. This expands into a directory droolsjbpm-tools-distribution-x.y.z.Final with a subdirectory ./binaries//org.drools.updatesite. Follow the instructions in ./ReadMeDroolsJbpmTools.txt. This should install 7 plugins
org.drools.eclipse
org.guvnor.eclipse.webdav
org.guvnor.tools
org.jboss.tools.runtime.drools.detector
org.jbpm.eclipse
org.kie.eclipse
org.kie.eclipse.navigator

Not able to install PMD in Eclipse Kepler

I have installed PMD in Eclipse Kepler using Eclipse market place.
But I am unable to access it after the installation.
When I go to Window → Preferences and search for PMD, I get no results.
Is there any other plugin available for source code cleanup?
Or: What needs to be done to install PMD in Kepler?
Thanks
I found the PMD plugin that installs through Eclipse Marketplace to be harder to use than the standalone one. Install available by an Eclipse update site here.
I've tried all these suggestions and now i have it working in Kepler; here's how to do it:
I made sure my Eclipse Kepler instance was using Java 7--it was.
The link from the eclipse marketplace did not work. It would show a PMD option for the individual projects properties, but there were no rules to select from. Also the main workspace preferences were not showing up.
I had to install it using this update site, as Jeanne Boyarsky mentioned:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Restart Kepler.
The PMD option now shows up in the Windows->Preferences->PMD
The PMD project menu now shows up when right clicking on the project.
The install information on the web site for this plugin http://acanda.github.io/eclipse-pmd/getting-started.html says you must open the Properties for a project and look at the PMD tab.
If you've installed the PMD plug-in using the Eclipse market place then you're using eclipse-pmd which requires Eclipse to run on a JVM version 7 or later. If you're running Eclipse on a JVM version 6 or earlier and you're using eclipse-pmd 0.7 or earlier the PMD property page won't be visible.
To solve this problem you have to run Eclipse on a JVM version 7 or later. To change the JVM on which Eclipse runs you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to specify the JVM.

I don't have "Dynamic Web Project" option in Eclipse new Project wizard

I have download the Eclipse IDE for Java developer, HELIOS. I click 'File -> New -> Project...', but I only have "General, CVS, Java project, Examples". I would like to be able to create "dynamic web project", why do I not have this option?
I searched from internet, and the reason is probably I don't have Eclipse Web Development Tools, but how can I get it?
-----------EDIT-----------
I know by install Eclipse IDE for Java EE developer can solve the problem. But, I am working under Linux Ubuntu, how to get Eclipse Java EE version for Ubuntu Linux machine?
Not all of them are required (I think), but after installing the components listed below I got the "Dynamic Web Project" template added to my Eclipse (Indigo). The list is:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
You can install those packages by clicking on "Help" > "Install New Software", selecting the repository that corresponds to your Eclipse build (i.e http://download.eclipse.org/releases/indigo for Indigo). The packages are grouped under "Web, XML, Java EE and OSGi Enterprise Development".
I think you need the Web Tools Platform package for this. Not very sure though. You can add it to your current eclipse through Help > install new software.
Then add the software repository site location for WTP for your version of eclipse. This is how you can install plugins in eclipse.
"http://download.eclipse.org/releases/kepler"(If you have Eclipse Kepler)
Based on your eclipse choose above link and copy in
help>Install new software
paste in "work with" click add
give any name you want - plugin
In the list select>"Web, XML, Java EE and OSGi Enterprise Development">Eclipse Java EE
Developer Tools. select and install it.
After restart you will have your Dyanmic web project option.
Thank You.
Like me if it worked please
You only need to install
Eclipse Java EE Developer Tools
and you will be able to see "Dynamic web project" wizard.
Download Eclipse IDE for Java EE Developers, everything you need should be included inside. This is the most painless way of obtaining Web Development Tools.
If you want to leave your existing Eclipse IDE, you can go to 'Help -> Install New Software' and find WDT to install them, although I haven't personally tried to go this route, so I can't guarantee everything will work out of the box.
Edit: not sure if it's included in Ubuntu's repository. One other way to do it is to download Linux 32-bit (or 64-bit, depending on your machine) version of Eclipse EE, but you'll have to check if it's the source you have to compile yourself, or an already compiled binary.
Fwiw, I downloaded the standard Java EE version of the Mars version of Eclipse, and ran into the same deal -- didn't see a Web option if I tried File >>> New >>> Project wizard.
The good news: Probably no extra installation needed.
It looks like what I wanted was to select the Other option rather than the Project item (strangely this is what comes up when you hit Ctrl-N, but that also lets us know we're probably on the right track):
After you select "Other", you'll see the "Select a wizard" screen, where you can select "Dynamic Web Project" and profit.
HELP
Install New Software
In Work With input box paste this url: http://download.eclipse.org/releases/{version}/
Replace version with your eclipse's version (eg: LUNA)
Hit enter
Underneath box will have different options, select package of your need.
Maybe Eclipse WTP plugin has been accidently removed. Have you tried re-installing WTP using this location ? If I were you I would have reinstall Eclipse from strach or even better try Spring ToolSuite which integrates with Google Plugin for Eclipse seamlessly (usign Extenstions tab on STS Dashboard)
Just download any eclipse with "EE" letters
I had a similar problem, you may find that going to the top right corner of your page in Eclipse and click "Java EE" instead of "Java" will solve your problem. I had EE installed correctly like you, and this solved the issue for me. Hope I helped :)
Go to Eclipse --> Help
and click--->Install new software
then you can see a window ...There a click add
Then put below url in url box: http://download.eclipse.org/webtools/repository/juno/
i am having juno
if u have any other means put that name .
then click ok.
Make sure to check dynamic web app in "other section" i.e File>New>Other>Web or type in "dynamic web app" in your wizard filter. If dynamic web app is not there then follow following steps:
On Eclipse Menu Select HELP > INSTALL NEW SOFTWARE
In work with test box simply type in your eclipse version, which is oxygen in my case
Once you type in yur version something like this "Oxygen - http://download.eclipse.org/releases/oxygen"will be recommended to you in drop down
If you do not get any recommendation then simply copy " http://download.eclipse.org/releases/your-version" and paste it. Make sure to edit your-version.
After you Enter the address and press enter bunch of new softwares will be listed just ubderneath work with text box.
Scroll, find and Expand WEB, XML, Java EE .... tab
Select only these three options: Eclipse Java EE Developer Tools, Eclipse Java Web Developer Tools,Eclipse Web Developer Tools
Next, next and finish!
The easiest way to handle this is to install the full package installer with all weblogic add ons from the oracle site. This will install eclipse with all the features/plug ins you need.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-network-installer-2371168.html
This helped me find the "Dynamic web project" in Eclipse 2020-12 version. Restart the eclipse and go to file->new->other->web and you will see
project will be available.
This option might be missing because more than one and other than Tomcat runtime is selected. At the marked spot I was shown that I have selected Java JDK runtime. After unselecting it Dynamic Web Module reappeared.

Eclipse Java EE - Galileo - Unable to view plugins

I am new to Eclipse so I am having a hard time troubleshooting this problem. I have a new installation of Eclipse Java EE - Galileo on Windows, and I am unable to see any changes made in the IDE after installing plugins. I have verified that the plugins are installed via installation details, but see no changes made.
For example, after installing the maven integration plugin m2eclipse I go to File->New->Project ... and I have no option for maven. After installing the QuickRex plugin I have no view for it etc.
I have tried re-installing the plugins, re-installing Eclipse, and starting Eclipse with the -clean option, but nothing has resolved the issue.
Any ideas? Thanks!
Ok. This is just a wild guess but could you start over with a fresh install and make sure that you uncheck the option Contact all update sites during install to find required software as shown below:
alt text http://img717.imageshack.us/img717/8039/screenshot003ao.png
I faced a similar problem (on another platform than yours), some updates were "disabling" all my plugins. Not checking this option allowed me to work around this issue.
Follow-up: You'll need to install that Zest stuff manually from the GEF update site:
alt text http://img339.imageshack.us/img339/8003/screenshot003rl.png

Installing eclipse Web Tools Platform (WTP) - update site does not work?

I'm trying to install the WTP (web platform tools) to my Eclipse installation so I can get the XSL transformations working. The base Eclipse they installed for me here was the plain Java IDE (the splash screen says "Ganymede" if that means anything). Looking at this site, the URL to get the download should be here: http://download.eclipse.org/webtools/updates/ ...But when I give that URL to the Eclipse update manager, I get an error telling me: "No repository found at http://download.eclipse.org/webtools/updates/"
Anyone else had this problem? Anyone know what might be up? Anyone know how to get the xsl-transform plugin installed?
EDIT:
I should have mentioned before that I want to find a way to do this without installing any new instances of Eclipse. This process will eventually be sent to several other developers who already have Eclipse (same version that I'm testing with) and I'd rather just do an in-place upgrade rather than have everyone go and install a new product.
UPDATE:
I found another plugin, Xcarecrows 4 XML which can also do XSL transforms. The interface is ugly and seems more than a little quirky, but it's also a small download, and at least it runs and transforms. Unless I can find an easy way to get WTP working, I'll probably just stick with this.
You can try and install WTP through the main Ganymede update site:
http://download.eclipse.org/releases/ganymede/
Or you can download the latest Java EE bundle and use that instead of your current Eclipse
(do NOT unpack it on top of your current Eclipse, but unpack it elsewhere, to test that second installation: it will come with WTP inside)
Note: check then "How do I start Eclipse" to point to your existing workspace in order to see all your previous project in your new Eclipse installation.
As mentioned in your link, XSL Tools is now part of WTP (for Eclipse 3.5 Galileo), and that may explain why your Eclipse Ganymede (3.4) might not interpret correctly the P2 update site for WTP (P2 being the new Eclipse provisioning mechanism introduced late in the 3.4 release cycle)
For Eclipse 3.5, you have an XSL Tools installation illustrated here:
But Eclipse3.4 is more likely to be compatible with XSLT0.5 and you will need a separate installation, because "XSL Tools" wasn't yet part of WTP.
I am not sure, however, where to find such an installation package within the Eclipse projects.
Use the following update site :
For Juno :
http://download.eclipse.org/webtools/repository/juno/
For Indigo :
http://download.eclipse.org/webtools/repository/indigo/
I'm assuming you don't have any firewall exceptions for Eclipse right?
The site for the WTP update is indeed the one you've listed. Maybe post a screenshot? You've added it specifically to your remote update site list?
Either way try a manual update which should be more reliable and get you up and running for now.
All-In-One Update (Eclipse IDE included):
Go to the Eclipse Download site.
Grab the all-in-one package: Eclipse IDE for Java EE Developers
Install, have a coffee and enjoy. (WTP is included)
Manual Update your existing installation of Eclipse:
Download the applicable WTP source package to your desktop
Shutdown Eclipse
Extract the package to your Eclipse installation directory
Startup Eclipse. (WTP is now available)
Follow the steps in the FAQ at http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F .
Are you behind a proxy? If so, you need to make sure you configure your proxy settings in Eclipse.
Window > Preferences
General > Network Connections
Ok, I can probably get it working if I do a clean install of Eclipse. I can do that on my machine, but not the other team members' machines (at least not without going through many emails and paper work) so I'm going to say that XCarecrows 4 XML is the solution. It is able to do XSL transformations in Eclipse 3.4 and doesn't require anything else to be installed. Since XSLT is all I need, the plugin will do.
you can use the marketplace:
https://marketplace.eclipse.org/content/eclipse-java-ee-developer-tools-0
like the site says:
Drag to Install!Drag to your running Eclipse Workspace.