Re: Selectors and URL paths

2009-06-19 Thread Aaron Zeckoski
RTFM. :-) -AZ On Fri, Jun 19, 2009 at 3:11 PM, Bertrand Delacretaz wrote: > > Hi Aaron, > > On Fri, Jun 19, 2009 at 4:00 PM, Aaron Zeckoski wrote: > > I am trying to handle requests for certain resourceTypes (e.g. > > sakai/contactstore) a special way. > > What

Selectors and URL paths

2009-06-19 Thread Aaron Zeckoski
} (in this case key2 would be "accept") The servlets end up having a lot of repetition in them and the code is not so easy to manage so I am wondering if there is a better (more slingy) way to do this. Any suggestions or thoughts? Is this the best way already? -AZ -- Aaron Zeckoski (a

[jira] Commented: (SLING-835) Python: python.home must be set

2009-05-23 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712484#action_12712484 ] Aaron Zeckoski commented on SLING-835: -- If the issue is cache files related to py

Re: Pax web and Jetty XML

2009-05-13 Thread Aaron Zeckoski
ying thing is I cant see a way of binding a clustered session > manager to the osgi HttpService, since appear to have the same scoping of > sessions as a standalone webapp container. > Ian > > -- Aaron Zeckoski (aar...@vt.edu) Senior Research Engineer - CARET - Cambridge Univer

[jira] Commented: (SLING-922) Load modules on startup from an external directory

2009-05-10 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707767#action_12707767 ] Aaron Zeckoski commented on SLING-922: -- Is this waiting on some action from me?

[jira] Commented: (SLING-922) Load modules on startup from an external directory

2009-05-04 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705730#action_12705730 ] Aaron Zeckoski commented on SLING-922: -- (1) Protected Methods: Many methods

[jira] Updated: (SLING-922) Load modules on startup from an external directory

2009-05-01 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Zeckoski updated SLING-922: - Attachment: SLING-922.patch binary-test-resources.zip Everything seems to be

[jira] Commented: (SLING-922) Load modules on startup from an external directory

2009-05-01 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705038#action_12705038 ] Aaron Zeckoski commented on SLING-922: -- OK, I had some trouble generating this p

Re: How to configure jetty session timeout in sling

2009-04-28 Thread Aaron Zeckoski
yanjie : > Hi everyone : > > How configure jetty session timeout  , I want session timeout longer than now > , what should I do? > thanks! > > 2009-04-27 > > > > yanjie > -- Aaron Zeckoski (aar...@vt.edu) Senior Research Engineer - CARET - Cambridge Univ

Re: Adding non-integration tests for the launchpad code

2009-04-24 Thread Aaron Zeckoski
in the launchpad/testing module. This would then > smell more like "integration" tests to me. > > Regards > Felix > > Aaron Zeckoski schrieb: >> I would like to add a few unit tests to the launchpad code which I am >> updating with a patch. It seems like I would

Re: Running tests in eclipse?

2009-04-24 Thread Aaron Zeckoski
mvndebug install -ftesting/pom.xml Perhaps not an ideal solution but for developing the launchpad and debugging it works well enough. -AZ On Fri, Apr 24, 2009 at 7:45 PM, Felix Meschberger wrote: > Hi Aaron, > > Aaron Zeckoski schrieb: >> I am having trouble getting the tests to run w

Adding non-integration tests for the launchpad code

2009-04-24 Thread Aaron Zeckoski
they are all working but I would be more comfortable if there were unit tests in place as well. It would make the patch much bigger though so it might be something that the community would prefer not happen. What are the options/policies here? -AZ -- Aaron Zeckoski (aar...@vt.edu) Senior Research

Running tests in eclipse?

2009-04-24 Thread Aaron Zeckoski
I am having trouble getting the tests to run while in eclipse. Does anyone else have this working and if so, can you post the process you might have used for getting the project imported into eclipse. Apologies if this is documented somewhere, RTFM is appropriate if so. :-) -AZ -- Aaron Zeckoski

[jira] Commented: (SLING-922) Load modules on startup from an external directory

2009-04-24 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702321#action_12702321 ] Aaron Zeckoski commented on SLING-922: -- 1) OK, so no checking before copying the

Re: Getting the sling home?

2009-04-24 Thread Aaron Zeckoski
In fact, I only need it as part of the lauchpad (the BootstrapInstaller) so maybe it is still fine. It is for this issue: https://issues.apache.org/jira/browse/SLING-922 -AZ On Fri, Apr 24, 2009 at 11:16 AM, Carsten Ziegeler wrote: > Aaron Zeckoski wrote: >> St

[jira] Commented: (SLING-922) Load modules on startup from an external directory

2009-04-24 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702314#action_12702314 ] Aaron Zeckoski commented on SLING-922: -- A few notes as I am going through this: 1

Re: Getting the sling home?

2009-04-24 Thread Aaron Zeckoski
String home = bundleContext.getProperty("sling.home"); Excellent! Thanks! :-) -AZ On Fri, Apr 24, 2009 at 10:48 AM, Bertrand Delacretaz wrote: > Hi Aaron, > > On Fri, Apr 24, 2009 at 11:37 AM, Aaron Zeckoski wrote: >> I have been searching through the code to try

Getting the sling home?

2009-04-24 Thread Aaron Zeckoski
find something like String blah.get(SharedConstants.SLING_HOME). Thanks for any pointers. :-) -AZ -- Aaron Zeckoski (aar...@vt.edu) Senior Research Engineer - CARET - Cambridge University [http://bugs.sakaiproject.org/confluence/display/~aaronz/] Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

Re: [jira] Commented: (SLING-939) Adapt the Http Authenticator to the refined authentication process

2009-04-23 Thread Aaron Zeckoski
         Reporter: Felix Meschberger >>>            Assignee: Felix Meschberger >>> >>> Adapt the HTTP Header authentication handler to the new refined >>> authenticaiton initiation processing implemented by SLING-938. >>> Tasks: >>>   *

Re: Strange eclipse errors?

2009-04-23 Thread Aaron Zeckoski
t). > > I'm not sure if the above suggestion will fix your problem, but it's > certainly worth a try. > > -- Langley > > > On Thu, 2009-04-23 at 06:57 -0400, Aaron Zeckoski wrote: > >> Anyone else seeing the followi

Strange eclipse errors?

2009-04-23 Thread Aaron Zeckoski
EL); The values do not appear to be in the constants file but I don't see any failure when building with maven so I am not sure what is going on here. I am willing to chalk it up to weirdness in my eclipse installation but I thought I might ask if anyone else sees this also before I dig deeper

[jira] Commented: (SLING-939) Adapt the Http Authenticator to the refined authentication process

2009-04-23 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701888#action_12701888 ] Aaron Zeckoski commented on SLING-939: -- That makes sense. I was thinking somet

[jira] Commented: (SLING-939) Adapt the Http Authenticator to the refined authentication process

2009-04-23 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701859#action_12701859 ] Aaron Zeckoski commented on SLING-939: -- Should be possible to update it via a bu

Re: AW: Opened wiki page on how to setup Eclipse for Sling

2009-04-17 Thread Aaron Zeckoski
gt; Ok, sure :) > > I checkout the whole trunk as a single project into Eclipse (using 3.4.2 > and the subclipse plugin). Then I'll manually :) add all src/main/java > and src/test/java folders of the bundles to my project and manually add > all required libraries. Debugging works

Re: accessing the felix command shell?

2009-04-16 Thread Aaron Zeckoski
Then you can access the shell using your regular > telnet client at default port (cool stuff). > > Regards > Felix > > Aaron Zeckoski schrieb: >> Does anyone know of a trick to access the felix command shell while it >> is running inside sling? I am guessing this

accessing the felix command shell?

2009-04-16 Thread Aaron Zeckoski
-AZ -- Aaron Zeckoski (aar...@vt.edu) Senior Research Engineer - CARET - Cambridge University [http://bugs.sakaiproject.org/confluence/display/~aaronz/] Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

Re: Upgrading felix to 1.6.0?

2009-04-15 Thread Aaron Zeckoski
Makes sense to me. Thanks for the info. Here is the link to the wiki page in case anyone else is following this thread. http://incubator.apache.org/sling/site/dependency-management.html -AZ On Wed, Apr 15, 2009 at 8:27 PM, Felix Meschberger wrote: > Hi Aaron, > > Aaron Zeckoski schrieb

Re: Upgrading felix to 1.6.0?

2009-04-15 Thread Aaron Zeckoski
at 7:18 PM, Bertrand Delacretaz wrote: > Hi, > > On Wed, Apr 15, 2009 at 8:08 PM, Aaron Zeckoski wrote: >> I would like to upgrade felix to 1.6.0 but I thought I would check to >> see if there is some reason why this has not already been done > > The Sling trunk

Upgrading felix to 1.6.0?

2009-04-15 Thread Aaron Zeckoski
I would like to upgrade felix to 1.6.0 but I thought I would check to see if there is some reason why this has not already been done. There are apparently some fixes for bundle fragment handling in 1.6.0 which I need. Has anyone tried this already? -AZ -- Aaron Zeckoski (aar...@vt.edu) Senior

Re: Configuring sling bundles on startup?

2009-04-15 Thread Aaron Zeckoski
A. of course I forgot to put in the link. Doh! https://issues.apache.org/jira/browse/SLING-922 -AZ On Wed, Apr 15, 2009 at 11:49 AM, Aaron Zeckoski wrote: > OK, I created an issue to summarize this and will attach the patch to > it when it is ready. I tried to put in an estimat

Re: Configuring sling bundles on startup?

2009-04-15 Thread Aaron Zeckoski
have two copies (on in startup/xx and one > in the felix path) of each jar which is included in the launcher jar or war > file. > But I don't have a good solution to go around this problem (and disk space is > cheap...). > > mike > -- Aaron Zeckoski (aar...@vt.edu) Senior Research Engineer - CARET - Cambridge University [http://bugs.sakaiproject.org/confluence/display/~aaronz/] Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

[jira] Created: (SLING-922) Load modules on startup from an external directory

2009-04-15 Thread Aaron Zeckoski (JIRA)
, Launchpad Launcher Reporter: Aaron Zeckoski Need a way to install and start bundles automatically from an external directory (sling home) on startup. The ideas below are from the list. -- > I would like to be able to setup sling to start with a bunch of > installed b

[jira] Commented: (SLING-922) Load modules on startup from an external directory

2009-04-15 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699147#action_12699147 ] Aaron Zeckoski commented on SLING-922: -- Just so it is clear, I am working on a p

Re: Configuring sling bundles on startup?

2009-04-14 Thread Aaron Zeckoski
file maybe. Thoughts? -AZ On Tue, Apr 14, 2009 at 3:51 PM, Felix Meschberger wrote: > Hi Aaron, > > Aaron Zeckoski schrieb: >> I would like to be able to setup sling to start with a bunch of >> installed bundles when it first is started. It seems like there are a >> c

Configuring sling bundles on startup?

2009-04-14 Thread Aaron Zeckoski
-- Aaron Zeckoski (aar...@vt.edu) Senior Research Engineer - CARET - Cambridge University [http://bugs.sakaiproject.org/confluence/display/~aaronz/] Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

[jira] Updated: (SLING-919) Cannot configure the Jetty in Sling because of the old version of pax-web

2009-04-11 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Zeckoski updated SLING-919: - Attachment: sling-pax-0.6.0.patch > Cannot configure the Jetty in Sling because of the

[jira] Updated: (SLING-919) Cannot configure the Jetty in Sling because of the old version of pax-web

2009-04-11 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Zeckoski updated SLING-919: - Component/s: General Priority: Critical (was: Major) The new version of pax-web is

[jira] Commented: (SLING-919) Cannot configure the Jetty in Sling because of the old version of pax-web

2009-04-09 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697461#action_12697461 ] Aaron Zeckoski commented on SLING-919: -- Created a request in the paxweb jira so we

[jira] Updated: (SLING-919) Cannot configure the Jetty in Sling because of the old version of pax-web

2009-04-09 Thread Aaron Zeckoski (JIRA)
[ https://issues.apache.org/jira/browse/SLING-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Zeckoski updated SLING-919: - Attachment: sling-pax-0.5.3.patch This patch should work once the 0.5.3 version is out, though it

[jira] Created: (SLING-919) Cannot configure the Jetty in Sling because of the old version of pax-web

2009-04-09 Thread Aaron Zeckoski (JIRA)
Type: Improvement Components: Launchpad, Launchpad Launcher Reporter: Aaron Zeckoski The old versions of pax-web make it impossible to configure Jetty since the ability to configure was added to version 0.5.2 and version 0.2.3 was used (0.5.1 in the newest trunk maybe