]> source.dussan.org Git - aspectj.git/log
aspectj.git
21 years agobetter logging
wisberg [Sun, 25 May 2003 19:22:16 +0000 (19:22 +0000)]
better logging

21 years agofixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance...
wisberg [Sun, 25 May 2003 13:42:08 +0000 (13:42 +0000)]
fixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance set incorrectly (-1.3 instead of 1.4) and (2) warn:... form was ignored.
These would break only when running from a Javac compiler adapter and using <compilerarg>

21 years agoupdating harness documentation for new features
wisberg [Sun, 25 May 2003 01:37:49 +0000 (01:37 +0000)]
updating harness documentation for new features

21 years agotests for new feature to select tests by title
wisberg [Sun, 25 May 2003 00:44:40 +0000 (00:44 +0000)]
tests for new feature to select tests by title

21 years agosuite files now constrained to be readable to avoid confusion with -ajctestTitle...
wisberg [Sun, 25 May 2003 00:44:02 +0000 (00:44 +0000)]
suite files now constrained to be readable to avoid confusion with -ajctestTitle.. referents.

21 years agoadding harness feature to select tests based on their title (description), reading...
wisberg [Sun, 25 May 2003 00:43:14 +0000 (00:43 +0000)]
adding harness feature to select tests based on their title (description), reading from a comma-delimited list or a file containing PASS|FAIL lines (from -traceTestsMin), optionally restricted to FAIL.

21 years agoupdating build.jar to bootstrap changes to permit ant.jar in a testing module
wisberg [Sat, 24 May 2003 15:07:08 +0000 (15:07 +0000)]
updating build.jar to bootstrap changes to permit ant.jar in a testing module

21 years agono real changes, just better docs and an (untested) "all" target.
wisberg [Sat, 24 May 2003 13:46:50 +0000 (13:46 +0000)]
no real changes, just better docs and an (untested) "all" target.

21 years ago-noExit to avoid stopping a wrapping ant script
wisberg [Sat, 24 May 2003 13:42:18 +0000 (13:42 +0000)]
-noExit to avoid stopping a wrapping ant script

21 years agomoved a command-line-driven test of classpath variants here
wisberg [Sat, 24 May 2003 12:25:34 +0000 (12:25 +0000)]
moved a command-line-driven test of classpath variants here

21 years agoBetter BuildModule tests following ant.jar updates.
wisberg [Sat, 24 May 2003 12:20:52 +0000 (12:20 +0000)]
Better BuildModule tests following ant.jar updates.
These now build with assemble-all off and on, and
tests were updated to check by running classes.

21 years agoTo support the new testing ICommand wrapper for AjcTask, permit ant.jar in a testing...
wisberg [Sat, 24 May 2003 11:12:42 +0000 (11:12 +0000)]
To support the new testing ICommand wrapper for AjcTask, permit ant.jar in a testing module (ant is omitted from non-testing modules because it is normally deployed separately in ant/lib/ant.jar).
This does not affect regular module or product builds.

21 years agodocumenting -ajdeCompiler and -ajctaskCompiler selectors
wisberg [Sat, 24 May 2003 09:44:52 +0000 (09:44 +0000)]
documenting -ajdeCompiler and -ajctaskCompiler selectors

21 years agoadded taskdefs to classpath to support AjcTaskCompileCommand
wisberg [Sat, 24 May 2003 09:44:02 +0000 (09:44 +0000)]
added taskdefs to classpath to support AjcTaskCompileCommand

21 years agoTests for AjcTaskCompileCommmand adapter
wisberg [Sat, 24 May 2003 09:43:16 +0000 (09:43 +0000)]
Tests for AjcTaskCompileCommmand adapter

21 years agoICommand adapter for Ant taskdef is simple for the non-incremental case and ugly...
wisberg [Sat, 24 May 2003 09:30:29 +0000 (09:30 +0000)]
ICommand adapter for Ant taskdef is simple for the non-incremental case and ugly otherwise.

21 years agosupporting -ajctaskCompiler option with AjcTaskCompileCommand
wisberg [Sat, 24 May 2003 09:28:09 +0000 (09:28 +0000)]
supporting -ajctaskCompiler option with AjcTaskCompileCommand

21 years agoawful downcast for AjcTaskCompileCommand - should be remedied after 1.1 with ICommand...
wisberg [Sat, 24 May 2003 09:27:04 +0000 (09:27 +0000)]
awful downcast for AjcTaskCompileCommand - should be remedied after 1.1 with ICommand interface extension

21 years agoupdated implementation for -ajdeCompiler.
wisberg [Sat, 24 May 2003 09:21:32 +0000 (09:21 +0000)]
updated implementation for -ajdeCompiler.

replaced reference to null ide properties adapter (defined only in testsrc)
and created logging proxy to verify API's used.
Unfortunately also formatted code, so it looks like there are more changes than there are.

21 years agoupdates mainly to support maven but also to support new ICommand wrapper for AjcTask:
wisberg [Sat, 24 May 2003 09:16:42 +0000 (09:16 +0000)]
updates mainly to support maven  but also to support new ICommand wrapper for AjcTask:
- findToolsJar now accepts versioned jars
- supporting a forkclasspath to permit user  to explicitly set
- upgrades for testing
  - so multiple iterations work,
    - not altering cmd in execute()
    - only fixing up outjar once
    - reset() complete
  - so incremental compile tests work,
    - passing quit through to main

- when forking on windows, use javaw rather than java
  if possible to avoid popping up a console window

21 years agomore/better junit tests for AjcTask.java fork when possible
wisberg [Sat, 24 May 2003 09:00:15 +0000 (09:00 +0000)]
more/better junit tests for AjcTask.java fork when possible

21 years agosetting classpath for out-of-eclipse testing
wisberg [Sat, 24 May 2003 08:58:19 +0000 (08:58 +0000)]
setting classpath for out-of-eclipse testing

21 years agofix for Bugzilla Bug 37758
jhugunin [Wed, 21 May 2003 17:51:24 +0000 (17:51 +0000)]
fix for Bugzilla Bug 37758
   Weaving rt.jar results in stack overflow

21 years agotest for Bugzilla Bug 37758
jhugunin [Wed, 21 May 2003 17:51:06 +0000 (17:51 +0000)]
test for Bugzilla Bug 37758
   Weaving rt.jar results in stack overflow

21 years agoforcing target to be 1.1 in case someone builds using 1.4.
wisberg [Wed, 21 May 2003 00:55:08 +0000 (00:55 +0000)]
forcing target to be 1.1 in case someone builds using 1.4.

21 years agoflagging with comments that 1.1 options are unimplemented
wisberg [Wed, 21 May 2003 00:53:02 +0000 (00:53 +0000)]
flagging with comments that 1.1 options are unimplemented

21 years agoforcing target to be 1.1 in case someone builds using 1.4.
wisberg [Wed, 21 May 2003 00:49:30 +0000 (00:49 +0000)]
forcing target to be 1.1 in case someone builds using 1.4.

21 years ago@testcase PR#37898 advice on handler join points should not throw unpermitted checked...
wisberg [Wed, 21 May 2003 00:37:47 +0000 (00:37 +0000)]
@testcase PR#37898 advice on handler join points should not throw unpermitted checked exceptions

21 years agoadded paragraph for call site implementation
wisberg [Tue, 20 May 2003 18:39:43 +0000 (18:39 +0000)]
added paragraph for call site implementation

21 years agochanged jars produced by BcWeaverJarMaker to increase coverage of tests
jhugunin [Mon, 19 May 2003 20:52:57 +0000 (20:52 +0000)]
changed jars produced by BcWeaverJarMaker to increase coverage of tests

21 years agobetter error message for trying declare parents on Object
jhugunin [Mon, 19 May 2003 20:51:44 +0000 (20:51 +0000)]
better error message for trying declare parents on Object

21 years agoexpanded test coverage
jhugunin [Mon, 19 May 2003 20:51:06 +0000 (20:51 +0000)]
expanded test coverage

21 years agofix for NPE revealed by BcWeaverJarMaker test code
jhugunin [Mon, 19 May 2003 20:50:51 +0000 (20:50 +0000)]
fix for NPE revealed by BcWeaverJarMaker test code

21 years agoadded test for Bugzilla Bug 37304
jhugunin [Mon, 19 May 2003 20:46:49 +0000 (20:46 +0000)]
added test for Bugzilla Bug 37304
   public static fields being ignored
this test is passing in 1.1rc2

21 years agofix and test Bugzilla Bug 37739
jhugunin [Mon, 19 May 2003 18:06:04 +0000 (18:06 +0000)]
fix and test Bugzilla Bug 37739
   Unexpected Xlint:unresolvableMember warning with withincode

21 years ago- typo in top-level task
wisberg [Wed, 14 May 2003 07:50:10 +0000 (07:50 +0000)]
- typo in top-level task
- incorrect pattern to copy all junit reports

21 years ago- tense, xref usage corrections
wisberg [Wed, 14 May 2003 05:41:27 +0000 (05:41 +0000)]
- tense, xref usage corrections
- structure model caveat

21 years agoMore message-visiting methods, used only by harness now.
wisberg [Wed, 14 May 2003 05:36:40 +0000 (05:36 +0000)]
More message-visiting methods, used only by harness now.

21 years agodefensively supplying ISourceLocation.NO_FILE when there is no file in the result.
wisberg [Wed, 14 May 2003 05:35:38 +0000 (05:35 +0000)]
defensively supplying ISourceLocation.NO_FILE when there is no file in the result.
This is needed for file-based message matching to not fail when no file is specified,
and might provide a more sensible error message if the file is used.
This only replaces a NPE or invalid (empty) filename strings.

21 years agoupdating for installer temp dir fix when File.getTempFile() fails.
wisberg [Wed, 14 May 2003 05:24:30 +0000 (05:24 +0000)]
updating for installer temp dir fix when File.getTempFile() fails.

21 years agoabsolutizing temp dir path.
wisberg [Wed, 14 May 2003 05:23:47 +0000 (05:23 +0000)]
absolutizing temp dir path.
When File.getTempFile() fails, workaround temp dir
is relative, which messes up the zip resource copying.

21 years agobuild-testing-jars target for release testing setup
wisberg [Wed, 14 May 2003 05:21:59 +0000 (05:21 +0000)]
build-testing-jars target for release testing setup

21 years agoclean-jars target
wisberg [Wed, 14 May 2003 05:21:29 +0000 (05:21 +0000)]
clean-jars target

21 years agoTesting now seems to be working (tested incrementally)
wisberg [Wed, 14 May 2003 05:21:03 +0000 (05:21 +0000)]
Testing now seems to be working (tested incrementally)
CVS and entire-run still not verified - takes long on my machine.

21 years agovariable renaming, verbosity - not much significant
wisberg [Wed, 14 May 2003 05:18:43 +0000 (05:18 +0000)]
variable renaming, verbosity - not much significant

21 years ago- now supports both eclipse bin dirs (default)
wisberg [Wed, 14 May 2003 05:17:49 +0000 (05:17 +0000)]
- now supports both eclipse bin dirs (default)
  and ant-built test jars
- added incomplete test-all-at-once
  (currently runs each from its module directory)

21 years agoraising issue of reporting source location for constructor execution as starting...
wisberg [Wed, 14 May 2003 05:15:55 +0000 (05:15 +0000)]
raising issue of reporting source location for constructor execution as starting with the first initializer.  Possibly a known limitation.

21 years ago- correcting message specification of existing tests
wisberg [Wed, 14 May 2003 05:14:54 +0000 (05:14 +0000)]
- correcting message specification of existing tests
  using file and text comparison
- adding new command-line error tests (and keyword)

21 years agotest data upgrades for adding new command-line error tests
wisberg [Wed, 14 May 2003 05:13:24 +0000 (05:13 +0000)]
test data upgrades for adding new command-line error tests

21 years agotwo bad-input tests for the harness
wisberg [Wed, 14 May 2003 05:11:43 +0000 (05:11 +0000)]
two bad-input tests for the harness

21 years ago- adding badInput attribute to compiler
wisberg [Wed, 14 May 2003 05:11:08 +0000 (05:11 +0000)]
- adding badInput attribute to compiler
- adding message kinds (abort, fail, info)
- message line no longer required

21 years agostricter test run comparisons
wisberg [Wed, 14 May 2003 05:09:56 +0000 (05:09 +0000)]
stricter test run comparisons

21 years ago- new data (IMessageHolder rather than lists), same algorithms
wisberg [Wed, 14 May 2003 05:08:45 +0000 (05:08 +0000)]
- new data (IMessageHolder rather than lists), same algorithms
- using medium-strenght message comparison that includes soft
  comparison of file and text
- unexpected info messages not marked as error
- expected FAIL+ messages suppressed to avoid false negative

21 years ago- supporting badInput for all IAjcRun
wisberg [Wed, 14 May 2003 05:08:30 +0000 (05:08 +0000)]
- supporting badInput for all IAjcRun
- using IMessageHolder rather than lists

21 years ago- enforcing -incremental => staging
wisberg [Wed, 14 May 2003 05:06:47 +0000 (05:06 +0000)]
- enforcing -incremental => staging
- permitting bad input using badInput="true"
  (though still checking during staging)
- permitting -XserializableAspects
- supporting new AjcMessageHandler interfaces
- supporting parent badInput in XML

21 years ago- supporting parent badInput in XML
wisberg [Wed, 14 May 2003 05:06:21 +0000 (05:06 +0000)]
- supporting parent badInput in XML
- supporting new AjcMessageHandler interfaces

21 years ago- supporting parent badInput in XML
wisberg [Wed, 14 May 2003 05:05:51 +0000 (05:05 +0000)]
- supporting parent badInput in XML

21 years ago- absolutizing tempdir path if necessary
wisberg [Wed, 14 May 2003 05:05:31 +0000 (05:05 +0000)]
- absolutizing tempdir path if necessary
  (bug in path calculations otherwise when
   using relative path to work around failure
   of File.getTempFile())

21 years ago- revamped message comparators,
wisberg [Wed, 14 May 2003 05:05:08 +0000 (05:05 +0000)]
- revamped message comparators,
  mostly adding medium-level and consolidating
  common code

21 years ago- new filter to remove arbitrary elements from diffs
wisberg [Wed, 14 May 2003 05:04:49 +0000 (05:04 +0000)]
- new filter to remove arbitrary elements from diffs
  (used to not report unexpected info messages in diffs)

21 years ago- using easier list view of messages
wisberg [Wed, 14 May 2003 05:04:32 +0000 (05:04 +0000)]
- using easier list view of messages

21 years agopatch mentioned on the list for detecting errs in incremental command line
wisberg [Wed, 14 May 2003 04:29:18 +0000 (04:29 +0000)]
patch mentioned on the list for detecting errs in incremental command line

21 years agomisspelled local invalid option in negative test
wisberg [Wed, 14 May 2003 04:25:22 +0000 (04:25 +0000)]
misspelled local invalid option in negative test

21 years agoFix for taskdef bug 37576
wisberg [Wed, 14 May 2003 03:36:34 +0000 (03:36 +0000)]
Fix for taskdef bug 37576
http://bugs.eclipse.org/bugs/show_bug.cgi?id=37576

21 years agoNo functionality change.
wisberg [Wed, 14 May 2003 03:13:28 +0000 (03:13 +0000)]
No functionality change.
This just makes explicit that the browser reads user preferences
rather than relying on the default value supplied by the default constructor.

21 years agoDisabling test reads from user preferences store.
wisberg [Wed, 14 May 2003 03:11:59 +0000 (03:11 +0000)]
Disabling test reads from user preferences store.
This was discussed on the list before rc2.

21 years agoFixed relative links to examples. This time did it properly. V1_1_0_RC2
acolyer [Tue, 13 May 2003 12:05:55 +0000 (12:05 +0000)]
Fixed relative links to examples. This time did it properly.

21 years agoFixed broken links to bug db and IBM sites.
acolyer [Tue, 13 May 2003 11:55:52 +0000 (11:55 +0000)]
Fixed broken links to bug db and IBM sites.

21 years agoFixed links to Eclipse bugs database and to mailing lists.
acolyer [Tue, 13 May 2003 11:30:17 +0000 (11:30 +0000)]
Fixed links to Eclipse bugs database and to mailing lists.

21 years agoFixed link to Eclipse bugs database (was dev.eclipse.org/bugs now bugs.eclipse.org...
acolyer [Tue, 13 May 2003 10:58:38 +0000 (10:58 +0000)]
Fixed link to Eclipse bugs database (was dev.eclipse.org/bugs now bugs.eclipse.org/bugs)

21 years agoFixed relative links to docs (was docs/index.html now doc/index.html)
acolyer [Tue, 13 May 2003 10:51:17 +0000 (10:51 +0000)]
Fixed relative links to docs (was docs/index.html now doc/index.html)
and examples (was eaxamples now doc/examples).

21 years agoFixed link to Eclipse bugs database (was dev.eclipse.org/bugs now bugs.eclipse.org...
acolyer [Tue, 13 May 2003 10:49:34 +0000 (10:49 +0000)]
Fixed link to Eclipse bugs database (was dev.eclipse.org/bugs now bugs.eclipse.org/bugs)

21 years agoold dominates form produces an error, not a warning
wisberg [Tue, 13 May 2003 05:23:58 +0000 (05:23 +0000)]
old dominates form produces an error, not a warning

21 years agolink updates for progguide id filenames
wisberg [Tue, 13 May 2003 05:21:07 +0000 (05:21 +0000)]
link updates for progguide id filenames

21 years agofix for Bugzilla Bug 37325
jhugunin [Sun, 11 May 2003 18:50:26 +0000 (18:50 +0000)]
fix for Bugzilla Bug 37325
   Weaver fails with NPE for very large source files

21 years agotest for Bugzilla Bug 37325
jhugunin [Sun, 11 May 2003 18:49:46 +0000 (18:49 +0000)]
test for Bugzilla Bug 37325
   Weaver fails with NPE for very large source files

21 years agoincludeClassesDir
wisberg [Fri, 9 May 2003 23:19:27 +0000 (23:19 +0000)]
includeClassesDir

21 years agoincludeClassesDir
wisberg [Fri, 9 May 2003 23:03:36 +0000 (23:03 +0000)]
includeClassesDir

21 years ago- platform-independent relative path
wisberg [Fri, 9 May 2003 22:58:21 +0000 (22:58 +0000)]
- platform-independent relative path
- compile-time checks for new attributes read

21 years agoDeleting temporary dir and config file, like harness -killTemp option (ignores -keepTemp)
wisberg [Fri, 9 May 2003 22:57:24 +0000 (22:57 +0000)]
Deleting temporary dir and config file, like harness -killTemp option (ignores -keepTemp)

21 years agoincluding new attributes for round-trip testing
wisberg [Fri, 9 May 2003 22:55:41 +0000 (22:55 +0000)]
including new attributes for round-trip testing

21 years ago- test compile includeClassesDir attribute
wisberg [Fri, 9 May 2003 22:54:00 +0000 (22:54 +0000)]
- test compile includeClassesDir attribute
- add pass|fail title prefix to run in one go

21 years agotest source upgrades for new and old tests
wisberg [Fri, 9 May 2003 22:53:01 +0000 (22:53 +0000)]
test source upgrades for new and old tests

21 years agoAnother strange incremental test, taken from ajcHarnessTests
wisberg [Fri, 9 May 2003 22:52:28 +0000 (22:52 +0000)]
Another strange incremental test, taken from ajcHarnessTests
and comparable with a known limitation case for injars,
this sometimes doesn't fail for me.  hmm.
(requires pending changes to sources)

21 years agonew attribute for compile, includeClassesDir
wisberg [Fri, 9 May 2003 22:50:06 +0000 (22:50 +0000)]
new attribute for compile, includeClassesDir

21 years agomoved incremental tests from failing (since they now pass)
jhugunin [Fri, 9 May 2003 17:35:16 +0000 (17:35 +0000)]
moved incremental tests from failing (since they now pass)
cleaned out contents of failing that are now in ajcTests

21 years agochanged suite spec from ajc-test+ to ajc-test* to allow empty suites
jhugunin [Fri, 9 May 2003 17:34:40 +0000 (17:34 +0000)]
changed suite spec from ajc-test+ to ajc-test* to allow empty suites
so that ajcTestsFailing can be empty without looking scary when run

21 years agohandling Shadow.PreInitialization as a INITIALIZER_RELATION
jhugunin [Fri, 9 May 2003 17:33:42 +0000 (17:33 +0000)]
handling Shadow.PreInitialization as a INITIALIZER_RELATION
rather than printing a warning message to System.err

this fixes the dirty output that was very visible when running the
harness with -emacssym enabled

21 years agofix to use cache for isPackage method (as indicated by previous !!! comment)
jhugunin [Fri, 9 May 2003 17:31:49 +0000 (17:31 +0000)]
fix to use cache for isPackage method (as indicated by previous !!! comment)
this fixes the two failing incremental test cases just added by Wes and now
moved to ajcTests as passing

21 years agoAdded persist member.
acolyer [Fri, 9 May 2003 09:21:08 +0000 (09:21 +0000)]
Added persist member.

21 years agoBacking out the change I made to add the output directory to the classpath.
wisberg [Fri, 9 May 2003 07:24:29 +0000 (07:24 +0000)]
Backing out the change I made to add the output directory to the classpath.
This is wrong because we should resolve types wrt the cached classes in the weaver.
But if this change were left in, the test cases just added to ajcTestsFailing.xml pass.

21 years agotwo new incremental tests, each of which fails if run first but not otherwise (assumi...
wisberg [Fri, 9 May 2003 07:22:06 +0000 (07:22 +0000)]
two new incremental tests, each of which fails if run first but not otherwise (assuming the output directory is not added to the classpath).

21 years agocomment documenting keyword "incremental-test"
wisberg [Fri, 9 May 2003 07:21:00 +0000 (07:21 +0000)]
comment documenting keyword "incremental-test"

21 years agoFixing Harness bug of adding the output directory to the classpath, which conceals...
wisberg [Fri, 9 May 2003 07:14:19 +0000 (07:14 +0000)]
Fixing Harness bug of adding the output directory to the classpath, which conceals a bug in the incremental compilation.
This change should have no effect on other tests, but I noticed two other failures during normal compiles caused by inability to resolve type names.

21 years agofixed testFileNodeFind that would always pass to be more strict
jhugunin [Thu, 8 May 2003 19:02:14 +0000 (19:02 +0000)]
fixed testFileNodeFind that would always pass to be more strict
  and then fixed the file it was operating on to be correct

21 years agoadding output dir/jar by default to classpath to permit resolving types in incrementa...
wisberg [Thu, 8 May 2003 08:39:31 +0000 (08:39 +0000)]
adding output dir/jar by default to classpath to permit resolving types in incremental compile
Might need to be more discriminating and/or to document.

21 years ago- removed invalid test requiring -sourceroots in the argument list. They might be...
wisberg [Thu, 8 May 2003 08:31:21 +0000 (08:31 +0000)]
- removed invalid test requiring -sourceroots in the argument list.  They might be in a config file.
- handling request  for fresh rebuild during incremental

21 years agoupdated with tests, etc. Not working yet:
wisberg [Thu, 8 May 2003 08:05:01 +0000 (08:05 +0000)]
updated with tests, etc.  Not working yet:
- junitModules.xml needs better setup with testable jars
- cvs unvalidated
- ajcTests unvalidated - see also ../build.xml script

21 years agoincomplete update to support module jars rather than eclipse bin directories when...
wisberg [Thu, 8 May 2003 08:03:30 +0000 (08:03 +0000)]
incomplete update to support module jars rather than eclipse bin directories when running junit tests
the old way with bin directories still works fine.

21 years agopermitting module builds without trimming, to have the option of using those jars...
wisberg [Thu, 8 May 2003 08:02:30 +0000 (08:02 +0000)]
permitting module builds without trimming, to have the option of using those jars rather than eclipse bin directories when running junit tests