Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

Java, the OLPC, and community responsibility

The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
Replies: 1 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

IU destination folder is wrong on my configuration

At 4:04 AM on Jul 26, 2008, Alban Browaeys wrote:

I don't know which of these operations borked my install:
- setting osgi file limit
- upgrading to latest ganymede (not testing update only update site for
ganymede)
- installing eclipse sdk
- messing with the configuration, platformprofile and whatnot ,
....


But from a few weeks p2 installs features and plugins in
configuration/org.eclipse.osgi/bundles/.../data/.../{features|plugins} .
Which requires maintenance that is moving them by hand to features/ and
plugins/ directory and updating
configuration/org.eclipse.equinox.simpleconfigurator/bundles.info to
make the correct location pointed.


I would be interested in any hint on how I could fix this if this is
from my messing with the configuration or if it could be one of the
update I made (I have eclipse ganymede "full" featured so al plugins and
features installed and up to date against eclipse ganymede update).


I am in the process of reading the p2 source code but I am still a bit
lost and it may be overkill if it ends up being a one line fix in a
configuration file :


eclipse.ini
-showsplash
org.eclipse.platform
-consoleLog
--launcher.XXMaxPermSize
256m
-framework
plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar
-vm
/usr/lib/jvm/java-6-openjdk/bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=512m
-XX:+ShowMessageBoxOnError



$ cat configuration/config.ini
#This configuration file was written by:
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Thu Jul 24 15:24:02 CEST 2008
org.eclipse.update.reconcile=false
eclipse.p2.profile=PlatformProfile
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar
eclipse.buildId=I20080617-2000
osgi.bundles=reference\:file
\:org.eclipse.equinox.transforms.hook_1.0.0.v20080610.jar@4,reference
\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1
\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file
\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.ws=gtk
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
osgi.bundlefile.limit=700



Thanks for any hint in advance
Best regards
Alban



  Click to reply to this thread Reply
1. At 10:00 PM on Aug 6, 2008, Alban Browaeys wrote:

Re: IU destination folder is wrong on my configuration

Le samedi 26 juillet 2008 à 10:04 +0200, Alban Browaeys a écrit :
> I don't know which of these operations borked my install:
> - setting osgi file limit
> - upgrading to latest ganymede (not testing update only update site for
> ganymede)
> - installing eclipse sdk
> - messing with the configuration, platformprofile and whatnot ,
> ....
>
>
> But from a few weeks p2 installs features and plugins in
> configuration/org.eclipse.osgi/bundles/.../data/.../{features|plugins} .
> Which requires maintenance that is moving them by hand to features/ and
> plugins/ directory and updating
> configuration/org.eclipse.equinox.simpleconfigurator/bundles.info to
> make the correct location pointed.

I found out if it happens to anyone else (though this is unleckely). I
was using my eclipse root folder to copy cache artifacts.xml instead of
removing them and end up doing a cleanup of the eclipse root ...
removing artifacts.xml which is needed for the eclipse root to be
recognised by p2 as an "artifact folder" Bundle Pool.
Thus a temporary directory was used instead.
Maybe this could be detected (the lack of bundle pool artifact
repository though the interest looks minor to me ).

BR,
Alban


thread.rss_message