Hi Marco,

[quote]I have assets in my dam that I want to bootstrap into a public instance. 
With content I can get the .xml file, but how do I do that with the 
assets?[/quote]

You can do the same with assets. If the total size of assets is not huge, 
export the folder containing the assets into XML in the Assets app. To 
bootstrap the assets, put the XML file into the 
src/main/resources/mgnl-bootstrap/<module name> directory in your project 
module.

If you want to bootstrap the assets to _public instances only_, not author 
instances, put the XML file into a 
src/main/resources/mgnl-bootstrap/public/<module name> directory instead. Then 
create a magnolia.properties file that is specific to public instances such as 
WEB-INF/config/magnoliaPublic/magnolia.properties. In the magnolia.properties 
file, specify the bootstrap directory of your public assets:
[code]# the directories in which the bootstrap files are searched
magnolia.bootstrap.dir=WEB-INF/bootstrap/public WEB-INF/bootstrap/common [/code]

See also:
http://academy.magnolia-cms.com/display/MA/U.3+Working+with+modules#U3Workingwithmodules-Bootstrapping
http://documentation.magnolia-cms.com/display/DOCS/Configuration+management#Configurationmanagement-MultipleconfigurationsonasingleWebapplicationarchive

--Antti

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=e8268906-f239-47c6-a1ff-a21ff12625fb


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to