[jira] Commented: (SLING-215) NPE in servlet resolving

2008-02-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12564675#action_12564675 ] Felix Meschberger commented on SLING-215: - This is probably an issue in

[jira] Resolved: (SLING-215) NPE in servlet resolving

2008-02-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-215. - Resolution: Fixed Fix Version/s: 2.0.0 Fixed as proposed in Rev. 617368. Please

[jira] Closed: (SLING-215) NPE in servlet resolving

2008-02-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-215. -- Works perfectly. Thanks! NPE in servlet resolving

[jira] Created: (SLING-216) NPE during unregistering servlets

2008-02-01 Thread Carsten Ziegeler (JIRA)
NPE during unregistering servlets -- Key: SLING-216 URL: https://issues.apache.org/jira/browse/SLING-216 Project: Sling Issue Type: Bug Components: ServletResolver Reporter: Carsten

Website: excuse our mess

2008-02-01 Thread Bertrand Delacretaz
Hi, As several of our website's pages contain obsolete information, I suggest adding a note at the top of each page to indicate its status. See the following pages for what I mean: http://cwiki.apache.org/confluence/display/SLING/Index (excuse our mess box)

[jira] Created: (SLING-217) Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError

2008-02-01 Thread Felix Meschberger (JIRA)
Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError --- Key: SLING-217 URL: https://issues.apache.org/jira/browse/SLING-217 Project: Sling Issue

Re: We need a recommended Maven settings page

2008-02-01 Thread Bertrand Delacretaz
On Feb 1, 2008 10:59 AM, Jukka Zitting [EMAIL PROTECTED] wrote: ...I think it's enough to just make sure that the build works with a normal Maven installation with the default settings. If you customize Maven yourself, it's IMHO up to you to resolve any issue that causes... Ok, agreed and

We need a recommended Maven settings page

2008-02-01 Thread Bertrand Delacretaz
Hi, Yesterday a friend reported being unable to build Sling as the 1.2.0 version of the maven-bundle-plugin is not available at http://maven2.mirrors.skynet.be/pub/maven2/org/apache/felix/maven-bundle-plugin/ That was after I told my friend it's very easy, just follow the 'discover Sling in 15

Re: We need a recommended Maven settings page

2008-02-01 Thread Jukka Zitting
Hi, On Feb 1, 2008 11:50 AM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: Yesterday a friend reported being unable to build Sling as the 1.2.0 version of the maven-bundle-plugin is not available at http://maven2.mirrors.skynet.be/pub/maven2/org/apache/felix/maven-bundle-plugin/ The Maven

[jira] Closed: (SLING-217) Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError

2008-02-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-217. --- Resolution: Fixed Modified the pom of the scripting/resolver project in Rev. 617428. Using

Re: Discover Sling in 15 minutes

2008-02-01 Thread Michael Marth
Hi Carsten, thanks, but there's a different problem now (see below). I thought that maybe just the tests fail, but mvn jetty:run does not work either: [INFO] Searching repository for plugin with prefix: 'jetty'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO]

Re: Discover Sling in 15 minutes

2008-02-01 Thread Carsten Ziegeler
Hmm, that's strange, it seems mvn can't find the jetty plugin. You could try mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run instead Carsten Michael Marth wrote: Hi Carsten, thanks, but there's a different problem now (see below). I thought that maybe just the tests fail, but mvn jetty:run

Re: Discover Sling in 15 minutes

2008-02-01 Thread Carsten Ziegeler
Just update from svn and try again :) It works now... Carsten Michael Marth wrote: Guys, just tried to do the 15 minutes tutorial, but I get a compilation error (mvn clean install) - see below. I use C:\dev\launchpadmvn -version Maven version: 2.0.7 Java version: 1.5.0_13 Does anybody have

[jira] Reopened: (SLING-217) Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError

2008-02-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reopened SLING-217: The change does not work on Mac OS X as rt.jar is not available. I reverted the change for now;

Re: Discover Sling in 15 minutes

2008-02-01 Thread Michael Marth
Guys, just tried to do the 15 minutes tutorial, but I get a compilation error (mvn clean install) - see below. I use C:\dev\launchpadmvn -version Maven version: 2.0.7 Java version: 1.5.0_13 Does anybody have an idea? The error looks strange to me. Also tried to delete my mvn repo, but no success

Re: Discover Sling in 15 minutes

2008-02-01 Thread Michael Marth
no joy either :( Michael Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/mvn-jetty-plugin/6. 1.5/mvn-jetty-plugin-6.1.5.pom Downloading: http://repo.dev.day.com/central/org/mortbay/jetty/mvn-jetty-plugin/ 6.1.5/mvn-jetty-plugin-6.1.5.pom [INFO]

[jira] Commented: (SLING-217) Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError

2008-02-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12564788#action_12564788 ] Felix Meschberger commented on SLING-217: - cool .. What is the default runtime

[jira] Created: (SLING-218) TagHandlerPool reuses tags, so need to initialize attributes in sling IncludeTagHandler

2008-02-01 Thread Tobias Bocanegra (JIRA)
TagHandlerPool reuses tags, so need to initialize attributes in sling IncludeTagHandler --- Key: SLING-218 URL: https://issues.apache.org/jira/browse/SLING-218

Re: SLING-154, ScriptableNode access to Properties and JCR methods, how?

2008-02-01 Thread David Nuescheler
Hi Bertrand, The simplest way might be to require the use of node.getPath() instead of node.path, and use javascript property names for content access only, not for JCR getters. I completely agree to that solution. I think I have a strong bias for using node.propname for accessing the

Re: Discover Sling in 15 minutes

2008-02-01 Thread Carsten Ziegeler
Bertrand Delacretaz wrote: On Feb 1, 2008 4:23 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ...You could try mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run instead.. that'd be mvn org.mortbay.jetty:maven-jetty-plugin:6.1.5:run Yepp, sorry for the typo. Carsten -- Carsten Ziegeler

[jira] Commented: (SLING-217) Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError

2008-02-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12564792#action_12564792 ] Carsten Ziegeler commented on SLING-217: Well, it seems that it is

[jira] Commented: (SLING-217) Scripting Resolver bundle compiled with JDK 6 may produce NoSuchMethodError

2008-02-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12564891#action_12564891 ] Felix Meschberger commented on SLING-217: - Ok, the Sun compiler has another - albeit

Re: SLING-154, ScriptableNode access to Properties and JCR methods, how?

2008-02-01 Thread Felix Meschberger
Hi all, You know, I don't really care what we do (here). But, we should not start discussing this over and over. Once we decided it would be a good idea to do the mapping the JavaScript way, that is getters are turned into (read-only) properties. To prevent the collisions, that Bertrand

[jira] Commented: (SLING-213) ujax post servlet should respond with status page instead of default redirect

2008-02-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12564900#action_12564900 ] Felix Meschberger commented on SLING-213: - Cannot continue until the correct

[jira] Closed: (SLING-168) Add fileupload to ujax post servlet

2008-02-01 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra closed SLING-168. -- Add fileupload to ujax post servlet --- Key:

[jira] Closed: (SLING-158) NPE in SlingIOProvider if resource does not exist

2008-02-01 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra closed SLING-158. -- NPE in SlingIOProvider if resource does not exist

[jira] Closed: (SLING-180) ujax post servlet: add @DefaultValue hint for empty strings

2008-02-01 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra closed SLING-180. -- ujax post servlet: add @DefaultValue hint for empty strings

[jira] Closed: (SLING-202) osgi install action deletes temp file before it gets installed

2008-02-01 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra closed SLING-202. -- osgi install action deletes temp file before it gets installed

[jira] Updated: (SLING-194) use default format for JSON resource loader

2008-02-01 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated SLING-194: --- Attachment: loader-xjson.r616687.patch providing patch for Loader that implements content

[jira] Closed: (SLING-205) launcher/app and launchpad/launchpad-webapp delete 'sling' directory when invoking from sling-builder

2008-02-01 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra closed SLING-205. -- launcher/app and launchpad/launchpad-webapp delete 'sling' directory when invoking from

Re: SLING-213 vs. SLING-126

2008-02-01 Thread Tobias Bocanegra
hi, i've discussed this with david extensively and since he was the inventor of the ujax (former rjax) protocol he thinks now that the proposal to use the referer as default redirect is not useful. it was also david that proposed the html response which is of a format that it is human (browser