Skip to content
Open

Patch 1 #1573

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
376 commits
Select commit Hold shift + click to select a range
ea07ad3
Disable querying usage data on terminating non-java sessions (#616)
Eskibear Jul 23, 2019
50c9811
Migrate vscode to @types/vscode and vscode-test (#607)
Eskibear Aug 2, 2019
fa49caa
Remove hard dependency of redhat.java (#617)
Eskibear Aug 2, 2019
3fce970
Fix: Property enableBreakpointsFor is not allowed. (#621)
Eskibear Aug 5, 2019
6c8fed7
Add more debug entries via menu (#627)
testforstephen Aug 9, 2019
07ce6f7
Use a bat launcher to set page code (#625)
Eskibear Aug 12, 2019
0b1e326
User face change: say "Do not show again" instead of "Not show again"…
Aug 15, 2019
7bc4c86
Delay registering codelens provider until java extension is activated…
testforstephen Aug 16, 2019
a5407d8
update dependencies (#633)
Eskibear Aug 20, 2019
9b0052e
Bump version to 0.21.0 (#635)
testforstephen Aug 22, 2019
e313354
Prepare changelog for 0.21.0 release (#636)
testforstephen Aug 23, 2019
3786d5d
Update CHANGELOG.md (#640)
testforstephen Aug 26, 2019
eee1678
Show Run and Debug button when hover on a main method (#658)
testforstephen Sep 12, 2019
836a3e5
Shorten the classpaths by default when launching in terminal (#662)
testforstephen Sep 18, 2019
a170d6e
Bump version to 0.21.0 (#663)
testforstephen Sep 18, 2019
1708d6a
document error that occurs on fresh installs with debug (#664)
maxandersen Sep 19, 2019
1a798db
Don't support HCR in Run mode (#665)
testforstephen Sep 23, 2019
a4dc050
No need to escape single quote of a java string (#668)
testforstephen Sep 23, 2019
a9da070
Prepare changelog for 0.22.0 (#671)
testforstephen Sep 24, 2019
631236e
Ignore the launch.json save error when clicking run/debug codelens (#…
testforstephen Sep 25, 2019
0a843f1
Improve the system error (#679)
testforstephen Sep 30, 2019
20dc95a
Provide better troubleshooting explanation for build failure (#684)
testforstephen Oct 11, 2019
eaef000
Update troubleshooting doc for class not found error (#685)
testforstephen Oct 11, 2019
8db358e
Provide option to show the build log if build error occurs (#686)
testforstephen Oct 12, 2019
607f5d8
Update troubleshooting for build failed error (#687)
testforstephen Oct 12, 2019
4c5ab06
Update Troubleshooting.md
testforstephen Oct 12, 2019
de45f36
Prompt to add the folder to source path if the running file isn't on …
testforstephen Oct 14, 2019
2dc69ed
Provide samples for the debug configuration (#693)
testforstephen Oct 23, 2019
b8e8b6d
bump version to 0.23.0 (#696)
testforstephen Oct 24, 2019
571e26f
Link Configuration.md doc to README (#695)
testforstephen Oct 24, 2019
7628bef
Add sample for tomcat debugging (#698)
testforstephen Oct 25, 2019
5bb7557
Update the doc for class not found error (#689)
testforstephen Oct 25, 2019
b900048
Prepare changelog for 0.23.0 (#699)
testforstephen Oct 29, 2019
bbe8e49
Fix bug: Cannot pass vmArgs array to Java 13 project (#705)
testforstephen Nov 1, 2019
21df8e7
Add TOC to configuration.md (#706)
testforstephen Nov 6, 2019
f9abdc9
Bump version to 0.24.0 (#718)
testforstephen Nov 18, 2019
b7f76ca
Generate the launch configuration in memory if no launch.json exists …
testforstephen Dec 20, 2019
60f4b40
Prepare changelog for 0.24.0 (#735)
testforstephen Dec 25, 2019
93c07cb
Fix vulnerability
testforstephen Dec 25, 2019
92ac3d4
Use HTTPS wherever possible (#732)
xiaoyinl Dec 26, 2019
71e82d3
Added debugger user setting for setting numeric precision (#747)
bhoppeadoy Jan 10, 2020
5f15f9a
Provide context menu to continue/pause all/other threads (#748)
testforstephen Jan 16, 2020
279bd6b
Use project's Java runtime to launch the application (#758)
testforstephen Feb 17, 2020
a2fc4ef
up version to 0.25.0 (#761)
testforstephen Feb 17, 2020
2ccca24
Prepare changelog for 0.25.0 (#764)
testforstephen Feb 20, 2020
506f919
Shorten command line approach should be compatible with the project r…
testforstephen Mar 4, 2020
9ecba31
up version to 0.25.1 (#772)
testforstephen Mar 4, 2020
2ed5b44
prepare release for 0.25.1 (#774)
testforstephen Mar 6, 2020
4f611f9
activate before execute java extension commands (#775)
Eskibear Mar 10, 2020
6cf236d
Fix vulnerability issue (#783)
jdneo Mar 23, 2020
6b52079
Fix the compatability issue caused by platform specific properties in…
testforstephen Mar 23, 2020
656beaa
Show a warning message about the Unsupported JDK error (#790)
testforstephen Apr 10, 2020
7439648
drop error event for some environment (#805)
testforstephen May 6, 2020
400aa96
bump version to 0.26.0 (#806)
testforstephen May 7, 2020
874b225
update telemetry wrapper (#808)
testforstephen May 11, 2020
74c3a13
Support picking a Java process to auto attach (#799)
testforstephen May 11, 2020
4ce7a94
Update telemetry wrapper (#810)
testforstephen May 12, 2020
370f66e
fix typos (#812)
testforstephen May 13, 2020
16ee681
Prepare Changelog for 0.26.0 (#809)
testforstephen May 13, 2020
4930fce
Auto enable -XX:+ShowCodeDetailsInExceptionMessages for java 14 apps …
testforstephen Jun 8, 2020
14dd6db
Adopt DebugAdapterDescriptorFactor interface (#827)
testforstephen Jun 8, 2020
0e623f8
Adopt the new resolveVariable API (#826)
testforstephen Jun 8, 2020
9931d8f
Report HCR progress whenever it succeeds or fails (#833)
testforstephen Jul 1, 2020
cc40399
Skip the specified classes on exception breakpoint or stepping (#829)
testforstephen Jul 1, 2020
20cd68c
Respond LightWeight server mode properly (#838)
testforstephen Jul 9, 2020
6d61203
Refine HCR message (#839)
testforstephen Jul 9, 2020
aea8402
bump version to 0.27.0 (#842)
testforstephen Jul 14, 2020
882386f
Bump lodash from 4.17.15 to 4.17.19 (#845)
dependabot[bot] Jul 16, 2020
f9b1238
Prepare changelog for 0.27.0 (#846)
testforstephen Jul 17, 2020
d5d85a6
Bump version to 0.27.1 (#851)
testforstephen Jul 21, 2020
68b012b
Add play/debug buttons to editor title bar for single file debugging …
testforstephen Jul 31, 2020
e06fdc7
Bump elliptic from 6.5.0 to 6.5.3 (#857)
dependabot[bot] Jul 31, 2020
6ea8b9b
Add a settings to control the max variable numbers in one JDWP reques…
testforstephen Aug 12, 2020
766b602
Add setting to control the jdwp request timeout (#863)
testforstephen Aug 17, 2020
27a6708
Migrate the legacy log to the telemetry wrapper (#866)
testforstephen Aug 20, 2020
87e9171
bump version to 0.28.0 (#868)
testforstephen Aug 24, 2020
0c26556
Fix the legacy log (#871)
testforstephen Aug 26, 2020
f416ebc
Prepare changelog for 0.28.0 (#870)
testforstephen Aug 27, 2020
e6de5b3
Contribute Run and Debug menus to Project Explorer (#878)
testforstephen Sep 8, 2020
e1c3d06
Allow to cancel resolveMainMethod codelens command (#881)
testforstephen Sep 11, 2020
2450f63
Fix vulnerabilities (#883)
testforstephen Sep 22, 2020
0755aa2
Fixes #888 (#889)
srfrnk Oct 10, 2020
5f1a6ed
Add a terminal provider to detect the Java stacktrace printed in term…
testforstephen Oct 12, 2020
2b93e81
Provide a user setting to set default vmArgs (#891)
testforstephen Oct 12, 2020
5dc7bde
Bump version to 0.29.0 (#893)
testforstephen Oct 14, 2020
0f6ad59
Prepare changelog for 0.29.0 (#895)
testforstephen Oct 15, 2020
ce265cb
Make the run buttons in editor toolbar more context-aware (#898)
jdneo Oct 30, 2020
466e2f3
Add run button as inline button in Project explorer (#900)
jdneo Nov 2, 2020
e1c9bbf
Improve the prompt message (#901)
jdneo Nov 2, 2020
9566c64
Initial Spanish localization (#904)
pablojimpas Nov 9, 2020
41ba28a
Update the group name registration in Java Projects explorer (#908)
jdneo Nov 18, 2020
029b22f
Modify tsconfig & error fix (#914)
xqzlgy2 Dec 8, 2020
b41dabe
Enable strict null checks in tsconfig (#918)
xqzlgy2 Dec 8, 2020
b9096ce
Use a progress reporter to hint the current build status when run or …
testforstephen Dec 15, 2020
78bd1f5
Simplify the name label of the launch configuration (#921)
testforstephen Dec 15, 2020
4c0df75
Find Java version from release file (#922)
testforstephen Dec 16, 2020
23b3703
Bump version and update changelog (#923)
testforstephen Dec 16, 2020
4f6951d
Remove --info-verbosity args since [email protected] no longer supports…
testforstephen Dec 17, 2020
9be9832
Implement envFile (Issue #523) (#928)
chase Jan 13, 2021
e3c99ec
Fix vulnerabilities (#939)
testforstephen Jan 20, 2021
b2a4831
Disable launcher.bat script to unblock Git Bash users if windows user…
testforstephen Jan 21, 2021
1dd62b3
Prepare new release 0.31.0 (#943)
testforstephen Feb 1, 2021
7022b2c
Enable GitHub Actions (#951)
jdneo Mar 2, 2021
d3c3a20
Update to new product logo (256*256) (#952)
testforstephen Mar 3, 2021
bf4f459
Adopt TAS client (#959)
jdneo Mar 11, 2021
f7dc675
Adopt new 'run' menu in editor title (#956)
jdneo Mar 11, 2021
5d5e4c4
Rename 'runJavaFile' and 'debugJavaFile' commands (#960)
jdneo Mar 11, 2021
3987fe3
bump version 0.32.0 (#961)
testforstephen Mar 11, 2021
e60e0d3
Prepare 0.32.1 release (#971)
testforstephen Mar 23, 2021
79102df
Tiny spelling fix. (#968)
ZingBlue Apr 6, 2021
abef713
Adopt new APIs from vscode-tas-client (#974)
jdneo Apr 6, 2021
21c9f1a
Use InlineValuesProvider to provide inline debugging feature (#977)
testforstephen Apr 21, 2021
bed2489
Support environment variable for port number in launch.json debug con…
testforstephen Apr 22, 2021
97aa63b
Add menus to VARIABLES view to customize the display styles (#982)
testforstephen Apr 22, 2021
09ea696
Bump version and prepare changelog for 0.33.0 (#985)
testforstephen Apr 26, 2021
b74c374
Clean up deprecated logs (#987)
testforstephen Apr 26, 2021
9549124
adopt workspaceTrust in package.json (#988)
Eskibear Apr 28, 2021
8306493
update changelog for 0.33.0 (#989)
testforstephen Apr 28, 2021
6a56a5a
Fix: the variable formatter menus not enabled if no launch.json exist…
testforstephen Apr 28, 2021
eb0c0d9
Update CI branch (#993)
testforstephen Apr 29, 2021
ef8f74c
Prepare hotfix release 0.33.1 (#996)
testforstephen Apr 30, 2021
5f8f688
disable for virtual workspaces (#1002)
Eskibear May 12, 2021
5fc5db2
Support customizing the classpaths and modulepaths (#1005)
jdneo May 21, 2021
47b59df
Bump version to 0.34.0 & prepare changelog (#1007)
testforstephen May 21, 2021
4e3bfb5
Catch up build errors before running a Java application (#1029)
testforstephen Jul 13, 2021
81f8000
Fix vulnerabilities (#1030)
testforstephen Jul 13, 2021
07366c9
Add link to check detatils while reporting debugging progress (#1034)
testforstephen Jul 23, 2021
ee14dbe
Prepare changelog for 0.35.0 (#1035)
testforstephen Jul 23, 2021
a971831
Remove test projects from main branch (#1046)
testforstephen Sep 7, 2021
7e85afa
Fix privacy in the logger (#1048)
testforstephen Sep 13, 2021
042600c
Bump axios from 0.21.1 to 0.21.4 (#1049)
dependabot[bot] Sep 13, 2021
34e8905
Bump path-parse from 1.0.6 to 1.0.7 (#1050)
dependabot[bot] Sep 13, 2021
e60a8f4
Fix vulnerabilities (#1051)
testforstephen Sep 13, 2021
63b8404
adopt new createStatusBarItem API for id and name properties (#1054)
testforstephen Sep 22, 2021
cfd12c9
Prepare release for 0.36.0 (#1055)
testforstephen Sep 23, 2021
2356afb
Remove gulp dependencies (#1057)
jdneo Sep 27, 2021
b5d9556
reading envFile: use dotenv for better support. (#1062)
cyrfer Oct 12, 2021
92542b6
Add ThirdPartyNotices (#1064)
testforstephen Oct 19, 2021
459ca3f
Add a troubleshooting guide for encoding issues (#1075)
testforstephen Nov 17, 2021
0289e29
Remove existing encoding workarounds from client side (#1077)
testforstephen Nov 19, 2021
eaf7def
Bump version to 0.37.0 & Prepare Changelog (#1081)
testforstephen Nov 22, 2021
9999a95
Update Troubleshooting_encoding.md (#1082)
jdneo Nov 22, 2021
5443184
Change Data/Telemetry setting (#1084)
dougmbarcellos Nov 23, 2021
239973c
Fix the stepFilters setting keys (#1086)
testforstephen Nov 23, 2021
d9670bc
Add zh-tw locale (#1087)
MuTsunTsai Dec 20, 2021
434754a
npm update (#1107)
Eskibear Jan 5, 2022
1638039
Change the inline button to debug icon (#1108)
jdneo Jan 6, 2022
ff7e35c
update package-lock.json (#1109)
testforstephen Jan 14, 2022
5fc394d
Only search main class from sources and the specified project or path…
testforstephen Jan 24, 2022
32c57f8
Prepare release for 0.38.0 (#1115)
testforstephen Jan 24, 2022
51307e9
Bump follow-redirects from 1.14.7 to 1.14.8 (#1122)
dependabot[bot] Feb 14, 2022
a3f48af
update dependencies (#1124)
testforstephen Feb 15, 2022
ccb90c2
Fix problemMatcher patterns for the watch task (#1137)
sbj42 Mar 16, 2022
ba657b6
Bump dependencies version (#1140)
testforstephen Mar 16, 2022
68b1c02
Bump minimist from 1.2.5 to 1.2.6 (#1143)
dependabot[bot] Mar 25, 2022
6d32418
update engine requirement (#1134)
CsCherrYY Mar 28, 2022
90538ea
Up version to 0.39.0 & prepare pre-release script (#1144)
testforstephen Mar 28, 2022
9b90554
Prepare changelog for 0.39.0 (#1145)
testforstephen Mar 28, 2022
e74ac96
Fix extension version (#1146)
testforstephen Mar 28, 2022
48462a5
Update command id to java.project.addToSourcePath.command (#1153)
testforstephen Apr 14, 2022
af96069
Update npm deps (#1161)
testforstephen May 6, 2022
7965c01
Disable HCR button when running Java without debugging (#1167)
testforstephen May 23, 2022
e1326ce
Enable Java terminal link provider on all terminals (#1168)
testforstephen May 24, 2022
a0019d1
Bump version 0.41.0 & prepare changelog (#1170)
testforstephen May 30, 2022
70c61ce
Trace the click on Java terminal link (#1171)
testforstephen May 30, 2022
c873821
Trace Java debug settings change event (#1172)
testforstephen May 30, 2022
388c842
Update the descriptions of the launch configs in README (#1176)
testforstephen Jun 7, 2022
2de2206
Update npm deps (#1177)
testforstephen Jun 7, 2022
2f3a9be
Trace build error types (#1179)
testforstephen Jun 13, 2022
a58dba9
fix artifactId typo in Troubleshooting.md (#1180)
btoo Jun 28, 2022
08ca302
Prepare changelog for 0.42.0 (#1184)
testforstephen Jun 29, 2022
90ba4a2
update to @vscode/test-electron (#1189)
CsCherrYY Jul 8, 2022
a2b72d5
Update deps (#1191)
testforstephen Jul 8, 2022
1b49c1e
Bump terser from 5.14.1 to 5.14.2 (#1194)
dependabot[bot] Jul 25, 2022
1abd612
Bump version and prepare changelog for 0.43.0 (#1196)
testforstephen Jul 26, 2022
200d1dd
update deps (#1201)
testforstephen Aug 5, 2022
dfa9462
Add support to specify java executable (#1198)
gayanper Aug 5, 2022
8812ccc
Send telemetry when adding source paths (#1204)
jdneo Aug 11, 2022
344022b
Add a setting to control whether to enable async jdwp (#1208)
testforstephen Aug 31, 2022
f41953b
Bump version & prepare changelog for 0.44.0 (#1209)
testforstephen Sep 1, 2022
102e2be
Update npm deps (#1213)
testforstephen Sep 6, 2022
91a6080
Remove unnecessary npm deps (#1223)
testforstephen Sep 22, 2022
225d0fd
Bump version & prepare changelog for 0.45.0 (#1235)
testforstephen Oct 12, 2022
008caeb
Update npm deps (#1239)
testforstephen Oct 13, 2022
ac25688
Exclude **/node_modules/** from .vscode/launch.json searches (#1234)
gluxon Oct 19, 2022
573db5c
Bump version to 0.46.0 & prepare changelog (#1251)
testforstephen Oct 31, 2022
024d2da
Update npm deps (#1256)
testforstephen Nov 8, 2022
42fccc0
Only pop-up build errors notification when the errors are on the runn…
testforstephen Nov 21, 2022
a188018
Bump version to 0.47.0 & prepare changelog (#1268)
testforstephen Nov 28, 2022
42bd524
Enable no-response GitHub Action
testforstephen Dec 1, 2022
84a9a4c
Delete the deprecated no-response bot
testforstephen Dec 1, 2022
099f97a
Run no-response action daily
testforstephen Dec 1, 2022
b26af95
update npm deps (#1272)
testforstephen Dec 5, 2022
c6654db
Update badges (#1289)
jdneo Jan 30, 2023
f6d2e47
Update npm deps (#1290)
testforstephen Jan 31, 2023
ece7544
Bump version to 0.48.0 & Prepare changelog (#1291)
testforstephen Feb 1, 2023
fcc0eca
Enable HCR when autobuild is disabled (#1296)
testforstephen Feb 14, 2023
39a84b3
Display the running launch config name in progress bar for transparen…
testforstephen Feb 22, 2023
c0ed20c
Need to build workspace before launch if autobuild is disabled (#1302)
testforstephen Feb 24, 2023
93cbc19
if current file is not a main class, 'Run Java' will run previously u…
testforstephen Feb 24, 2023
c235a93
Bump version to 0.49.0 & prepare changelog (#1303)
testforstephen Feb 27, 2023
7b5c53d
Update engine to 1.75 (#1305)
testforstephen Mar 7, 2023
4a38a28
Update npm deps (#1306)
testforstephen Mar 7, 2023
f6a5aa9
fix the error 'compareVersions is not a function' (#1307)
testforstephen Mar 7, 2023
840eab9
Add context menus to Variables view to auto show 'toString()' value (…
testforstephen Mar 24, 2023
732c31b
Bump webpack from 5.75.0 to 5.76.0 (#1312)
dependabot[bot] Mar 24, 2023
2135d9f
Bump version to 0.49.1 & prepare changelog (#1317)
testforstephen Mar 27, 2023
29de797
Update npm deps (#1318)
testforstephen Mar 28, 2023
9f87152
Support specifying the exception types you want to break on (#1333)
testforstephen Apr 23, 2023
968aaf3
Adjust auto setting for async jdwp mode & parepare 0.50.0 release (#1…
testforstephen Apr 24, 2023
5337fa4
Prepare 0.51.0 release (#1346)
testforstephen May 30, 2023
029f34e
Microsoft mandatory file (#1349)
microsoft-github-policy-service[bot] Jun 5, 2023
c37f3cb
Provide a setting to control whether to support debugging on decompil…
testforstephen Jun 26, 2023
db0db96
Track debug server event (#1357)
testforstephen Jun 30, 2023
b8ecedc
Enable debug support on decompiled source by default & prepare 0.52.0…
testforstephen Jun 30, 2023
6823a55
Bump semver from 5.7.1 to 5.7.2 (#1363)
dependabot[bot] Jul 21, 2023
cb229a8
Update npm deps (#1368)
testforstephen Jul 21, 2023
77bdef3
Remove marketplace preview flag (#1369)
testforstephen Jul 21, 2023
7820e4e
Subscribe to Java extension's SourceInvalidatedEvent and refresh the …
testforstephen Jul 24, 2023
dda5427
Prepare for 0.53.0 release (#1371)
testforstephen Jul 31, 2023
6703a22
Do not show PROBLEMS panel for build server project (#1372)
jdneo Aug 4, 2023
2ae6677
Respect forceBuildBeforeLaunch setting even if autobuild is disabled …
testforstephen Aug 28, 2023
415ae57
Prepare release for 0.54.0 (#1381)
testforstephen Aug 28, 2023
ac2cfac
fix: correctly parse `ps` output on linux (#1389)
owl-from-hogvarts Sep 26, 2023
f34e95c
Prepare for 0.55.0 release (#1404)
testforstephen Nov 1, 2023
7922494
Bump axios and vscode-tas-client (#1409)
dependabot[bot] Nov 13, 2023
0a98107
Bump follow-redirects from 1.15.3 to 1.15.4 (#1427)
dependabot[bot] Jan 16, 2024
63839e6
Migrate to 1ES pipeline (#1428)
jdneo Jan 18, 2024
b23358f
Prepare release for 0.56.0 (#1433)
testforstephen Jan 30, 2024
6f60404
Fix the permission issue of no-response bot (#1436)
testforstephen Feb 4, 2024
95d9474
Prepare hotfix release for 0.56.1 (#1441)
testforstephen Feb 19, 2024
b38e1df
Move 'Run/Debug Java' menus to the same group as the other Java menus…
testforstephen Feb 23, 2024
6a88f39
Prepare release for 0.56.2 (#1451)
testforstephen Feb 28, 2024
823db01
Update nightly.yml for api scan
testforstephen Mar 1, 2024
f7ec4ae
Update rc.yml for api scan
testforstephen Mar 1, 2024
875a016
Update variable usage in the build pipeline for compatibility with Wi…
testforstephen Mar 4, 2024
d5e1716
Prepare release for 0.57.0 (#1458)
testforstephen Mar 25, 2024
1621c75
Update telemetry wrapper to 0.14.0 (#1489)
jdneo Jun 17, 2024
01148ec
Bump braces from 3.0.2 to 3.0.3 (#1490)
dependabot[bot] Jun 17, 2024
abc84c0
Prepare release for 0.58.0 (#1494)
testforstephen Jun 27, 2024
1f602c3
Add the doc for the launch config 'javaExec' in README (#1498)
testforstephen Jul 5, 2024
4a903c4
sign vsix in build pipeline (#1499)
testforstephen Jul 19, 2024
53ba640
Changes that will allow an array of envFile locations to be defined (…
hildo Sep 2, 2024
e4d2bf0
Bump webpack from 5.88.2 to 5.94.0 (#1509)
dependabot[bot] Sep 2, 2024
4d30fc1
Prepare 0.58.1 release (#1521)
testforstephen Oct 31, 2024
f8e1093
use MicroBuild to sign extension (#1541)
testforstephen Mar 21, 2025
16e91c7
Prepare 0.58.2 release (#1549)
testforstephen Apr 27, 2025
75805a8
Add release pipeline (#1563)
testforstephen Jun 30, 2025
a72d327
ci: upgrade to node 20 to publish (#1572)
wenytang-ms Aug 18, 2025
b15b09e
Update Troubleshooting.md
Deepanshu-Yadav1650 Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: $(Date:yyyyMMdd).$(Rev:r)
variables:
- name: Codeql.Enabled
value: true
resources:
repositories:
- repository: self
type: git
ref: refs/heads/main
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
trigger:
branches:
include:
- main
extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
parameters:
pool:
os: linux
name: 1ES_JavaTooling_Pool
image: 1ES_JavaTooling_Ubuntu-2004
sdl:
sourceAnalysisPool:
name: 1ES_JavaTooling_Pool
image: 1ES_JavaTooling_Windows_2022
os: windows
customBuildTags:
- MigrationTooling-mseng-VSJava-9181-Tool
stages:
- stage: Build
jobs:
- job: Job_1
displayName: VSCode-Java-Debug-CI
templateContext:
outputs:
- output: pipelineArtifact
artifactName: vsix
targetPath: $(Build.ArtifactStagingDirectory)/vsix
displayName: "Publish Artifact: vsix"
steps:
- checkout: self
fetchTags: true
- task: JavaToolInstaller@0
displayName: Use Java 17
inputs:
versionSpec: "17"
jdkArchitectureOption: x64
jdkSourceOption: PreInstalled
- task: Npm@1
displayName: npm install
inputs:
verbose: false
- task: CmdLine@2
displayName: build server
inputs:
script: |-
git clone https://github.com/microsoft/java-debug ../java-debug
npm run build-server
- task: CmdLine@2
displayName: vsce package
inputs:
script: npx @vscode/vsce@latest package
- task: CopyFiles@2
displayName: "Copy Files to: $(Build.ArtifactStagingDirectory)/vsix"
inputs:
Contents: "*.vsix"
TargetFolder: $(Build.ArtifactStagingDirectory)/vsix
121 changes: 121 additions & 0 deletions .azure-pipelines/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: $(Date:yyyyMMdd).$(Rev:r)
variables:
- name: Codeql.Enabled
value: true
schedules:
- cron: 0 7 * * 1,2,3,4,5
branches:
include:
- refs/heads/main
resources:
pipelines:
- pipeline: microsoft.java-debug.signjars.nightly
source: microsoft.java-debug.signjars.nightly
trigger:
branches:
include:
- refs/heads/main
repositories:
- repository: self
type: git
ref: refs/heads/main
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
trigger: none
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
pool:
name: MSEngSS-MicroBuild2022-1ES
stages:
- stage: Build
jobs:
- job: Job_1
displayName: VSCode-Java-Debug-Nightly
templateContext:
mb:
signing:
enabled: true
signType: real
zipSources: false
feedSource: 'https://mseng.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json'
outputs:
- output: pipelineArtifact
artifactName: vsix
targetPath: $(Build.ArtifactStagingDirectory)/vsix
displayName: "Publish Artifact: vsix"
steps:
- checkout: self
fetchTags: false
- task: NodeTool@0
displayName: Use Node 20.x
inputs:
versionSpec: 20.x
- task: DownloadBuildArtifacts@1
displayName: Download Build Artifacts
inputs:
buildType: specific
project: a4d27ce2-a42d-4b71-8eef-78cee9a9728e
definition: "16485"
specificBuildWithTriggering: true
downloadType: specific
itemPattern: plugin/jars/com.microsoft.java.debug.plugin-*.jar
extractTars: false
- task: CopyFiles@2
displayName: 'cp plugin.jar to server'
inputs:
SourceFolder: '$(System.ArtifactsDirectory)/plugin/jars'
Contents: 'com.microsoft.java.debug.plugin-*.jar'
TargetFolder: $(Build.SourcesDirectory)/server
- task: Npm@1
displayName: npm install
inputs:
verbose: false
- task: CmdLine@2
displayName: Update nightly vsix version
inputs:
script: node scripts/build/prepare-nightly-build.js
- task: CmdLine@2
displayName: Replace AI key
inputs:
script: npx [email protected] -I -f package.json -e "this.aiKey=\"%AI_KEY%\""
- task: CmdLine@2
displayName: vsce package --pre-release -o extension.vsix
inputs:
script: npx @vscode/vsce@latest package --pre-release -o extension.vsix
### Copy files for APIScan
- task: CopyFiles@2
displayName: "Copy Files for APIScan"
inputs:
Contents: "*.vsix"
TargetFolder: $(Agent.TempDirectory)/APIScanFiles
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
### Run latest version of APIScan listed at https://www.1eswiki.com/wiki/APIScan_Build_Task
- task: APIScan@2
displayName: Run APIScan
inputs:
softwareFolder: $(Agent.TempDirectory)/APIScanFiles
softwareName: "vscode-java-debug"
softwareVersionNum: "$(Build.BuildId)"
isLargeApp: false
toolVersion: "Latest"
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
env:
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(ApiScanSecret)
- script: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
displayName: 'Generate extension manifest'
- script: copy extension.manifest extension.signature.p7s
displayName: 'Prepare manifest for signing'
- task: CmdLine@2
displayName: Sign extension
inputs:
script: dotnet %MBSIGN_APPFOLDER%/ddsignfiles.dll /file:extension.signature.p7s /certs:4014052
- task: CopyFiles@2
displayName: "Copy Files to: $(Build.ArtifactStagingDirectory)/vsix"
inputs:
Contents: |
extension.vsix
extension.manifest
extension.signature.p7s
TargetFolder: $(Build.ArtifactStagingDirectory)/vsix
119 changes: 119 additions & 0 deletions .azure-pipelines/rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
name: $(Date:yyyyMMdd).$(Rev:r)
variables:
- name: Codeql.Enabled
value: true
resources:
pipelines:
- pipeline: microsoft.java-debug.signjars.rc
source: microsoft.java-debug.signjars.rc
trigger:
branches:
include:
- main
repositories:
- repository: self
type: git
ref: refs/heads/main
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
trigger: none
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
pool:
name: MSEngSS-MicroBuild2022-1ES
stages:
- stage: Build
jobs:
- job: Job_1
displayName: VSCode-Java-Debug-RC
templateContext:
mb:
signing:
enabled: true
signType: real
zipSources: false
feedSource: 'https://mseng.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json'
outputs:
- output: pipelineArtifact
artifactName: vsix
targetPath: $(Build.ArtifactStagingDirectory)/vsix
displayName: "Publish Artifact: vsix"
steps:
- checkout: self
fetchTags: true
- task: NodeTool@0
displayName: Use Node 20.x
inputs:
versionSpec: 20.x
- task: DownloadBuildArtifacts@1
displayName: Download Build Artifacts
inputs:
buildType: specific
project: a4d27ce2-a42d-4b71-8eef-78cee9a9728e
definition: "16486"
specificBuildWithTriggering: true
downloadType: specific
itemPattern: m2/com.microsoft.java.debug.plugin/com.microsoft.java.debug.plugin-*.jar
extractTars: false
- task: CopyFiles@2
displayName: 'cp plugin.jar to server'
inputs:
SourceFolder: '$(System.ArtifactsDirectory)/m2/com.microsoft.java.debug.plugin'
Contents: |
com.microsoft.java.debug.plugin-*.jar
TargetFolder: $(Build.SourcesDirectory)/server
- task: CmdLine@2
displayName: Delete sources.jar and javadoc.jar from server
inputs:
script: |
del server\com.microsoft.java.debug.plugin-*-sources.jar
del server\com.microsoft.java.debug.plugin-*-javadoc.jar
- task: Npm@1
displayName: npm install
inputs:
verbose: false
- task: CmdLine@2
displayName: Replace AI key
inputs:
script: npx [email protected] -I -f package.json -e "this.aiKey=\"%AI_KEY%\""
- task: CmdLine@2
displayName: vsce package
inputs:
script: npx @vscode/vsce@latest package -o extension.vsix
### Copy files for APIScan
- task: CopyFiles@2
displayName: "Copy Files for APIScan"
inputs:
Contents: "*.vsix"
TargetFolder: $(Agent.TempDirectory)/APIScanFiles
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
### Run latest version of APIScan listed at https://www.1eswiki.com/wiki/APIScan_Build_Task
- task: APIScan@2
displayName: Run APIScan
inputs:
softwareFolder: $(Agent.TempDirectory)/APIScanFiles
softwareName: "vscode-java-debug"
softwareVersionNum: "$(Build.BuildId)"
isLargeApp: false
toolVersion: "Latest"
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
env:
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(ApiScanSecret)
- script: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
displayName: 'Generate extension manifest'
- script: copy extension.manifest extension.signature.p7s
displayName: 'Prepare manifest for signing'
- task: CmdLine@2
displayName: Sign extension
inputs:
script: dotnet %MBSIGN_APPFOLDER%/ddsignfiles.dll /file:extension.signature.p7s /certs:4014052
- task: CopyFiles@2
displayName: "Copy Files to: $(Build.ArtifactStagingDirectory)/vsix"
inputs:
Contents: |
extension.vsix
extension.manifest
extension.signature.p7s
TargetFolder: $(Build.ArtifactStagingDirectory)/vsix
55 changes: 55 additions & 0 deletions .azure-pipelines/release-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This pipeline is used to release the VS Code Java Debug extension from the nightly/stable build.
# It contains following steps:
# 1. Download the plugin artifact from the nightly/stable build pipeline.
# 2. Publish the plugin to the marketplace.

name: $(Date:yyyyMMdd).$(Rev:r) # Use the current date and a revision number for the build name.

variables:
- name: Codeql.Enabled
value: true
resources:
repositories:
- repository: self
type: git
ref: refs/heads/main
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
trigger: none
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
pool:
os: linux
name: 1ES_JavaTooling_Pool
image: 1ES_JavaTooling_Ubuntu-2004
stages:
- stage: Release
jobs:
- job: Job
displayName: Release VS Code Java Debug Extension
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
buildType: specific
project: $(AzDo.ProjectId) # Azure DevOps project ID
definition: $(AzDo.BuildPipelineId) # artifact build pipeline ID
artifactName: vsix
downloadType: specific
targetPath: '$(Build.SourcesDirectory)'
steps:
- task: UseNode@1
displayName: 'Use Node.js 20.x'
inputs:
version: '20.x'
- task: AzureCLI@2
displayName: 'Publish Extension'
inputs:
azureSubscription: 'VSCode-Ext-Publishing'
scriptType: pscore
scriptLocation: inlineScript
inlineScript: 'npx @vscode/vsce@latest publish -i ''$(Build.SourcesDirectory)/extension.vsix'' --manifestPath ''$(Build.SourcesDirectory)/extension.manifest'' --signaturePath ''$(Build.SourcesDirectory)/extension.signature.p7s'' --azure-credential'
Loading