[scala-tools] Eclipse plugin from trunk, update strangeness

View: New views
3 Messages — Rating Filter:   Alert me  

[scala-tools] Eclipse plugin from trunk, update strangeness

by Andrew Gaydenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: [scala-tools] Eclipse plugin from trunk, update strangeness

by Miles Sabin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 3, 2009 at 9:16 AM, Andrew Gaydenko <a@...> 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

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

Re: [scala-tools] Eclipse plugin from trunk, update strangeness

by Andrew Gaydenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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