|Declared package does not match expected package [message #873438]
||Fri, 18 May 2012 08:38
| Stefan Langenmaier
Registered: April 2012
I'm trying to use eclipse for a multi language project. The project structure already exists and is used in a build system. So it would only be possible to change the project structure with great pain. The current setup is similar to the following:
So there is one folder /com/example under which all products reside. The product1 and product2 folders not only have the mentioned sub-folders but also other folders for different source code and miscellaneous stuff. The developers only want to open their specific product where they work on and also the builds are specific to one product. So I created a project in the folder /com/example/product1 but when I specify the sub-folders in product1 as source folder the first line is marked red in eclipse with the error "Declared project does not match expected package". This seems logical as it does not see the root of the packages hierarchy. Is there some way to tell eclipse that it should look above the project? Can this check be ignored somehow?
I hope it is possible to understand my problem.
Thanks in advance
[Updated on: Fri, 18 May 2012 08:39]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03483 seconds