Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] How to migrate a feature based product to p2-enabled product

Hi,

According to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=268060 we
can't use classic update mechanism in our product anymore. The
question is how do I adapt the build so it will create a p2-enabled
product?

I'll explain the process how the product is built now. We are using
the PDE headless builder.

1. The build.properties file is pretty much simple:

product=/com.xxx.yyy/MyIDE.product
runPackager=false
archivePrefix=MyIDE
collectingFolder=${archivePrefix}
configs=linux,gtk,x86_64 & linux,gtk,x86 & win32,win32,x86 & macosx,carbon,ppc
archivesFormat=linux,gtk,x86_64-tar & linux,gtk,x86-tar &
win32,win32,x86-zip & macosx,carbon,ppc-tar
filteredDependencyCheck=false
resolution.devMode=true
logExtension=.log
zipargs=
tarargs=

2. The MyIDE.product is feature-based product definition file.

3. customTargets.xml contains nothing special.

4. I execute ${eclipse.pdebuild.scripts}/productBuild/productBuild.xml
for building our product.

Is there a document that describes how to migrate such a simple
configuration to one that produces a p2-enabled product?

Thanks.

-- 
Best regards,
Michael


Back to the top