Bug 159128 - Find a way to fetch plugin containing .product for product builds
Summary: Find a way to fetch plugin containing .product for product builds
Status: ASSIGNED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 11:35 EDT by Andrew Niefer CLA
Modified: 2022-11-18 17:16 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2006-09-28 11:35:36 EDT
Product builds are based on a .product file.  Currently the plug-in/feature containing this file needs to exist on disk before the fetch phase so that we can generate the container feature that will be used to drive the build.

We should come up with a way to do an early fetch for this one plug-in/feature so that the user does not have to do it manually.
Comment 1 Pascal Rapicault CLA 2006-12-19 09:03:26 EST
It would be good to have a fix for that for eclipse con.
Comment 2 Prince Singh CLA 2007-02-13 06:29:45 EST
As a temporary fix, modify customTargets.xml step postSetup as follows:-

<target name="postSetup">
   <antcall target="getBaseComponents" />

   <ant antfile="${genericTargets}" target="fetchElement">
    <property name="type" value="feature"/>
    <property name="id" value="org.feature.containing.product.file" />
  </ant>
</target>

Note:
This line is there in customTargets.xml by default under postSetup
   <antcall target="getBaseComponents" />


Prince Singh
Drishti Soft Solutions Pvt Ltd
Comment 3 Ian Bull CLA 2009-11-06 12:34:04 EST
Can we not just use the maps file for this?  i.e. look in the map file for a line matching the plugin/feature and check it out? I'm sure there is a good reason why this won't work, I'm just wondering what it is.
Comment 4 Gunnar Wagenknecht CLA 2009-11-10 03:52:15 EST
I don't know when it changed, but a ".product" file no longer needs to be in a feature or plug-in.

It also works when you place the product file next to (inside) your local builder. Thus, when the builder is bootstrapped, your product files are automatically included.

For example, I invoke the builder in the following way:

<target name="main" depends="init">
  <dirname file="${ant.file.build-gyrex-1.0.x}" property="builder"/>
  <property file="${builder}/build.properties"/>
  <ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" />
</target>

The build.properties contains the following definition:

product=${builder}/gyrex-techpreview.product
Comment 5 Lars Vogel CLA 2018-12-03 09:10:46 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.
Comment 6 Lars Vogel CLA 2018-12-03 09:14:05 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.
Comment 7 Eclipse Genie CLA 2020-11-27 18:46:21 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Eclipse Genie CLA 2022-11-18 17:16:18 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.