Re: POST file to upload and set jcr:mixinTypes?

2010-09-16 Thread Justin Edelson
This should be As it is below, you are setting the type of /path/to to nt:file, not /path/to/filename.jpg. Same thing with the mixin declaration. HTH, Justin On 9/16/10 11:24 AM, sam lee wrote: > Hey, > > I am trying to upload a file to /path/to/filename.jpg > /path/to/filename.jpg should

Re: Velocity scripting support - release?

2010-09-16 Thread Justin Edelson
Shouldn't SLING-1708 be implemented first? Not knowing much about Velocity, it doesn't look that complex. On 9/16/10 2:39 PM, Felix Meschberger wrote: > Mike, will you give it a try ? > > Regards > Felix > > Am 16.09.2010 15:13, schrieb olaf.o...@css.ch: >> Hi there >> >> I think the current vel

Re: Overwriting Map Entry

2010-09-16 Thread Felix Meschberger
Hi, This is probably really more a Jackrabbit question. IIRC this is some "debug" logging at the wrong level which has been fixed in more recent releases. Regards Felix Am 16.09.2010 17:36, schrieb Carl Hall: > Cross-posting as this might originate in Sling. Any thoughts? > > -- Forwar

Re: Velocity scripting support - release?

2010-09-16 Thread Felix Meschberger
Mike, will you give it a try ? Regards Felix Am 16.09.2010 15:13, schrieb olaf.o...@css.ch: > Hi there > > I think the current velocity scripting support is, albeit some open issues > persist, ready for a first release. I see there already is a 2.0.0 tag for > it - will this version be deploye

Overwriting Map Entry

2010-09-16 Thread Carl Hall
Cross-posting as this might originate in Sling. Any thoughts? -- Forwarded message -- From: Carl Hall Date: Wed, Sep 15, 2010 at 10:08 PM Subject: Overwriting Map Entry To: us...@jackrabbit.apache.org We see the messages below in varying amounts depending on the environment. A

POST file to upload and set jcr:mixinTypes?

2010-09-16 Thread sam lee
Hey, I am trying to upload a file to /path/to/filename.jpg /path/to/filename.jpg should be nt:file and have jcr:mixinTypes set to my:mixin. I am trying: This is what I get: javax.jcr.nodetype.ConstraintViolationException: /path/to: mandatory child node {http://www.jcp.org/

Velocity scripting support - release?

2010-09-16 Thread olaf . otto
Hi there I think the current velocity scripting support is, albeit some open issues persist, ready for a first release. I see there already is a 2.0.0 tag for it - will this version be deployed to the releases repository? I'd then use it in a vital development project, so we can collect issues