Eclipse (on Ubuntu) do not have jsp, html and other web-files template - eclipse

I installed Eclipse using Synaptic Package Manager (Ubuntu 9.10).
However, my Eclipse does not have any HTML template (in New dialog) or JSP template.
How can I fix it so that I will have some HTML and JSP templates overthere?

Fetch Eclipse plugin from http://download.eclipse.org/releases/galileo and select Web Developments stuffs solve the problem.

I do not recommend to install Eclipse from the ubuntu repository but to install it manually instead (and grab Eclipse IDE for Java EE Developers). Just be sure to check this answer to fix the "click problem" due to a bug with Eclipse 3.5 and GTK+ 2.8.
Update: The reasons to prefer a manual install are explained in EclipseIDE. First, there is no guarantee to find the most recent of Eclipse in the repository (in Ubuntu 9.04, the packaged version of Eclipse was totally outdated). Second, even if you find an up-to-date version (like for Ubuntu 9.10), you'll need to run Eclipse as root to install plugins not available in Package Manager - why did they start to package plugin, this is just crazy - which is not a good idea. User mode installation solves this problem.

You can install eclipse-wtp-webtools package for static html files. I can't find one for jsp though.

Related

How to install the JSystem plugin for Eclipse

As per the JSystem documentation it's stated that the installer of JSystem has a little checkbox which install the eclipse plugin, but the screenshot on the manual it's for Windows XP(http://www.jsystemtest.org/sites/default/files/help/Chapter%203%20Getting%20Started%20with.htm#_Toc206753837) and right now I'm using ubuntu 12.04 with Eclipse Juno. I just installed JSystem here and can't find that little checkbox.
Also the documentation is sparse and short. Does anybody know how to install the JSystem plugin for Eclipse?
Thank you!
Actually, the Eclipse plugin is no longer part of the JSystem installation.
If you still want to use it, you can grab one of the older installation packages from SourceForge
(Version 5.7.02 would do the trick).
If are having problems with the Linux installation, you can install it on windows and copy manually the com.ignis.eclipse.plugin_5.7.02 jar from the jsystem/runner/Eclipse folder to the Eclipse plugins folder.
After restarting the Eclipse, you would be able to create a new JSystem project using the plugin.
One of the main reasons that the plugin is no longer provided and supported is that JSystem is now using Maven and most of the plugin functionality is now done via Maven archetypes.
To learn more about it please refer to the Getting started guide

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)

Failure creating clojure project in Netbeans

I decided to take a look at Clojure and thought the best and easiest method for me would be to use Netbeans with the Enclojure plugin as I didn't want to have to learn Emacs at the same time. I installed Netbeans 6.9.1 together with the latest JDK using the bundled install (on Windows 7). All went smoothly. I then followed the instructions at http://www.enclojure.org/gettingstarted for installing the enclojure plugin.
When creating a new Clojure application I get the following and see no project files :
java.io.IOException: Could not connect to URL nbresloc:/org/enclojure/ide/templates/project/ClojureProjectTemplate-1.1-distribution.zip. No such resource was found.
Maven is working using mvn --version
I have installed on both Windows 7 and Ubuntu 10.04 (same result).
I have looked on the Enclojure forum and there is a recent open thread for this issue, but it is not solved by anybody presently.
I have Java SE enabled in Netbeans
I have tried enabling the different platform versions of Clojure, 1.0.0, 1.1.0, etc..
The REPL seems to be working happily in Netbeans : (printf "hello") hellonill
I did try ClojureBox on Windows 7, but again that's Emacs, but emacs failed to start the server and hung there and became totally unresponsive.
I come from a .Net background (not Java) so my knowledge of the Java environment is somewhat lacking. My reason for looking at Clojure and not Java.
I am new to Netbeans
If you're interested in a working Maven pom, here is one I've used with Enclojure successfully:
http://puredanger.com/techfiles/100624/pom.xml
There are some project settings you'll need to change and a few dependencies to remove but it might be a good start. In general, I usually create the pom first and then just import the project into NetBeans rather than using the NetBeans options to create projects.
By the way, the REPL work in Enclojure has been split and is coming soon to the Eclipse plugin Counterclockwise.
I had written a small post on it on my blog.
Anyways here is the procedure:
On searching realized that this is a common problem for installing it on > Netbeans 7.. But with some manual tweeks managed to install it. Here are the instructions to install on Netbeans 7. plus:
Install Netbeans 7. You need only the Java SE version.
First Run of Netbeans after installation. Activate feature Java SE
Activate features is on the Start page or from Tools,->Plugins>Installed, click ‘Activate next to the Java SE support
Install Maven: It is HIGHLY recommended that you install maven: http://maven.apache.org/download.html
Go to the Netbeans->Preferences, click on the Miscellaneous tab and make sure the External Maven Home path is pointed to your maven install
Download the EnClojure 1.5 version from here. If you want to manually build, you can do that by following the instructions from here.
After downloading the file, In Netbeans: Goto:- Tools ->Plugins->Downloaded->Add Plugins->Downloaded
Then browse to the downloaded file. Later install by clicking at the “install : button.
Restart and you are on the go.
Visit here to build and run hello world project.Basically building the EnClojure 1.5 manually is the tough job. I hope above was useful.

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.