Re: AW: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Matt Benson
It's been bandied about around Harmony of late... according to Harmony classlib buildfiles, Ant will need jdtCompilerAdapter.jar (Ant adapter) and org.eclipse.jdt.core_3.1.0.jar (JDT compiler). Then set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" and away you should go... or use t

Re: AW: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread TH Lim
Thanks for the info. Guess I was wronged for a good reason :) I manage to execute Eclipse compiler from command line and had it compiling my codes. It behaves just like Sun compiler. Do you or anyone know what is the option to set its behaviour to what I have described in my original email? Than

RE: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread TH Lim
ECTED]> wrote: > > > > -Original Message- > > From: TH Lim [mailto:[EMAIL PROTECTED] > > Sent: Sunday, 12 March 2006 4:53 PM > > To: user@ant.apache.org > > Subject: Compile Sources Specific to Its > Subproject But Not > > Sources They Depend On

RE: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Stephen McConnell
> -Original Message- > From: TH Lim [mailto:[EMAIL PROTECTED] > Sent: Sunday, 12 March 2006 4:53 PM > To: user@ant.apache.org > Subject: Compile Sources Specific to Its Subproject But Not > Sources They Depend On > > Hi, > > I have a directory struc

AW: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Jan.Materne
>I am under the impression that Eclipse uses SUN compiler >because it uses the libraries i.e. tools.jar from the JDK >directory. Am I wrong? Yes - you´re wrong. The Eclipse team has implemented their own compiler. E.g. the incremental compiling is not part of the Sun compiler (AFAIK). And they

Re: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread TH Lim
I totally agreed with you for not having circular dependencies between projects. Sometimes, you can't say much when you inherit codes from the contractors which you have no control over. Unless I bite the bullet and break all circular dependencies in the code there is nothing much I can do. Other

Re: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Dominique Devienne
Hmmm, I don't know of any way to have the SUN compiler generate the classes the way you describe if you really have circular dependencies between the 2 projects. Eclipse must be using its own compiler to do that. Again, assuming you really have circular dependencies, you can't compile projectA and

Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-11 Thread TH Lim
Hi, I have a directory structure that looks something like this -Projects/ -ProjectA/ +build/ +src/ +package1 -ProjectB/ +build/ +src/ +package2 I'm using Eclipse 3.x and have set each subproject source to be built with in each subproject build directory i.e. c