Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » config.xml generated by DirectorApplication
config.xml generated by DirectorApplication [message #661312] Thu, 24 March 2011 07:54 Go to next message
javen jia is currently offline javen jiaFriend
Messages: 7
Registered: December 2009
Junior Member
DirectorApplication run with args
-metadatarepository, file:/D:/workspaces/udt/udt/udt-build/udt-build-site/target/targetMetadataRepository/,file:/D:/workspaces/udt/udt/udt-build/udt-build-site/target/repository/, -artifactrepository, file:/D:/workspaces/udt/udt/udt-build/udt-build-site/target/repository/,file:///E:/repository1/, -installIU, com.sfit.udt, -destination, D:\workspaces\udt\udt\udt-build\udt-build-site\target\products\com.sfit.udt\win32\win32\x86, -profile, SDKProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, win32, -p2.ws, win32, -p2.arch, x86
,
and my com.sfit.udt.product's content is
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="%productName" uid="com.sfit.udt" id="org.eclipse.sdk.ide" application="org.eclipse.ui.ide.workbench" version="1.0.0.201103231046" useFeatures="true" includeLaunchers="true">
   <aboutInfo>
      <image path="eclipse_lg.gif"/>
      <text>
         %productBlurb
      </text>
   </aboutInfo>
   <configIni use="default">
      <win32>/udt-build-site/config.ini</win32>
   </configIni>
   <launcherArgs>
      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
   </launcherArgs>
   <windowImages i16="eclipse.gif" i32="eclipse32.gif" i48="eclipse48.gif" i64="eclipse.png" i128="eclipse32.png"/>
   <splash
      startupProgressRect="0,280,455,15"
      startupMessageRect="7,220,441,20"
      startupForegroundColor="C8D5EA" />
   <launcher>
      <solaris/>
      <win useIco="false">
         <bmp/>
      </win>
   </launcher>
  <plugins>
   </plugins>
   <features>
      <feature id="UdtPkgFeature" version="1.0.0.201103241532"/>
      <feature id="org.eclipse.rcp"/>
      <feature id="org.eclipse.pde"/>
      <feature id="org.eclipse.platform"/>
      <feature id="org.eclipse.jdt"/>
   </features>
   <configurations>
      <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="4" />
   </configurations>
</product>
,then the generated content of config.ini is
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Thu Mar 24 15:33:53 CST 2011
eclipse.p2.profile=SDKProfile
osgi.framework=file\:plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
equinox.use.ds=true
osgi.bundles=reference\:file\:com.ibm.icu_4.2.1.v20100412.jar@4,reference\:file\:com.jcraft.jsch_0.1.41.v200903070017.jar@4,reference\:file\:javax.servlet_2.5.0.v200910301333.jar@4,reference\:file\:javax.servlet.jsp_2.0.0.v200806031607.jar@4,reference\:file\:org.apache.ant_1.7.1.v20100518-1145/@4,reference\:file\:org.apache.commons.codec_1.3.0.v20100518-1140.jar@4,reference\:file\:org.apache.commons.el_1.0.0.v201004212143.jar@4,reference\:file\:org.apache.commons.httpclient_3.1.0.v201005080502.jar@4,reference\:file\:org.apache.commons.logging_1.0.4.v201005080501.jar@4,reference\:file\:org.apache.jasper_5.5.17.v201004212143.jar@4,reference\:file\:org.apache.lucene_1.9.1.v20100518-1140.jar@4,reference\:file\:org.apache.lucene.analysis_1.9.1.v20100518-1140.jar@4,reference\:file\:org.eclipse.ant.core_3.2.200.v20100427.jar@4,reference\:file\:org.eclipse.ant.launching_1.0.0.v20100427.jar@4,reference\:file\:org.eclipse.ant.ui_3.5.0.v20100427.jar@4,reference\:file\:org.eclipse.compare_3.5.100.I20100526-0800.jar@4,reference\:file\:org.eclipse.compare.core_3.5.100.I20100526-0800.jar@4,reference\:file\:org.eclipse.compare.win32_1.0.100.I20100505-1245.jar@4,reference\:file\:org.eclipse.core.boot_3.1.200.v20100505.jar@4,reference\:file\:org.eclipse.core.commands_3.6.0.I20100512-1500.jar@4,reference\:file\:org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar@4,reference\:file\:org.eclipse.core.databinding_1.3.100.I20100601-0800.jar@4,reference\:file\:org.eclipse.core.databinding.beans_1.2.100.I20100601-0800.jar@4,reference\:file\:org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar@4,reference\:file\:org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar@4,reference\:file\:org.eclipse.core.expressions_3.4.200.v20100505.jar@4,reference\:file\:org.eclipse.core.externaltools_1.0.1.v20100831_r361.jar@4,reference\:file\:org.eclipse.core.filebuffers_3.5.100.v20100520-0800.jar@4,reference\:file\:org.eclipse.core.filesystem_1.3.1.R36x_v20100727-0745.jar@4,reference\:file\:org.eclipse.core.filesystem.win32.x86_1.1.201.R36x_v20100727-0745.jar@4,reference\:file\:org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar@4,reference\:file\:org.eclipse.core.net_1.2.100.I20100511-0800.jar@4,reference\:file\:org.eclipse.core.net.win32.x86_1.0.100.I20100511-0800.jar@4,reference\:file\:org.eclipse.core.resources_3.6.0.R36x_v20100825-0600.jar@4,reference\:file\:org.eclipse.core.resources.win32.x86_3.5.100.v20100505-1345.jar@4,reference\:file\:org.eclipse.core.runtime_3.6.0.v20100505.jar@4,reference\:file\:org.eclipse.core.runtime.compatibility_3.2.100.v20100505.jar@4,reference\:file\:org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar@4,reference\:file\:org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/@4,reference\:file\:org.eclipse.core.variables_3.2.400.v20100505.jar@4,reference\:file\:org.eclipse.debug.core_3.6.0.v20100519.jar@4,reference\:file\:org.eclipse.debug.ui_3.6.1.v20100901_r361.jar@4,reference\:file\:org.eclipse.ecf_3.1.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.identity_3.1.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.provider.filetransfer_3.1.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.provider.filetransfer.httpclient.ssl_1.0.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar@4,reference\:file\:org.eclipse.equinox.app_1.3.1.R36x_v20100803.jar@4,reference\:file\:org.eclipse.equinox.common_3.6.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.ds_1.2.1.R36x_v20100803.jar@4,reference\:file\:org.eclipse.equinox.event_1.2.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.frameworkadmin_2.0.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505.jar@4,reference\:file\:org.eclipse.equinox.http.jetty_2.0.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.http.registry_1.1.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.http.servlet_1.1.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.jsp.jasper_1.0.200.v20100421.jar@4,reference\:file\:org.eclipse.equinox.jsp.jasper.registry_1.0.200.v20100503.jar@4,reference\:file\:org.eclipse.equinox.launcher_1.1.0.v20100507.jar@4,reference\:file\:org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810/@4,reference\:file\:org.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jar@4,reference\:file\:org.eclipse.equinox.p2.console_1.0.200.v20100601.jar@4,reference\:file\:org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.jar@4,reference\:file\:org.eclipse.equinox.p2.director_2.0.2.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.p2.director.app_1.0.201.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.p2.directorywatcher_1.0.202.R36x_v20100727.jar@4,reference\:file\:org.eclipse.equinox.p2.engine_2.0.0.v20100606.jar@4,reference\:file\:org.eclipse.equinox.p2.extensionlocation_1.2.0.v20100518.jar@4,reference\:file\:org.eclipse.equinox.p2.garbagecollector_1.0.100.v20100503.jar@4,reference\:file\:org.eclipse.equinox.p2.jarprocessor_1.0.200.v20100503a.jar@4,reference\:file\:org.eclipse.equinox.p2.metadata_2.0.0.v20100601.jar@4,reference\:file\:org.eclipse.equinox.p2.metadata.generator_1.0.200.v20100503a.jar@4,reference\:file\:org.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jar@4,reference\:file\:org.eclipse.equinox.p2.operations_2.0.0.v20100510.jar@4,reference\:file\:org.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jar@4,reference\:file\:org.eclipse.equinox.p2.ql_2.0.0.v20100503a.jar@4,reference\:file\:org.eclipse.equinox.p2.reconciler.dropins_1.1.0.v20100525.jar@4,reference\:file\:org.eclipse.equinox.p2.repository_2.0.1.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.p2.touchpoint.eclipse_2.0.2.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.p2.touchpoint.natives_1.0.200.v20100503a.jar@4,reference\:file\:org.eclipse.equinox.p2.ui_2.0.0.v20100518.jar@4,reference\:file\:org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar@4,reference\:file\:org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar@4,reference\:file\:org.eclipse.equinox.p2.updatechecker_1.1.101.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.p2.updatesite_1.0.201.R36x_v20100823.jar@4,reference\:file\:org.eclipse.equinox.preferences_3.3.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.registry_3.5.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.security_1.0.200.v20100503.jar@4,reference\:file\:org.eclipse.equinox.security.ui_1.0.200.v20100503.jar@4,reference\:file\:org.eclipse.equinox.security.win32.x86_1.0.200.v20100503.jar@4,reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@4,reference\:file\:org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20100503.jar@4,reference\:file\:org.eclipse.equinox.util_1.0.200.v20100503.jar@4,reference\:file\:org.eclipse.help_3.5.0.v20100524.jar@4,reference\:file\:org.eclipse.help.appserver_3.1.400.v20100427.jar@4,reference\:file\:org.eclipse.help.base_3.5.2.v201009090800.jar@4,reference\:file\:org.eclipse.help.ui_3.5.2.r36_v20100702.jar@4,reference\:file\:org.eclipse.help.webapp_3.5.2.r36_r20100816.jar@4,reference\:file\:org.eclipse.jdt_3.6.1.v201009090800.jar@4,reference\:file\:org.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jar@4,reference\:file\:org.eclipse.jdt.apt.pluggable.core_1.0.301.R36_v20100727-0110.jar@4,reference\:file\:org.eclipse.jdt.apt.ui_3.3.300.v20100513-0845.jar@4,reference\:file\:org.eclipse.jdt.compiler.apt_1.0.300.v20100513-0845.jar@4,reference\:file\:org.eclipse.jdt.compiler.tool_1.0.100.v_A68_R36x.jar@4,reference\:file\:org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar@4,reference\:file\:org.eclipse.jdt.core.manipulation_1.3.0.v20100520-0800.jar@4,reference\:file\:org.eclipse.jdt.debug_3.6.1.v20100715_r361/@4,reference\:file\:org.eclipse.jdt.debug.ui_3.5.0.v20100602-0830.jar@4,reference\:file\:org.eclipse.jdt.doc.user_3.6.1.r361_v20100721-0800.jar@4,reference\:file\:org.eclipse.jdt.junit_3.6.1.r361_v20100825-0800.jar@4,reference\:file\:org.eclipse.jdt.junit.core_3.6.1.r361_v20100825-0800.jar@4,reference\:file\:org.eclipse.jdt.junit.runtime_3.4.200.v20100526-0800.jar@4,reference\:file\:org.eclipse.jdt.junit4.runtime_1.1.100.v20100526-0800.jar@4,reference\:file\:org.eclipse.jdt.launching_3.5.100.v20100526.jar@4,reference\:file\:org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar@4,reference\:file\:org.eclipse.jface_3.6.1.M20100825-0800.jar@4,reference\:file\:org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar@4,reference\:file\:org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar@4,reference\:file\:org.eclipse.jsch.core_1.1.200.I20100505-1245.jar@4,reference\:file\:org.eclipse.jsch.ui_1.1.300.I20100505-1245.jar@4,reference\:file\:org.eclipse.ltk.core.refactoring_3.5.100.v20100526-0800.jar@4,reference\:file\:org.eclipse.ltk.ui.refactoring_3.5.0.v20100526-0800.jar@4,reference\:file\:org.eclipse.osgi.services_3.2.100.v20100503.jar@4,reference\:file\:org.eclipse.osgi.util_3.2.100.v20100503.jar@4,reference\:file\:org.eclipse.pde_3.6.1.v201009090800.jar@4,reference\:file\:org.eclipse.pde.api.tools_1.0.202.v20100820_r361.jar@4,reference\:file\:org.eclipse.pde.api.tools.ui_1.0.201.v20100820_r361.jar@4,reference\:file\:org.eclipse.pde.build_3.6.1.R36x_v20100823/@4,reference\:file\:org.eclipse.pde.core_3.6.1.v20100902_r361.jar@4,reference\:file\:org.eclipse.pde.doc.user_3.6.1.v20100727_r361.jar@4,reference\:file\:org.eclipse.pde.ds.core_1.0.100.v20100601.jar@4,reference\:file\:org.eclipse.pde.ds.ui_1.0.100.v20100601.jar@4,reference\:file\:org.eclipse.pde.junit.runtime_3.4.100.v20100601.jar@4,reference\:file\:org.eclipse.pde.launching_3.6.0.v20100601.jar@4,reference\:file\:org.eclipse.pde.runtime_3.4.200.v20100601.jar@4,reference\:file\:org.eclipse.pde.ua.core_1.0.100.v20100504.jar@4,reference\:file\:org.eclipse.pde.ua.ui_1.0.100.v20100504.jar@4,reference\:file\:org.eclipse.pde.ui_3.6.1.v20100810_r361.jar@4,reference\:file\:org.eclipse.pde.ui.templates_3.4.200.v20100601.jar@4,reference\:file\:org.eclipse.platform_3.6.1.v201009090800/@4,reference\:file\:org.eclipse.platform.doc.user_3.6.1.r361_v20100825-0800.jar@4,reference\:file\:org.eclipse.rcp_3.6.0.v201009090800.jar@4,reference\:file\:org.eclipse.search_3.6.0.v20100520-0800.jar@4,reference\:file\:org.eclipse.swt_3.6.1.v3655c.jar@4,reference\:file\:org.eclipse.swt.win32.win32.x86_3.6.1.v3655c.jar@4,reference\:file\:org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar@4,reference\:file\:org.eclipse.team.ui_3.5.101.R36x_v20100825-0800.jar@4,reference\:file\:org.eclipse.text_3.5.0.v20100601-1300.jar@4,reference\:file\:org.eclipse.ui_3.6.1.M20100826-1330.jar@4,reference\:file\:org.eclipse.ui.browser_3.3.0.v20100517.jar@4,reference\:file\:org.eclipse.ui.cheatsheets_3.4.0.v20100427.jar@4,reference\:file\:org.eclipse.ui.console_3.5.0.v20100526.jar@4,reference\:file\:org.eclipse.ui.editors_3.6.1.r361_v20100825-0800.jar@4,reference\:file\:org.eclipse.ui.externaltools_3.2.0.v20100427.jar@4,reference\:file\:org.eclipse.ui.forms_3.5.2.r36_v20100702.jar@4,reference\:file\:org.eclipse.ui.ide_3.6.1.M20100825-0800.jar@4,reference\:file\:org.eclipse.ui.ide.application_1.0.201.M20100707-0800.jar@4,reference\:file\:org.eclipse.ui.intro_3.4.0.v20100427.jar@4,reference\:file\:org.eclipse.ui.intro.universal_3.2.402.r36_v20100702/@4,reference\:file\:org.eclipse.ui.navigator_3.5.0.I20100601-0800.jar@4,reference\:file\:org.eclipse.ui.navigator.resources_3.4.201.M20100707-0800.jar@4,reference\:file\:org.eclipse.ui.net_1.2.100.I20100505-1245.jar@4,reference\:file\:org.eclipse.ui.presentations.r21_3.2.200.I20100517-1500.jar@4,reference\:file\:org.eclipse.ui.views_3.5.0.I20100527-0800.jar@4,reference\:file\:org.eclipse.ui.views.log_1.0.100.v20100423.jar@4,reference\:file\:org.eclipse.ui.views.properties.tabbed_3.5.100.I20100509-0800.jar@4,reference\:file\:org.eclipse.ui.win32_3.2.200.I20100509-0800.jar@4,reference\:file\:org.eclipse.ui.workbench_3.6.1.M20100826-1330.jar@4,reference\:file\:org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/@4,reference\:file\:org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar@4,reference\:file\:org.eclipse.update.configurator_3.3.100.v20100512.jar@4,reference\:file\:org.eclipse.update.core_3.2.402.R36x_v20100629.jar@4,reference\:file\:org.eclipse.update.core.win32_3.2.200.v20100512.jar@4,reference\:file\:org.eclipse.update.scheduler_3.2.300.v20100512.jar@4,reference\:file\:org.eclipse.update.ui_3.2.300.v20100512.jar@4,reference\:file\:org.hamcrest.core_1.1.0.v20090501071000.jar@4,reference\:file\:org.junit_3.8.2.v3_8_2_v20100427-1100/@4,reference\:file\:org.junit_4.8.1.v4_8_1_v20100427-1100/@4,reference\:file\:org.junit4_4.8.1.v20100525/@4,reference\:file\:org.mortbay.jetty.server_6.1.23.v201004211559.jar@4,reference\:file\:org.mortbay.jetty.util_6.1.23.v201004211559.jar@4,reference\:file\:org.objectweb.asm_3.2.0.v200909071300.jar@4,reference\:file\:org.sat4j.core_2.2.0.v20100429.jar@4,reference\:file\:org.sat4j.pb_2.2.0.v20100429.jar@4,reference\:file\:udt-pkg-hello_1.0.0.201103241532.jar@4
eclipse.product=org.eclipse.sdk.ide
osgi.framework.extensions=
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
eclipse.application=org.eclipse.ui.ide.workbench

but the eclipse.exe run error。
then i chang osgi.bunles to
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1\:start
i can run eclipse correctly。

i want to know how can i generate right config.ini.
buy the way,i package my plugins with maven plugin tycho。
thanks。
Re: config.xml generated by DirectorApplication [message #661869 is a reply to message #661312] Mon, 28 March 2011 11:14 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/24/2011 03:54 AM, javen jia wrote:

> i want to know how can i generate right config.ini. buy the way,i
> package my plugins with maven plugin tycho。
> thanks。

You probably want the pde newsgroup/forum. You need a <configurations/>
element inside your .product file. See below for an example:

http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/org.eclipse.e4. ui/examples/org.eclipse.e4.ui.examples.legacy.workbench/lega cy-eclipse.product?view=co


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:After migrating to Eclipse Helios, updating my RCP fails
Next Topic:Plugin that uses tools.jar from JDK
Goto Forum:
  


Current Time: Sun Dec 08 19:55:04 GMT 2024

Powered by FUDForum. Page generated in 0.03484 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top