This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Eclipse plugin from trunk, update strangeness

2 replies
anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.

At updating the plugin (Eclipse 3.4.1, Help -> Software Updates -> ...) I get
the error:

"Cannot complete the request. See the details.
Format error in file: /tmp/p2Encoding2688268050629787634.opb."

At a time of the message showing that file in /tmp doesn't exist. For building
the plugin I use a script shown below.

Any ideas?

//------------------------------------------------

# cat ~/bin/scaPluTrunk
#!/bin/bash

SVN_ROOT=/wrk/dev/scala/SVN/

# update

cd $SVN_ROOT/scala
svn up

cd $SVN_ROOT/scala-library
svn up

cd $SVN_ROOT/scala-plugin
svn up

cd $SVN_ROOT/scala-plugin-aspects
svn up

# build

cd $SVN_ROOT/scala
ant all.clean
ant fastdist

cd $SVN_ROOT/scala-library
ant clean
ant dist

cd $SVN_ROOT/scala-plugin-aspects
ant clean
ant dist

cd $SVN_ROOT/scala-plugin
ant clean
ant dist

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse plugin from trunk, update strangeness

On Wed, Jun 3, 2009 at 9:16 AM, Andrew Gaydenko wrote:
> At updating the plugin (Eclipse 3.4.1, Help -> Software Updates -> ...) I get
> the error:
>
> "Cannot complete the request.  See the details.
> Format error in file: /tmp/p2Encoding2688268050629787634.opb."
>
> At a time of the message showing that file in /tmp doesn't exist. For building
> the plugin I use a script shown below.

Your build script looks fine.

Given that you're working with trunk (that's intentional, right?) I'd
suggest un/re-installing rather than updating. I'd also suggest
working with Eclipse 3.5RC3 or later if possible because of it's
improved support for Equinox Aspects.

Nb. trunk of the Scala IDE is functional, but not ready for general
consumption just yet.

Cheers,

Miles

anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.
Re: Eclipse plugin from trunk, update strangeness

On Wednesday 03 June 2009 13:18:14 Miles Sabin wrote:
> Your build script looks fine.

Yes, I use it during long time.

> Given that you're working with trunk (that's intentional, right?)

Miles, you are right, I'd want to keep tiscaf in sync with trunk.

> I'd
> suggest un/re-installing rather than updating. I'd also suggest
> working with Eclipse 3.5RC3 or later if possible because of it's
> improved support for Equinox Aspects.

OK, I'll try both, thanks!

> Nb. trunk of the Scala IDE is functional, but not ready for general
> consumption just yet.

It's implied - I'm that boy which hate the same highlighting for vals and lazy
vals, if you remember ;-)

Andrew

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland