Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Headless pde export
Headless pde export [message #310882] Wed, 20 December 2006 04:44
Eclipse UserFriend
Originally posted by: klusek6.poczta.onet.pl

Hi all!

I'm trying to export my plugins using pde.exportPlugins ant task. The
plugin which I'm trying to export is just generated by eclipse. (No ui
use, just an Activator).

My build.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<project default="plugin_export" name="build">
<target name="plugin_export">
<pde.exportPlugins destination="c:/temp" exportSource="false"
exportType="zip" filename="example.jar" plugins="Example"
useJARFormat="false"/>
</target>
</project>

I run eclipse in the headless mode using command:

java -cp %eclipse_home%\startup.jar org.eclipse.core.launcher.Main
-debug -application org.eclipse.ant.core.antRunner -data
c:\temp\workspace -buildfile build.xml

Everything seems fine at the screen after running:

Install location:
file:/c:/temp/eclipse/
Configuration file:
file:/c:/temp/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/temp/eclipse/configuration/
Framework located:
file:/c:/temp/eclipse/plugins/org.eclipse.osgi_3.2.0.v200606 01.jar
Framework classpath:
file:/c:/temp/eclipse/plugins/org.eclipse.osgi_3.2.0.v200606 01.jar
Debug options:
file:/c:/temp/.options not found
Time to load bundles: 94
Starting application: 1687
Apache Ant version 1.6.5 compiled on June 2 2005
Apache Ant version 1.6.5 compiled on June 2 2005
Setting ro project property: ant.file -> build.xml
Buildfile: build.xml
+Datatype eclipse.convertPath org.eclipse.core.resources.ant.ConvertPath
+Datatype eclipse.incrementalBuild
org.eclipse.core.resources.ant.IncrementalBuild
+Datatype eclipse.refreshLocal
org.eclipse.core.resources.ant.RefreshLocalTask
+Datatype emf.JETEmitter
org.eclipse.emf.ant.taskdefs.codegen.JETEmitterTask
+Datatype emf.JMerger org.eclipse.emf.ant.taskdefs.codegen.JMergerTask
+Datatype emf.util.RemoveVersion
org.eclipse.emf.ant.taskdefs.RemoveVersionTask
+Datatype emf.Ecore2Java
org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask
+Datatype emf.Rose2Java
org.eclipse.emf.importer.rose.taskdefs.RoseGeneratorTask
+Datatype help.buildHelpIndex
org.eclipse.help.internal.base.ant.BuildHelpIndex
+Datatype eclipse.checkDebugAttributes
org.eclipse.jdt.core.CheckDebugAttributes
+Datatype eclipse.brand org.eclipse.pde.internal.build.tasks.BrandTask
+Datatype eclipse.fetch org.eclipse.pde.internal.build.tasks.FetchTask
+Datatype eclipse.buildScript
org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTas k
+Datatype eclipse.generateFeature
org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask
+Datatype eclipse.buildManifest
org.eclipse.pde.internal.build.tasks.BuildManifestTask
+Datatype eclipse.assembler
org.eclipse.pde.internal.build.tasks.PackagerTask
+Datatype eclipse.idReplacer
org.eclipse.pde.internal.build.tasks.IdReplaceTask
+Datatype eclipse.jnlpGenerator
org.eclipse.pde.internal.build.tasks.JNLPGeneratorTask
+Datatype eclipse.unzipperBuilder
org.eclipse.pde.internal.build.tasks.UnzipperGeneratorTask
+Datatype eclipse.fetchFilesGenerator
org.eclipse.pde.internal.build.tasks.FetchFileGeneratorTask
+Datatype eclipse.versionReplacer
org.eclipse.pde.internal.build.tasks.GenericVersionReplacer
+Datatype pde.convertSchemaToHTML
org.eclipse.pde.internal.core.ant.ConvertSchemaToHTML
+Datatype pde.exportPlugins
org.eclipse.pde.internal.core.ant.PluginExportTask
+Datatype pde.exportFeatures
org.eclipse.pde.internal.core.ant.FeatureExportTask
+Datatype wsgen ws.ant.task.WebServiceGenerationAntTask
+Datatype emf.XSD2Java
org.eclipse.xsd.ecore.importer.taskdefs.XSDGeneratorTask
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\temp\build.xml with URI = file:///C:/temp/build.xml
Setting ro project property: ant.project.name -> build
Adding reference: build
Setting ro project property: ant.file.build -> C:\temp\build.xml
Project base dir set to: C:\temp
+Target:
+Target: plugin_export
Adding reference: eclipse.ant.targetVector
Build sequence for target(s) `plugin_export' is [plugin_export]
Complete build sequence is [plugin_export, ]

plugin_export:
BUILD SUCCESSFUL

BUILD SUCCESSFUL
Total time: 4 seconds

Everything is ok but there is no plugin exported. There are no entries
at .log file. For my customized set of plugins it dose not work either.

Any one can help me with solving this problem?
Previous Topic:[Databinding] Design questions
Next Topic:What is the difference between Export-Package and Provide-Package?
Goto Forum:
  


Current Time: Wed May 21 20:54:23 EDT 2025

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

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

Back to the top