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

Bounced, resending.

--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena
--- Begin Message ---
  • From: Nick Boldt <nickboldt@xxxxxxxxx>
  • Date: Wed, 15 Jul 2009 18:05:46 -0400
  • User-agent: Thunderbird 2.0.0.22 (X11/20090605)
Two thoughts here:

1.

> 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"

vs.

> ./director/director -r $URL -d $BUCKY_DIR
> -p Buckminster -i org.eclipse.buckminster.cmdline.product

You have lots more flags in the windows version than the linux version. Is that intentional? I don't speak Bucky so I don't know what the -b does or if the extra vmarg is needed.

2.

> 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

Assuming you're using Eclipse 3.5 and this feature is asking, explicitly, for 3.4.2 rather than 3.4.2+, then that could be the problem - feature requirement has a too-restrictive limit.

Are the windows and linux fragments different in this respect, ie., in their MANIFEST.MF files?

Guillaume Chatelet wrote:
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
_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev

--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena

--- End Message ---

Back to the top