1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00
Commit graph

338 commits

Author SHA1 Message Date
Jonah Graham
9aa3144840 Generate more of the documentation with asciidoc and automate more
- Migrate all getting_started from html to adoc
- Document (in README.md) notes on migrating html to adoc
- Reorganize generation of adoc slightly so that
  - all directories can be generates at once
  - output suffix changed to htm so that migrated files
    exist at the same URL on help.eclipse.org
- Add generation to the cleanliness checks to ensure that the
  html matches adoc
- Manage the adoc headers with a script as that is a large section
  of copy-pasted code on each adoc file (see README + adoc-headers.txt)
- Move maven version info to pluginManagement (consistency with other
  maven plug-ins)
- New profile "asciidoc-auto-refresh" which will auto build the
  files as edited.

Prerequisite of #992
2025-01-14 13:05:53 -05:00
Jonah Graham
39ee2eded4
Update to latest versions of build tools (#986)
Beta versions of maven plugins are omitted from this
upgrade.

A new version of Tycho brings in an update ECJ which means some
of the class files are different, hence the need to bump versions
of bundles too.

A new calendar year brings an update to Copyrights
2025-01-06 20:37:10 -05:00
Tue Ton
83e52ef18c Add native support for Windows on Arm64 (#971)
- add a new fragment 'org.eclipse.cdt.core.win32.aarch64' containing
re-compiled Arm64 natives suitable for the Windows on Arm64 platform.

- add the 'serial.dll' binary re-compiled for Windows on Arm64.

- add the win32/win32/aarch64 environment triplet to various Maven
build scripts to support building CDT software for that environment.

The updated dlls/exes are not included in this commit and will be provided
in subsequent commits with the corresponding update to build infrastructure

Part of #969
2024-12-28 10:48:30 -05:00
Jonah Graham
e50f81b95b
Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
Jonah Graham
7fcfbb0f96
Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
Jonah Graham
6f8746e0a3 Bring optional p2 update sites up to date
The simrel and cdt update sites can be used to run partial builds
and are not used by default when doing builds. This change
brings those URLs up to date.
2024-05-12 16:12:17 -04:00
Jonah Graham
0568568c33 Change standalone debugger to no longer limit number of bundles
The maintenance of having a streamlined standalone debugger that
starts as fast as possible is no longer possible. See for
example #591 - therefore when using standalone debugger, use
the same sets of plug-ins/features as the product it is installed
in uses. The side effect is that the standalone debugger in this
use case will start slower and extra "stuff" will be present in
this UI.

For people just building the standalone debugger, provide a minimum
feature set. This will be many more bundles than before, but
should still provide a reasonably small set that starts well.

This simplification also includes removing the the duplicates set
of CDT docs (debug/org.eclipse.cdt.debug.application.doc). These
provided a simplified version of CDT's documentation targetted
at just standalone debugger. However there are a few problems related
to this duplication:

- The two sets of docs were not kept in sync
- The standalone docs appear in the online help, leading to
  duplicated entries
- With the config.ini changes above, there is no way to exclude
  the main docs in the standalone case, so remove the duplicate

A number of directly related clean-ups are included too:

- Remove the `ConfigGenerator.java` that stopped being referenced
  in PR #761
- Complete the removal of `build-standalone-debugger-rcp` profile
  that was started in #761. There is a small drawback to not having
  this profile, the standalone debugger is very slow to build
  compared to the rest of CDT. If this becomes a problem, restoring
  this profile along with the changes made in #761 is reasonable.
- bring debug.product's licenses up to date
- modernize command line args to eclipse when using debug.product

Fixes #781
2024-05-12 16:12:17 -04:00
Alexander Fedorov
88355ecc48 [#657] CDT cannot be built on Java 21 due to security manager changes
* Switch CI to Java 21
* Remove config generation for debug application
* Remove `org.eclipse.osgi.services` from `proxy.server` product
* Remove `org.eclipse.osgi.services` from
`org.eclipse.cdt.debug.application.product` product
* Move `org.eclipse.cdt.debug.application.product` from profile to
general part

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2024-04-19 22:16:40 +03:00
Jonah Graham
221d346f6d
Prep repo for 11.6.0 (#729) 2024-03-07 14:17:45 -05:00
Jonah Graham
207bddab5a
Build with Tycho 4.0.6 (#715)
Includes bundle version bumps for new version of ECJ and
target platform update.

Co-authored-by: Александър Куртаков <akurtakov@gmail.com>
2024-02-22 21:38:57 -05:00
Александър Куртаков
55a3dc2ac2 Update maven plugins
maven-enforcer-plugin 3.2.1 -> 3.4.1
maven-pmd-plugin 3.20.0 -> 3.21.2
maven-resources-plugin 3.3.0 -> 3.3.1
org.codehaus.mojo:build-helper-maven-plugin 3.4.0 -> 3.5.0
org.codehaus.mojo:sonar-maven-plugin 2.4 -> 3.10.0.2594
org.jacoco:jacoco-maven-plugin 0.8.8 -> 0.8.11
2024-02-21 17:53:55 +02:00
Александър Куртаков
ceb55c49fb Unify maven-compiler-plugin setting
Define the common version in parent pom and don't override it.
Move to latest version while at it.
2024-02-21 16:59:16 +02:00
Александър Куртаков
fa47bbdb2a Update CBI plugins to 1.4.3 2024-02-21 16:12:58 +02:00
Michael Keppler
d4102ca82f
Clean up Maven build (#662)
* remove invalid tycho resolver config (not valid since many versions)
* fix PMD plugin configuration (config attribute was renamed in 3.18)
* remove duplicate versions already managed in pluginManagement section
* fix indentation
* move all not yet configured versions into pluginManagement of the
parent module to avoid further duplication
* consume the target platform as file, not as maven artifact (this
simplifies building a single module A LOT)
* remove invalid tycho-source-plugin configuration
* disable tycho consumer POM generation (not needed here, and avoids a
warning in each module)
* remove prerequisites. that's for maven plugins only, and this POM
already contains the better suited similar maven enforcer rule
* enforce UTF-8 for javadoc generation (the build fails on Windows
otherwise, trying to read some Japanese? characters with the Windows
default encoding)
2023-12-28 14:35:58 -05:00
Jonah Graham
f7a63377a6
Prepare repo for 11.5.0 (#633) 2023-12-06 18:48:15 -05:00
Jonah Graham
ddc8470df6
Prepare repo for CDT 11.4.0 M3 (#618)
Includes updating to latest target platform. This should
also fix #591 but it is hard to tell until after it is
integrated into SimRel and the output checked in EPP.

Fixes https://github.com/eclipse-cdt/cdt/issues/591
Part of #548
2023-11-15 13:03:41 -05:00
Jonah Graham
92beadb855 Fix multiple repositories in API baseline
This happened to work before because the contents of
api-baseline.repo was in api-baseline.repo.simrel so
the error in the pom.xml went undetected until
#551 issue meant api-baseline.repo wasn't in
api-baseline.repo.simrel
2023-09-15 09:11:14 -04:00
Jonah Graham
49a7a341f9 Use temporary baseline of unreleased CDT 11.3.1
This is to workaround the missing BREE in CDT 11.3.0, see
#551 for details

Part of #551
2023-09-15 09:10:13 -04:00
Jonah Graham
4afe538d75 Restore BREE headers to all MANIFEST.MF
Fixes #551
2023-09-15 07:13:19 -04:00
Jonah Graham
3bcba2303d Prepare repo for CDT 11.4.0 development
Part of #548
2023-09-14 19:47:15 -04:00
Jonah Graham
fe2d38e7a1 Add API Baseline checking to the build 2023-08-17 09:07:51 -04:00
Jonah Graham
2c3aaf89a1 Update to Tycho 4.0.1
The error handling in Tycho 4 identifies when bundles are listed
in category.xml but not available. The removed bundles were
not in the output, and with this change the error is resolved
in the build.

Updated setting for maven enforcer to match Tycho requirements.
2023-08-16 15:55:55 -04:00
Jonah Graham
ac84c4ec86 Prepare repo for CDT 11.3.0 development
Some bundles are bumped because dev happened between 11.2 release and
this version bump. The most significant change that happened
was the bump in Tycho version which changed ECJ version and
hence some class files changed

Part of #420
2023-07-10 21:41:39 -04:00
Jonah Graham
460c0021aa Move all dependencies to maven direct where possible
Includes:

- Sign all artifacts, particularly 3rd party with CDT's PGP key
- Using maven version managed and updated by EF Webmasters
- Update to latest SnakeYAML
- Move some 3rd party dependencies to Import-Package (instead of
  Require-Bundle)
2023-07-10 20:47:10 -04:00
Jonah Graham
c18d06e84d Upgrade to Tycho 3.0.3 (latest)
Part of #320
See also #308
2023-03-14 14:02:47 -04:00
Jonah Graham
a786552a81 Update versions of maven plugins
Part of #320
2023-03-13 14:20:50 -04:00
Jonah Graham
21e923ada7 [releng] Prepare repo for CDT 11.2 development
Part of #320
2023-03-13 13:54:48 -04:00
Jonah Graham
cf50404d03 [releng] Update to latest cbi-plugins version 2022-12-09 12:24:55 -05:00
Jonah Graham
febbaa9ffe [releng] Update to latest maven-resources-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
03dee82336 [releng] Update to latest maven-pmd-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
cf48ca76bd [releng] Update to latest maven-enforcer-plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
2af753223e [releng] Update to latest jacoco maven plugin version 2022-12-09 12:24:55 -05:00
Jonah Graham
b87a45520a [releng] Prepare repo for CDT 11.1.0 development 2022-12-09 12:24:55 -05:00
Jonah Graham
1fbd271b0c [releng] Use final locations for Platform build
This is the last part of finishing up 11.0.0 release, the Platform
I-Builds will be deleted soon so we point to the same versions
of those dependencies in their permanent locations.

Part of #77
2022-12-07 15:55:29 -05:00
Jonah Graham
1893069eb5 Remove unmaintained LSP and DAP support from CDT
Fixes #139
2022-11-09 19:47:22 -05:00
Jonah Graham
75c779fc1d Remove non-functioning Qt plug-ins
Fixes #123
2022-10-29 18:56:47 -04:00
Mat Booth
95fb6ee72e [releng] Fix up usages of tycho-source-plugin
Migrate usage of deprecated tycho-source-feature-plugin plugin
to the tycho-source-plugin:feature-source goal.

Eliminate duplicate invokations of the
tycho-source-plugin:plugin-source goal.
2022-10-17 14:25:11 +03:00
Jonah Graham
56ee2c3bb1 DSF-GDB tests in GitHub Actions
- Fix the running so that the correct gdb is used.
- Only run DSF tests if dsf directories have been modified
- Default to using gdb,gdbserver on the PATH when running
  tests
- Remove double reporting of test results
2022-10-10 08:44:28 -04:00
Jonah Graham
fd909baa0a [releng] Update simrel site to 2022-12 2022-10-03 12:42:37 -04:00
Jonah Graham
110ac149c2 [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
Jonah Graham
efaadf4209 [releng] Update help docs for 2022-12 M1 2022-10-03 12:42:37 -04:00
Jonah Graham
989fba22fd [releng] Update comparator repo for 2022-12 M1 2022-10-03 12:42:37 -04:00
Jonah Graham
705712ccfd [releng] Update to latest Tycho
I think this is required to allow Java 17 to work properly.
2022-10-03 12:42:37 -04:00
Jonah Graham
15a96b3915 Update references of git.eclipse.org to github 2022-08-22 17:43:40 -04:00
Jonah Graham
4faad305de
Add reflection access when running some old tests (#28)
This is the exception that would have been raised.

java.lang.reflect.UndeclaredThrowableException
	at org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests.testProjectDataCreate(CDescriptorOldTests.java:370)
Caused by: java.lang.IllegalAccessException: class org.eclipse.cdt.internal.core.CConfigBasedDescriptor$1 cannot access class com.sun.org.apache.xerces.internal.dom.ParentNode (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.dom to unnamed module @772861aa
	at org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests.testProjectDataCreate(CDescriptorOldTests.java:370)

It may be that --add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED
can/should be added to the product, similar to linuxtools in
https://github.com/eclipse-linuxtools/org.eclipse.linuxtools/pull/20/files
but as this affects only some special use cases that are probably
not really in existence anymore we are just fixing the tests.

Alternative would be to simply delete these old tests (CDescriptorOldTests)
and surrounding code.
2022-08-10 15:31:54 -04:00
Jonah Graham
1c8c96c239 Move the disable intro ini out of root of repo
The root files in GitHub are a bit more prominent, so keep
that area clean and move this special ini to a subdir.

Change-Id: I12d95727e9dad29ebe4f50d47faa9e98753a52bc
2022-08-04 12:23:12 -04:00
Jonah Graham
fd6c953023 [releng] Release url for eclipserun
Change-Id: Iac4704d54fd8bce6e1fe30118d31083836a7fd82
2022-06-15 10:14:51 -04:00
Jonah Graham
bc8c94fbe6 [releng] Update to Tycho 2.7.1
2.7.1 is required to consume PGP keys successfully.

Change-Id: I2ca86728b9118943fcd364656861dc8e7170145a
2022-04-11 17:07:30 -04:00
Jonah Graham
5208763758 [releng] Update to Tycho 2.7.0
Change-Id: I6395a1d4c68b8a796f686f48d09193f96b0ae08f
2022-04-11 17:04:26 -04:00
Jonah Graham
5c4d54df1a [releng] Update comparator repo to 10.6.0
Change-Id: Ie4e5bc90a41bb6e47cd34afb42126e1934fcc042
2022-04-10 20:55:36 -04:00