Hi.

We're trying to build our magnolia WAR as described in this blog series:
[url=http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects]http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects[/url]


Building works very well, including our own blossom based magnolia module.

But when trying to do some bootstrapping, we get an exception about missing 
workspace:

[code]info.magnolia.jcr.RuntimeRepositoryException: 
javax.jcr.NoSuchWorkspaceException: resources[/code]

The exception occurs when trying to do this installs:
[code]
        tasks.add(new BootstrapSingleResource(
            "Template prototype",
            "Part of site configuration",
            
"/mgnl-bootstrap/config.modules.standard-templating-kit.config.site.templates.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Theme selection",
            "Defines which theme shall be selected",
            
"/mgnl-bootstrap/config.modules.standard-templating-kit.config.site.theme.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Theme",
            "The myproject theme",
            
"/mgnl-bootstrap/config.modules.standard-templating-kit.config.themes.myproject.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Dialog definitions",
            "",
            
"/mgnl-bootstrap/config.modules.standard-templating-kit.dialogs.myproject.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Template definitions",
            "",
            
"/mgnl-bootstrap/config.modules.standard-templating-kit.templates.myproject.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Resource files",
            "CSS/JS/images",
            "/mgnl-bootstrap/resources.myproject.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Template files",
            "",
            "/mgnl-bootstrap/templates.myproject.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING));
        tasks.add(new BootstrapSingleResource(
            "Websites",
            "the landing pages",
            "/mgnl-bootstrap/website.myproject.xml",
            ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING));

[/code]

When removing the resource task, the following templates task will cause the 
same exception for the templates workspace. 

I found some similar issues on the linux plattform, where the ulimit needed to 
be increased. But what to do on windows???

We are still using derby database, which seems to be a good choice for 
development. For production we will switch to mysql. But the build should also 
be working during development.

Thanks for any help.

Bye,
 Horst

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2e350d51-be07-4f05-b554-0accb1c27c5e


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