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

1869 Коммитов

Автор SHA1 Сообщение Дата
Jose Luis Leon cb3849c234
chore(ci): Reuse built extension on tests (#1438) 2023-10-24 12:29:34 +08:00
Sheng Chen c8350e046f
build: Prepare for 3.13.1 (#1437) 2023-10-19 12:35:43 +08:00
Sheng Chen 5ced17cb56
fix: Log more project related information (#1436) 2023-10-19 11:05:10 +08:00
Sheng Chen e0b4554c43
fix: Better log required information (#1434)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-18 14:46:42 +08:00
Sheng Chen 6462613fba
fix: Infer the project root before launching build server (#1433)
- If the build files do not exist at the root folder, use the out most
  folder containing the build files as the root for build server.

Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-10-18 14:01:09 +08:00
Jose Luis Leon 4083079ca1
docs(contributing): Add Windows requirements (#1429)
---------

Co-authored-by: Sheng Chen <sheche@microsoft.com>
2023-10-13 12:32:15 +08:00
Sheng Chen c6ca12241c
fix: Check gradle executable and proxy settings (#1430) 2023-10-12 19:38:43 +08:00
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 14310ac03f
build: Update rc.yml and release related documents (#1421)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
2023-09-26 09:48:26 +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
ElectricalBoy 29b2f2bb14
Replace link to AdoptOpenJDK to Adoptium (#1412) 2023-09-20 15:46:24 +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