RE: [app] ant with ecj

2006-08-28 Thread Nathan Beyer
> -Original Message- > From: Alexey Petrenko [mailto:[EMAIL PROTECTED] > Sent: Monday, August 28, 2006 1:25 AM > To: harmony-dev@incubator.apache.org > Subject: Re: [app] ant with ecj > > 2006/8/28, Vladimir Gorr <[EMAIL PROTECTED]>: > > Indeed this is

Re: [app] ant with ecj

2006-08-27 Thread Alexey Petrenko
jdt.core.JDTCompilerAdapter' and the entire > > federated build runs. > > > > Is this similar to what you're doing? Note, I'm running Ant with > JAVA_HOME > > pointing to Sun's 5.0_7 JDK. > > > > -Nathan > > > > [1] >

Re: [app] ant with ecj

2006-08-27 Thread Alexey Petrenko
Is this similar to what you're doing? Note, I'm running Ant with JAVA_HOME > pointing to Sun's 5.0_7 JDK. > > -Nathan > > [1] > > https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/trunk/ > > > -Original Message- > > Fro

Re: [app] ant with ecj

2006-08-27 Thread Vladimir Gorr
gt; > > of the executing Ant. You'll need the Eclipse compiler JAR on Ant's > > > execution classpath to execute the javac task. > > > > > > This can be confusing when using the Eclipse compiler, since it > doesn't > > > have > > > any "def

Re: [app] ant with ecj

2006-08-27 Thread Jordan Justen
A_HOME pointing to Sun's 5.0_7 JDK. -Nathan [1] https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/trunk/ > -Original Message- > From: Jordan Justen [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 27, 2006 10:31 PM > To: harmony-dev@incubator.apache.org &g

Re: [app] ant with ecj

2006-08-27 Thread Richard Liang
lasses) is automatically on the classpath. The Eclipse compiler is not part of a JDK, so there is nothing on the classpath by default. -Nathan > -Original Message- > From: Jordan Justen [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 27, 2006 8:49 PM > To: harmony-dev@incubato

RE: [app] ant with ecj

2006-08-27 Thread Nathan Beyer
the > > classpath of the underlying JRE (all of the java.*, etc classes) is > > automatically on the classpath. The Eclipse compiler is not part of a > JDK, > > so there is nothing on the classpath by default. > > > > -Nathan > > > > > -Original Mes

Re: [app] ant with ecj

2006-08-27 Thread Jordan Justen
lasses) is automatically on the classpath. The Eclipse compiler is not part of a JDK, so there is nothing on the classpath by default. -Nathan > -Original Message- > From: Jordan Justen [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 27, 2006 8:49 PM > To: harmony-dev@incubato

RE: [app] ant with ecj

2006-08-27 Thread Nathan Beyer
] > Sent: Sunday, August 27, 2006 8:49 PM > To: harmony-dev@incubator.apache.org > Subject: Re: [app] ant with ecj > > Richard, > > Yes, I also added ecj_3.2.jar to the CLASSPATH. > > Ant works fine, but the first time a javac task is encountered, the > compiler > c

Re: [app] ant with ecj

2006-08-27 Thread Jordan Justen
Richard, Yes, I also added ecj_3.2.jar to the CLASSPATH. Ant works fine, but the first time a javac task is encountered, the compiler complained that java.lang.Object was not found. I then added jdk/jre/lib/boot/kernel.jar to CLASSPATH. Now, I see an error that java.lang.String is not found, s

Re: [app] ant with ecj

2006-08-27 Thread Richard Liang
Jordan Justen wrote: Hi all. I'm trying to use ant with the ecj compiler. I override the compiler in build.xml like this: This will execute the compiler, but I find I have to add each jar from jdk/jre/lib/boot to CLASSPATH or else ecj won't find the standard classes during compilation. Th

[app] ant with ecj

2006-08-27 Thread Jordan Justen
Hi all. I'm trying to use ant with the ecj compiler. I override the compiler in build.xml like this: This will execute the compiler, but I find I have to add each jar from jdk/jre/lib/boot to CLASSPATH or else ecj won't find the standard classes during compilation. This is probably user erro