Bug #28
Generator should generate SUP objects automatically
| Status: | Closed | Start: | 21/01/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Sébastien Bahloul | % Done: | 100% |
|
| Category: | Core | |||
| Target version: | 1.1.0 | |||
| Problem in version: |
Description
Consider a directory configured with several levels of objectClasses that inherit from inetOrgPerson, like this:
- worldCompanyPerson SUP inetOrgPerson
- worldCompanyInternalEmployee SUP worldCompanyPerson
- worldCompanyThirdParty SUP worldCompanyPerson
If I launch the generator with objectclass "worldCompanyInternalEmployee", it will generate a Java class like this:
--> class worldCompanyInternalEmployee extends worldCompanyPerson
However, the Java class worldCompanyPerson is not created. The code therefore doesn't compile.
This should be handled automatically, generating "SUP"s until we have them all, or reach "top".
Associated revisions
Added support for recursive objectclass generation (fixes #28)
History
Updated by Sébastien Bahloul over 1 year ago
- Status changed from New to Assigned
- Assigned to set to Sébastien Bahloul
I take it.
Updated by Sébastien Bahloul over 1 year ago
- Category changed from Sample to Core
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Fixed in rev 133: generation now support recursive objectclass generation.
Jon can you test it and give your feedback ?
Thanks,