Mutliple Source Folders [message #63612] |
Fri, 20 June 2003 17:11  |
Eclipse User |
|
|
|
Originally posted by: thomas.jackson.microfocus.com
Hi all.
I am hoping someone can give me some information. I have muliple source
folders like below:
maindir
|
|----- generated
| |
| |-----src
|
|----- src
|
|----- testsrc
I keep my JUnit tests in TESTSRC, a ANTLR grammar resised in the SRC,
and when it compiles the grammar, it generates the files in the same
tree structure under GENERATED. Now to the problem, the content assist
doesn't seem to be resolving correct. When I create a JUnit test to
uses a parser which resides in the GENERATED folder, I get an error upon
creating the IMPORT statement saying that class doesn't exist. It seems
as though it only uses SRC to try and do content assist.
Has anyone ran across this before?
Thanks
Thomas
|
|
|
|
|
Re: Mutliple Source Folders [message #64724 is a reply to message #63612] |
Sun, 22 June 2003 20:09   |
Eclipse User |
|
|
|
Thomas Jackson wrote:
> Hi all.
> I am hoping someone can give me some information. I have muliple source
> folders like below:
> maindir
> |
> |----- generated
> | |
> | |-----src
> |
> |----- src
> |
> |----- testsrc
> I keep my JUnit tests in TESTSRC, a ANTLR grammar resised in the SRC,
> and when it compiles the grammar, it generates the files in the same
> tree structure under GENERATED. Now to the problem, the content assist
> doesn't seem to be resolving correct. When I create a JUnit test to
> uses a parser which resides in the GENERATED folder, I get an error upon
> creating the IMPORT statement saying that class doesn't exist. It seems
> as though it only uses SRC to try and do content assist.
> Has anyone ran across this before?
I haven't run across your specific problem, but I have had anomalies when
I've used hierarchically nested source folders before. Some things in
Eclipse seem to handle it just fine, some seem to not work quite right.
I've quit doing that and just keep my source folders at the root level of
my project folder.
I've also had many issues with the indexing for content assist. In
particular, I find "ghost" references left behing to deleted, moved, or
renamed classes. I've taken to going into the
"/.metadata/.plugins/org.eclipse.jdt.core" in my workspace, occasionally,
and just deleting all of the index files to clean things up.
I don't know if any of this helps or has anything to do with your problem,
though.
|
|
|
|
Re: Mutliple Source Folders [message #66457 is a reply to message #65123] |
Tue, 24 June 2003 19:05  |
Eclipse User |
|
|
|
Originally posted by: thomas.jackson.qrowireless.net
It turns out not to be a bug, but a user error. I had an output folder
incorrect on the antlr grammar file.
Thanks for the help!
Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.02832 seconds