O.k., I must be doing something wrong. I went back to Magnolia 4.4.6 and tried
the following Groovy Script:
[code]
import info.magnolia.importexport.BootstrapUtil;
import javax.jcr.ImportUUIDBehavior;
def String[] resourceNames =
["/mgnl-bootstrap/shop/website.bootstrap_test.xml"];
BootstrapUtil.bootstrap(resourceNames,
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);
HierarchyManager hm = MgnlContext.getHierarchyManager("config");
hm.save();
[/code]
With both BootstrapUtil and DataTransport on debug level I get the following
output in the logs:
[code]
2013-01-17 06:48:20,893 DEBUG info.magnolia.importexport.BootstrapUtil
: Will bootstrap /mgnl-bootstrap/shop/website.bootstrap_test.xml
2013-01-17 06:48:20,953 WARN info.magnolia.importexport.BootstrapUtil
: Deleted already existing node for bootstrapping: /bootstrap_test
2013-01-17 06:48:20,953 DEBUG info.magnolia.importexport.DataTransporter
: Importing content into repository: [website] from: [website.bootstrap_test]
into path: [/]
[/code]
So everything looks fine, but the node never shows up in the website repo. Any
ideas?
Thanks!
-will
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=60256a2a-a838-4bca-b0cd-5d4ed11dffc1
----------------------------------------------------------------
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]>
----------------------------------------------------------------