Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-releng-dev] Scheduling Nightly Product Exports

I looked at it, tried it a couple times over and no luck.  This must be just one of those things, people are doing only if they are uber gurus.  I am doing this on a Windows 2003 server, which could very well be my problem, but the dev team insisted that I remain on it.

Our setup is like for example:

workspace:/
                   plugin1
                   plugin2
                   plugin3
                            ---.product
                            ---build.properties  (we usually export from here using the wizard)
                   plugin4-35

So as following the "documentation," I created in simplified terms:


C:/builddirectory
       .. /features (we have no features but its here anyways)
       ../plugins  (all 30 plugins here)
C:/buildconfig
               --build.properties (one copied from pde.build/templates/headless
C:/eclipseSDK (baseconfig)
C:/destination

All I should have to set in C:/buildconfig/build.properties is:


    *  product: the location of your product configuration file in the form "/<plugin or feature id>/path/to/.product"
    * baseLocation:  the location of an eclipse install containing all the pre-built features and plug-ins that your product requires in features/ and plugins/ subdirectories.  The RCP delta pack (it is available from the eclipse download page) is mandatory as it includes the org.eclipse.platform.launchers feature which contains the launchers and root files necessary for a product.
    * buildDirectory:  the directory the build will take place in.  Set this to the full path of the build directory created previously.
    * configs: list the configurations for which you want your product to be built. You can uncomment the configuration(s) provided (be careful of the line continuations).
    * archivePrefix: the name of the directory of your product once installed on disk.

product is set to: workspace:/plugin3/productName.product
baseLocation: C:/eclipseSDK
buildDirectory:C:/builddirectory
configs: left alone
archivePrefix: set to destination

Now running this:

C:\Documents and Settings\Administrator>java -cp "C:/eclipse-SDK-3.4-win32/eclip
se/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar" org.eclipse.
core.launcher.Main  -application org.eclipse.ant.core.antRunner -buildfile "C:/e
clipse-SDK-3.4-win32/eclipse/plugins/org.eclipse.pde.build_3.4.0.v20080604/scrip
ts/productBuild/productBuild.xml" -Dbuilder="C:/buildconfig"
Buildfile: C:/eclipse-SDK-3.4-win32/eclipse/plugins/org.eclipse.pde.build_3.4.0.
v20080604/scripts/productBuild/productBuild.xml

main:

preBuild:

preSetup:

checkLocalMaps:

getMapFiles:
   [concat] No existing resources and no nested text, doing nothing

postSetup:

checkLocalBase:

getBaseComponents:

generateFeature:

BUILD FAILED
C:\eclipse-SDK-3.4-win32\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\s
cripts\productBuild\productBuild.xml:21: The following error occurred while exec
uting this line:
C:\eclipse-SDK-3.4-win32\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\s
cripts\productBuild\productBuild.xml:53: Unable to find element: "C:/Documents a
nd Settings/Administrator/workspace/com.byressecurity.tofino/tofino.product".

Total time: 1 second

Tried both directions of slashes there, doesn't seem to do any good either way.

Starting to get a bit frustrated, any other suggestions?  I will gladly donate working documentation to the community if I get this champ to work.

Ronnie




________________________________________
From: platform-releng-dev-bounces@xxxxxxxxxxx [platform-releng-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer [aniefer@xxxxxxxxxx]
Sent: Wednesday, July 09, 2008 2:00 PM
To: Eclipse platform release engineering list.
Subject: Re: [platform-releng-dev] Scheduling Nightly Product Exports

The recommended method to perform scheduled builds is to use PDE/Build which automates the generation and running of ant scripts.
There is documentation in the help, you can start with
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_product_build.htm

-Andrew


Ron Brash <Ron@xxxxxxxxxxxxxxxxx>
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx

07/09/2008 01:22 AM
Please respond to
"Eclipse platform release engineering list."        <platform-releng-dev@xxxxxxxxxxx>




To
        "platform-releng-dev@xxxxxxxxxxx" <platform-releng-dev@xxxxxxxxxxx>
cc

Subject
        [platform-releng-dev] Scheduling Nightly Product Exports







Hello everyone,

I have searched far and wide for a method to do scheduled Product Exports using the recent Eclipse SDK and a recent Java JRE 12 update 5.. or something similar.  I apologize for not knowing off the top of my head, work was charming as usual.  However, if we use the export wizard with a .product file, our build goes great.

I would like to script a build to be ran nightly from the daily svn checkout.  PDE tools generates an ANT script, but I really don't think thats the answer.  Our project entails about 25+ plugins(?) within the Eclipse workspace, so if I generate the Ant build script, just flat out doesn't work.

Ideas on how you guys work your nightly builds or a way to schedule this?  a plugin would be stellar if there is.

Thanks,

Ron Brash

----------------------------------
Byres Security Inc

1+ 2503901333_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev



Back to the top