Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 156010 Details for
Bug 299470
Hudson build scripts output differences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Sample Build Script that keeps only latest N build, not all
build.xml (text/xml), 3.67 KB, created by
David Carver
on 2010-01-13 12:16:50 EST
(
hide
)
Description:
Sample Build Script that keeps only latest N build, not all
Filename:
MIME Type:
Creator:
David Carver
Created:
2010-01-13 12:16:50 EST
Size:
3.67 KB
patch
obsolete
><project default="run" name="org.eclipse.wst.xml.xpath2.releng/build.xml - Run a PsychoPath build using the Athena CBI"> > <!-- load properties and set timestamp for the build --> > <property name="WORKSPACE" location="../../../../"/> > <property environment="env"/> > <property file="build.properties" /> > <tstamp> > <format property="buildTimestamp" pattern="yyyyMMddHHmm" /> > </tstamp> > <property name="forceContextQualifier" value="v${buildTimestamp}" /> > <property name="fetchTag" value="HEAD" /> > > <!-- calculate workspaceDir as parent of this folder, the project's .releng folder (relengBuilderDir) --> > <property name="relengBuilderDir" value="${basedir}" /> > <property name="sdkzipUrl" value="https://build.eclipse.org/hudson/job/cbi-wtp-wst.xsl/ws/build/athena/"/> > > <import file="findbugs.xml"/> > <import file="pmd.xml"/> > > <dirname file="${relengBuilderDir}" property="workspaceDir" /> > > <!-- > can build in /tmp, eg., in /tmp/build, or in workspace, eg., > ${WORKSPACE}/build > --> > <property name="writableBuildRoot" value="/tmp/build" /> > > <!-- > can be simple path, eg., > ${writableBuildRoot}/${buildType}${buildTimestamp} or longer, eg., > ${writableBuildRoot}/${topprojectName}/${projectName}/downloads/drops/${version}/${buildType}${buildTimestamp} or > ${writableBuildRoot}/${topprojectName}/${projectName}/${subprojectName}/downloads/drops/${version}/${buildType}${buildTimestamp} > --> > <property name="buildDir" value="${writableBuildRoot}/athena" /> > > <target name="init"> > <delete dir="${buildDir}" failonerror="false"/> > </target> > > <target name="run" depends="init"> > <echo message="Workspace: ${WORKSPACE}"/> > <echo message="Writable Build Root: ${writableBuildRoot}"/> > <mkdir dir="${writableBuildRoot}"/> > <!-- invoke a new Eclipse process and launch the build from the common.releng folder --> > <property name="relengCommonBuilderDir" value="${workspaceDir}/org.eclipse.dash.common.releng" /> > <ant antfile="${relengCommonBuilderDir}/buildAll.xml" target="runEclipse" dir="${relengCommonBuilderDir}" /> > <antcall target="findbugs" inheritall="true"/> > <cleanUpBuild/> > <antcall target="duplicateCode" inheritall="true"/> > </target> > > <target name="findbugs" description="Run a find bugs analysis based on a ZIP file contents."> > <patternset id="xsljars"> > <include name="eclipse/plugins/*.jar"/> > <exclude name="**/plugins/org.apache*.jar"/> > </patternset> > <getFindBugs downloadDir="${writableBuildRoot}/downloads" destDir="${writableBuildRoot}/3rdPartyJars/findbugs"/> > <extractJarsForAnalysis src="${sdkzipUrl}${zipPrefix}-SDK-${buildType}${buildTimestamp}.zip" refid="xsljars"/> > <findBugs outputfile="${writableBuildRoot}/athena/fb-xsl.xml"/> > </target> > > <target name="duplicateCode" description="Run PMD duplicate code analysis"> > <getPMD downloadDir="${writableBuildRoot}/downloads" destDir="${writableBuildRoot}/3rdPartyJars/pmd"/> > <cpd outputfile="${writableBuildRoot}/athena/cpd-xslt.xml" srcdir="${WORKSPACE}"/> > </target> > > > <!-- = = = = = = = = = = = = = = = = = > macrodef: cleanUpBuild > = = = = = = = = = = = = = = = = = --> > <macrodef name="cleanUpBuild"> > <sequential> > <delete dir="${buildDir}/eclipse" failonerror="false" /> > <delete dir="${buildDir}/testing" failonerror="false" /> > <delete dir="${buildDir}/compilelogs" failonerror="false"/> > <delete dir="${buildDir}/testResults/consolelogs" failonerror="false"/> > <delete dir="${buildDir}/testResults/html" failonerror="false"/> > <delete> > <fileset dir="${buildDir}"> > <include name="*AllFeatures*.zip*"/> > <include name="*Master*.zip*"/> > </fileset> > </delete> > > </sequential> > </macrodef> > ></project>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 299470
: 156010 |
156225