[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[platform-update-dev] Errors when using the standalone updater to mirror Callisto

Dear All,
 
I have been trying to mirror the Callisto Discovery and Eclipse project update sites using the standalone updater (versions 3.1 and 3.2):
 
Eclipse: http://update2.eclipse.org/updates/3.2
Callisto: http://download3.eclipse.org/callisto/releases
 
This morning I managed to successfully mirror Eclipse using the 3.2 updater (not tested it yet) but *cannot* successfully mirror Callisto using either the 3.1 or 3.2 updater. I have attached the scripts I used plus the error logs from the various runs to this email. Can anyone tell me what is causing these errors and what I/we can do about them?
Best regards,
 
Miles
----------------------------------------------
Miles Daffin
Morgan Stanley | EAI | MSDE
20 Cabot Square | Canary Wharf | London E14 4QA | UK
Tel: +44 (0) 20 767 75119
Fax: +44 (0) 20 705 64572
miles.daffin@xxxxxxxxxxxxxxxxx
 

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

Attachment: build.properties
Description: build.properties

<project name="MSDE Update Sites Master Build" default="none" basedir=".">

    <property file="build.properties"/>

    <property name="eclipse.main.class" value="org.eclipse.core.launcher.Main"/>
    <property name="eclipse.application" value="org.eclipse.update.core.standaloneUpdate"/>
    <property name="eclipse.application.command" value="mirror"/>

    <path id="updater.classpath">
        <pathelement location="${eclipse.home}/startup.jar"/>
    </path>

    <target name="none">
        <echo message="No default target defined. Please run one of the public targets."/>
    </target>

    <target name="mirror-eclipse" description="Creates a mirror of the Eclipse 3.2 update site" >
        <standalone-updater
            remote.site.url="${eclipse.remote.site.url}"
            mirror.site.dir="${eclipse.mirror.site.dir}"
            mirror.site.url="${eclipse.mirror.site.url}"/>
    </target>

    <target name="mirror-callisto" description="Creates a mirror of the Callisto Discovery update site">
        <standalone-updater
            remote.site.url="${callisto.remote.site.url}"
            mirror.site.dir="${callisto.mirror.site.dir}"
            mirror.site.url="${callisto.mirror.site.url}"/>
    </target>

    <target name="mirror-checkstyle" description="Creates a mirror of the Checkstyle update site" >
        <standalone-updater
            remote.site.url="${checkstyle.remote.site.url}"
            mirror.site.dir="${checkstyle.mirror.site.dir}"
            mirror.site.url="${checkstyle.mirror.site.url}"/>
    </target>


    <macrodef name="standalone-updater" description="Uses eclipse standalone updater to mirror an external update site">
        <attribute name="remote.site.url" description="The url of the remote site to be mirrored (base dir containing site.xml)"/>
        <attribute name="mirror.site.dir" description="Local directory where the mirror will be created"/>
        <attribute name="mirror.site.url" description="URL of the mirror site (used in the generated update policy.xml file)"/>
        <sequential>
            <echo message="Mirroring remote site:"/>
            <echo message="remote.site.url: @{remote.site.url}"/>
            <echo message="mirror.site.dir: @{mirror.site.dir}"/>
            <echo message="mirror.site.url: @{mirror.site.url}"/>
            <mkdir dir="@{mirror.site.dir}" taskname="create-mirror-dir" />
            <java classname="${eclipse.main.class}"
                fork="true"
                classpathref="updater.classpath"
                failonerror="true">
                <sysproperty key="proxyHost" value="${proxy.host}"/>
                <sysproperty key="proxyPort" value="${proxy.port}"/>
                <arg line="-data ${basedir} -application ${eclipse.application} -command ${eclipse.application.command} -from @{remote.site.url} -to @{mirror.site.dir} -mirrorURL @{mirror.site.url}"/>
            </java>
            <echo message="Remote site mirrored!"/>
        </sequential>
    </macrodef>
</project>

Attachment: mirror_callisto_upd_3.1.log
Description: mirror_callisto_upd_3.1.log

Attachment: mirror_callisto_upd_3.2.log
Description: mirror_callisto_upd_3.2.log