Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Product Exporting with Software Update Feature

Scott,
Thank you for the suggestions. The net is that the "hello world" app
does export as expected when using classic 3.6.0 and no additional
downloading of ECF.
The next step is to package some real ECF functionality. I will let the list
know if there are any issues.
Many thx.
- Bill

1)
>Start with a fresh install of Eclipse 3.6.0.  Don't install ECF SDK.

Installed eclipse-SDK-3.6-win32

The plug ins folder contains:
 org.eclipse.ecf.filetransfer.source_4.0.0.v20100529-0735.jar
 org.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jar
 org.eclipse.ecf.identity.source_3.1.0.v20100529-0735.jar
 org.eclipse.ecf.identity_3.1.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.httpclient.source_4.0.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.httpclient.ssl.source_1.0.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.httpclient.ssl_1.0.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.source_3.1.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.ssl.source_1.0.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100529-0735.jar
 org.eclipse.ecf.provider.filetransfer_3.1.0.v20100529-0735.jar
 org.eclipse.ecf.source_3.1.0.v20100529-0735.jar
 org.eclipse.ecf.ssl.source_1.0.0.v20100529-0735.jar
 org.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar
 org.eclipse.ecf_3.1.0.v20100529-0735.jar

The .\eclipse\features\org.eclipse.equinox.p2.user.ui_2.0.0.v20100503-897HFZ-FdHjO2NQo0sD_Nt
feature.xml contains

   <plugin
         id="org.eclipse.ecf"
         download-size="0"
         install-size="0"
         version="3.1.0.v20100529-0735"
         unpack="false"/>

The ECF plug-in versions are all "...v20100529-0735".

2)
> Look in the plugins directory and verify that the appropriate
> version of that bundle is present.

The .\eclipse\plugins folder contains ECF files "...v20100529-0735".

3) Create a plugin project "app" based on the "RCP Mail" template.

4) Create a product configuration for "app".

5) Create a feature project called "app.feature" which references "app" plugin

6) Add org.eclipse.rcp to the list of included features.

7) Open the product config and change it to a feature based configuration.

8) Add the feature to the product dependency list.

9) Launch the product from the product configuration.

According to http://swtxml.com/blog/eclipsercp/p2_updates_tutorial,
If you have started the product already, please delete the existing run
configuration before launching the product again (the dependencies are applied
to the run configuration only when a new run configuration is created):

10) Add org.eclipse.equinox.p2.user.ui feature to the list of included features
for the "app.feature".

11) Add org.apache.commons.logging as required plug-in to "app.feature".

12) Open the run configuration for the product

13) Go to the Plugins tab

14) Click "Add required plugins" (77 -> 99).

15) Click "Apply".

16) Click "Run".

17) Verify the two additional p2 menu items in the help menu.

18) Close the application.

19) In app.product, click "Eclipse Product Export Wizard".

20) Enter a directory path and click "Finish".

21) Run the result product.

Runs OK


Back to the top