Граф коммитов

663 Коммитов

Автор SHA1 Сообщение Дата
Sheng Chen 3fb7c721b2
build: Prepare for 3.13.0 (#1423)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-07 10:26:42 +08:00
Sheng Chen a86ceddabe
fix: Skip builders when build server is disabled (#1424)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-26 10:49:53 +08:00
Sheng Chen 5fad292978
fix: Importer only return false when a Java project is imported by other importers before (#1422)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-26 10:15:22 +08:00
Sheng Chen 5a395b6596
Adopt new telemetry schema (#1418)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-21 16:21:33 +08:00
Sheng Chen ac3991a4c8
Update projects when the build target has been changed (#1415)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-19 15:49:50 +08:00
Sheng Chen d7094b6c71
Support parsing the compiler arguments (#1407)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-15 00:27:49 -07:00
Sheng Chen 10515e4923
Early return false in applies() if the project is imported by others before. (#1406) 2023-09-07 11:11:21 +08:00
Sheng Chen 4afa1bede6
Enable Gradle build server by default (#1404)
- Set the default value of 'java.gradle.buildServer.enabled' to 'on'.
- Hint users to reload if the 'java.gradle.buildServer.enabled' changes.
- Remove Buildship configuration from the project description if the project
  already has the build server nature.
---------

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-06 09:26:11 +08:00
Sheng Chen a129d2cb50
Make sure the progress report is not empty (#1400)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-31 15:00:39 +08:00
Sheng Chen be9db8f0f7
Add build server & resource attributes to classpath entry (#1398)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-30 15:28:28 +08:00
Sheng Chen 171ebc3566
Add build tool name property (#1397)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-30 10:42:43 +08:00
Sheng Chen 51f21620df
fix: Store the schema version of the BSP project after import (#1395)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-29 16:59:00 +08:00
Sheng Chen f5858024eb
Try to read the version of fallback jdk (#1393)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 16:15:14 +08:00
Jinbo Wang 1373d726c5
Use the jdt.ls.debug property to control whether to print builder verbose log (#1394) 2023-08-28 16:05:19 +08:00
Sheng Chen e448d4703b Add settings to control when to open the build output
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 13:43:53 +08:00
Sheng Chen 65938f203f Fix lint errors 2023-08-28 12:43:59 +08:00
Sheng Chen 88fa9c37f7 Setup ci build and & nightly build (#1390)
* Setup ci build and & nightly build

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen 89b1101c1a Pick highest source/target level (#1388) 2023-08-28 12:43:59 +08:00
Sheng Chen 6bb0e91a9b Remove server storage property (#1389) 2023-08-28 12:43:59 +08:00
Sheng Chen 116fc4a0d4 Pass available JDKs to build server (#1387)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Jinbo Wang bcce99295e Automatically check for compilation errors when source files are changed (#1376)
* Add a problem checker to auto check the compilation errors when source files are changed
2023-08-28 12:43:59 +08:00
Sheng Chen 9ac52fbe57 Use the compliance version as the expected jdk version (#1385) 2023-08-28 12:43:59 +08:00
Sheng Chen cab0d7ea46 Set compiler compliance level to Java projects (#1384) 2023-08-28 12:43:59 +08:00
Sheng Chen 7f7b91eb35 Only add module attribute for non-test entries (#1383) 2023-08-28 12:43:59 +08:00
Sheng Chen 0f477a0f73 Add exclusion pattern to the source entries (#1382)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen e7749584c5 Add permission to mvnw 2023-08-28 12:43:59 +08:00
Sheng Chen c2fbc3d017 Remove tasks to build build-server jars 2023-08-28 12:43:59 +08:00
Sheng Chen dadd35d444 Set module attribute if the project is modular (#1381)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen b8f00ffa26 Set source/target level to Java projects (#1380) 2023-08-28 12:43:59 +08:00
Sheng Chen 59e0b6c064 Migrate to new progress report api (#1379) 2023-08-28 12:43:59 +08:00
Sheng Chen 94d692777a Allow the linked target folder does not exist when creating (#1378) 2023-08-28 12:43:59 +08:00
Sheng Chen 94735d0c32 Dedup entries with the same path in classpath entries (#1377) 2023-08-28 12:43:59 +08:00
Sheng Chen 2bd2baecae Improve the project JDK detection. (#1375)
- Try to find all the JDKs which are compatible to the source level and
  the gradle version.
- Among those JDKs, find the latest one and set to classpath.
- If no JDK is found, use the JDK which is used to launch the Gradle daemon.
  This JDK might be the embedded JDK, so it is only a fallbak.
2023-08-28 12:43:59 +08:00
Sheng Chen a75c3bfe89 fix: Refresh the output folders directly (#1374)
- Directly refresh the output folder instead of refreshing the whole project.
  This should improve the perf of the project import.
2023-08-28 12:43:59 +08:00
Sheng Chen 1a84dcb3f5 fix: Turn on 'callOnEmptyDelta' for builder (#1373)
* fix: Turn on 'callOnEmptyDelta' for builder

- Because the build server builder ignores the auto builds, so we need to
  turn on the 'callOnEmptyDelta' - Auto build will do nothing but update
  the state tree.

* Disable auto build and clean build via extension point
2023-08-28 12:43:59 +08:00
Sheng Chen fb2b42b7d6 Add log handlers (#1372)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen 7fe5ca7327 Report import progress (#1371) 2023-08-28 12:43:59 +08:00
Sheng Chen a28aa569a2 Fix the setting parsing error (#1370) 2023-08-28 12:43:59 +08:00
Sheng Chen 6815ddc7e4 Support logging build output (#1366) 2023-08-28 12:43:59 +08:00
Sheng Chen 6302a49e8d Fix the status code assignment (#1368) 2023-08-28 12:43:59 +08:00
Sheng Chen f040be60fc Introduce 'auto' for build server setting (#1367) 2023-08-28 12:43:59 +08:00
Sheng Chen 9b76ee779a Add missing builders during import (#1365) 2023-08-28 12:43:59 +08:00
Sheng Chen b6d1566f3d Configure build server builder for projects (#1364) 2023-08-28 12:43:59 +08:00
Sheng Chen ac89de24ea Support 'Reload Projects' (#1363) 2023-08-28 12:43:59 +08:00
Sheng Chen 4ee959cfe3 Add project dependencies (#1362)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen d0848c2025 Add jar dependencies (#1361)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen c0c00a9fea Pass preference to build server (#1359) 2023-08-28 12:43:59 +08:00
Sheng Chen 25cd381768 Set JDK to the classpath (#1358)
Signed-off-by: sheche <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen c05894992a Set resources to classpath (#1357)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00
Sheng Chen 8c3244def5 Resolve source classpath entries (#1356)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-08-28 12:43:59 +08:00