Classic VM (build JDK-1.2.1_004, native threads)

C:\ant\svn-repository\ant\core>build.bat

... Bootstrapping Ant Distribution
JAVA_HOME=c:\jdk\121
JAVA=c:\jdk\121\bin\java
JAVAC=c:\jdk\121\bin\javac
CLASSPATH=lib\xercesImpl.jar;lib\xml-apis.jar;lib\optional\ant-antunit-1.0.jar;lib\optional\junit-3.8.2.jar;c:\jdk\121\lib\tools.jar;build\c
lasses;src\main;

... Compiling Ant Classes
src\main\org\apache\tools\ant\types\PatternSet.java:149: Method 
'addConfiguredPatternset' is inherited in nested class org.apache.tools.ant.
types.PatternSet. InvertedPatternSet, and hides a method of the same name in 
class org.apache.tools.ant.types.PatternSet. An explicit 'this'
 qualifier must be used to select the desired instance.
            addConfiguredPatternset(p);
                                   ^
Note: 5 files use or override a deprecated API.  Recompile with "-deprecation" 
for details.
1 error, 1 warning

... Cleaning Up Build Directories

... Done Bootstrapping Ant Distribution
Bootstrap FAILED
 


But that works on 
  Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


Jan


>-----Ursprüngliche Nachricht-----
>Von: Matt Benson [mailto:[EMAIL PROTECTED] 
>Gesendet: Donnerstag, 12. April 2007 19:23
>An: Ant Developers List
>Betreff: Re: svn commit: r528047 - 
>/ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java
>
>Thanks, Jan!  I haven't tested on 1.2--I think this
>will work, and I will test if someone else doesn't
>beat me to it.
>
>Thanks,
>Matt
>
>--- [EMAIL PROTECTED] wrote:
>
>> Author: mbenson
>> Date: Thu Apr 12 10:20:19 2007
>> New Revision: 528047
>> 
>> URL:
>> http://svn.apache.org/viewvc?view=rev&rev=528047
>> Log:
>> static inner should fix 1.2 probs
>> 
>> Modified:
>>    
>>
>ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java
>> 
>> Modified:
>>
>ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java
>> URL:
>>
>http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache
>/tools/ant/types/PatternSet.java?view=diff&rev=528047&r1=528046
>&r2=528047
>>
>===============================================================
>===============
>> ---
>>
>ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java
>> (original)
>> +++
>>
>ant/core/trunk/src/main/org/apache/tools/ant/types/PatternSet.java
>> Thu Apr 12 10:20:19 2007
>> @@ -143,7 +143,7 @@
>>          }
>>      }
>>  
>> -    private class InvertedPatternSet extends
>> PatternSet {
>> +    private static class InvertedPatternSet extends
>> PatternSet {
>>          private InvertedPatternSet(PatternSet p) {
>>              setProject(p.getProject());
>>              addConfiguredPatternset(p);
>> 
>> 
>> 
>>
>---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> 
>> 
>
>
>
>       
>_______________________________________________________________
>_____________________
>Bored stiff? Loosen up... 
>Download and play hundreds of games for free on Yahoo! Games.
>http://games.yahoo.com/games/front
>
>---------------------------------------------------------------------
>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]

Reply via email to