Ok, test results:
"build.bat -nouserlib test"
- build: ok
- compile-tests: ok (11 files use or override a deprecated API)
junit-batch:
[mkdir] Created dir: C:\ant\svn-repository\ant\core\build\testcases\xml
[junit] Testsuite: org.apache.tools.ant.AntClassLoaderDelegationTest
BUILD FAILED
C:\ant\svn-repository\ant\core\build.xml:1754: The following error occurred
while executing this line:
C:\ant\svn-repository\ant\core\build.xml:1636:
java.lang.IllegalMonitorStateException: current thread not owner
Same error when executing a 2nd time.
Jan
>-----Ursprüngliche Nachricht-----
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 27. November 2006 09:01
>An: [email protected]
>Betreff: AW: JDK 1.2 compatibility
>
>I'm doing a test on
>- WinXP SP2
>- Classic VM (build JDK-1.2.1_004, native threads)
>- Revision: 479528 (HEAD at this time ;-)
>- command: build.bat -nouserlib
> -- bootstrap
> * bootstrap: ok (5 files use or override a
>deprecated API)
> * build: ok (3 files use or override a
>deprecated API)
> BUILD SUCCESSFUL
> Done Bootstrapping Ant Distribution
> -- build
> * build: ok (8 files use or override a
>deprecated API)
> BUILD SUCCESSFUL
>- dist\bin>.\ant -version
> Apache Ant version 1.7.0RC1 compiled on November 27 2006
>
>
>We can not assure 1.2-buildability for optional tasks, because
>we can assure that the
>external libraries are 1.2-compliant (class-version error).
>
>I'm retrying the testsuite (which needs time on my machine :-( )
>
>
>Jan
>
>
>>-----Ursprüngliche Nachricht-----
>>Von: Martijn Kruithof [mailto:[EMAIL PROTECTED]
>>Gesendet: Freitag, 24. November 2006 21:28
>>An: Ant Developers List
>>Betreff: Re: JDK 1.2 compatibility
>>
>>Peter Reilly schreef:
>>> On 11/24/06, Martijn Kruithof <[EMAIL PROTECTED]> wrote:
>>>> As you might have noticed. about a week ago I wrote about some
>>>> troubles on jdk 1.3 which by now are fixed. However I
>>didn't get any
>>>> reaction on the fact that the official builds do not work
>>at all for JDK 1.2.
>>> What were the issues (I cannot easily find the email in question)?
>>It completely fails:
>>
>>It seems our release candidate is not nearly compatible with JDK 1.2.2
>>
>>JDK 1.2.2_017 on windows XP home gives:
>>
>>D:\data\eclipseworkspace\ant-trunk>apache-ant-1.7.0RC1\bin\ant test
>>Buildfile: build.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/Objec
>>t;)V': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>A nonfatal internal JIT (3.10.107(x)) error 'chgTarg:
>>Conditional' has occurred in :
>> 'org/apache/tools/ant/Project.fireMessageLoggedEvent
>>(Lorg/apache/tools/ant/Bu
>>ildEvent;Ljava/lang/String;I)V': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>A nonfatal internal JIT (3.10.107(x)) error 'chgTarg:
>>Conditional' has occurred in :
>> 'org/apache/tools/ant/util/FileUtils.fromURI
>>(Ljava/lang/String;)Ljava/lang/St
>>ring;': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>A nonfatal internal JIT (3.10.107(x)) error 'chgTarg:
>>Conditional' has occurred in :
>> 'org/apache/tools/ant/ComponentHelper.addCreatedTask
>>(Ljava/lang/String;Lorg/a
>>pache/tools/ant/Task;)V': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>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': I
>>nterpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>[property] java.lang.IllegalMonitorStateException: current
>>thread not owner
>>[property] at
>>org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.j
>>ava, Compiled Code)
>>[property] at java.lang.Thread.run(Thread.java:479)
>>[property] java.lang.IllegalMonitorStateException: current
>>thread not owner
>>[property] at
>>org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.j
>>ava, Compiled Code)
>>[property] at java.lang.Thread.run(Thread.java:479)
>>
>>I couldn't get jdk 1.2 to run on linux.
>>
>>Martijn
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED] For
>>additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]