[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: M4 flexible projects compile problem
|
Make sure that each source tree contains the proper package directory
structure.
If it still doesn't work, then please enter a defect against JDT/Core with
steps to reproduce.
"Jonathan Gossage" <jonathan@xxxxxxxxxxxxxx> wrote in message
news:atvkpu$5h7$1@xxxxxxxxxxxxxxxx
> I am experimenting with the flexible project structure in M4. I have
created
> a single project with two source trees, both created by links to existing
> file system directories. The first directory contains the classes that
form
> part of the deliverable product and the second directory contains the test
> classes.
>
> The classes in both trees both belong to the same package.
>
> I used this same structure in M3 except that the source directories were
> physical sub-directories of the project directory without any problems.
>
> For example if a file in the test tree contains the following statement
> private static CCProgram theProgram;
>
> where CCProgram is a class in the release source tree (but in the same
> package).
>
> In M4 when I try to build the project, every class in the test tree that
> uses a class from the release tree has compiler errors claiming "CCProgram
> cannot be resolved (or is not a valid type) for the field
> CCTestCase.theProgram".
>
> Am I doing something wrong or is this a genuine problem. As I said, I had
no
> problems with M2 and earlier releases.
>
> Regards
>
> Jonathan Gossage
>
>