aboutsummaryrefslogtreecommitdiffstats
path: root/testing-util
Commit message (Collapse)AuthorAgeFilesLines
* Use canonical snapshot version 1.9.7-SNAPSHOTAlexander Kriegisch2021-05-231-1/+1
| | | | | | | | | 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>
* Remove jdiffAndy Clement2021-05-143-252/+134
|
* Provision libraries in 'lib' automaticallyAlexander Kriegisch2021-05-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Remove redundant 'name' and 'packaging' tags from POMsAlexander Kriegisch2021-04-151-9/+0
| | | | | | | 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>
* Clean up Maven dependencies using 'dependency:analyze' goalAlexander Kriegisch2021-04-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Replace JDiff by regular Maven dependency from GitHub PackagesAlexander Kriegisch2021-04-101-3/+2
| | | | | | One less SCM-committed binary, one less system-scoped dependency. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix some deprecated Java and JUnit warnings by using newer API callsAlexander Kriegisch2021-03-211-4/+3
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Java 16 fix: ParseUtil.fileToEncodedURL(File) causes IllegalAccessErrorAlexander Kriegisch2021-03-211-1/+1
| | | | | | Migrate 'ParseUtil.fileToEncodedURL(f)' to 'f.toURI().toURL()'. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Add Java 15 class vile version to BCEL constants, adjust test tools etc.Alexander Kriegisch2021-03-161-2/+2
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Revert to 1.9.7.BUILD-SNAPSHOTAndy Clement2020-08-211-1/+1
|
* 1.9.7 milestone 1 publishedAndy Clement2020-08-211-1/+1
|
* Remove unnecessary interface modifiersLars Grefer2020-08-171-3/+3
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Merge pull request #10 from larsgrefer/cleanup/pomAndy Clement2020-08-161-1/+0
|\ | | | | Cleanup the Maven pom.xml files
| * Remove project.parent.relative path as ../pom.xml is already the defaultLars Grefer2020-08-151-1/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Update to JUnit 4.13Lars Grefer2020-08-152-15/+32
|/ | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'String.indexOf()' expression is replaceable with 'contains()'Lars Grefer2020-08-082-2/+2
| | | | | | Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'for' loop replaceable with enhanced 'for' loopLars Grefer2020-08-082-14/+14
| | | | | | Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Rev to 1.9.7.BUILD-SNAPSHOTAndy Clement2020-07-221-1/+1
|
* AspectJ 1.9.6 final bitsV1_9_6Andy Clement2020-07-221-1/+1
|
* Move to 1.9.6.BUILD-SNAPSHOT versionAndy Clement2019-11-283-67/+64
|
* 1.9.5 release versions in pomsV1_9_5Andy Clement2019-11-281-1/+1
|
* Update to 1.9.5.BUILD-SNAPSHOT in pomsAndy Clement2019-06-031-1/+1
|
* 1.9.4 POMSAndy Clement2019-05-101-1/+1
|
* pushed versions to 1.9.4.BUILD-SNAPSHOTAndy Clement2019-04-171-1/+1
|
* improved test harnesses for working with runtimeAndy Clement2019-02-191-4/+16
|
* fixing test failures running under eclipseAndy Clement2019-02-111-3/+3
|
* tidyup - last bits of maven stuffAndy Clement2019-02-081-2/+4
|
* Add module tests back in - but streamlinedAndy Clement2019-02-011-0/+31
|
* various polish to previously mavenized projects to support newer onesAndy Clement2019-01-311-0/+7
|
* various polish to previously mavenized projects to support newer onesAndy Clement2019-01-311-0/+54
|
* mavenized testing-util module - completeAndy Clement2019-01-231-1/+1
|
* mavenized testing-util module - wipAndy Clement2019-01-2310-69/+43
|
* formatter chewed on itaclement2008-08-281-981/+914
|
* switch to container from jrelibaclement2008-06-061-8/+8
|
* better info on failureaclement2007-02-071-1/+1
|
* Bug 113948 "Repackage AspectJ" (move module root suites out of default package)mwebster2006-07-301-1/+1
|
* update license to EPLacolyer2006-06-015-10/+10
|
* fixed bug with LTW Xreweavable, fix this reflective issue in ↵avasseur2005-06-131-2/+2
| | | | RunAllBeforeCommit (was misnamed..)
* placeholder JUnit tests, aspectjrt.jar finder, Java 5 testerwisberg2005-06-081-5/+51
|
* ignore bintest directoriesacolyer2005-05-311-0/+1
|
* newbuild.xml replacing build.xml, with Alex okwisberg2005-05-192-50/+3
|
* parseBoolean utilitywisberg2005-05-172-0/+80
|
* added test entries instead of autowiredtest for Andy sake, fix 1.4 ↵avasseur2005-05-131-2/+2
| | | | dependancies in loadtime module and util module
* path utilitieswisberg2005-05-121-0/+165
|
* mainly reflective loading - unfortunately also reformattedwisberg2005-05-111-286/+444
|
* prospective replacements for {module}/build.xml - will move there once ↵wisberg2005-05-111-0/+6
| | | | validated by those who use build.xml.
* refactored to avoid clash and duplicate class with modules/testing. Package ↵avasseur2005-04-208-12/+9
| | | | for modules/testing-util is now org.aspectj.testingutil
* visibility changeaclement2005-04-191-2/+2
|
* From branch: New build scripts that Alex uses under IntelliJ - can be run ↵aclement2005-04-191-0/+47
| | | | individually or via master in build module.
* organized imports.aclement2004-07-271-5/+4
|