I'm using Eclipse with Egit/Github and Maven on Windows. Often but not always, when checking out a branch an error message is thrown indicating the pom.xml file could not be renamed which causes the checkout to fail. The file is locked by Windows, preventing the rename. Using Handle as suggested below shows Eclipse has the lock. Colleagues don't see this problem. I've installed an entirely different instance of Eclipse and cloned the repository to a different location and have the same results.
This all causes a great mess in my repository because Git does not have a rollback function on the checkout failure. All of the files from the go-to branch were copied in but git keeps the come-from branch as checked out. All of the files that differ between the branches are shown as modified. Cleanup takes a bit of work.
I'm having the same issue.
Unfortunately, I'm unable to switch to Bluemix set of tools.
In the meantime, waiting for IBM to fix this issue, I was able to work around this issue by performing manually Garbage Collection in Eclipse.
This is easily done by enabling GC button in status bar as show here:
Eclipse: Garbage Collector Button
Press it, and locks on pom.xml are released!
In the fog of eclipse plug-ins I was not able to find the exact answer, but this was the solution.
The problem was in the IBM Websphere and Bluemix plugins. There are several options for installing those plugins which results in different content.
From the Eclipse Marketplace:
The bad set came from Eclipse Marketplace from "IBM Liberty Developer Tools for Oxygen"
The good set came from "IBM Eclipse Tools for Bluemix Oxygen"
The problem plug-ins are these:
IBM Bluemix Tools 1.0.2.v20171004_2101 com.ibm.wdt.bluemixtools.feature.feature.group IBM
OSGi Application Development Tools 17.0.3000.v20171004_2101 com.ibm.osgi.wdt.feature.feature.group IBM
Web Development Tools 17.0.3000.v20171004_2101 com.ibm.wdt.webtools.top.feature.feature.group IBM
Web Services Development Tools 17.0.3000.v20171004_2101 com.ibm.wdt.ast.ws.tools.feature.feature.group IBM
The ones that work are these:
IBM Bluemix Tools 17.0.3000.v20171004_2330 com.ibm.cftools.ext.feature.feature.group IBM
WebSphere® Application Server Liberty Tools 1.0.2.v20171004_2330 com.ibm.cftools.server.tools.feature.feature.group IBM
These two came with either package, but are required in a websphere/bluemix installation.
Cloud Foundry Tools Core 1.2.3.v201709130027 org.eclipse.cft.server.core.feature.feature.group Eclipse Tools for Cloud Foundry
Cloud Foundry Tools UI 1.0.10.v201709130027 org.eclipse.cft.server.ui.feature.feature.group Eclipse Tools for Cloud Foundry
As of this writing this link has the current information on installing Bluemix / Websphere:
https://console.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html#eclipsetools
Related
Initial position:
Currently I'm at a customer's site who has completely locked up his system (VM), and through a proxy blocks nearly everything, including the connections to download the extensions of Eclipse.
In the Eclipse marketplace you can find the download links, but they are of no use to me. Since the proxy locks everything out.
If you use the download link, you will get to this page, which ONLY refers to the integration in Eclipse via the web. This is currently not possible for me!
A reference to the M2E version only leads to the page mentioned above.
https://www.eclipse.org/m2e/
The customer only allows Eclipse no other programs.
It is unbelievable ^^
Is there a way to install offline extensions in Eclipse like Visual Studio code?
What I need is a Maven/Java based version, including Jenkins integration.
I currently used a portable version of Eclipse from the points already described. Yes, the download of complete versions is possible and not blocked, just the integration of plugins and extensions.
I just updated all of my plugins and noticed the "Application and Services" tab of the IBM Bluemix view has a link says "Show deployed files in Remote Systems View". When I click on that link, it opens the view and I can drill down to my apps but it does not show me any files or anything useful. Can this view (or a different view) show file contents on bluemix? This would be really useful especially since the files app was removed when the Diego upgrade happened.
I just tried using Neon.2 with the latest version of the IBM Eclipse Tools for Bluemix from the Eclipse market place and deploy a new application. The Remote System View is showing the files correctly for me.
Note that the problem may happen for older version of the product. What version of the product (Eclipse and Bluemix Tools) and also what platform are you using?
The other thing that you can try is to deploy a new simple application to see if the problem is specific to that application.
It does show the files that are deployed. Attached is an image that I see
After a terrible decision by Atlassian to discontinue the Eclipse Connector for Jira, it seems to me like there is no way to use Mylyn in Eclipse Neon to integrate with Jira. Is it just me? Are there any workarounds?
I tried installing Tasktop Dev Pro but it failed complaining about a jar not found in the Update Site. Besides, it doesn't seem like a proper solution since it brings a lot more than we need
It definitively works with Eclipse Oxygen (still), using the Updatesite from atlassian, which is also mentioned on the Bitbucket OpenSource project. Please note, the help page, which is also hosted there, offers a download link to use the updatesite offline. Since the actual data there is in fact hosted by atlassian, let's just hope they don't drop support for hosting those files.
Update Site URL: http://update.atlassian.com/atlassian-eclipse-plugin/rest/e3.7
I got the Version: 3.2.5.v20150427
As far as I can see, the support is still fully functional, including the ability to create new tickets, add comments and manage ticket lifecycle
PS: I needed to configure the proxy settings accordingly (Jira is hosted in-house here, so we need an exception rule for the proxy used for internet connection by default).
I have not fought with Neon yet, but in Mars which is also not officially supported, I was able to get Jira partly working using this install URL:
Atlassian Connector for Eclipse 3.7 and later - http://update.atlassian.com/atlassian-eclipse-plugin/rest/e3.7
It allows me to see my task list, select Jiras and it will remember working sets for each Jira I select, but one important feature to me I cannot get to work is on the Team Synchronizing perspective I CANNOT add changed files to a change set tied to the Jira like I can in Luna.
I can see incoming changes by jira tied change sets, but not create out going jira tied change sets.
I have broken my Mars install many times trying to update Mylyn but if I take the 3.20 version it foo-bars my install.
I'm trying to complete The Official Documentation for Hooks in Liferay. About halfway down that page, there is a note.
Note: If the Liferay server prints the following message to your console,
the Marketplace Portlet and Portal Compatibility Hook must not already be
deployed on your server.
"Plugin example-hook requires marketplace-portlet, portal-compat-hook"
I do get this message, so I attempt to follow the instructions:
You can fork and clone Liferay’s liferay-plugins project from GitHub, checkout the
respective branch and/or tag, and deploy each plugin. You can install the Plugins
SDK in Liferay IDE and import each plugin and deploy them. Here is information on
each of the plugins:
Marketplace Portlet (marketplace-portlet) - is available at liferay-
plugins/portlets/marketplace-portlet.
Portal Compatibility Hook (portal-compat-hook) - is available at liferay-
plugins/hooks/portal-compat-hook.
This is as much information as I can find about setting up the marketplace-portlet.
So I clone, and add the whole repo as an existing Eclipse project, not a liferay project. I check the checkbox for look for nested projects, find and add the marketplace portlet and hit finished. Then I assume to fix the build path by changing plugin-master to portal-6.2.x
As you can see, this solves more than half of the missing .jars, but the ones that are still missing claim the build path is the same, so they are missing from the repo, or need to be built. I have no idea which.
So, how do I deploy the marketplace-portlet?
As requested, combining our comments into an answer:
"Have you tried installing fresh again?" ;)
To make it worth a real answer: The typical bundle installation comes fully runnable (the installation instructions are: unzip, start tomcat) and contains everything you need - especially in a development environment.
If you use Liferay IDE or the EE equivalent Developer Studio (both based on eclipse), they even know how to unzip the server themselves (a necessity if you're developing/redeploying ext plugins).
Glad to be able to help.
This problem happened repeatedly. Something about a bad deploy could cause Liferay to remove its own Marketplace portlet*.
Rather than re-install each time, I grabbed the Marketplace Portlet.war from Liferay's Get Marketplace Portlet page and would deploy it using the Liferay Control Panel.
*: I don't have an exact steps to reproduce, sorry.
I am a brand new Linux user configuring my first-ever dev sandbox in Ubuntu. I have installed Java and Eclipse and am trying to get either Subversive or Subclipse (I don't have a preference either way) but have a few questions before I start that process.
I just opened Synaptic and downloaded subversion through it.
(1) I'm not really sure how SVN deploys locally. My understanding is that SVN has a client and a server; the server manages the repository(ies) and the clieent just sends commands to the server. Is this correct? If so, then what did I download through Synaptic? The client, and/or the server?
(2) Do these Eclipse plugins come with SVN (client or server...?) or do you have to pre-install SVN prior to installing these plugins? Basically: is SVN a pre-req for Subclipse or Subversive?
Looking back at these 2 questions if someone could first explain to me the architecture of SVN, then explain how that architecture translates to downloading SVN via Synaptic, and then how it translates to downloading/installing either Eclipse plugin, I would see the "big picture" a lot better.
Thanks for any and all help!
I use subclipse with svnkit. Both can be installed from update site of subclipse. Works fine. No other sotware needed. You need to set svnkit instead of javahl. This can be done in preferences.
Installation Help/install new software.
Update sites depending on the version:
http://subclipse.tigris.org/update_1.8.x
http://subclipse.tigris.org/update_1.6.x
Setting window/preferences. (pick svkit at bottom):
You downloaded the SVN server. You can have multiple SVN clients connecting to it.
The Eclipse plugins do not come with SVN. You need to download them.
Once you install the plugin, you can connect to SVN repositories. If you want to connect to your own SVN repository, of course you need to install SVN and create it first.
However, with just the plugin installed, you can connect to any existing public repositories, or any other SVN repository to which you have access.
Example: If you install the plugin, without installing SVN, you can connect to this Apache Repository.
Hope that answers your questions.
1º question: You are correct. About Synaptic, I think it's the server one.
2º question: No, it isn't! Eclipse's plugin it's the client and you don't need to install the SVN outside the IDE. It's all embedded.
More info that could be useful:
How to configure SVN in Eclipse using Assembla repository:
Create or open your existing project in Eclipse.
Be sure that the SVN's plugin it's correctly installed into Eclipse.
Copy your project's url at the Assembla's web site.
Click with the right button over the project > Team > Share Project > SVN
At the showed window, copy the path to your project into the URL field. Remember of /trunk at the end of URL.
Inform your user (watch out, it's your user, not your e-mail) and password into the required fields and check the option: Save Authentication, otherwise your login and password will be required all the time.
Click over Finish.
The commit's screen will open for you add some comment and upload the files of your project. Remember that even being a new project, Eclipse will create all the default folder's structure for the project.
Click at Ok and it's done! Your code will be uploaded to the Assembla's online server.
Now open the Assemblas's web site, access the trunk folder into your repository and then explore your project's source code. Try the comments and see the automatic format applied over the code so it become more readable.
Here it's some advantages of Assembla service:
Unlimited useres working in the same project.
Easiness of use, create, import projects and use all the service, besides of huge documentation and support.
1 GB of space.
Online access to the source code, with the possibility of comment it.
Encrypt data traffic.
Integration with many tools of the site, which are excellent, but payed separately.
Possibility of, at any moment, hire any of the payed services, which offers an incredible amount of benefits for a fair price. (Look at the services list).
If so, then what did I download through Synaptic? The client, and/or the server?
From the Subversion package description in Ubuntu 10.10:
This package includes the Subversion client (svn), tools to create a Subversion repository (svnadmin) and to make a repository available over a network (svnserve).
So you have both the client software, and the software to create and serve your own repositories.
(2) Do these Eclipse plugins come with SVN (client or server...?)
No, you need to install subclipse.
do you have to pre-install SVN prior to installing these plugins?
As long as you install it via a package, you don't have to worry about this. The package management in ubuntu will make sure that any dependencies are installed automatically. AFAIK all package management systems of gnu\linux distributions of note have this feature.
The easiest way:
Help --> Eclipse MarketPlace, search subclipse, click install, and then follow the instructions to finish up the installation process.
One way to clear up your confusion could be to first use a free hosted Subversion repository, such as http://assembla.com.
Then you can download all of the SVN clients, including the Subclipse plugin, and commit a test project to the SVN repository on Assembla.
I recommend Subclipse as it's allegedly supposed to play nicer with other Subversion clients, which means you'll be able to use command line SVN as well as the Team context menu in Eclipse.
http://subclipse.tigris.org/
After playing with this configuration and being sure your client side is correctly configured, then you could look into installing a subversion server locally. Eliminating variables by clearly separating client and server will definitely help you avoid confusion at first.