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?

Thank you! I'll try this immediately. It would sure be nice if someone would include this bit of magic in the headless pde build tutorial.

I didn't want a feature anyhow, so I can just revert to a plugin .product file, and use my current feature as the wrapper, right?

It would then seem that the missing magic is "root=rootfiles" in build.properties, and setting up the associated rootfiles area.

thanks again,

Doug




On 9/15/05, Andrew Niefer <aniefer@xxxxxxxxxx> wrote:

The normal build assumes that you are going to deploy the result of your build into an existing eclipse install.  To get a self contained product in a build you need to specifiy everything to be included in your feature.  When you use the export product wizard, a feature is automatically created for you that wraps your feature and includes everything else you need.

What you will want to do is create another feature, say org.eclipse.rcp.helloProduct, and add the helloFeature and org.eclipse.rcp to the included features list.
Create a /rootfiles folder in the feature and place in it the startup.jar, eclipse.exe, and configuration/config.ini.  Add a root=rootfiles to the feature's build.properties.

Modify the customTargets.xml to build this feature and it will bundle all the required plugins and the rootfiles that you specified.


-Andrew

pde-build-dev-bounces@xxxxxxxxxxx wrote on 09/14/2005 07:19:01 PM:


> 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> 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
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > pde-build-dev mailing list
> > pde-build-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/pde-build-dev

> [attachment "headless.zip" deleted by Andrew Niefer/Ottawa/IBM]
> _______________________________________________
> pde-build-dev mailing list
> pde-build-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-build-dev

_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev




Back to the top