harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Fedotov <alexei.fedo...@gmail.com>
Subject Re: [Discuss]Using hdk to run ant
Date Tue, 25 May 2010 14:02:22 GMT
Hello Charles

AFAIR, I ran ant using Harmony successfully few years ago. Could it be
that the older correspondence contains some hints how to do this?

BTW, you can modify bootclasspath and any jars manually to test if your idea.

With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/ http://klsh.ru/

On Tue, May 25, 2010 at 1:42 PM, Charles Lee <littlee1032@gmail.com> wrote:
> Hi guys,
> I am trying to testing ant using hdk. And find these problems which when
> running ant javac task:
> 1. ant using Class.forName("com.sun.tools.javac.Main") to find the javac.
> Harmony has this class, which is in the tools.jar under the jdk/lib. But
> unfortunately tools.jar is not in our class path. So should we put this jar
> under our bootclasspath?
> 2. In org.apache.harmony.tools.javac.Main, we
> need org.eclipse.jdt.core.compiler.batch.BatchCompiler. It is supposed to be
> in the ecj.jar. But unfortunately it is not. The class is included in the
> jdt core plugin with every eclipse relase. Should we add this under out
> classpath?
> --
> Yours sincerely,
> Charles Lee

View raw message