提交图

415 次代码提交

作者 SHA1 备注 提交日期
Alexander Kriegisch
8e8d81cae8 Set version 1.9.21-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2023-11-19 13:26:39 +07:00
Alexander Kriegisch
05de091a06 Release milestone 1.9.21.M1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2023-11-19 13:22:14 +07:00
Alexander Kriegisch
4accdcda5c Set version to 1.9.21-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2023-09-04 11:51:58 +07:00
Alexander Kriegisch
91e3dbf0e1 AspectJ release 1.9.20.1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2023-09-04 10:39:01 +07:00
Alexander Kriegisch
1060d22a5c Set version to 1.9.21-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2023-08-16 13:58:13 +07:00
Alexander Kriegisch
ca61ec221a Release 1.9.20
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2023-08-16 13:37:26 +07:00
Alexander Kriegisch
cfeda34565 Set version to 1.9.20-SNAPSHOT 2022-12-21 16:53:32 +01:00
Alexander Kriegisch
271ff0f640 AspectJ release 1.9.19 2022-12-21 16:52:08 +01:00
Alexander Kriegisch
dc2863a18e Set Maven version to 1.9.19-SNAPSHOT
It makes sense to indicate the Java version in the minor-minor of
AspectJ artifacts.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2022-10-02 12:36:17 +02:00
Andrey Turbanov
2091b6d1de Reduce 'Object' class usage 2022-04-15 11:00:33 +07:00
Andrey Turbanov
1c487b2e0f Remove redundant casts after generics update 2022-04-12 11:22:29 +03:00
Alexander Kriegisch
651e92a328 Remove AspectJ Browser (ajbrowser) code and documentation
Closes #148.

TODO: Should more AJDE stuff be removed?
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2022-04-02 08:24:04 +07:00
Alexander Kriegisch
5034f99664 Set version to 1.9.10-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2022-03-31 19:11:46 +07:00
Alexander Kriegisch
8d33cfa527 Release AspectJ version 1.9.9.1
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2022-03-31 19:09:44 +07:00
Alexander Kriegisch
1851f96e25 Set version to 1.9.10-SNAPSHOT
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2022-03-24 18:12:20 +07:00
Alexander Kriegisch
f25573c72a Set version to 1.9.9
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2022-03-24 18:12:20 +07:00
Alexander Kriegisch
8960bf2b02 Set version to 1.9.9-SNAPSHOT 2022-02-11 13:03:48 +07:00
Alexander Kriegisch
c8da9556e2 Set version to 1.9.8 2022-02-11 13:03:48 +07:00
Andy Clement
5abc2f1dce
Merge pull request #101 from turbanoff/use_StringBuilder_instead_of_StringBuffer
Replace uses of StringBuffer with StringBuilder.
2021-11-30 07:35:20 -08:00
Andy Clement
27aba3f4df
Merge pull request #100 from turbanoff/File.exists_before_File.isDirectory_is_redundant
Remove redundant File.exists() check before File.isDirectory()
2021-11-29 15:31:59 -08:00
Andrey Turbanov
b1c52e2f5e Replace uses of StringBuffer with StringBuilder.
StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
2021-11-20 17:22:06 +03:00
Andrey Turbanov
793a015abb According to javadoc File.isDirectory 'true' if and only if the file denoted by this abstract pathname exists and is a directory.
It means that separate File.exists() check before File.isDirectory() check is redundant.
2021-11-20 16:53:30 +03:00
Alexander Kriegisch
99f1df6dc8 Minor 1.9.7 to 1.9.8 version bumps in docs and Ant script
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-11-20 14:20:09 +01:00
Andy Clement
e22903e169 Set version to 1.9.8-SNAPSHOT 2021-06-24 16:25:22 -07:00
Andy Clement
a22efad254 1.9.7 release 2021-06-24 16:23:33 -07:00
Alexander Kriegisch
49cb924f54 Upgrade license from CPLv1/EPLv1 to EPLv2
This was required by the Eclipse team as one precondition for the next
release.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-06-04 07:58:52 +07:00
Alexander Kriegisch
2ea1a6e46f Use canonical snapshot version 1.9.7-SNAPSHOT
Before, we used 1.9.7.BUILD-SNAPSHOT, which according to Andy Clement
was originally an intent across a group of Spring projects he was
involved in, to ensure that SNAPSHOTS were sorted alphabetically ahead
of MILESTONEs and ahead of RCs.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-05-23 10:17:28 +07:00
Alexander Kriegisch
2c0079126c Delete all release POM templates in 'build'
In order to keep developers from creating AspectJ releases manually or
using Ant script 'build/build.xml', get rid of all POM templates. This
step does not involve updating any build or release how-to documents or
any other clean-up work under 'build', but it is a first step and a
simple, implicit reminder that now we can build and release using Maven.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-05-16 11:05:05 +07:00
Alexander Kriegisch
49ae298d31 Replace links to aspectj.org by links to eclipse.org/aspectj
As discussed with Andy Clement, domain aspectj.org seems to still be
owned by Xerox, and currently no website for it is online. Therefore, it
is better to link to the AspectJ Eclipse homepage.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-05-16 07:05:27 +07:00
Alexander Kriegisch
99476f7d82 Provision libraries in 'lib' automatically
Upon special request by Andy Clement, I included 'lib' as a child module
in the parent POM again, making several modules which refer to
downloaded library files dependent the 'lib' module. I am not sure I
caught all of them, but I hope so.

Now after cloning the project and configuring the token for reading from
GitHub Packages (sorry!), you can just run a Maven build for the main
project and no longer need to fail the first build, read the Maven
Enforcer message and run 'cd lib && mvn compile' as a first step. This
convenience comes at the price of a more complex POM and two new
profiles:

  - Profile 'provision-libs' is auto-activated by the absence of a
    marker file, kicking off the library provisioning process and
    creating same marker file at the end, if successful. Therefore,
    during subsequent builds libraries will not be re-provisioned,
    because the marker file exists and Maven skips all download and
    (un)zip steps, which saves build time and bandwidth. Otherwise
    offline builds would not work either.

  - Profile 'clean-libs' needs to be activated manually, because by
    default 'mvn clean' will not erase provisioned libraries. In most
    cases, even after a clean a developer does not want to re-provision
    all libraries if they have not changed (e.g. new JDT Core build).
    But if you do wish too erase the libraries and the marker file, just
    call 'cd lib && mvn -P clean-libs clean'.

Please note: The Maven Enforcer build step, which additionally checks
for existence of other files, still exists and was moved from the parent
POM to 'libs'. No matter if provisioning was just done or skipped
because the main marker file exists, a quick heuristic check for that
list of files is done during each build, failing the build with a
comprehensive message if an inconsistency was found. The error message
says which files are missing and tells the user:

  "There is an inconsistency in module subdirectory 'lib'. Please run
  'mvn --projects lib -P clean-libs clean compile'. This should take
  care of cleaning and freshly downloading all necessary libraries to
  that directory, where some tests expect them to be."

This should cover the topic.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-05-05 16:21:53 +07:00
Alexander Kriegisch
f1f46b4e8b Remove build/scripts/*
These scripts look pretty antique and obsolete.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-17 00:48:47 +07:00
Alexander Kriegisch
0be7475fac Remove redundant 'name' and 'packaging' tags from POMs
If 'name' is identical to 'artifactId' and 'packaging' has the default
value 'jar', we can just remove those tags from the POM.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-15 18:52:14 +07:00
Alexander Kriegisch
f00f547d7b Clean up Maven dependencies using 'dependency:analyze' goal
Notably, this change involves a partial revert of @4a5660b3, because we
are not using JUnit Jupiter yet but still JUnit 4 tests. See discussion
under commit at https://github.com/eclipse/org.aspectj/commit/4a5660b3.

Many other warnings - concerning both used undeclared and unused
declared dependencies - were eliminated by adding or removing the
corresponding dependencies from the POMs. Furthermore, I tried to make
sure that some clearly test-scoped dependencies are now actually
declared as such, so as to avoid unwanted transitivity bleeding into
compile scope and maybe unwanted classes ending up in uber JARs via
Maven Shade or Maven Assembly.

TODO: I am not so sure why modules other than 'run-all-unit-tests' would
depend on test JARs. I hope I broke nothing essential there. As of
today, the other modules where I found '<type>test-jar</type>'
dependencies are:
  - ajde
  - testing
  - testing-drivers
  - tests
  - weaver

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-12 13:16:29 +07:00
Alexander Kriegisch
3612f72740 Switch from 'libx' to 'lib', delete all obsolete binaries
Because 'cd lib && mvn compile' can now download and (un)zip many
previously SCM-committed third-party dependencies, the following 'lib'
subdirectories have been deleted:
 - ant
 - asm
 - commons
 - jarjar
 - junit
 - regexp
 - saxon
This one is new (but not stored in SCM):
 - jdtcore-aj

For each of them, there now is a .gitignore entry, so as to prevent
developers from accidentally committing the downloaded binaries again.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-10 13:03:30 +07:00
Alexander Kriegisch
f3ff0752b8 Remove JRockit LTW support, particularly JRockitAgent
In two places, the documentation now contains this text:

"Since AspectJ 1.9.7, the obsolete Oracle/BEA JRockit agent is no longer
part of AspectJ. JRockit JDK never supported Java versions higher than
1.6. Several JRockit JVM features are now part of HotSpot and tools like
Mission Control available for OpenJDK and Oracle JDK."

The decision to drop JRockit support was made during a discussion
between Alexander Kriegisch and Andy Clement:

Andy Clement wrote on 26 Mar 2021:

> Yes I think so.
>
>
> Alexander Kriegisch wrote on 26 Mar 2021:
>
>> https://en.wikipedia.org/wiki/JRockit
>>
>> Can we get rid of that? AspectJ requires Java 8, JRockit never
>> supported more than Java 6.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-10 12:33:08 +07:00
Alexander Kriegisch
1ed026071e POM cosmetics, e.g. plugin version management
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-09 14:07:09 +07:00
Alexander Kriegisch
fe91fe2624 Replace JDT Core system dependency by deployed one
Get rid of system paths. Instead, rely on JDT Core Shadows to deploy
both binary and source JARs to GitHub Packages. The former module
directory was deleted completely. Instead, the JARs are redundantly
copied into 'libs/jdtcore-aj' in order to be found there by tests and
other Ant scripts.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-04-09 13:55:33 +07:00
Alexander Kriegisch
d574f1c039 Replace Ant and Xerces system-scopes libraries by normal dependencies
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-29 13:52:01 +07:00
Alexander Kriegisch
eac253e746 Revert "Remove module 'run-all-junit-tests' from root POM -> speed up the build"
This reverts commit a1867b05ba.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-23 17:03:16 +07:00
Alexander Kriegisch
0012982c7e Set explicit en_US locale for build timestamps in Build Helper Maven
There were warnings that builds were dependent on the system local
(de_DE in my case). In patterns like "EEEE MMM d, yyyy", parts like day
of week or month names would change otherwise.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-21 17:42:34 +07:00
Alexander Kriegisch
ecb5320c7b Fix some deprecated Java and JUnit warnings by using newer API calls
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-21 17:34:09 +07:00
Alexander Kriegisch
a1867b05ba Remove module 'run-all-junit-tests' from root POM -> speed up the build
This module must be a relic from a test runner module once existing
during the Ant build era, but transferred and kept alive in the Maven
build. Actually, it almost doubles build time by running virtually all
tests in all modules again when doing 'mvn test' from the project root.

For now I only removed the module from the root POM, leaving behind
comments there, in the module POM and in the now @Deprecated class
RunTheseBeforeYouCommitTests.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-21 02:01:18 +07:00
Alexander Kriegisch
bf48d9dd07 Allow year 2021 in Checklics.License
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-14 13:51:16 +07:00
Alexander Kriegisch
087d965cf6 Support Windows 10 and Windows Server 2016/2019 in installer
Those versions were not detected until now, which lead to bogus Windows
batch files forwarding only 9 Ajc parameters to the Java process via
"%1 %2 %3 %4 %5 %6 %7 %8 %9" instead of "%*".

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
2021-03-04 16:43:15 +07:00
Andy Clement
611e94990f Revert to 1.9.7.BUILD-SNAPSHOT 2020-08-21 12:40:34 -07:00
Andy Clement
b20196924e 1.9.7 milestone 1 published 2020-08-21 12:16:30 -07:00
Andy Clement
4a2ecf60eb
Merge pull request #10 from larsgrefer/cleanup/pom
Cleanup the Maven pom.xml files
2020-08-16 11:14:43 -07:00
Andy Clement
d93bacd2e1
Merge branch 'master' into feature/collection-performance 2020-08-15 22:38:51 -07:00
Lars Grefer
702f3fa5bd Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
2020-08-16 04:04:28 +02:00
Lars Grefer
639f5030e0 Weaken Collection declarations
Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface.

Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
2020-08-15 17:01:46 +02:00