Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho vs PDE export differences for same .product file.

Hi Dirk,

No, I woudn't make that mistake anymore! My setup is a .target which is both used for build and set as target when
I want to produce a PDE build for testing or launch configuration. (I would actually like to file a bug for Eclipse PDE to be able
to import a team project set, which would also load a target, but that is a different topic).

I managed to solve the problem. I turns out it's important which plugins are auto started and the priority they have.
the simpleconfigurator plugin needs to be in the product auto-start with level 1. I never guessed this actually influences the
build structure. (To use a bundle.info), I stumbled upon this in this blog:

http://codeandme.blogspot.nl/2012/12/tycho-build-6-building-products.html

Thanks,
Christophe


On Tue, Oct 8, 2013 at 8:40 AM, Dirk Fauth <dirk.fauth@xxxxxxxxx> wrote:
How did you specify the target-platform? One common mistake that leads to the described issue is to use the current active target platform in the IDE while specifying a different one in the build.


On Wed, Oct 2, 2013 at 5:17 PM, Christophe Bouhier <dzonekl@xxxxxxxxx> wrote:
Hi there,

The produced configuration from tycho and PDE export differs for the same .product file.

(The tycho version doesn't run, ClassNotFoundException on one of the bundles, which is for sure part of the build output).

I checked the differences from the PDE export (.product --> Export).

Below, the config.ini for both outputs.

Now my aproach to allign them (To make the tycho build also work), would be to configure the pom.xml, what is required to allign the tycho output to be similar as the pde output?


Thank you.


Output from PDE Export.

#Product Runtime Configuration File
eclipse.application=com.netxforge.netxstudio.ui.application
osgi.bundles.defaultStartLevel=4
eclipse.product=com.netxforge.netxstudio.client.product.netxstudio
osgi.splashPath=platform:/base/plugins/com.netxforge.netxstudio.client.product
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
 
Output from Tycho build:

#This configuration file was written by: org.eclipse.equinox.internal.
frameworkadmin.equinox.EquinoxFwConfigFileParser
#Mon Sep 30 21:42:59 CEST 2013
eclipse.p2.profile=""> osgi.framework=file\:plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar
equinox.use.ds=true
osgi.bundles=reference\:file\:com.google.collect_1.0.0.jar@4,reference\:file\:com.google.guava_11.0.2.v201303041551.jar@4,reference\:file\:com.google.guava_12.0.0.v201212092141.jar@4,reference\:file\:com.google.inject_3.0.0.v201203062045.jar@4,reference\:file\:com.ibm.icu_50.1.1.v201304230130.jar@4,reference\:file\:com.ibm.icu.base_50.1.1.v201304230130.jar@4,reference\:file\:com.netxforge.netxscript_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxscript.ui_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.client.product_1.0.0.201309301941.jar@1\:start,reference\:file\:com.netxforge.netxstudio.common_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.console_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.data_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.data.fixtures_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.help_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.13042011_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.13042011.edit_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.16042013_delta_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.edit_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.export_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.export.ui_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.import_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.models.import.ui_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.screens_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.screens.activities_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.screens.app_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.screens.editing_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.screens.ide_1.0.0.201309301941.jar@4,reference\:file\:com.netxforge.netxstudio.screens.xtext_1.0.0.201309301941.jar@4,reference\:file\:javax.annotation_1.1.0.v201209060031.jar@4,reference\:file\:javax.el_2.2.0.v201303151357.jar@4,reference\:file\:javax.inject_1.0.0.v20091030.jar@4,reference\:file\:javax.servlet_3.0.0.v201112011016.jar@4,reference\:file\:javax.servlet.jsp_2.2.0.v201112011158.jar@4,reference\:file\:javax.xml_1.3.4.v201005080400.jar@4,reference\:file\:oracle.jdbc.driver.10_2_0_4_10.2.4.201309301941.jar@4,reference\:file\:org.antlr.runtime_3.2.0.v201101311130.jar@4,reference\:file\:org.aopalliance_1.0.0.v201105210816.jar@4,reference\:file\:org.apache.ant_1.8.4.v201303080030/@4,reference\:file\:org.apache.batik.css_1.6.0.v201011041432.jar@4,reference\:file\:org.apache.batik.util_1.6.0.v201011041432.jar@4,reference\:file\:org.apache.batik.util.gui_1.6.0.v201011041432.jar@4,reference\:file\:org.apache.commons.cli_1.2.0.v201105210650.jar@4,reference\:file\:org.apache.commons.lang_2.6.0.v201205030909.jar@4,reference\:file\:org.apache.commons.logging_1.1.1.v201101211721.jar@4,reference\:file\:org.apache.commons.math_2.2.0.201309301941.jar@4,reference\:file\:org.apache.felix.gogo.command_0.10.0.v201209301215.jar@4,reference\:file\:org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar@4,reference\:file\:org.apache.felix.gogo.shell_0.10.0.v201212101605.jar@4,reference\:file\:org.apache.jasper.glassfish_2.2.2.v201205150955.jar@4,reference\:file\:org.apache.log4j_1.2.15.v201012070815.jar@4,reference\:file\:org.apache.lucene_3.5.0.v20120725-1805.jar@4,reference\:file\:org.apache.lucene.analysis_3.5.0.v20120725-1805.jar@4,reference\:file\:org.apache.lucene.core_3.5.0.v20120725-1805.jar@4,reference\:file\:org.apache.lucene.misc_3.5.0.v20120725-1805.jar@4,reference\:file\:org.apache.lucene.queries_3.5.0.v20120725-1805.jar@4,reference\:file\:org.apache.poi_3.9.0.jar@4,reference\:file\:org.eclipse.compare_3.5.400.v20130514-1224.jar@4,reference\:file\:org.eclipse.compare.core_3.5.300.v20130514-1224.jar@4,reference\:file\:org.eclipse.core.commands_3.6.100.v20130515-1857.jar@4,reference\:file\:org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar@4,reference\:file\:org.eclipse.core.databinding_1.4.1.v20130515-1857.jar@4,reference\:file\:org.eclipse.core.databinding.beans_1.2.200.v20130515-1857.jar@4,reference\:file\:org.eclipse.core.databinding.observable_1.4.1.v20130515-1857.jar@4,reference\:file\:org.eclipse.core.databinding.property_1.4.200.v20130515-1857.jar@4,reference\:file\:org.eclipse.core.expressions_3.4.500.v20130515-1343.jar@4,reference\:file\:org.eclipse.core.filebuffers_3.5.300.v20130225-1821.jar@4,reference\:file\:org.eclipse.core.filesystem_1.4.0.v20130514-1240.jar@4,reference\:file\:org.eclipse.core.jobs_3.5.300.v20130429-1813.jar@4,reference\:file\:org.eclipse.core.resources_3.8.100.v20130521-2026.jar@4,reference\:file\:org.eclipse.core.runtime_3.9.0.v20130326-1255.jar@2\:start,reference\:file\:org.eclipse.core.variables_3.2.700.v20130402-1741.jar@4,reference\:file\:org.eclipse.draw2d_3.9.0.201305060205.jar@4,reference\:file\:org.eclipse.e4.core.commands_0.10.2.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.core.contexts_1.3.0.v20130514-1256.jar@4,reference\:file\:org.eclipse.e4.core.di_1.3.0.v20130514-1256.jar@4,reference\:file\:org.eclipse.e4.core.di.extensions_0.11.100.v20130514-1256.jar@4,reference\:file\:org.eclipse.e4.core.services_1.1.0.v20130515-1343.jar@4,reference\:file\:org.eclipse.e4.ui.bindings_0.10.100.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.css.core_0.10.100.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.css.swt_0.11.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.css.swt.theme_0.9.100.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.di_1.0.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.model.workbench_1.0.0.v20130605-1738.jar@4,reference\:file\:org.eclipse.e4.ui.services_1.0.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.widgets_1.0.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.workbench_1.0.0.v20130531-1444.jar@4,reference\:file\:org.eclipse.e4.ui.workbench.addons.swt_1.0.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.e4.ui.workbench.renderers.swt_0.11.0.v20130603-1523.jar@4,reference\:file\:org.eclipse.e4.ui.workbench.renderers.swt.cocoa_0.11.100.v20130516-1100.jar@4,reference\:file\:org.eclipse.e4.ui.workbench.swt_0.12.0.v20130517-0139.jar@4,reference\:file\:org.eclipse.e4.ui.workbench3_0.12.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.emf.cdo_4.2.0.v20130130-0630.jar@4,reference\:file\:org.eclipse.emf.cdo.admin_4.1.100.v20121108-1836.jar@4,reference\:file\:org.eclipse.emf.cdo.common_4.2.0.v20130126-1029.jar@4,reference\:file\:org.eclipse.emf.cdo.edit_4.2.0.v20130126-0819.jar@4,reference\:file\:org.eclipse.emf.cdo.net4j_4.1.100.v20121228-1653.jar@4,reference\:file\:org.eclipse.emf.cdo.transfer_4.2.0.v20121002-0952.jar@4,reference\:file\:org.eclipse.emf.cdo.transfer.repository_4.2.0.v20121005-1142.jar@4,reference\:file\:org.eclipse.emf.cdo.transfer.ui_4.2.0.v20121107-1107.jar@4,reference\:file\:org.eclipse.emf.cdo.ui_4.2.0.v20121230-1535.jar@4,reference\:file\:org.eclipse.emf.cdo.ui.admin_4.1.100.v20121228-1653.jar@4,reference\:file\:org.eclipse.emf.cdo.ui.shared_4.1.0.v20121005-1734.jar@4,reference\:file\:org.eclipse.emf.common_2.9.1.v20130827-0309.jar@4,reference\:file\:org.eclipse.emf.common.ui_2.8.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.compare_3.0.0.201306250935.jar@4,reference\:file\:org.eclipse.emf.databinding_1.3.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.databinding.edit_1.3.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.ecore_2.9.1.v20130827-0309.jar@4,reference\:file\:org.eclipse.emf.ecore.change_2.9.0.v20130827-0309.jar@4,reference\:file\:org.eclipse.emf.ecore.change.edit_2.5.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.ecore.edit_2.8.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.ecore.xmi_2.9.1.v20130827-0309.jar@4,reference\:file\:org.eclipse.emf.edit_2.9.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.edit.ui_2.9.0.v20130902-0605.jar@4,reference\:file\:org.eclipse.emf.mwe.core_1.1.1.v201108020506.jar@4,reference\:file\:org.eclipse.emf.mwe.utils_1.1.1.v201108020506.jar@4,reference\:file\:org.eclipse.emf.mwe2.runtime_2.0.1.v201108020506.jar@4,reference\:file\:org.eclipse.equinox.app_1.3.100.v20130327-1442.jar@4,reference\:file\:org.eclipse.equinox.bidi_0.10.0.v20130327-1442.jar@4,reference\:file\:org.eclipse.equinox.common_3.6.200.v20130402-1505.jar@4,reference\:file\:org.eclipse.equinox.console_1.0.100.v20130429-0953.jar@4,reference\:file\:org.eclipse.equinox.ds_1.4.100.v20130515-2026.jar@3\:start,reference\:file\:org.eclipse.equinox.event_1.3.0.v20130327-1442.jar@3\:start,reference\:file\:org.eclipse.equinox.http.jetty_3.0.100.v20130327-1442.jar@4,reference\:file\:org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar@4,reference\:file\:org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354.jar@4,reference\:file\:org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar@4,reference\:file\:org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar@4,reference\:file\:org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar@4,reference\:file\:org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130521-0416/@4,reference\:file\:org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar@4,reference\:file\:org.eclipse.equinox.registry_3.5.300.v20130327-1442.jar@4,reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar@4,reference\:file\:org.eclipse.equinox.util_1.0.500.v20130404-1337.jar@4,reference\:file\:org.eclipse.gef_3.9.0.201305060205.jar@4,reference\:file\:org.eclipse.help_3.6.0.v20130326-1254.jar@4,reference\:file\:org.eclipse.help.base_4.0.0.v20130605-2000.jar@4,reference\:file\:org.eclipse.help.ui_4.0.0.v20130515-1955.jar@4,reference\:file\:org.eclipse.help.webapp_3.6.200.v20130514-1258.jar@4,reference\:file\:org.eclipse.jetty.continuation_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jetty.http_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jetty.io_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jetty.security_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jetty.server_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jetty.servlet_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jetty.util_8.1.10.v20130312.jar@4,reference\:file\:org.eclipse.jface_3.9.0.v20130521-1714.jar@4,reference\:file\:org.eclipse.jface.databinding_1.6.200.v20130515-1857.jar@4,reference\:file\:org.eclipse.jface.text_3.8.100.v20130515-1957.jar@4,reference\:file\:org.eclipse.ltk.core.refactoring_3.6.100.v20130605-1748.jar@4,reference\:file\:org.eclipse.nebula.cwt_0.9.0.201303141537.jar@4,reference\:file\:org.eclipse.nebula.jface.cdatetime_0.14.0.201303141537.jar@4,reference\:file\:org.eclipse.nebula.widgets.calendarcombo_1.0.0.201303141537.jar@4,reference\:file\:org.eclipse.nebula.widgets.cdatetime_0.14.0.201303141537.jar@4,reference\:file\:org.eclipse.nebula.widgets.datechooser_1.0.0.201303141536.jar@4,reference\:file\:org.eclipse.nebula.widgets.formattedtext_1.0.0.201303141536.jar@4,reference\:file\:org.eclipse.nebula.widgets.grid_1.0.0.201303141537.jar@4,reference\:file\:org.eclipse.net4j_4.2.0.v20130120-1014.jar@4,reference\:file\:org.eclipse.net4j.tcp_4.1.100.v20120920-1622.jar@4,reference\:file\:org.eclipse.net4j.ui_4.2.0.v20121108-1836.jar@4,reference\:file\:org.eclipse.net4j.ui.shared_4.2.0.v20120917-1349.jar@4,reference\:file\:org.eclipse.net4j.util_3.3.0.v20130126-0958.jar@4,reference\:file\:org.eclipse.net4j.util.ui_3.3.0.v20130126-1007.jar@4,reference\:file\:org.eclipse.osgi.services_3.3.100.v20130513-1956.jar@4,reference\:file\:org.eclipse.rcp_4.3.0.v20130605-2000.jar@4,reference\:file\:org.eclipse.swt_3.102.0.v20130605-1539.jar@4,reference\:file\:org.eclipse.swt.cocoa.macosx.x86_64_3.102.0.v20130605-1544.jar@4,reference\:file\:org.eclipse.text_3.5.300.v20130515-1451.jar@4,reference\:file\:org.eclipse.ui_3.105.0.v20130522-1122.jar@4,reference\:file\:org.eclipse.ui.console_3.5.200.v20130514-0954.jar@4,reference\:file\:org.eclipse.ui.editors_3.8.100.v20130513-1637.jar@4,reference\:file\:org.eclipse.ui.forms_3.6.0.v20130517-0139.jar@4,reference\:file\:org.eclipse.ui.ide_3.9.0.jar@4,reference\:file\:org.eclipse.ui.intro_3.4.200.v20130326-1254.jar@4,reference\:file\:org.eclipse.ui.navigator_3.5.300.v20130517-0139.jar@4,reference\:file\:org.eclipse.ui.navigator.resources_3.4.500.jar@4,reference\:file\:org.eclipse.ui.views_3.6.100.v20130326-1250.jar@4,reference\:file\:org.eclipse.ui.views.properties.tabbed_3.6.0.v20130515-1857.jar@4,reference\:file\:org.eclipse.ui.workbench_3.105.0.v20130529-1406.jar@4,reference\:file\:org.eclipse.ui.workbench.texteditor_3.8.100.v20130514-1533.jar@4,reference\:file\:org.eclipse.update.configurator_3.3.200.v20130326-1319.jar@4,reference\:file\:org.eclipse.xpand_1.1.0.v201106070515.jar@4,reference\:file\:org.eclipse.xtend_1.1.0.v201106070515.jar@4,reference\:file\:org.eclipse.xtend.typesystem.emf_1.0.1.v201106070515.jar@4,reference\:file\:org.eclipse.xtext_2.1.1.v201111141332.jar@4,reference\:file\:org.eclipse.xtext.builder_2.0.1.v201108020636.jar@4,reference\:file\:org.eclipse.xtext.ui_2.0.1.v201108020636.jar@4,reference\:file\:org.eclipse.xtext.ui.codetemplates_2.1.1.v201111141332.jar@4,reference\:file\:org.eclipse.xtext.ui.codetemplates.ui_2.1.1.v201111141332.jar@4,reference\:file\:org.eclipse.xtext.ui.shared_2.1.1.v201111141332.jar@4,reference\:file\:org.eclipse.xtext.util_2.1.1.v201111141332.jar@4,reference\:file\:org.mortbay.jetty.server_6.1.23.v201012071420.jar@4,reference\:file\:org.mortbay.jetty.util_6.1.23.v201012071420.jar@4,reference\:file\:org.ops4j.peaberry_1.1.1.v698.jar@4,reference\:file\:org.postgresql_9.0.0.201309301941.jar@4,reference\:file\:org.swtchart_0.8.0.jar@4,reference\:file\:org.w3c.css.sac_1.3.1.v200903091627.jar@4,reference\:file\:org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar@4,reference\:file\:org.w3c.dom.smil_1.0.0.v200806040011.jar@4,reference\:file\:org.w3c.dom.svg_1.1.0.v201011041433.jar@4
eclipse.product=com.netxforge.netxstudio.client.product.netxstudio
osgi.splashPath=platform\:/base/plugins/com.netxforge.netxstudio.client.product
osgi.framework.extensions=
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
eclipse.application=com.netxforge.netxstudio.ui.application

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top