Hi All,
I have a basic custom module that setups up my project. Very similar to
"demo-project" (minus all the ETK) stuff.
So in my Website I have a "Site A" with a bunch of sub-pages.
Let's say I muck around with the pages...delete a couple, change the
template...etc.
How do I start fresh again from my initial module configuration?
I have the following in my versionhandler.....does it look right?
[code]register(DeltaBuilder.update("1.1.2", "refresh website configs")
.addTask(new NodeExistsDelegateTask("Backup website",
"creates a backup of website",
"website", "/Site-A", new
BackupTask("website","/Site-A", true)))
.addTask(new BootstrapResourcesTask("Updated
Configuration", "updates the default configuration") {
protected String[]
getResourcesToBootstrap(final InstallContext installContext){
return new String[]{
"/mgnl-bootstrap/siteAModule/website.Site-A.xml"
};
}
})
);[/code]
Note- I'm currently on version 1.1.3.
Thanks,
Eric
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=f332201a-cd14-47e7-a361-9fb3ec497c9b
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------