Hi,
i am created a new web application. In my module version handler i am
added the below code. when i am added the code my module is not reflected under
magnolia modules
Kindly help me.
public List<Delta> getDeltas(InstallContext installContext,
Version from) {
final List<Delta> listDelta = new ArrayList<Delta>();
final Version toVersion =
installContext.getCurrentModuleDefinition().getVersion();
final List<Task> defaultInstallTasks = new
ArrayList<Task>();
defaultInstallTasks.add(new ModuleFilesExtraction());
defaultInstallTasks.add(new
RegisterModuleServletsTask());
defaultInstallTasks.addAll(getExtraInstallTasks(installContext));
//final List<Condition> defaultUpdateConditions =
getDefaultUpdateConditions(toVersion);
listDelta.add(DeltaBuilder.update(toVersion,
"").addTasks(defaultInstallTasks));
return listDelta;
}
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=f7f8b1b1-34de-4cea-a08b-37217cbb1759
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------