harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: javac and hdk
Date Thu, 26 Oct 2006 12:25:18 GMT
Hi,

You may also create a javac batch file by yourself. Something like

<---
set JAVAC_CLASS=org.eclipse.jdt.internal.compiler.batch.Main
<harmony dir>\java -cp ecj_3.2.jar %JAVAC_CLASS% %*
<---

on Windows.

Thanks,

2006/10/26, Matthias Wessendorf <matzew@apache.org>:
> thx,
>
> looks like maven2 has not an option like that
>
> http://maven.apache.org/plugins/maven-compiler-plugin/howto.html
>
> -M
>
> On 10/25/06, Gregory Shimansky <gshimansky@gmail.com> wrote:
> > On Thursday 26 October 2006 02:07 Matthias Wessendorf wrote:
> > > :)
> > >
> > > I wanna run the Trinidad build against javac from harmony!
> > >
> > > :)
> >
> > I think you can do it already and it should probably work. If Trinidad build
> > uses ant, just using JAVA_HOME to point to Harmony would make it the JRE
> > which ant uses.
> >
> > To use eclipse compiler (which is going to be used for Harmony javac) you can
> > use ecj3.2.jar from [1] (this jar file has to be placed in $ANT_HOME/lib/
> > directory). To make ant use it you can specify it in
> > compiler="org.eclipse.jdt.core.JDTCompilerAdapter" tag of javac ant target.
> >
> > Correct my if I missed something.
> >
> > [1]
> > http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar


-- 
Alexei Zakharov,
Intel Enterprise Solutions Software Division

Mime
View raw message