You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Nathan Beyer <nb...@kc.rr.com> on 2006/07/03 22:33:13 UTC
[build] New ECJ depends requires update to build machine (RE: svn commit: r418841 - in /incubator/harmony/enhanced/classlib/trunk: depends/jars/ make/depends.properties modules/tools/src/main/java/org/apache/harmony/tools/javac/Compiler.java)
To whoever can handle it,
I've updated the dependencies and Compiler class to use a new version of the
Eclipse compiler JAR. The final 3.2 release was shipped the other day.
Sorry for the inconvenience.
-Nathan
> -----Original Message-----
> From: ndbeyer@apache.org [mailto:ndbeyer@apache.org]
> Sent: Monday, July 03, 2006 3:30 PM
> To: harmony-commits@incubator.apache.org
> Subject: svn commit: r418841 - in
> /incubator/harmony/enhanced/classlib/trunk: depends/jars/
> make/depends.properties
> modules/tools/src/main/java/org/apache/harmony/tools/javac/Compiler.java
>
> Author: ndbeyer
> Date: Mon Jul 3 13:29:39 2006
> New Revision: 418841
>
> URL: http://svn.apache.org/viewvc?rev=418841&view=rev
> Log:
> Update dependencies and javac to use the final 3.2 release of ecj.jar.
>
> Modified:
> incubator/harmony/enhanced/classlib/trunk/depends/jars/ (props
> changed)
> incubator/harmony/enhanced/classlib/trunk/make/depends.properties
>
> incubator/harmony/enhanced/classlib/trunk/modules/tools/src/main/java/org/
> apache/harmony/tools/javac/Compiler.java
>
> Propchange: incubator/harmony/enhanced/classlib/trunk/depends/jars/
> --------------------------------------------------------------------------
> ----
> --- svn:ignore (original)
> +++ svn:ignore Mon Jul 3 13:29:39 2006
> @@ -10,3 +10,4 @@
> xalan-j_2.6.0
> xerces_2.6.2
> ecj_3.2MAINT
> +ecj_3.2
>
> Modified:
> incubator/harmony/enhanced/classlib/trunk/make/depends.properties
> URL:
> http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/mak
> e/depends.properties?rev=418841&r1=418840&r2=418841&view=diff
> ==========================================================================
> ====
> --- incubator/harmony/enhanced/classlib/trunk/make/depends.properties
> (original)
> +++ incubator/harmony/enhanced/classlib/trunk/make/depends.properties Mon
> Jul 3 13:29:39 2006
> @@ -60,10 +60,10 @@
> icu4j.url=http://www.ibiblio.org/maven2/com/ibm/icu/icu4j/3.4.4/icu4j-
> 3.4.4.jar
> icu4j.md5=92422a9465ccc608bc7a8ae9cf594509
>
> -ecj.dir=${depends.jars}/ecj_3.2MAINT
> -ecj.jar=${ecj.dir}/ecj_3.2MAINT.jar
> -ecj.url=http://download.eclipse.org/eclipse/downloads/drops/M20060609-
> 1217/ecj.jar
> -ecj.md5=d72629440a9f6cd281f7e58fcaee1ecb
> +ecj.dir=${depends.jars}/ecj_3.2
> +ecj.jar=${ecj.dir}/ecj_3.2.jar
> +ecj.url=http://download.eclipse.org/eclipse/downloads/drops/R-3.2-
> 200606291905/ecj.jar
> +ecj.md5=633e14a4dc14ca578b5548c3c088172f
>
> mx4j.dir=${depends.jars}/mx4j_3.0.1
> mx4j.jar=${mx4j.dir}/mx4j.jar
>
> Modified:
> incubator/harmony/enhanced/classlib/trunk/modules/tools/src/main/java/org/
> apache/harmony/tools/javac/Compiler.java
> URL:
> http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/mod
> ules/tools/src/main/java/org/apache/harmony/tools/javac/Compiler.java?rev=
> 418841&r1=418840&r2=418841&view=diff
> ==========================================================================
> ====
> ---
> incubator/harmony/enhanced/classlib/trunk/modules/tools/src/main/java/org/
> apache/harmony/tools/javac/Compiler.java (original)
> +++
> incubator/harmony/enhanced/classlib/trunk/modules/tools/src/main/java/org/
> apache/harmony/tools/javac/Compiler.java Mon Jul 3 13:29:39 2006
> @@ -36,14 +36,14 @@
> "ISO8859_1");
>
> /* FIXME: Hard-coded for now, the name of the ECJ JAR file */
> - static final String ECJ_JAR_FILE = "ecj_3.2MAINT.jar";
> + static final String ECJ_JAR_FILE = "ecj_3.2.jar";
>
> /* The name of the ECJ compiler class */
> static final String MAIN_CLASS_NAME =
> "org.eclipse.jdt.internal.compiler.batch.Main";
>
> /*
> * Invokes the compiler with the given command-line arguments. The
> supported
> - * arguments can be determined form the usage mesage.
> + * arguments can be determined form the usage message.
> */
> public static void main(String[] args) {
> Compiler myself = new Compiler();
> @@ -62,7 +62,7 @@
> }
>
> // Reference to ECJ 'Main' compiler class.
> - Class ecjCompilerClass;
> + Class<?> ecjCompilerClass;
>
> // An instance of the ECJ compiler
> Object mainInst;
> @@ -122,7 +122,7 @@
> PrintWriter errWriter = new PrintWriter(esw);
>
> // Create a new instance of the compiler
> - Constructor ctor = ecjCompilerClass.getConstructor(new Class[] {
> + Constructor<?> ctor = ecjCompilerClass.getConstructor(new Class[]
> {
> PrintWriter.class, PrintWriter.class, Boolean.TYPE });
>
> mainInst = ctor.newInstance(new Object[] { outWriter, errWriter,
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [build] New ECJ depends requires update to build machine
Posted by Tim Ellison <t....@gmail.com>.
Nathan Beyer wrote:
> To whoever can handle it,
>
> I've updated the dependencies and Compiler class to use a new version of the
> Eclipse compiler JAR. The final 3.2 release was shipped the other day.
>
> Sorry for the inconvenience.
Thanks Nathan.
I've just updated the Linux build machine, but had problems updating
Windows. You should expect Windows to fail for the next ~= 11 hrs until
it is updated.
Regards,
Tim
--
Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org