Commit Graph

124 Commits

Author SHA1 Message Date
Leonid Shalupov
1731bc7b77 build-scripts: launch launcher exe generator from sources, not from manually-built binary
GitOrigin-RevId: 8d5cb1292617f98142e3ff713740003271df1443
2022-06-07 18:42:07 +00:00
Ivan Migalev
3335afcf68 Make LauncherGenerator to be able to shrink sections
This issue was found during investigation of T-IDE broken binary:
they've used an .ico file of smaller size than in IDEA, and that caused
the binary to become invalid.

GitOrigin-RevId: 9b14d581e27dd04e5e9f6c6d25665ae895d238d6
2020-07-01 07:49:41 +00:00
Ivan Migalev
33fe2b2223 Update launcher-generator.jar (IDEA-224371)
GitOrigin-RevId: 95af75443c75d5aef212e0ce801da764c0eab4ee
2019-10-09 13:32:37 +00:00
nik
444af5308c build scripts: take bootstrap version of JPS modules from Maven repository (IJI-99)
Build scripts depend on some code from IntelliJ project (they use JpsModel interfaces to introspect the project configuration, and use code from jps.build modules to compile Java and Groovy code). Before this change when build scripts were invoked from the IDE by running *.gant files they took required classes directly from module output directories, but when they were invoked via gant.xml (e.g. on TeamCity) use prebuilt bootstrap version of these modules from community/build/lib/jps/*.jar files. So if you added usage of a recently added class or method in a script, this will work when running scripts from IDE but fail on TeamCity. Also updating a library used directly or indirectly by build scripts may cause problems because the bootstrap version of JPS JARs may become incompatible with it. And in order to update the bootstrap version of JPS JARs it was needed to build the new JARs and put them to Git.

Now dependencies of build scripts are specified in a special intellij.tools.jps.buildScriptDependencies module which is uploaded as a Maven artifact to https://bintray.com/jetbrains/intellij-third-party-dependencies/intellij-modules-preview and added as a Maven library 'jps-build-script-dependencies-bootstrap', so the same version of dependencies is used when running build scripts from IDE and on TeamCity.

GitOrigin-RevId: 232561ddc3135e97c238c8d4850fbbc2f1a8ab10
2019-08-15 12:03:42 +03:00
nik
523b2946a5 build scripts: publish modules which required to build IntelliJ IDEA from sources as Maven artifacts (IDEA-194151)
Newly introduced 'intellij.tools.jps.buildScriptDependencies' module contains all dependencies which are required to invoke build scripts for IntelliJ-based IDEs.

The build scripts was updated to support generation of Maven artifacts from modules without sources. antlayout.jar was rebuilt from sources to include changes in JarContainer.
2019-04-16 13:08:11 +03:00
Eugene Zhuravlev
15dc6c3935 Standalone JPS update: optimizations from optimizedFileManager.jar merged into JPS internal file manager 2019-01-08 13:04:46 +01:00
Vladislav Rassokhin
06154af45e Use real System.out under modern Ant versions (IDEA-199738)
Solves problem with duplicated messages in builds
2018-12-26 22:46:24 +03:00
Roman Shevchenko
f8ec92228a [java] drops obsolete ASM 6 compatibility hacks 2018-11-29 18:02:27 +01:00
Roman Shevchenko
4ca5050f8e [platform] improves Compressor API 2018-10-29 15:55:11 +01:00
Vladimir Krivosheev
6a68607701 update protobuf to 3.5.1 2018-10-12 16:28:54 +02:00
Roman Shevchenko
f1167b3920 [project] standalone JPS update
(ASM 6.1+ compatible instrumenters)
2018-10-08 23:27:11 +02:00
Roman Shevchenko
d81e611e74 [project] standalone JPS update 2018-10-02 19:03:58 +02:00
nik
a9289ece4e build scripts: bootstrap JPS distribution updated
JPS plugin from Kotlin 1.3.0-rc uses methods which are missing in old version of JPS so we need to update it to be able to compile IDEA project in build scripts.
2018-09-21 15:59:16 +03:00
Eugene Zhuravlev
ee1cd4db5f standalone jps update to latest fixes 2018-03-16 16:22:46 +01:00
Sergey Ignatov
b8c33af095 add testFramework.core.jar 2018-01-04 15:33:20 +03:00
Dmitry Avdeev
d2defa3bd6 Merge remote-tracking branch 'origin/merge-as-3.0' 2017-12-27 15:28:53 +03:00
nik
dde2a8f906 IDEA project configuration: convert 'commons-cli' to repository library 2017-12-25 14:38:03 +03:00
nik
9f89cdac84 IDEA project configuration: convert gant-groovy to repository library 2017-12-21 13:41:19 +03:00
Dmitry Avdeev
47af4f1a4f protobuf version advanced to 3.0.0 2017-11-24 15:08:06 +03:00
Eugene Zhuravlev
53981c7f90 standalon jps update 2017-11-01 11:29:35 +03:00
nik
e35e74e2e5 build scripts: bootstrap JPS distribution updated (2)
To fix bug in Groovy which leads to failures of Kotlin 1.1.50 is used (IDEA-179578).

(Previous commit didn't include all changed files.)
2017-09-27 10:00:11 +03:00
nik
24728b774e build scripts: bootstrap JPS distribution updated
To fix bug in Groovy which leads to failures of Kotlin 1.1.50 is used (IDEA-179578).
2017-09-27 09:11:22 +03:00
Gregory.Shrago
c303a8293b commons-imaging: update launcher-generator.jar 2017-09-13 05:23:02 +03:00
Vladimir.Orlov
f4d76b5b29 Use correct length in exe resource string tables (done by Matt Ellis)
It fix the case: using the ascii API, it’s truncated by one char.
For for example: IntelliJ IDE
2017-09-06 11:52:13 +03:00
Vladimir.Orlov
79ec817da8 Revert: Update launcher generator jar the change done by Matt Ellis (citizenmatt) 2017-09-04 18:31:12 +03:00
Vladimir.Orlov
fea4a22a74 Update launcher generator jar
the change done by Matt Ellis (citizenmatt)
2017-09-04 18:02:56 +03:00
Roman Shevchenko
7c3fb9086e [build] optional //names@fullname attribute (IDEA-CR-23982) 2017-08-21 11:28:26 +02:00
nik
303196f533 build scripts: standalone JPS distribution updated
The new version supports 'repository' libraries.
2017-08-01 18:27:52 +03:00
nik
1c3aec7bc3 build scripts cleanup: removed files which aren't used by new build scripts 2017-03-03 11:30:03 +03:00
nik
b225d464dd fixed building *.exe launchers when *ApplicationInfo.xml uses schema 2016-11-30 12:14:11 +03:00
Vladimir.Orlov
507e1e812f fixed issue related with spaces in folder names in generated nsis scripts. 2016-08-02 19:22:42 +03:00
Vladimir Krivosheev
d747b64215 LauncherGenerator — do not use Guava 2016-07-27 14:09:52 +02:00
Sergey Ignatov
696fd0fd4c use Windows file separator in SetOutPath in idea_win.nsh
should be like
SetOutPath $INSTDIR\plugins\android\lib\templates\other\Daydream
File "/opt/buildAgent/work/c2d8dfcc72679944/out/release/dist.all.ce/plugins/android/lib/templates/other/Daydream/globals.xml.ftl"
File "/opt/buildAgent/work/c2d8dfcc72679944/out/release/dist.all.ce/plugins/android/lib/templates/other/Daydream/recipe.xml.ftl"
File "/opt/buildAgent/work/c2d8dfcc72679944/out/release/dist.all.ce/plugins/android/lib/templates/other/Daydream/template.xml"
2016-06-02 15:35:22 +03:00
Sergey Ignatov
62c4cdd25a use FIle.separator in NsiFiles, fix idea_win.nsh on Linux 2016-05-31 14:51:39 +03:00
Alexey Kudravtsev
5179b4d969 removed jsr166e, JPS rebuilt to remove mentions of infamous jsr166e.SequenceLock 2016-03-17 11:32:31 +03:00
nik
cfaf4111e4 JPS updated (rebuilt from 'master' sources): fixed some SOE (IDEA-136966), problems with groovyc, use 'source' level for javac if 'target' isn't specified 2015-11-11 18:55:37 +03:00
nik
312c3c3f71 JPS updated to fix IDEA-136966 2015-03-11 11:46:57 +03:00
Daniil Ovchinnikov
3a6173e785 IDEA-135641 fixed & bundled Groovy update & Gant update 2015-02-09 16:53:46 +03:00
Vladimir.Orlov
fa186e41d8 IDEA-135774 Refactoring launchers. 2015-01-29 18:45:27 +03:00
nik
c2ebd72df7 jps jars updated: support for incremental builds, compilation time per file statistics, logging for build process 2014-12-12 11:54:01 +03:00
Dmitry Jemerov
e74b0e8895 report time spent cleaning the output 2014-12-05 14:15:42 +01:00
Roman Shevchenko
099423280e project: build/update scripts tuned to support home paths with spaces 2014-07-16 16:42:28 +02:00
nik
e029920247 jps updated: collect per-builder compilation time statistics 2014-07-08 12:20:37 +04:00
nik
ff05505c6f standalone jps updated: load path variables specified in gant scripts 2014-05-29 10:10:36 +04:00
Vladimir Orlov
dd7661ac07 IDEA-117841 Make launcher reflect the true product 2014-02-05 15:49:15 +04:00
Max Medvedev
6fe9437b8c groovy 2.2.1 once again 2013-12-25 07:24:01 +04:00
Dmitry Jemerov
bedb5d8995 move NsiFiles helper task to community 2013-09-18 18:48:35 +02:00
nik
09cdde1725 JPS bootstrap build libs updated 2013-09-11 10:16:13 +04:00
nik
1b379944f4 fixed starting build scripts from IDEA 2013-07-30 14:34:27 +04:00
nik
eae09ea92d build scripts migrated to new JPS 2013-07-26 18:05:09 +04:00