Robert Burrell Donkin wrote:
(fetchmail->jsieve->IMAP is now working fine for me in JAMES and i've
stopped buggy FETCH response crashing evolution so but i won't have
access to my old mail until i've rewritten the backend so that it will
perform against big message sets. in short, i think i'm getting commons
mail ok but i'm short on archives...)

so could people help me get back up to speed on where we are with JCL
and were we want to get to...?

There is need for a 1.1.1 release of commons-logging. All the pressing bugs have been fixed and tested. The build system has been expanded to include Maven, though Ant and Maven 1 should still work too.

My plan is to create a 1.1.1 release with Maven 2. However, Maven 2 runs on a 1.4 JVM so we can't be 100% sure that the tests really pass on a 1.2 JVM. The idea is that the RM will run a separate Ant script that uses the binaries that M2 created (both main and test jars) and run it on an earlier JVM, for verification.

It is that Ant script that I'm currently working on, and am having trouble with. See more below...


On Thu, 2007-07-19 at 22:19 +0200, Dennis Lundberg wrote:
Henri Yandell wrote:

<snip>

Finding a (really old) platform to run on
=========================================

We've said earlier that we should ideally run the tests using a 1.2
jvm.
So I installed 1.2.2_17 on my Windows machine and started running
tests.
That didn't go to well. Here's what I get:


Buildfile: build-testing.xml
A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/tools/ant/Project.addReference
(Ljava/lang/String;Ljava/lang/Object;)V': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/tools/ant/Project.fireMessageLoggedEvent
(Lorg/apache/tools/ant/BuildEvent;Ljava/lang/String;I)V': Interpreting
method
.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/tools/ant/ComponentHelper.addCreatedTask
(Ljava/lang/String;Lorg/apache/tools/ant/Task;)V': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi


init:
     [echo] -------- Logging Wrapper Library 1.1.1-SNAPSHOT --------

discovery:

log4j12-test-warning:

test:
     [echo] Test output can be found in directory
G:\apache\jakarta\commons-logging/target/test-reports.
   [delete] Deleting directory
G:\apache\jakarta\commons-logging\target\test-reports
    [mkdir] Created dir:
G:\apache\jakarta\commons-logging\target\test-reports
     [echo] executing tests [**/*TestCase.java]
A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/tools/ant/ComponentHelper.getDataTypeDefinitions
()Ljava/util/Hashtable;': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
'org/apache/tools/ant/DirectoryScanner.scan ()V': Interpreting
method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/tools/ant/util/FileUtils.createTempFile
(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;':
Interpret
ing method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/tools/ant/taskdefs/ProcessDestroyer.add
(Ljava/lang/Process;)Z': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

    [junit] java.lang.IllegalMonitorStateException: current thread not
owner
    [junit]     at
org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java,
Compiled Code)
    [junit]     at java.lang.Thread.run(Thread.java:479)
    [junit] java.lang.IllegalMonitorStateException: current thread not
owner
    [junit]     at
org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java,
Compiled Code)
    [junit]     at java.lang.Thread.run(Thread.java:479)


And then it just hangs! This is done using ant 1.6.5. When I tried with
ant 1.5.4 it didn't work at all because we use "propertyset":

BUILD FAILED
file:G:/apache/jakarta/commons-logging/build-testing.xml:171:
Unexpected
element "propertyset"

I don't know the jvm requirements for the different ant versions.


I'll be checking in the ant script shortly... Any pointers to what
might
be going wrong here is greatly appreciated.

the good news is that my old machine is now working again :-)

here's my bad news:

JCL source will not compile for me on a 1.2.2 JVM (IIRC some 1.2 JVM had
compilers bugs)

Compiler bugs are of no concern to me at the moment. As explained above the goal is to build with Maven 2 on a 1.4 JVM. However, I'm seeing runtime bugs in the JVM, which is disturbing.

the tests will not compile for me on 1.3.1 JVM: MockSecurityManager uses
Exception.getStackTrace() which was introduced with 1.4

Aah, brilliant! I looked and looked at the two tests that use the damned thing and couldn't find anything wrong with them. Thanks for the extra pair of eyes!

runs well for me on 1.4

- robert


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to