Skip to main content

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

Hi bucky devs,

I'm using Hudson to build and maintain an headless bucky version.

I made a Windows batch script launched as a freestyle project with the
"windows batch action" and the following script :

> @echo off
> REM setting environment
>
> set URL=http://eclipse.ialto.org/tools/buckminster/headless-3.5/
> set SVN_URL=http://download.cloudsmith.com/buckminster/external/
> set BUCKY_DIR=%WORKSPACE%\buckminster
>
> REM erasing previous install
> rd /Q/S %BUCKY_DIR%
>
> REM bringing buckminster bootstrap and adding features
> call director/director.bat -r %URL% -d %BUCKY_DIR% -b %BUCKY_DIR% -p Buckminster -i org.eclipse.buckminster.cmdline.product -vmargs -D"eclipse.p2.data.area=%BUCKY_DIR%\p2"
> call %BUCKY_DIR%\buckminster.bat install %URL% org.eclipse.buckminster.core.headless.feature
> call %BUCKY_DIR%\buckminster.bat install %URL% org.eclipse.buckminster.cvs.headless.feature
> call %BUCKY_DIR%\buckminster.bat install %URL% org.eclipse.buckminster.pde.headless.feature
> call %BUCKY_DIR%\buckminster.bat install %URL% org.eclipse.buckminster.maven.feature
> call %BUCKY_DIR%\buckminster.bat install %SVN_URL% org.eclipse.buckminster.subversive.headless.feature

Assuming the director archive is uncompressed in the %WORKSPACE%, this
script works like a charm.

Today I had to make the Linux version of this script but it fails.
Here is the script :

> #!/bin/bash
> export URL=http://eclipse.ialto.org/tools/buckminster/headless-3.5/
> export SVN_URL=http://download.cloudsmith.com/buckminster/external/
> export BUCKY_DIR=$WORKSPACE/buckminster
>
> # erasing previous install
> rm -rf $BUCKY_DIR
>
> # bringing buckminster bootstrap and adding features
> ./director/director -r $URL -d $BUCKY_DIR -p Buckminster -i org.eclipse.buckminster.cmdline.product
> $BUCKY_DIR/buckminster install $URL org.eclipse.buckminster.core.headless.feature
> $BUCKY_DIR/buckminster install $URL org.eclipse.buckminster.cvs.headless.feature
> $BUCKY_DIR/buckminster install $URL org.eclipse.buckminster.pde.headless.feature
> $BUCKY_DIR/buckminster install $URL org.eclipse.buckminster.maven.feature
> $BUCKY_DIR/buckminster install $SVN_URL org.eclipse.buckminster.subversive.headless.feature

This script gives the following output

> Installing org.eclipse.buckminster.cmdline.product 1.1.350.r10356.
> Operation completed in 9924 ms.
> An error occurred while installing the items
> [0]session context was:(profile=Buckminster, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu.base 4.0.1.v20090415, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
> [0]Error while loading manipulator.
> Caused by: An error occurred while installing the items
> [0]session context was:(profile=Buckminster, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu.base 4.0.1.v20090415, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
> [0]Error while loading manipulator.
> Caused by: An error occurred while installing the items
> [0]session context was:(profile=Buckminster, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu.base 4.0.1.v20090415, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
> [0]Error while loading manipulator.
> Caused by: An error occurred while installing the items
> [0]session context was:(profile=Buckminster, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.ant.core 3.2.100.v20090520, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
> [0]Error while loading manipulator.
> Caused by: Cannot complete the install because one or more required items could not be found.
> [0]Software being installed: Buckminster - Subversive based SVN support for headless operation 1.0.0.r10328 (org.eclipse.buckminster.subversive.headless.feature.feature.group 1.0.0.r10328)
> [0]Missing requirement: Buckminster - Subversive based SVN support for headless operation 1.0.0.r10328 (org.eclipse.buckminster.subversive.headless.feature.feature.group 1.0.0.r10328) requires 'org.eclipse.core.resources 3.4.2' but it could not be found

Any ideas of what's going on ? A bad package for linux version of
buckminster headless product ?

Regards,
Guillaume


Back to the top