Ok, I know what the issue is... by default, when creating a folder
with webDAV, they are created as nt:folder.
I needed to use the sling:resourceSuperType mixin so that I can have
inheritance on my templates. This works on the system you are
developing on fine. However, if you try to package it up, you run into
the aforementioned issue when you upload the package on another system.
The solution is very specific, but there is no easy way (I can see)
that anyone would have found this out. You need to make sure your
folders are of the type sling:Folder, NOT nt:folder. Which means you
can not create them using webDAV; you need to use the Content
Explorer. They will package and deploy on other systems just fine.
-Josh
On Sep 29, 2008, at 11:25 PM, Tobias Bocanegra wrote:
hi josh,
make sure you installed all recent sling bundles on your target crx.
it seems that some node have a wrong nodetype.
regards, toby
On 9/29/08, Joshua Oransky <[EMAIL PROTECTED]> wrote:
I create and download a package fine on my dev machine. I upload
the zip to
the main test in CRX and I get:
javax.jcr.RepositoryException: Unable to import node.: no matching
property
definition found for
{http://sling.apache.org/jcr/sling/1.0}resourceSuperType:
Unable to import node.: no matching property definition found for
{http://sling.apache.org/jcr/sling/1.0}resourceSuperType
at
com
.day
.jcr
.vault
.fs.imprt.GenericArtifactHandler.accept(GenericArtifactHandler.java:
75)
Any ideas?
-Josh