How to apply copyright template to all source code in Spring Tool Suite STS? - spring-tool-suite

I am using STS 3.7.1. I found a few guides on how to apply templates and copyrights content to all project files for different versions of eclipse. However, so far none of them works for STS 3.7.x. Any suggestion?
What I tried:
copyright wizard. Cannot be found now, retired?
Releng too. Cannot be found now, retired?
eclipse fix copyright tool. Cannot found in STS, maybe they refer it same as Releng?

THe tools you have tried to find... they are not included by default into STS (nor Eclipse). But you have to install them as optional add-on.
For example the "Copyright Wizard" can be installed from the "Eclipse Market Place". I found it here:
https://marketplace.eclipse.org/content/copyright-wizard
According to recent feeback posted on the market-place entry, this plugin still works fine on the currently latest Eclipse release (4.5).
To install from marketplace the easiest is to use the Eclipse Marketplace Client which you can open from STS (or Eclipse) "Help" menu.

Related

Cannot install Mercurial on Eclipse Juno

Attempting to install Mercurial on Eclipse Java EE IDE Juno from
http://cbes.javaforge.com/update in the Install new software...
but,
"Cannot complete the install because one or more required items could not be found. Software being installed: codeBeamer Eclipse Studio (with Mylyn) 3.1.0.v201011161842 (org.codebeamer.eclipse.mylyn_feature.feature.group 3.1.0.v201011161842) Missing requirement: codeBeamer Eclipse Studio (with Mylyn) 3.1.0.v201011161842 (org.codebeamer.eclipse.mylyn_feature.feature.group 3.1.0.v201011161842) requires 'org.eclipse.mylyn_feature.feature.group 3.3.0' but it could not be found
I tried on Windows 7_64 and ubuntu 12.04_64. I even installed mylyn using the latest stable releases from http://download.eclipse.org/mylyn/releases/latest
Any Ideas?
Already browsed web and this site.
You could also try the update URL from the Google Code repository instead, which installs only MercurialEclipse.
+1 to installing from Google Code Repository.
Initially Eclipse wouldn't start because of problems with the older version of the plugin so to get past this simply removed the jar com.vectrace.MercurialEclipse_1.9.1.v201111302231.jar from the Eclipse plugins directory then uninstalled the existing plugin and re-installed from the link in smooth reggae's post.
All seems good so far.
The problem is, that the codeBeamer Eclipse Studio requires an older version of Mylyn (3.3.0), which isn't available for Juno.
But AFAIK you don't need the whole CBES, if you only need the Mercurial features. Try to select only MercurialEclipse, it should also be available in that update site.

Using the Eclipse Marketplace on Aptana Studio 3

I'm currently trying out Aptana Studio 3 for PHP development (I'm pretty new to all these), and I've stumbled upon a problem. I've noticed Eclipse has a Marketplace that hosts a wide variety of plugins, and I'd like to install one that helps me for version control.
However, I can't find the Eclipse Marketplace dialog under Aptana. Is there anybody out there who's done this before (installing Eclipse Marketplace stuff in Aptana)?
Also, this is a little out-of-topic but I'd like to use Java.net as the place where I'll be storing my repository. To my knowledge, NetBeans has a built-in support for Java.net; is there anything similar for Eclipse/Aptana Studio?
EDIT: If it helps, I installed Aptana Studio as a standalone version, and not as a plugin on Eclipse.
Try Help / Install New Software, and click on the Available Software Sites link. You'll probably have the eclipse Helios release directory in the list, just check it to activate it. A lot of third-party packages have their own release sites, you can add them in the same dialog.

Freemarker Eclipse Plug-In

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

Is there a simple XML editor w/ syntax highlighting?

I use Eclipse daily in a VERY limited scope, I would consider myself an Eclipse newbie.
Update: I'm looking for a plugin for eclipse, not an external application (e.g. Notepad++)
Eclipse Info:
Version: 3.5.0
Build id: I20090611-1540
Installed Plugins:
CollabNet Merge Client 1.10.0 com.collabnet.subversion.merge.feature.feature.group
Eclipse SDK 3.5.0.I20090611-1540 org.eclipse.sdk.ide
JSEclipse 1.5.5 com.interaktonline.jseclipse.feature.group
Mylyn Bridge: Eclipse IDE 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.ide_feature.feature.group
Mylyn Bridge: Team Support 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.team_feature.feature.group
Mylyn Connector: Bugzilla 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.bugzilla_feature.feature.group
Mylyn Task List (Required) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn_feature.feature.group
Mylyn Task-Focused Interface (Recommended) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.context_feature.feature.group
NetSuite SuiteScript IDE 1.0.2 com.netsuite.ide.feature.group
Subclipse (Required) 1.6.4 org.tigris.subversion.subclipse.feature.group
Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 org.tigris.subversion.subclipse.mylyn.feature.group
Subversion Client Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.feature.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.javahl.feature.feature.group
Subversion Revision Graph 1.0.7 org.tigris.subversion.subclipse.graph.feature.feature.group
SVNKit Client Adapter (Not required) 1.6.4 org.tigris.subversion.clientadapter.svnkit.feature.feature.group
I use eclipse for editing javascript files. I'm not a web developer, I develop custom applications for a popular web based ERP application and they're written in javascript. I use JSEclipse (I know it's old, but I still haven't found anything better, including Aptana) with Eclipse classic.
I do sometimes need to edit xml files and even less frequently the source of html files. Currently when I open these files in Eclipse they are displayed as just basic text. No syntax coloring and the Outline window has nothing to say about the doc. I've been googling for about 20 minutes and I'm having a hard time just finding a simple plug-in that I can use with my current installation that will provide syntax hilighting. I suspect there must be one out there, but my searches are missing it somehow...
I don't want to install a different version of Eclipse, I have 3 workstations configured with my environment and don't want to stir everything up. I tried installing the "Eclipse XML Editors and Tools" from the WebTools project but it failed out with several missing dependencies.
Here are the detailed error messages:
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse XML Editors and Tools 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM (org.eclipse.wst.xml_ui.feature.feature.group 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM)
Missing requirement: Structured Source Editor 1.2.4.v201103231819 (org.eclipse.wst.sse.ui 1.2.4.v201103231819) requires 'bundle org.eclipse.jface.text [3.6.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
I'm concerned about starting a "dependency chase" and before I know it I've installed a handful of things that will have who-knows-what impact on things.
Does anyone know if a simple, lightweight plugin that I can install from the "Help > Install New Software..." tool in Eclipse?
Have you consider this one?
http://editorxml.sourceforge.net/
Best Regards!
The XML editor from the WebTools project is the way to go. Since you didn't post the exact problem that you encountered when trying to install this plugin, I cannot help you further. I suggest that when you encounter a problem installing a certain plugin that you post the following information:
The exact details of what you have installed. Base version is a start, but you should also include which package you installed and general description of other plugins you installed into it.
The exact error message you got during plugin installation.
BTW: Eclipse 3.5.0 is very old. Version 3.6.2 is out already and 3.7.0 is going to be out in a few days. At the very least, you should run search for updates and move to version 3.5.2.
Update: Based on the provided error information, it looks like you are trying to install the version of XML editor that goes with Eclipse 3.6. Make sure that you install from the following repository and disable "check other repositories" option in the install dialog.
http://download.eclipse.org/releases/galileo/
If you accept editors outside of Eclipse (I had to read the whole story to see "plugin"...), I just use SciTE, and Notepad++ should do a similar job.
For real XML editing, I found Exchanger XML Editor to be quite efficient.
Shouldn't Eclipse be able to edit XML natively? It should colorize them if they are in a project, I think. I should try...
[EDIT] Indeed, it works. But I use Eclipse Helios for Java developers, perhaps it has some goodies from a base Eclipse.
In my configuration, it opens by default XML files in outline mode. Strangely, if I open them with a text editor, I have no syntax highlighting. I have that with the Ant editor, but then it will report errors (probably checking the DTD/schema).
Free, opensource. Works with 4.5. http://www.gstaff.org/colorEditor/
LiClipse (http://brainwy.github.io/liclipse) provides a lightweight XML editor that provides syntax highlighting just fine.
-- i.e.: it's target is exactly providing lightweight editors for a many languages in Eclipse (note that it's commercial)

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.