harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [tools] javac adapter
Date Wed, 03 Jan 2007 14:05:57 GMT
Muahaha.  Nice.

Why in tools though?  seems like something useful for JDK tools, eh?

And I can't resist :

Dear Tm,

Thanks for using "hy", since you know how much it bugs me.

Signed, Gr

:)

geir


On Jan 3, 2007, at 7:44 AM, Tim Ellison wrote:

> FYI I've just committed a trivial tools adapter to map from the  
> commonly
> used Sun compiler implementation type to the equivalent  
> functionality in
> Harmony libraries.
>
> This allows tools such as Ant's <javac> task to run on a Harmony JDK
> without explicitly defining an Ant compiler adapter.
>
> Regards,
> Tim
>
> tellison@apache.org wrote:
>> Author: tellison
>> Date: Wed Jan  3 04:23:31 2007
>> New Revision: 492114
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=492114
>> Log:
>> Mini compatibility adapter for tools.jar compiler entry point.
>>
>> Added:
>>     harmony/enhanced/classlib/trunk/modules/tools/src/main/java/com/
>>     harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/
>>     harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/tools/
>>     harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/tools/javac/
>>     harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/tools/javac/Main.java   (with props)
>>
>> Added: harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/tools/javac/Main.java
>> URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/ 
>> modules/tools/src/main/java/com/sun/tools/javac/Main.java? 
>> view=auto&rev=492114
>> ===================================================================== 
>> =========
>> --- harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/tools/javac/Main.java (added)
>> +++ harmony/enhanced/classlib/trunk/modules/tools/src/main/java/ 
>> com/sun/tools/javac/Main.java Wed Jan  3 04:23:31 2007
>> @@ -0,0 +1,30 @@
>> +/*
>> + * Licensed to the Apache Software Foundation (ASF) under one or  
>> more
>> + * contributor license agreements.  See the NOTICE file  
>> distributed with
>> + * this work for additional information regarding copyright  
>> ownership.
>> + * The ASF licenses this file to You under the Apache License,  
>> Version 2.0
>> + * (the "License"); you may not use this file except in  
>> compliance with
>> + * the License.  You may obtain a copy of the License at
>> + *
>> + *     http://www.apache.org/licenses/LICENSE-2.0
>> + *
>> + * Unless required by applicable law or agreed to in writing,  
>> software
>> + * distributed under the License is distributed on an "AS IS" BASIS,
>> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express  
>> or implied.
>> + * See the License for the specific language governing  
>> permissions and
>> + * limitations under the License.
>> + */
>> +
>> +package com.sun.tools.javac;
>> +
>> +public class Main {
>> +
>> +    public Main() {
>> +        super();
>> +    }
>> +
>> +    public int compile(String[] args) {
>> +        org.apache.harmony.tools.javac.Main hyMain = new  
>> org.apache.harmony.tools.javac.Main();
>> +        return hyMain.compile(args) ? 0 : 1;
>> +    }
>> +}
>>
>> Propchange: harmony/enhanced/classlib/trunk/modules/tools/src/main/ 
>> java/com/sun/tools/javac/Main.java
>> --------------------------------------------------------------------- 
>> ---------
>>     svn:eol-style = native
>>
>>
>>


Mime
View raw message