Skip to main content

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.

Jump to: navigation, search

Platform-releng-faq-deprecated

Revision as of 14:33, 30 April 2010 by Kmoir.ca.ibm.com (Talk | contribs)

Deprecated content from the platform-releng-faq

What do I need to do to use org.eclipse.releng.basebuilder from HEAD now that the Xerces plugin has been removed?

If you use the org.eclipse.releng.basebuilder in your builds and you use TestVersionTracker to create a test.properties file (search for "TestVersionTracker" in your customTargets.xml build scripts), please read on.

Some older versions of the TestVersionTracker class required Xerces on the classpath. We have removed the Xerces jars from the HEAD stream only of org.eclipse.releng.basebuilder.

For any team broken by this, a <generateTestProperties> custom Ant task has been created which does the same. It is available in the org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools plug-in from HEAD. To use all you will need to do is the following replacement:

Replace text such as this (taken from GEF):

<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<javac
        verbose="true"
        failonerror="true"
        srcdir="${builderDirectory}/tools"
        destdir="${builderDirectory}/tools" 
        classpath="${eclipse.home}/plugins/org.apache.xerces_4.0.13/xercesImpl.jar:${eclipse.home}/plugins/org.apache.xerces_4.0.13/xmlParserAPIs.jar"/>
<java classname="TestVersionTracker">
    <arg line="${workingDirectory}/eclipse/features/org.eclipse.gef.test_3.1.0/feature.xml ${buildDirectory} ${workingDirectory}/gef-testing/test.properties" />
    <classpath>
        <pathelement path="${eclipse.home}/plugins/org.apache.xerces_4.0.13/xercesImpl.jar:${eclipse.home}/plugins/org.apache.xerces_4.0.13/xmlParserAPIs.jar:${builderDirectory}/tools" />
    </classpath>
</java>

with this:

<generateTestProperties
        buildDirectory="${buildDirectory}"
        featureId="org.eclipse.sdk.tests"
        outputFile="${workingDirectory}/eclipse-testing/test.properties"/>


Where can I learn how to use the packager?

http://wiki.eclipse.org/index.php/Platform-releng-packager

Platform Releng Galileo Plan

Galileo plan

Back to the top