You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Hartmann (JIRA)" <ji...@apache.org> on 2009/01/28 16:23:59 UTC

[jira] Commented: (SLING-572) "Notes" example application

    [ https://issues.apache.org/jira/browse/SLING-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668050#action_12668050 ] 

Andreas Hartmann commented on SLING-572:
----------------------------------------

I just tried to install the app using the patch and mvn command mentioned by Janandith, but get the following exception (Mac OS X):

org.apache.maven.lifecycle.LifecycleExecutionException: Mapping to root path not supported by fs provider at the moment. Please adapt your initial content configuration.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Mapping to root path not supported by fs provider at the moment. Please adapt your initial content configuration.
	at org.apache.sling.maven.bundlesupport.AbstractBundleInstallMojo.configure(AbstractBundleInstallMojo.java:297)
	at org.apache.sling.maven.bundlesupport.AbstractBundleInstallMojo.execute(AbstractBundleInstallMojo.java:154)
	at org.apache.sling.maven.bundlesupport.BundleInstallMojo.execute(BundleInstallMojo.java:58)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

Any hints?


> "Notes" example application
> ---------------------------
>
>                 Key: SLING-572
>                 URL: https://issues.apache.org/jira/browse/SLING-572
>             Project: Sling
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Michael Marth
>            Priority: Minor
>         Attachments: notes-sample.patch, notes.xml, notes.xml, notes.zip
>
>
> As discussed with Bertrand I have written a Sling example app and suggest to put it into svn so others can benefit. Attached is the code (to be put into /apps/notes) and initial content in sysview format.
> The code has room for improvement (see bottom of blog post http://dev.day.com/microsling/content/blogs/main/anothersampleapp.html)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.