You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Felix Röthenbacher <fe...@wyona.com> on 2005/04/01 09:19:52 UTC

Re: building default publication with JCRSitetree

Hi Jann

the currently checked-in jcrsitetree implementation is somewhat
outdated. The last changes can be found here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=34062

(lazy Michael! :-)

Please try out the updated code and report any problems
(if any ;-)  To prerecord: cut & paste is not working yet.

Regards,

Felix


Jann Forrer wrote:
> Hi
> 
> I just tried to include the JCRSitetree from the sandbox into the default
> publication described in the README.txt but I got the following error
> after  "ant import-sitetree":
> 
>      [xslt] Loading stylesheet
> /home/forrer/cms/src/sandbox/jcrsitetree/src/java/org/apache/lenya/cms/publication/ImportSiteTree.xsl
>      [java] Import Authoring and Live Sitetree from
> ../../lenya-1.2.x/build/lenya/webapp/lenya/pubs/default into
> ../../lenya-1.2.x/build/lenya/webapp/lenya/pubs/default/repos/repo-sitetree
>      [java]  INFO [main] (NodeTypeRegistry.java:193) - no custom node type
> definitions found
>      [java]  INFO [main] (NativePVM.java:173) - loaded 0 virtual ids in
> 7ms.
>      [java] java.lang.IllegalArgumentException: prefix/uri can not be null
>      [java]     at
> org.apache.jackrabbit.core.SessionImpl$TransientNamespaceMappings.setNamespacePrefix(SessionImpl.java:1107)
>      [java]     at
> org.apache.jackrabbit.core.SessionImpl.setNamespacePrefix(SessionImpl.java:1035)
>      [java]     at
> org.apache.lenya.cms.publication.ImportSiteTree.importSitetree(ImportSiteTree.java:74)
>      [java]     at
> org.apache.lenya.cms.publication.ImportSiteTree.main(ImportSiteTree.java:42)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:324)
>      [java]     at
> org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193)
>      [java]     at
> org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:130)
>      [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
>      [java]     at
> org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
>      [java]     at
> org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
>      [java]     at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>      [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
>      [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
>      [java]     at
> org.apache.tools.ant.Target.performTasks(Target.java:369)
>      [java]     at
> org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>      [java]     at
> org.apache.tools.ant.Project.executeTargets(Project.java:1062)
>      [java]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
>      [java]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
>      [java]     at
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>      [java]     at
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> 
> Any ideas?
> 
> Jann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 
> 


-- 
Felix Röthenbacher                  felix.roethenbacher@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org