Grégory Joseph a écrit :
On Nov 13, 2007, at 09:57 , CAPITAINE Harold wrote:
[...]
Unfortunately it doesn't work.
[...]
If someone has an idea to do what I want, or if only one knows if
it's possible.
Not if you're not more specific as to what and how stuff doesn't work.
Ok I try,
_Version impacted:_ trunk
_Description of the current process:_ In the function
ExchangeSimpleModuleVersionHandler.getBasicInstallTasks(), the first
line add a bootstrap task to bootstrap the file
config.server.activation.xml if the node "/server/activation" doesn't
exist. The file contains the class value that is set for the activation
manager. (For the moment no problem, the value is correctly set after
the install).
_Description of the goal to attain:_
So my problem is that I would like to change the class value to my own
activation manager class value. To do so, I add a modifiy property task
that create the parent node if doesn't exist in the extraInstallTask
function of my own module version handler. My module is depending on the
exchange-simple module to be sure that the task is executed after the
exchange-simple bootstrap task.
When the install is finished the class value is not set to my own value
whereas my task is executed, so I create the needed path if doesn't
exist then create the nodedata if doesn't exist and finally set the
value, during this task I can't save anything because an error raises
with the message "can't save a new item", it shouldn't be a new item as
it's already created. So if I don't save anything during this task,
every thing goes well but the value is not set. I don't have any solution.
What do you think about my problem?
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------