Hi Gringinho,
Gringinho schrieb:
[...]
Since I was only interested in overriding a few files in the
administration ac.usecases package,
I included the <export package="org.apache.lenya.cms.ac.usecases"/> to
the administration
config/module.xml definition.
I added the export declaration for this package.
Is there any reason not to export the package from administration,
No, it just hasn't been requested yet.
or is
there a better way
to accomplish the same thing - overriding the default AddUser.java ,
changing the usecase logic etc ... ?
No, I think there is no better way.
I would imagine it would be easier to override some of the core modules
behaviours if many of the
obvious packages were exported, so compiling custom modules would be
more effortless for newbies.
Also, this could open for easier publication of custom modules to
override or add functionality
to Lenya - which would be great ... getting a "forge of user contributed
modules" is sorely needed,
I think. It would be easier for newcomers to get the hang of Lenya and
start customizing by having
more examples on how to do so ...
;-)
Good points - if you spot more missing exports, feel free to create a
bug report and attach the corresponding patches. TIA!
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]