How to install bzr-eclipse in Eclipse 3.5.1

Asked by Torsten Spindler

Lucid comes with Eclipse 3.5.1 and after installing bzr-eclipse I cannot share a project via bzr. It seems all entries for bazaar are missing.

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Plugin for Eclipse Edit question
Assignee:
No assignee Edit question
Solved by:
Torsten Spindler
Solved:
Last query:
Last reply:
Revision history for this message
Guillermo Gonzalez (verterok) said :
#1

Hi Torsten,

This might be cause by an old version of bzr-xmloutput, could you check this:

apt-cache policy bzr-xmloutput

or

bzr plugins -v

Revision history for this message
Torsten Spindler (tspindler) said :
#2

I think xmloutput is recent enough:

$ apt-cache policy bzr-xmloutput
bzr-xmloutput:
  Installiert: 0.8.6-1
  Kandidat: 0.8.6-1
  Versions-Tabelle:
 *** 0.8.6-1 0
        500 http://archive.ubuntu.com lucid/universe Packages
        100 /var/lib/dpkg/status

$ bzr plugins -v
launchpad 2.1.0
    Launchpad.net integration plugin for Bazaar.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad

netrc_credential_store 2.1.0
    Use ~/.netrc as a credential store for authentication.conf.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store

news_merge 2.1.0
    Merge hook for bzr's NEWS file.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge

xmloutput 0.8.6
    This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput

Revision history for this message
Guillermo Gonzalez (verterok) said :
#3

Hi,

So isn't a bzr-xmloutput issue.

Could you check if there is any error in <workspace>/.metadata/.log ?

Also, which jvm are you using?
I know bzr-eclipse doesn't work with GCJ, and I never tested it under openjdk.

Revision history for this message
Torsten Spindler (tspindler) said :
#4

Here is the result of a grep bazaar in .log:

$ grep bazaar .log
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.210.jar.
Caused by: java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.210.jar
!MESSAGE Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.210.jar.
java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.210.jar
!MESSAGE Error reading feature http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.210.jar.
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.209.jar.
Caused by: java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.209.jar
!MESSAGE Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.209.jar.
java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.209.jar
!MESSAGE Error reading feature http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.209.jar.
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar.
Caused by: java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar
!MESSAGE Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar.
java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar
!MESSAGE Error reading feature http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar.

Revision history for this message
Torsten Spindler (tspindler) said :
#5

I cannot attach the complete log as this is a question. If you want I can convert it to a bug and attach the log.

Revision history for this message
Torsten Spindler (tspindler) said :
#6

Here is the log as pastebin, no need to conver to a bug: http://pastebin.ubuntu.com/382830/

Revision history for this message
Guillermo Gonzalez (verterok) said :
#7

Hi, is this solved?

I think you might be hitting bug #526740 (xmloutput not working with bzr-2.1) which is already fixed in trunk, thanks to Adrian Wilkins.

P.S: I think I'll tag a new release just to include a working xmloutput in karmic.

Revision history for this message
Torsten Spindler (tspindler) said :
#8

No, it's not solved, I hit that button by mistake. Can I install trunk
from somewhere?

Revision history for this message
Guillermo Gonzalez (verterok) said :
#9

Yes, you can install bzr-xmloutput trunk (until the new version is released/packaged):
$> mkdir -p ~/.bazaar/plugins
$> bzr branch lp:bzr-xmloutput ~/.bazaar/plugins/xmloutput

Revision history for this message
Torsten Spindler (tspindler) said :
#10

The bzr plugin seems to work with the latest eclipse on Lucid, Version:
3.5.2-2ubuntu1

Revision history for this message
Kevin Cole (kjcole) said :
#11

I only recently (last week) fetched the bzr-xmloutput plugin and refetched the bzr-eclipse for Eclipse (Galileo) today, on a Maverick system. So, I'm thinking I'm pretty up-to-date.

Bzr never shows up in the Windows -> Preferences -> Teams submenu, and I finally found the log today. The web search of the final error message came up with only one hit: this question. (I think the only relevant part is the stuff below, but if more will help, I'll try to get it.)

!SUBENTRY 1 org.eclipse.equinox.p2.repository 4 1200 2011-02-03 13:22:26.930
!MESSAGE Artifact not found: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar.
!STACK 0
java.io.FileNotFoundException: http://verterok.com.ar/bzr-eclipse/update-site/features/org.vcs.bazaar.eclipse.tests-feature_1.1.1.205.jar

Revision history for this message
Kevin Cole (kjcole) said :
#12

Or, perhaps not up-to-date: I was following the directions at http://wiki.bazaar.canonical.com/BzrEclipse#Download

However, I now see that there's a Launchpad branch. Are they pointing to the same animal? Or should I be doing things via the branch on Launchpad?