Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] How do I get my headless build to take note of the .product file I am pointing the "product" property at?

Hi Doug

It runs for me but, it does not do the product (as supposed). So it is possible to submit as bug to eclipse.org. I have a few remarks before you put it to the bug reports:

I think the product property should be (but that does not work too):
product=/org.eclipse.rcp.helloFeature/helloFeature.product

Add doublequotes also around the -cp like in my example (to avoid whitespace problems): "%JAVA_HOME%\bin\java.exe" -cp "%ECLIPSE_HOME%\startup.jar"

Build directory is hardcoded in build.properties (a user has to change it there also).

The zip must be unpacked in the builddirectory given in the build properties file.

Thanks and bye,
Martin

doug barnum wrote:
I haven't filed a report yet-- I want to get some sanity-checking first.

I've attached a minimal zip, which illustrates by problem. I can export the helloFeature.product in eclipse successfully.

Running headless.bat after unzipping and renaming it to .bat (so gmail will send it) this small 16KB zip, and patching up any local refs to eclipse, and the drive (at the top of the .bat), results in a "build successful" for me, but alas, no productization occurs, and no errors/warnings.

I have tried every conceivable way of specifying the path to the .product file beyond the one in build.properties.

Any help would be much appreciated. It must be something stupid that I'm doing wrong.

Doug


On 9/12/05, *Martin Jäger* <martin.jaeger@xxxxxxxxxxxx <mailto:martin.jaeger@xxxxxxxxxxxx>> wrote:

    Hi Doug

    I can say that I was not able to make it running...
    The bad thing is that my project is currently confidential and I cannot
    post my build files. Did you do a bug report? Which number?
    Then I can vote and add my experiences there.

    Regards,
    Martin


    doug barnum wrote:
     > I'm experiencing the same problem as Martin Jager (was?) .
     >
     > I can run a headless pde build of my feature (and its nested plugin),
     > the build script completes with "BUILD SUCCESSFUL", but what is
    built is
     > NOT the productized standalone executable I expect.
     >
     > I have defined the product property pointer to my .product file in
     > multiple ways, and even put complete garbage in that property,
    and it
     > makes no difference. I get a plugins and a features folder, but no
     > top-level eclipse.exe, let alone any branding, as specified in my
     > <feature>.product file.
     >
     > I've tried to follow the few tutorials out there, but at this
    point, I
     > can find no further information, and I'm stumped.
     >
     > Anyone have any thoughts?
     >
     > I'm using the 3.1.0 build, pulling build.xml, build.properties,
     > customTargets.xml, genericTargets.xml , and package.xml from the
     > templates or scripts directory of org.eclipse.pde.build_3.1.0,
    creating
     > a map file for my build, and everything goes just fine, with the
     > exception of the non-productized output.
     >
     > Needless to say, I can export just fine from within eclipse using the
     > product export wizard.
     >
     > thanks,
     >
     > Doug Barnum


Back to the top