wisberg [Sat, 31 May 2003 22:24:48 +0000 (22:24 +0000)]
Added SecurityManager which halts any System.exit() call from JavaRun thread and puts the exit code in the status object.
This enables us to run the examples.
wisberg [Sat, 31 May 2003 07:39:17 +0000 (07:39 +0000)]
build of testing jars changed slightly.
Have to build non-all testing-drivers to get testing classes target.
Relies on updated Module.java which trims testsrc but not testing dependencies for testing modules.
wisberg [Sat, 31 May 2003 07:37:54 +0000 (07:37 +0000)]
- fixed keyword for ajctaskCompiler tests
- disabled ajdeCompiler tests as hanging (swing thread?)
- added pass-through variable for aspectj build properties
- now testing for Testing module tests,
to force fix for testing modules not getting test classes
wisberg [Sat, 31 May 2003 07:25:30 +0000 (07:25 +0000)]
delay until after final last-modified-time stamp on newly-staged files
since last-modified-time stamp can be delayed by filesystem buffering
and rounding-up to next second.
jhugunin [Wed, 28 May 2003 20:49:54 +0000 (20:49 +0000)]
Bugzilla Bug 38212
can not resolve this member warning
This test currently passes, and therefore must be missing the bug; however,
this is the closest I could come to the bug as reported.
wisberg [Wed, 28 May 2003 08:23:42 +0000 (08:23 +0000)]
Script is usable!
- lots of rearranging and cleanup, docs
- now doing 1.3 and 1.4 testing
- more harness tests (some unverified)
- workaround OOM in examples
- cleanup after building-aspectj-with-aspectj
wisberg [Tue, 27 May 2003 04:44:30 +0000 (04:44 +0000)]
fixing fork bugs:
- permitting fork in incremental mode only when using tag file
- pulling aspectjtools also from the task classpath
also failonerror default was not true as stated in the docs
wisberg [Sun, 25 May 2003 19:27:45 +0000 (19:27 +0000)]
Fix for failure building with useEclipseCompiles testing-drivers initially (or any module that only indirectly depended on jdt.core, which has no sources)
- better logging
- checking zip results - returns false positive for empty zips
- compile(..) API change for adopting classes
Also, copyright clearly wrong - file created last fall.
wisberg [Sun, 25 May 2003 19:26:55 +0000 (19:26 +0000)]
Fix for failure building with useEclipseCompiles testing-drivers initially (or any module that only indirectly depended on jdt.core, which has no sources)
- better logging
- checking zip results - returns false positive for empty zips
- compile(..) API change for adopting classes
wisberg [Sun, 25 May 2003 19:23:41 +0000 (19:23 +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>
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>
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.
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.
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.
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
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.
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)
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
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