IDEA-138199: Build sources artifact with IDEA Community sources and flat structure (without modules)

This commit is contained in:
nik
2015-04-01 19:26:39 +03:00
parent 03f7f8a23b
commit 027bd641ba
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -14,6 +14,9 @@
* limitations under the License.
*/
import org.jetbrains.jps.gant.LayoutInfo
import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome
includeTargets << new File("${guessHome(this)}/build/scripts/utils.gant")
@@ -122,7 +125,7 @@ def layoutAll(Map args, String home, String out, Paths _paths = null, buildJps =
ant.echo(message: args.buildNumber, file: "$paths.distAll/build.txt")
def layouts = includeFile("$home/build/scripts/layouts.gant")
layouts.layoutFull(home, paths.distAll, null)
LayoutInfo info = layouts.layoutFull(home, paths.distAll, null)
layouts.layout_core(home, paths.artifacts_core)
notifyArtifactBuilt(paths.artifacts_core)
if (buildJps) {
@@ -158,6 +161,7 @@ def layoutAll(Map args, String home, String out, Paths _paths = null, buildJps =
buildMacZip(macAppRoot, macZip, [paths.distAll], paths.distMac)
buildTarGz("idea-${args.buildNumber}", "$paths.artifacts/idea${args.buildNumber}.tar", [paths.distAll, paths.distUnix])
return info
}
private layoutWin(Map args, String home, Paths paths) {
+1
View File
@@ -252,6 +252,7 @@ def layoutFull(String home, String targetDirectory, String patchedDescriptorDir
printUnusedModules(info.usedModules)
//reorder(targetDirectory)
return info
}
public def layoutCommunityPlugins(String home) {