Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Orbit Source Bundles"
Line 1: | Line 1: | ||
Created from [https://bugs.eclipse.org/bugs/show_bug.cgi?id=184026 bug 184026]. | Created from [https://bugs.eclipse.org/bugs/show_bug.cgi?id=184026 bug 184026]. | ||
− | Bundle structure | + | ===Bundle structure=== |
<pre> | <pre> | ||
{plugin_root} | {plugin_root} | ||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
− | customCallbacks.xml | + | ===customCallbacks.xml=== |
<pre> | <pre> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 43: | Line 43: | ||
</pre> | </pre> | ||
− | build.properties | + | ===build.properties=== |
<pre> | <pre> | ||
customBuildCallbacks=customCallbacks.xml | customBuildCallbacks=customCallbacks.xml |
Revision as of 16:14, 14 May 2007
Created from bug 184026.
Bundle structure
{plugin_root} META-INF/MANIFEST.MF plugin.xml plugin.properties build.properties {class_files} source-bundle/ META-INF/MANIFEST.MF plugin.xml build.properties customCallbacks.xml src/{plugin_id}_{version}/src.zip
customCallbacks.xml
<?xml version="1.0" encoding="UTF-8"?> <project name="customCallbacks" default="post.gather.bin.parts" basedir="."> <target name="post.gather.bin.parts"> <echo message="${target.folder}" /> <echo message="${build.result.folder}" /> <pathconvert property="binaryBundleId"> <path> <fileset dir="${target.folder}/src" includes="**" /> </path> <regexpmapper from=".*\\(.*)_(.*)\\.*" to="\1" /> </pathconvert> <pathconvert property="sourceFolderVersion"> <path> <fileset dir="${target.folder}/src" includes="**" /> </path> <regexpmapper from=".*\\(.*_.*)\\.*" to="\1" /> </pathconvert> <move todir="${target.folder}/src/${binaryBundleId}_${bundleVersion}"> <fileset dir="${target.folder}/src/${sourceFolderVersion}" includes="**" /> </move> </target> </project>
build.properties
customBuildCallbacks=customCallbacks.xml customBuildCallbacks.inheritall=true