mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-138199: Build sources artifact with IDEA Community sources and flat structure (without modules)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -252,6 +252,7 @@ def layoutFull(String home, String targetDirectory, String patchedDescriptorDir
|
||||
printUnusedModules(info.usedModules)
|
||||
|
||||
//reorder(targetDirectory)
|
||||
return info
|
||||
}
|
||||
|
||||
public def layoutCommunityPlugins(String home) {
|
||||
|
||||
Reference in New Issue
Block a user