Ticket #278 (closed enhancement: fixed)
Working with plain Java projects that use OT-keywords as identifiers
|Reported by:||stephan||Owned by:||stephan|
It should be possible to use the OTDT also with plain Java projects that use OT keywords as identifiers. At least two levels of compatibility can be identified:
- browsing through plain Java jars where a package fragment "team" breaks the Java Model (packages appear as non-java folders, rather than as packages)
- compiling plain Java projects where all kinds of usages occur.
Currently, the OT/J compiler never accepts "team" and "within" as identifiers.
For building this could be done by the builder or by checking for the project nature "OTJavaNature". However, other clients like content assist, reconciler, etc. pp. need to be checked, too.
We'd need to check all locations that instantiate Scanner and see if they have sufficient information to switch between Java and OT/J modes.