@@ -42,7 +42,7 @@ dependencies {
4242 // corelibs "com.nimbusds:oauth2-oidc-sdk:6.5"
4343}
4444
45- defaultTasks ' clean' , ' getCoreDependencies' , ' compile' , ' generateOpenMDTUpdateSite' , ' deployDHE '
45+ defaultTasks ' clean' , ' getCoreDependencies' , ' compile' , ' generateOpenMDTUpdateSite'
4646
4747task importAnt {
4848 ClassLoader antClassLoader = org.apache.tools.ant.Project . class. classLoader
@@ -58,6 +58,7 @@ task importAnt {
5858 // build-mdt provides the generateOpenMDTUpdateSite target, which is the entry point
5959 // for the compilation and assembling of updatesites
6060 ant. importBuild(' ant_build/build-mdt.xml' )
61+ println " Imported ant code"
6162}
6263
6364def projDir = projectDir. getAbsolutePath()
@@ -187,10 +188,8 @@ gradleGenerateMDTUpdateSite.dependsOn generateOpenMDTUpdateSite
187188build. dependsOn compile
188189build. dependsOn generateOpenMDTUpdateSite
189190
190- compile. dependsOn importAnt
191191compile. dependsOn downloadEclipseSDK
192192compile. dependsOn downloadEclipseTargetPlatform
193- compile. dependsOn getCoreDependencies
194193
195194// // build version from the artifacts to avoid version mismatch
196195import static groovy.io.FileType.FILES
@@ -210,9 +209,9 @@ def getBuildLabelFromArtifact() {
210209
211210 buildLabel = (fileName =~ " ${ filePrefix} (.*).zip" )[0 ][1 ]
212211
213- if (buildLabel. isEmpty()) {
214- buildLabel = ant. properties[' buildLabel' ]
215- println " Unable to grab build label - ant buildLabel is used instead."
212+ if (buildLabel. isEmpty()) {
213+ buildLabel = ant. properties[' buildLabel' ]
214+ println " Unable to grab build label - ant buildLabel is used instead."
216215 }
217216 }
218217 return buildLabel
@@ -426,6 +425,10 @@ task cleanBuilds(type: Delete) {
426425 println ' Delete ' + artifactsDir
427426 file(artifactsDir). deleteDir()
428427
428+ def buildLabelFile = project. properties[' build.label.file' ]
429+ println ' Delete ' + buildLabelFile
430+ file(buildLabelFile). delete()
431+
429432 println ' Delete ' + toolsImageFolder
430433 file(toolsImageFolder). deleteDir()
431434 }
@@ -438,7 +441,6 @@ task cleanBuilds(type: Delete) {
438441// Delete all prereq files, downloaded artifacts and build output
439442task clean (type : Delete ) {
440443 doLast {
441-
442444 }
443445
444446 onlyIf {
0 commit comments