diff --git a/build.xml b/build.xml index 27e0335454e0..40671823724e 100644 --- a/build.xml +++ b/build.xml @@ -1,33 +1,16 @@ - + - - - - - - - - - - - - - - - - - - - - @@ -35,6 +18,10 @@ + + + + @@ -43,13 +30,9 @@ - - - - - + @@ -67,6 +50,9 @@ + + + @@ -74,6 +60,4 @@ - - diff --git a/build/scripts/dist.gant b/build/scripts/dist.gant index 499e152e2a96..adb7c6850840 100644 --- a/build/scripts/dist.gant +++ b/build/scripts/dist.gant @@ -21,21 +21,12 @@ import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome includeTargets << new File("${guessHome(this)}/build/scripts/utils.gant") -requireProperty("out", "$home/out") - -// "out" has to be canonical, otherwise the ant build fails -// with mysterious errors -String out = new File(out).getCanonicalPath() - target(compile: "Compile project") { - def options = new BuildOptions() - options.outputRootPath = out - new IdeaCommunityBuilder(home, binding, options).compileModules() + new IdeaCommunityBuilder(home, binding).compileModules() } target('default': 'The default target') { def options = new BuildOptions() - options.outputRootPath = out options.buildNumber = null //we cannot provide consistent build number for IDEA Community if it's built separately so use *.SNAPSHOT number to avoid confusion new IdeaCommunityBuilder(home, binding, options).buildDistributions() } @@ -43,14 +34,12 @@ target('default': 'The default target') { //todo[nik] do we really need this target? update.xml calls layout.gant directly target('build-dist-jars' : 'Target to build jars from locally compiled classes') { def options = new BuildOptions() - options.outputRootPath = out options.useCompiledClassesFromProjectOutput = true new IdeaCommunityBuilder(home, binding, options).buildDistJars() } target('build-intellij-core' : 'Build intellij-core.zip') { def options = new BuildOptions() - options.outputRootPath = out new IdeaCommunityBuilder(home, binding, options).buildIntelliJCore() }