Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Automatic headless buckminster build and update

I think I know what the problem is. You have to pass an absolute path to the director. So set BUCKY_DIR to an absolute path and everything will work OK. I did that in my experiment since your original script had BUCKYDIR=$WORKSPACE/buckminster. I guess your $WORKSPACE wasn't absolute.

Regards,
Thomas Hallgren

Thomas Hallgren wrote:
The error is rather odd given that the locations indeed look the same. I looked at the code that throws the exception. It does this:

if (!fwConfigLocation.equals(fwPersistentDataLocation))
throw new IllegalStateException("!fwConfigLocation.equals(fwPersistentDataLocation)\n" + "\t!fwConfigLocation=" + fwConfigLocation.getAbsolutePath() + "\n\t,fwPersistentDataLocation=" + fwPersistentDataLocation.getAbsolutePath());

The fwConfigLocation and fwPersistentDataLocation are both instances of java.io.File. In your log the exception shows up with the text:

!fwConfigLocation.equals(fwPersistentDataLocation)
         !fwConfigLocation=/home/gch/bucky/configuration
         ,fwPersistentDataLocation=/home/gch/bucky/configuration

So the File's are not equal but the absolute paths appear to be exactly the same. The only way I can see that happening is if there would be some invisible whitespace or perhaps a double '//' somewhere in the path. Can you please double check that that's not the case? Also, please note that the error is most likely introduced by the initial director install even though you don't encounter it until you do the buckminster install.

Regards,
Thomas Hallgren


Guillaume Chatelet wrote:
Hi Johannes and Thomas,

I used underscores in my name so not to conflict with another installation. Just to check I changed it to "bucky" and this gave me the same results.

I'm using the last director version from the download page http://www.eclipse.org/buckminster/downloads.html More precisely this specific download from ialto (I'm in france and it seems to be the default mirror for me) : http://eclipse.ialto.org/tools/buckminster/products/director_1.0.0.r10307.zip

As for the permissions, well it's all standard, downloaded and extracted with my account in my home directory. Script is created with the same user and chmoded +x ( well it executes so ... )

It's very odd to me it's working on your computer and not on mine. I also tought it could come from an old archive in the proxy cache but I tried yesterday evening at home on my Linux box and I had the same result ... Really, really strange ...

Guillaume
Here is the "not so relevant" log with the "bucky" installation directory :

    Installing org.eclipse.buckminster.cmdline.product 1.1.350.r10356.
    Operation completed in 25738 ms.
    !SESSION 2009-07-16 12:40:47.654
    -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
    Framework arguments:  install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.core.headless.feature
    Command-line arguments:  -consolelog install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.core.headless.feature

    !ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-07-16
    12:41:04.288
    !MESSAGE Error while loading manipulator.
    !STACK 0
    java.lang.IllegalStateException:
    !fwConfigLocation.equals(fwPersistentDataLocation)
        !fwConfigLocation=/home/gch/bucky/configuration
        ,fwPersistentDataLocation=/home/gch/bucky/configuration
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
        at
org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
        at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
        at
org.eclipse.buckminster.installer.Install.planAndExecute(Install.java:122) at org.eclipse.buckminster.installer.Install.run(Install.java:190)
        at
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:155) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:341) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:135) at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:189)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
    !SESSION 2009-07-16 12:41:05.083
    -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
    Framework arguments:  install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.cvs.headless.feature
    Command-line arguments:  -consolelog install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.cvs.headless.feature

    !ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-07-16
    12:41:10.074
    !MESSAGE Error while loading manipulator.
    !STACK 0
    java.lang.IllegalStateException:
    !fwConfigLocation.equals(fwPersistentDataLocation)
        !fwConfigLocation=/home/gch/bucky/configuration
        ,fwPersistentDataLocation=/home/gch/bucky/configuration
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
        at
org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
        at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
        at
org.eclipse.buckminster.installer.Install.planAndExecute(Install.java:122) at org.eclipse.buckminster.installer.Install.run(Install.java:190)
        at
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:155) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:341) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:135) at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:189)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
    !SESSION 2009-07-16 12:41:10.491
    -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
    Framework arguments:  install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.pde.headless.feature
    Command-line arguments:  -consolelog install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.pde.headless.feature

    !ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-07-16
    12:41:30.103
    !MESSAGE Error while loading manipulator.
    !STACK 0
    java.lang.IllegalStateException:
    !fwConfigLocation.equals(fwPersistentDataLocation)
        !fwConfigLocation=/home/gch/bucky/configuration
        ,fwPersistentDataLocation=/home/gch/bucky/configuration
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
        at
org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
        at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
        at
org.eclipse.buckminster.installer.Install.planAndExecute(Install.java:122) at org.eclipse.buckminster.installer.Install.run(Install.java:190)
        at
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:155) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:341) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:135) at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:189)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
    !SESSION 2009-07-16 12:41:30.570
    -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
    Framework arguments:  install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.maven.feature
    Command-line arguments:  -consolelog install
    http://eclipse.ialto.org/tools/buckminster/headless-3.5/
    org.eclipse.buckminster.maven.feature

    !ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-07-16
    12:41:38.323
    !MESSAGE Error while loading manipulator.
    !STACK 0
    java.lang.IllegalStateException:
    !fwConfigLocation.equals(fwPersistentDataLocation)
        !fwConfigLocation=/home/gch/bucky/configuration
        ,fwPersistentDataLocation=/home/gch/bucky/configuration
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
        at
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
        at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
        at
org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
        at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
        at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
        at
org.eclipse.buckminster.installer.Install.planAndExecute(Install.java:122) at org.eclipse.buckminster.installer.Install.run(Install.java:190)
        at
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:155) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:341) at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:135) at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:189)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



On Thu, Jul 16, 2009 at 1:17 PM, Thomas Hallgren <thomas@xxxxxxx <mailto:thomas@xxxxxxx>> wrote:

    Hi Guillaume,
    Are you really using '__' or is that your email client substituting
    a '..' (I seem to recall that some email clients actually do that
    for some obscure reason)? If that's the case, then try without '..'
    in the BUCKY_DIR. Chances are high that Johannes is right.

    - thomas





Back to the top