Eclipse Plugin for ClearCase - eclipse

Installed on my Windows 7 (32-bit) computer is ClearCase Explorer 8.0.1.9 and Eclipse Java IDE 4.7.2 (Oxygen) and JDK 1.8.0_161.
I am looking for suitable plugin so that I can perform check-out / check-in to ClearCase from Eclipse workbench.
I found a plugin on sourceforge but I would prefer something from IBM.
Also I cannot use the newer product ClearTeam Explorer, I must use ClearCase Explorer.

Try using cleartool command line options to checkout or checkin.
it is very simple and got clean response.
Do integrate batch commands with Eclipse
Check this related Question How to run a batch script (.bat file) from eclipse
IBM Help page for Clear case commands
Cleartool subcommands for base ClearCase and UCM

You'll need to update your clearcase client to 9.0.0.6/9.0.1.2 or later to use the cte plugins that support that release of eclipse. 8.0.1.x tops out at 4.6.
The plugin mentioned by #Elyahu is last updated in 2013, and may not work with a current eclipse/jvm release.

As I remarked, in any case Eclipse is not an IBM tool, so you can find any suitable plugin you find on the net.
That one is an IBM one, but for lower ClearCase versions, but it might be OK, since its only a plugin, and you only need a check-out <-> check-in ability
https://www-01.ibm.com/support/docview.wss?uid=swg24025674
Enjoy,
Eli

Since you have mentioned you have 'ClearCase Explorer 8.0.1.9 ', I assume that you have installed it in your computer/VM/asset.
During installation of Clearcase, there is option you can select to install 'CTEUpdateSite'. If you enable that option, you will see /CTEUpdateSite directory. You can configure it in your eclipse Help--> Install Software, Add a 'Local' location so that those plugins will get installed. Post Installation you will able to do all ClearCase operations from Eclipse IDE itself.

Related

How to update Eclipse from 2018-09 to 2018-12

I have Eclipse 2018-09. My impressions was that Eclipse was moving to a rolling quarterly release, and by that I presumed I'd magically be offered updates every quarter to the newest. But now that 2018-12 is out, my instance does not detect any new updates.
Looking at the update sites in Windows -> Preferences, Install/Update -> Available Software Sites (incompletely listed below), I notice they seemed to be pinned to specific versions:
The Eclipse Project Updates: http://download.eclipse.org/eclipse/updates/4.9
The Eclipse Project Updates: http://download.eclipse.org/eclipse/updates/4.9/categories
Eclipse Project Repository for 2018-09: http://download.eclipse.org/eclipse/updates/4.9/R-4.9-201809060745
2018-09: http://download.eclipse.org/releases/2018-09
Oracle Enterprise Pack for Eclipse 12.2.1.8 Dependencies: http://download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/dependencies/
I've noticed there is also now an Eclipse Installer, which says it is "The easiest way to install and update your Eclipse Development Environment.". However, there is no description of updating, and when running it and pointing to the existing folder for 2018-09 (yes, I made a backup first to be safe), it does not update that folder but instead just creates a new sub-folder under the existing 2018-09 version called "eclipse" with presumably a complete copy of the new eclipse. So that's a failed attempt.
What is the recommended way of upgrading from 2018-09 to 2018-12? Is it:
Manually download a new copy of Eclipse and spend hours configuring it to hopefully be almost the same as the configurations in 2018-09
Run the Eclipse installer in some other manner than I already have.
Manually updating the update sites (to what values?). If the so, is there a way to specify to always use the latest on the update train?
Other?
See Eclipse FAQ - Always enable major upgrades:
To always enable major upgrades of your IDE once and for all:
from the Available Software Sites preference page
enable the Latest Eclipse release http://download.eclipse.org/releases/latest repository by ticking the checkbox.
Apply and Close
Check for updates
The similar workflow can be used to hide and disable automatic
proposal of major upgrades.
To my knowledge, the update site http://download.eclipse.org/releases/latest exists since Eclipse Photon (4.8) in Window > Preferences: Install/Update > Available Software Sites but is not checked by default.
If you want to change the default of this preference, vote for or comment on Eclipse bug 539281 - Enable http://download.eclipse.org/releases/latest by default.
The two advantages of using the Eclipse Installer over the direct installation of one or more IDE packages are:
The Eclipse Installer saves disk space when installing multiple IDE packages (by using a shared pool for the plug-ins of all IDE packages)
The Eclipse Installer makes it easier to contribute to an Eclipse project (advanced mode).
Another way to install Eclipse 2018-12 is to use Chocolatey on Windows. Eclipse 2018-12 corresponds to version 4.10.
PS C:> choco list eclipse
Chocolatey v0.10.11
eclipse 4.10 [Approved]
...
PS C:> choco install eclipse
...
But this won't do an in-place upgrade.
Go to Window-> Preferences -> Install/Update -> Available Software Sites
First, if exists remove duplicate sites
Second, click to eclipse related update sites and Reload

Whereabouts would I find the source code for the CVS team integration in eclipse?

I've looked at a lot of the git repositories, but I'm not sure which one to start with (and they're fairly large, so I want to avoid scanning 25 gig of data). Where would I find the code to handle CVS and Subversion integration?
You can browse all of the git repositories at http://git.eclipse.org/c/ . The one you want is http://git.eclipse.org/c/platform/eclipse.platform.team.git/ (cloning URLs are shown at the bottom).
You can install the core Eclipse source including the CVS code in to Eclipse from Help > Install New Software. Work with http://download.eclipse.org/eclipse/updates/4.3 for Eclipse 4.3 (Kepler) and choose Eclipse SDK. You can also download this as base Eclipse install (which is what I usually do).
Once you have this installed open Preferences > Plug-in Development and check Include all plug-ins from target in Java search. Once this is set the things like Navigate > Open Type and all the Java searches will include all the Eclipse source code.
Where the SVN code is depends on which SVN code you are using.
Update 2022: as illustrated by gitlab.eclipse.org/eclipsefdn/helpdesk issue 1100, and issue 915, everything is in the process to be transferred to GitHub.
The old (2014-2021) git.eclipse.org/c/platform/eclipse.platform.team.git/ would therefore be soon (Q2 2022) be found under https://github.com/eclipse-platform.
https://github.com/eclipse-platform/eclipse.platform.team

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.

how I integrate TortoiseSVN with the netbeans6.8?

how I integrate TortoiseSVN with the netbeans6.8 ?
Its easy to connect between Netbeans and tortoiseSVN. If you are using windows:
You need to install subversion for windows (http://sourceforge.net/projects/win32svn/). After that you must set the path in win environment to include the subversion bin folder.
Install Tortoise client
Open Netbeans, and go to Windows > Versioning > Open the path where you install the subversion. or you can right click on your project folder and choose subversion.
Hope this help even its almost a year thread
TortoiseSVN is a standalone program. NetBeans has its own SVN integration. The two are unrelated, but you can use both of them interchangeably.
http://netbeans.org/kb/docs/ide/subversion.html
http://tortoisesvn.net/
What you need to do is install SVN - a version that is compatible with both Netbeans and Tortoise. Tortoise is built for Subversion 1.6.6 and Netbeans supports who knows what? They claim support for Subversion: 1.4.x, 1.5.x, 1.6.x on their website but if you google it you will see they seem to have a lot of problems with it.
My experience was that any performance gain from IDE integration was offset almost immediately by having to constantly troubleshoot it everytime SVN was upgraded. You will be better off doing your version control at the command line or just via Tortoise (which is lovely - I miss the shell integration now that I am using ubuntu and git).
Not sure you do. Perhaps you integrate NetBeans directly with Subversion? Subversion integration seems to be built in to NetBeans on my installation. TortoiseSVN integrates with Windows Explorer.

SVN not working in Eclipse

One day I pressed in Eclipse Help -> Check for Updates (and I learnt that I should Never Ever update a software which works fine.)
Then in a project that I used with SVN the whole submenu of "Team" and the little icons that showed that some files weren't commited, they all dissapeared.
I tried everything:
revert from Instalation History tab
uninstall from Installed Software tab
replaced the folder eclipse in Program Files with a new one downloaded from eclipse website and tried to install again
searched how to install it on the net
But in none of the cases above if I press Ctrl+N There is no SVN group;
If i right click on a project and select Team -> Share project, a window with CVS appears, but no SVN.
If I choose File -> Import I can't find SVN anywhere.
If I go to Help -> About Eclipse -> Instalation details I see at Instalation History in 25.06.2009, 09:59:08 GMT+03:00 (when SVN worked)
Eclipse IDE for Java EE Developers 1.2.0.20090621-0820
Subclipse (Required) 1.6.2
Subversion JavaHL Native Library Adapter (Required) 1.6.3
SVNKit Library 1.3.0.5847
In the Installed Software tab I have now installed
Eclipse IDE for Java EE Developers 1.2.0.20090621-0820 epp.package.jee
Subclipse (Required) 1.6.5 org.tigris.subversion.subclipse.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.6 org.tigris.subversion.clientadapter.javahl.feature.feature.group
SVNKit Library 1.3.1.6109 org.tmatesoft.svnkit.feature.group
How can I make SVN to work?
Where does eclipse store its files, because when I changed the eclipse directory with a new one all my stuff was there (the ones that I installed with no success: SVN, Subversive, Subclipse, SVNKit, ...)
Subversive is my favorite SVN implementation in Eclipse because it works better than the others and it integrates neatly into the UI.
I suggest you follow these steps:
Download the most recent version of Eclipse (currently Galileo) and extract it to your desired installation location
Prior to running Eclipse, make sure you delete (or rename/relocate) your default workspace (under Windows this is workspace in your user directory)
Install the Subversive SVN Team Provider (as instructed by the Eclipse incubation website) using Eclipse's software installer:
Choose Help, then Install New Software...
Create a new download location and specify the following download URL: http://download.eclipse.org/releases/galileo
Locate Collaboration, expand it, then check Subversive SVN Team Provider (Incubation)
Proceed through the installation and accept the TOS
Restart Eclipse and Subversive should prompt you to select a SVN Connector. Reading the symptoms you describe, it sounds like you don't have a connector installed, or it isn't communicating with your team provider. The Polarion website has a guide for choosing the connector best suited for you.
If you aren't prompted to install a connector, you can always do so from the preferences screen:
If the above doesn't work for you, it seems that your workspace isn't cleaned out. Locate your default workspace and try getting things working without any projects before you continue.
You could then also try deleting the .eclipse directory in your user directory. And starting over from step 3.
The problem I had was that svn icons where not showing in the package explorer.
The solution for me was to delete the .metadata folder in the workspace folder (which will reset all your workspace including preferences and repository configurations)
After that all the icons appeared.
I had same issue when SVN connector was not able to connect SVN repository in Eclipse.
Then, I do the following step's :-
Right click on Project under Eclipse.
Go to Team -> share Project.
It's working :)
I found a problem related to installing plugins here. I also could not get the SVN stuff to show up in the preferences because of some bug with the software updater updating the Mylin plugins. You'll likely have to get your Eclipse installation straightened out first and you can do this by just using a new workspace. You don't have to blow away the .metadata folder if you point Eclipse temporarily at a new workspace folder. When the Eclipse installation is clean, you can start installing plugins again, but make sure to uncheck the box labeled Contact all update sites during install to find required software
Eclipse uses local SVN libraries that are part of an installed plugin for SVN support, be it SVNkit or JavaHL. Netbeans uses SVN libraries that are installed independently.
I have had this happen before with Eclipse and the various SVN plugins that it supports. The SVN plugin, for some reason, sometimes looses the SVN connection. Your best bet is to simply delete the project and re-check it out of svn. If you have changes that need to be committed you can use the command line.
Another problem you may have is that your plugin and your repository are out of sync in terms of version numbers. I have had problems before using a plugin designed for svn 1.6.x and a repository that was still at svn 1.4 or 1.5.
Just delete all projects from eclipse and Re-Import the all projects again.
It is working for me.
Just try it
If you want to completely start over with eclipse, you need to delete your workspace as well (the path you see when you first start eclipse). Just re-installing the eclipse files and pointing to the same default workspace will not change anything for you.
Your best bet is to remove eclipse and your workspace and start over because you probably inadvertently broke some other parts of the plug in while you were trying to fix your initial problem.
Even if you install everything as it is said, Subversive and SVN Connector (svnkit 1.x.x), in the project you may not see svn working. In my case I had to remove the project from workspace and import it again. Then it appears. (Refresh, clean did not worked).