Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] New API method in ECF (org.eclipse.ecf.identity) since 3.4M6


Scott, here's how we run the tool in the build

        <target name="apiTooling">
                <property name="reference" value="${buildDirectory}/apitooolingreference" />
                <mkdir dir="${reference}" />
                <property name="reference_location" value="${reference}/eclipse-SDK-3.4M6a-win32.zip" />
                <exec executable="/usr/bin/wget" dir="${reference}" output="${reference}/error.txt" failonerror="false" os="Linux">
                        <arg line="-q -O  ${reference_location} http://download.eclipse.org/eclipse/downloads/drops/S-3.4M6a-200804091425/eclipse-SDK-3.4M6a-win32.zip" />
                </exec>
                <property name="current_location" value="${postingDirectory}/${buildLabel}/eclipse-SDK-${buildId}-win32.zip" />
                <property name="report" value="${postingDirectory}/${buildLabel}/apitools" />
                <mkdir dir="${report}" />
                <property name="report_location" value="${report}/report.xml" />
                <property name="exclude_list_location" value="${buildDirectory}/maps/org.eclipse.releng/apiexclude/exclude_list.txt" />
                <apitooling.apifreeze reference="${reference_location}" profile="">"${current_location}" report="${report_location}" excludelist="${exclude_list_location}" debug="true" />
                <apitooling.deltareportconversion xmlfile="${report_location}" debug="true" />
        </target>

In the subset of bundles that we use to run our build, we add the org.eclipse.pde.api.tools from M7 plus org.objectweb.asm_3.1.0 from Orbit.

For reference, our project's exclude list is contained in org.eclipse.relenga/apiexclude/exclude_list.txt in /cvsroot/eclipse

The end result  is  ${report_location}/report.html

Kim



Scott Lewis <slewis@xxxxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

05/09/2008 01:50 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
Subject
Re: [equinox-dev] New API method in ECF        (org.eclipse.ecf.identity)        since 3.4M6





Hi Olivier,

Olivier Thomann wrote:
> Hi Scott,
>
> This didn't cause any work for anybody except the build machine :-). The
> check is done during each build. It was easy to detect it without any
> extra work.
>  

That's nice to know...maybe releng would be willing to share the scripts
to run the PDE API checker (I assume that's what's doing this)...and
we/others could add such a check to our build also.


> Since this is not intended to be part of the 3.4 release and I expect it
> to be removed from the next integration build you provide to p2, I won't
> add it to the exclude list.
> Are you ok with this ?
>  

Sure.  For my info...what does it mean to be on the exclude list?  
Excluded from what?

> As soon as the new drop will be used by an integration build, the API
> freeze check won't report it anymore.
>  

Great.

Scott

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top