cvs commit: jakarta-jetspeed-2/applications/security/src/java/org/apache/jetspeed/portlets/security/groups GroupBrowser.java

2005-04-22 Thread taylor
taylor  2005/04/22 13:42:09

  Modified:
applications/security/src/java/org/apache/jetspeed/portlets/security/users
UserDetailsPortlet.java UserBrowserPortlet.java
UserBrowser.java UserChooserPortlet.java
   
applications/security/src/java/org/apache/jetspeed/portlets/security/resources
UsersResources_ja.properties
UsersResources.properties
UsersResources_it.properties
UsersResources_en.properties
UsersResources_nl.properties
   
applications/security/src/java/org/apache/jetspeed/portlets/security/roles
RoleBrowser.java
   applications/security/src/webapp/WEB-INF/security/users
user-details.jsp
   
applications/security/src/java/org/apache/jetspeed/portlets/security
SecurityResources.java
   
applications/security/src/java/org/apache/jetspeed/portlets/security/groups
GroupBrowser.java
  Added:   
applications/security/src/java/org/apache/jetspeed/portlets/security/resources
UsersResources_fr.properties
   
applications/security/src/java/org/apache/jetspeed/portlets/security
SecurityUtil.java
  Removed: 
applications/security/src/java/org/apache/jetspeed/portlets/security
AbstractSecurityBrowser.java
  Log:
  http://issues.apache.org/jira/browse/JS2-237
  new user administration minimal feature set completed
  This is a very minimalistic set of features
  Ate will be updating JS2-237 with the full set of feature requirements
  Next: Roles, Groups
  
  Revision  ChangesPath
  1.6   +98 -55
jakarta-jetspeed-2/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
  
  Index: UserDetailsPortlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- UserDetailsPortlet.java   22 Apr 2005 05:46:58 -  1.5
  +++ UserDetailsPortlet.java   22 Apr 2005 20:42:09 -  1.6
  @@ -38,6 +38,7 @@
   import javax.security.auth.Subject;
   
   import org.apache.jetspeed.portlets.security.SecurityResources;
  +import org.apache.jetspeed.portlets.security.SecurityUtil;
   import org.apache.jetspeed.portlets.security.users.JetspeedUserBean;
   import 
org.apache.jetspeed.portlets.security.users.JetspeedUserBean.StringAttribute;
   import org.apache.jetspeed.profiler.Profiler;
  @@ -96,6 +97,10 @@
   
   /** the id of the roles control */
   private static final String ROLES_CONTROL = "jetspeedRoles";
  +
  +/** the id of the rules control */
  +private static final String RULES_CONTROL = "jetspeedRules";
  +
   
   /** the id of the groups control */
   private static final String GROUPS_CONTROL = "jetspeedGroups";
  @@ -160,7 +165,7 @@
   response.setContentType("text/html");
   
   String userName = (String)PortletMessaging.receive(request, 
  -UserBrowser.TOPIC_USERS, 
UserBrowser.MESSAGE_SELECTED);
  +SecurityResources.TOPIC_USERS, 
SecurityResources.MESSAGE_SELECTED);
   
   User user = null;
   if (userName != null)
  @@ -202,7 +207,7 @@
   request.setAttribute(VIEW_ROLES, userRoles );
   
   // check for refresh on roles list
  -String refreshRoles = 
(String)PortletMessaging.consume(request, SecurityResources.USER_BROWSER, 
"roles");
  +String refreshRoles = 
(String)PortletMessaging.consume(request, SecurityResources.TOPIC_USERS, 
"roles");
   List roles = null;
   if (refreshRoles == null)
   {
  @@ -248,7 +253,7 @@
   request.setAttribute(VIEW_GROUPS, userGroups);
   
   // check for refresh on groups list
  -String refreshGroups = 
(String)PortletMessaging.consume(request, SecurityResources.USER_BROWSER, 
"groups");
  +String refreshGroups = 
(String)PortletMessaging.consume(request, SecurityResources.TOPIC_USERS, 
"groups");
   List groups = null;
   if (refreshGroups == null)
   {
  @@ -300,7 +305,11 @@
  
   request.setAttribute(SecurityResources.REQUEST_SELECT_TAB, 
selectedTab);
   }
  -
  +else
  +{
  +   

[jira] Created: (JS2-237) Cleanup Admin User/Group/Role Portlets

2005-04-21 Thread David Sean Taylor (JIRA)
Cleanup Admin User/Group/Role Portlets
--

 Key: JS2-237
 URL: http://issues.apache.org/jira/browse/JS2-237
 Project: Jetspeed 2
Type: Improvement
  Components: Admin Portlets  
Versions: 2.0-M3
Reporter: David Sean Taylor
 Fix For: 2.0-M3


Admin Portlets all have different look and feel.

I will update the Admin Portlets to all 
* have the same CSS styles (standard portal styles PLT.C)
* use a left side browser/right side details paradigm
* allow search by user/role/group


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (JS2-230) Locate profiled pages by user agent

2005-04-21 Thread David Sean Taylor (JIRA)
 [ http://issues.apache.org/jira/browse/JS2-230?page=all ]
 
David Sean Taylor resolved JS2-230:
---

Resolution: Fixed

resolved - i have a working example of this in an installation.

> Locate profiled pages by user agent
> ---
>
>  Key: JS2-230
>  URL: http://issues.apache.org/jira/browse/JS2-230
>  Project: Jetspeed 2
> Type: New Feature
>   Components: Profiler
> Versions: 2.0-M3
>     Reporter: David Sean Taylor
> Assignee: David Sean Taylor
>  Fix For: 2.0-M3

>
> I need to implemente a feature to locate profiled pages by user agent.
> It seems that the support for CSS 2.0 on Mac IE is so bad, that it requires 
> entirely different markup than on more modern browsers.
> This feature will require:
> * new capabilities populated in the db for Mac IE, Safari
> * order client result set by new column, eval order 
> * have the profiler support a new criteria, UserAgentCriterionResolver
> * have the page manager figure out how to locate by user-agent
> For the page manager, an example hierarchy would be:
> _user
>wozniak
>  _iemac
>  _safari 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jetspeed-1.6 Release

2005-04-19 Thread David Sean Taylor
RaphaÃl Luta wrote:
David Sean Taylor wrote:
RaphaÃl Luta wrote:
David Sean Taylor wrote:
David Sean Taylor wrote:
I still have a few outstanding features for the 1.6 release:
- build db specific torque jars


done
- fusion testing

tomorrow, hopefully...
Do you want us to test Fusion from CVS and test a pre-build binary ?
Yes, ready to test now.
Still need to write a little more Fusion documentation though.
I'll have some free cycles tomorow evening to review documentation and
possibly fix some small issues as I find them.
Lets test for a few days, then cut the release when everyone is ready
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed/tutorial/tutorials/6 t6-portlets.xreg

2005-04-19 Thread taylor
taylor  2005/04/19 21:36:13

  Modified:tutorial/tutorials/6 t6-portlets.xreg
  Log:
  update version
  
  Revision  ChangesPath
  1.3   +1 -1  jakarta-jetspeed/tutorial/tutorials/6/t6-portlets.xreg
  
  Index: t6-portlets.xreg
  ===
  RCS file: /home/cvs/jakarta-jetspeed/tutorial/tutorials/6/t6-portlets.xreg,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- t6-portlets.xreg  22 Apr 2004 05:14:56 -  1.2
  +++ t6-portlets.xreg  20 Apr 2005 04:36:12 -  1.3
  @@ -6,7 +6,7 @@
   JPortal Tutorial - Hello Portlet 
Interface

   

   
org.apache.jetspeed.tutorial.portal.portlets.HelloPortletInterface

  -

  +

   



   tutorial

  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/xdocs/stylesheets project.xml

2005-04-19 Thread taylor
taylor  2005/04/19 21:35:58

  Modified:xdocsinstall.xml usejetspeed.xml messaging.xml
features.xml
   tutorial/xdocs/6 initparams.xml
   xdocs/stylesheets project.xml
  Added:   xdocsfusion.xml
  Log:
  start of fusion docs, jetspeed cluster, 1.6 updates
  
  Revision  ChangesPath
  1.36  +1 -1  jakarta-jetspeed/xdocs/install.xml
  
  Index: install.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/install.xml,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- install.xml   22 Apr 2004 19:11:10 -  1.35
  +++ install.xml   20 Apr 2005 04:35:58 -  1.36
  @@ -53,7 +53,7 @@



  -A Java Servlet Engine/Container.  Must be compatible with the Servlet 2.2 or 
Servlet 2.3 API.
  +A Java Servlet Engine/Container.  Must be compatible with the Servlet 2.3 
API.
   Note: Jetspeed is developed under Tomcat which is available from 
   http://jakarta.apache.org/tomcat";>http://jakarta.apache.org/tomcat

  
  
  
  1.26  +1 -1  jakarta-jetspeed/xdocs/usejetspeed.xml
  
  Index: usejetspeed.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/usejetspeed.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- usejetspeed.xml   14 Mar 2005 16:24:46 -  1.25
  +++ usejetspeed.xml   20 Apr 2005 04:35:58 -  1.26
  @@ -53,7 +53,7 @@



  - http://www.askted.com.au/askted/";>http://www.askted.com.au/askted/
  + http://www.askted.com.au";>http://www.askted.com.au/askted/

Guides, news and reviews on 
whats happening in Western Australia.
1.5
  
  
  
  1.2   +3 -2  jakarta-jetspeed/xdocs/messaging.xml
  
  Index: messaging.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/messaging.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- messaging.xml 4 Aug 2004 01:24:51 -   1.1
  +++ messaging.xml 20 Apr 2005 04:35:58 -  1.2
  @@ -16,10 +16,11 @@
   -->
   

  - Jetspeed Messaging
  - Messaging Support in Jetspeed
  + Jetspeed Cluster
  + Cluster and JMS Messaging Support in 
Jetspeed


  + 



  
  
  
  1.9   +3 -1  jakarta-jetspeed/xdocs/features.xml
  
  Index: features.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/features.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- features.xml  17 Mar 2004 21:27:50 -  1.8
  +++ features.xml  20 Apr 2005 04:35:58 -  1.9
  @@ -28,7 +28,7 @@

Jetspeed has support for the following features:

  - Soon to standardize on a Java Portlet API 
specification
  + JSR-168 Support of Java Portlet API 
specification (Fusion)
Template-based layouts including JSP and 
Velocity
Supports remote XML content feeds via Open 
Content Syndication
   
  @@ -56,6 +56,8 @@
PSML can be stored in a Database.
User, group, role and permission 
administration via Jetspeed security portlets.
Role-based security access to 
portlets.
  + Jetspeed Cluster and Messaging (JMS 
Support): for running Jetspeed as a clustered portal.  

  + Generic View Processors to render content 
uniformly in your Java code to JSP, XSLT, or Velocity. 
  



  
  
  
  1.1  jakarta-jetspeed/xdocs/fusion.xml
  
  Index: fusion.xml
  ===
  
  
  

JSR-168
Fusion - JS

cvs commit: jakarta-jetspeed-2/xdocs bronco.xml

2005-04-19 Thread taylor
taylor  2005/04/19 10:21:34

  Modified:xdocsbronco.xml
  Log:
  Randy finishes my sentence
  
  Revision  ChangesPath
  1.3   +1 -1  jakarta-jetspeed-2/xdocs/bronco.xml
  
  Index: bronco.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed-2/xdocs/bronco.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- bronco.xml25 Jan 2005 08:36:29 -  1.2
  +++ bronco.xml19 Apr 2005 17:21:34 -  1.3
  @@ -203,7 +203,7 @@
   Declarative constraints are declared in the page.security file 
of the root of a site or subsite.
   Declarative constraints are referenced in pages and folders with the 
security-constraints-ref tag.
   Global constraints are also declarative constraints. They are also defined 
and found in the page.security file in the root PSML repository.
  -The difference with global constraints is ...
  +The difference with global constraints is that they implicitly apply to all 
folders and pages within the scope of the page.security file, (i.e. the site).
   Note that there can be more than one page.security files in a 
subsite Jetspeed installation.
   
   

Re: Jetspeed-1.6 Release

2005-04-18 Thread David Sean Taylor
RaphaÃl Luta wrote:
David Sean Taylor wrote:
David Sean Taylor wrote:
I still have a few outstanding features for the 1.6 release:
- build db specific torque jars

done
- fusion testing
tomorrow, hopefully...
- cleanup tutorial
done
I'd like to propose deleting:
1. the entire build directory
-0. I don't how many people use maven vs ant to build jetspeed 1 so this 
 may have a huge impact on our current user base. I think we should ask
on the user mailing-list before doing something like this.

It doesn't build anymore, try it
Someone needs to step and fix it (doubtful)
I don't see the point in keeping it around if no one uses it
You can type
maven ant
to generate an ant build anyway
2. scratchpad/cms
   Graffito now exists in incubator, we don't need this here any more
+1
ok, anyone else need this?
3. scratchpad/portlet-api
   this directory confuses people since they think its real thing
   (its not, its the pre expert group design)
+0. It has historical value but I agree it can confuse people.
Yes, thats true, forgot about that.
I'll leave it, the jar is pretty small
Im slowly getting closer to getting all my tasks completed.
Fusion is going to also need documentation, since there is only the 
Wiki. I'll work on that once I get Fusion tested

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed/tutorial/tutorials/2/templates/vm/navigations/html bottom-jportal.vm

2005-04-18 Thread taylor
taylor  2005/04/18 23:41:15

  Modified:tutorial/xdocs/1 index.xml bottomnav.xml
   tutorial/tutorials/1/templates/vm/navigations/html
bottom-jportal.vm
   tutorial/xdocs downloading.xml portlet-api.xml index.xml
developing.xml prerequisites.xml
   tutorial/xdocs/6 mediatypes.xml
   tutorial project.xml project.properties
   tutorial/tutorials/2/templates/vm/navigations/html
bottom-jportal.vm
  Added:   tutorial/xdocs README.txt
  Removed: tutorial README.txt
  Log:
  tutorial now seems to run
  still needs a bit more cleanup and documentation, and testing by others...
  
  Revision  ChangesPath
  1.10  +1 -1  jakarta-jetspeed/tutorial/xdocs/1/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/1/index.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- index.xml 22 Apr 2004 05:14:57 -  1.9
  +++ index.xml 19 Apr 2005 06:41:15 -  1.10
  @@ -27,7 +27,7 @@
   
   Tutorial 1 shows you how to tailor the web design of the JPortal portal. 
   This is accomplished by overriding and merging the Jetspeed portal 
configuration property files
  -using the Jetspeed 1.5 Maven Plugin.
  +using the Jetspeed 1.6 Maven Plugin.
   
   
   In this tutorial, we will:
  
  
  
  1.2   +1 -1  jakarta-jetspeed/tutorial/xdocs/1/bottomnav.xml
  
  Index: bottomnav.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/1/bottomnav.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- bottomnav.xml 9 Apr 2004 00:26:18 -   1.1
  +++ bottomnav.xml 19 Apr 2005 06:41:15 -  1.2
  @@ -48,7 +48,7 @@
 
   

  -   JPortal Tutorial for Jetspeed - Version 1.4b4
  +   JPortal Tutorial for Jetspeed - Version 1.6

   
#if ($config.getString("mail.support"))
  
  
  
  1.2   +1 -1  
jakarta-jetspeed/tutorial/tutorials/1/templates/vm/navigations/html/bottom-jportal.vm
  
  Index: bottom-jportal.vm
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/tutorial/tutorials/1/templates/vm/navigations/html/bottom-jportal.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- bottom-jportal.vm 8 Apr 2004 19:05:37 -   1.1
  +++ bottom-jportal.vm 19 Apr 2005 06:41:15 -  1.2
  @@ -4,7 +4,7 @@
 

   



  -   JPortal Tutorial for Jetspeed - Version 1.4b4

  +   JPortal Tutorial for Jetspeed - Version 1.6



   

#if ($config.getString("mail.support"))

  
  
  
  1.5   +2 -2  jakarta-jetspeed/tutorial/xdocs/downloading.xml
  
  Index: downloading.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/downloading.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- downloading.xml   9 Apr 2004 18:54:13 -   1.4
  +++ downloading.xml   19 Apr 2005 06:41:15 -  1.5
  @@ -25,7 +25,7 @@
   
   
   
  -This tutorial comes with the Source Code release of Jetspeed 1.5 or greater.
  +This tutorial comes with the Source Code release of Jetspeed 1.6 or greater.
   If you check out Jetspeed from the CVS head, the tutorial is included under 
the /tutorial directory.
   You can get Jetspeed from the Apache CVS, or from the Apache website. 
   
  @@ -37,7 +37,7 @@
   
   To download the source code to an official release from the Apache website, 
go here:
   
  -Download 1.5 Source 
Release
  +Download 1.6 Source 
Release
   
   Unzip it and build the distribution target (maven dist:install).
   
  
  
  
  1.3   +5 -2  jakarta-jetspeed/tutorial/xdocs/portlet-api.xml
  
  Index: portlet-api.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/portlet-api.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- portlet-api.xml   8 Apr 2004 18:13:45 -   1.2
  +++ portlet-api.xml   19 Apr 2005 06:41:15 -  1.3
  @@ -28,10 +28,13 @@
   The Jetspeed Portal API is a set of interfaces describing how a portlet 
interacts with a portlet container. 
   The Jetspeed Portal API is not to confused with 
   Java Standard Portlet 
API. 
  -The next version of Jetspeed, Jetspeed 2.0 supports the Java 
standard. 
  +The latest version of Jetspeed, Jetspeed 2.0 fully supports 
the Java standard. 
  +Also, Jetspeed Fusion, which runs Portlet API portlet applications inside of 
Jetspeed 1.6, also supports the standard: 
  +
  +However Fusion is not covered in this tutorial.
   
   

[jira] Commented: (JS1-542) Torque OM jar generation per backend database

2005-04-18 Thread David Sean Taylor (JIRA)
 [ http://issues.apache.org/jira/browse/JS1-542?page=comments#action_63114 ]
 
David Sean Taylor commented on JS1-542:
---

> Because the jar is defined as dependency in the main project.xml and > maven 
> first it to be resolved before it even starts with the 
> java:compile

The jar is in the remote repo, should work as is

>> I tested this with Oracle9i and can confirm it working.
>
> The big gotcha here is when you go to create a new user.
> Thats when Torque fails miserably: since the generated code for Oracle
> requires sequences.
Sorry, I only tested it out yet with the buildin users so I missed that one! It 
certainly is a killer...
Do already have an idea how to handle that? 


Well thats the whole point. 
There needs to be one jar per database.
So you change the torque-om/project.properties:

torque.database = oracle

and then rebuild

For the 1.6 release, I was planning on prebuilding each and every database (and 
signing), ... i know


> Torque OM jar generation per backend database
> -
>
>  Key: JS1-542
>  URL: http://issues.apache.org/jira/browse/JS1-542
>  Project: Jetspeed
> Type: New Feature
>   Components: Database
> Versions: 1.6-dev
> Reporter: David Sean Taylor
> Assignee: David Sean Taylor
>  Fix For: 1.6-dev

>
> Creates torque specific bindings for the selected database.
> Goal: end users will no longer have to recompile the source to get support 
> for a different database than hypersonic. This requirement has been the 
> source to a large number of problems reported on the user list.
> on the distribution site, I'd like to provide several small jars for each 
> torque-supported database:
> + 1.6-binary
>   + torque
>   + hypersonic
>   jetspeed-torque-om-1.6.jar
>   + mysql
>   jetspeed-torque-om-1.6.jar
>   + axion
>   jetspeed-torque-om-1.6.jar
>   + sybase
>   jetspeed-torque-om-1.6.jar
> ...
> prefer to have all the jars named the same to lessen the chance of someone 
> accidently having 2 jars installed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (JS1-542) Torque OM jar generation per backend database

2005-04-18 Thread David Sean Taylor (JIRA)
 [ http://issues.apache.org/jira/browse/JS1-542?page=comments#action_63056 ]
 
David Sean Taylor commented on JS1-542:
---

> - With a clean setup (meaning no jetspeed-torque-om jar ever generated before 
> you can't build or clean from > the root project because it fails with a 
> missing dependency. I resolved this by building the jar once from  > the 
> torque-om subproject but this should be handled better I think 

The Torque build is set as a pregoal to java:compile.
Wonder why that isn't enough, since it does a jar:install

> I tested this with Oracle9i and can confirm it working.

The big gotcha here is when you go to create a new user.
Thats when Torque fails miserably: since the generated code for Oracle requires 
sequences.
A certain percentage of database operations actually work, even know the code 
was generated for Hypersonic.



> Torque OM jar generation per backend database
> -
>
>  Key: JS1-542
>  URL: http://issues.apache.org/jira/browse/JS1-542
>  Project: Jetspeed
> Type: New Feature
>   Components: Database
> Versions: 1.6-dev
> Reporter: David Sean Taylor
> Assignee: David Sean Taylor
>  Fix For: 1.6-dev

>
> Creates torque specific bindings for the selected database.
> Goal: end users will no longer have to recompile the source to get support 
> for a different database than hypersonic. This requirement has been the 
> source to a large number of problems reported on the user list.
> on the distribution site, I'd like to provide several small jars for each 
> torque-supported database:
> + 1.6-binary
>   + torque
>   + hypersonic
>   jetspeed-torque-om-1.6.jar
>   + mysql
>   jetspeed-torque-om-1.6.jar
>   + axion
>   jetspeed-torque-om-1.6.jar
>   + sybase
>   jetspeed-torque-om-1.6.jar
> ...
> prefer to have all the jars named the same to lessen the chance of someone 
> accidently having 2 jars installed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/email .cvsignore

2005-04-17 Thread taylor
taylor  2005/04/17 22:47:00

  Removed: src/java/org/apache/jetspeed/om/dbpsml/map .cvsignore
   src/java/org/apache/jetspeed/om/apps .cvsignore
   src/java/org/apache/jetspeed/om/dbregistry .cvsignore
   src/java/org/apache/jetspeed/om/dbpsml .cvsignore
   src/java/org/apache/jetspeed/om/apps/email .cvsignore
  Log:
  cvsignore no longer needed since generated files are no longer mixed in with 
source

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jetspeed-1.6 Release

2005-04-17 Thread David Sean Taylor
David Sean Taylor wrote:
I still have a few outstanding features for the 1.6 release:
- build db specific torque jars
done
- fusion testing
- cleanup tutorial
Does anyone else have anything outstanding for 1.6?
not all at once please
Im not going to build the release until the above are resolved
Im looking to clean up the 1.6 cvs. It takes a while to download mainly 
because of jars that are no longer used.
I'd like to propose deleting:

1. the entire build directory
2. scratchpad/cms
   Graffito now exists in incubator, we don't need this here any more
3. scratchpad/portlet-api
   this directory confuses people since they think its real thing
   (its not, its the pre expert group design)

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[jira] Resolved: (JS1-542) Torque OM jar generation per backend database

2005-04-17 Thread David Sean Taylor (JIRA)
 [ http://issues.apache.org/jira/browse/JS1-542?page=history ]
 
David Sean Taylor resolved JS1-542:
---

Resolution: Fixed

tested on hypersonic and mysql
if anyone else could test against other database much appreciated

> Torque OM jar generation per backend database
> -
>
>  Key: JS1-542
>  URL: http://issues.apache.org/jira/browse/JS1-542
>  Project: Jetspeed
> Type: New Feature
>   Components: Database
> Versions: 1.6-dev
>     Reporter: David Sean Taylor
> Assignee: David Sean Taylor
>  Fix For: 1.6-dev

>
> Creates torque specific bindings for the selected database.
> Goal: end users will no longer have to recompile the source to get support 
> for a different database than hypersonic. This requirement has been the 
> source to a large number of problems reported on the user list.
> on the distribution site, I'd like to provide several small jars for each 
> torque-supported database:
> + 1.6-binary
>   + torque
>   + hypersonic
>   jetspeed-torque-om-1.6.jar
>   + mysql
>   jetspeed-torque-om-1.6.jar
>   + axion
>   jetspeed-torque-om-1.6.jar
>   + sybase
>   jetspeed-torque-om-1.6.jar
> ...
> prefer to have all the jars named the same to lessen the chance of someone 
> accidently having 2 jars installed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om project.properties

2005-04-17 Thread taylor
taylor  2005/04/17 22:22:51

  Modified:torque-om project.properties
  Log:
  better make it hypersonic as default
  
  Revision  ChangesPath
  1.3   +1 -1  jakarta-jetspeed/torque-om/project.properties
  
  Index: project.properties
  ===
  RCS file: /home/cvs/jakarta-jetspeed/torque-om/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties18 Apr 2005 05:15:52 -  1.2
  +++ project.properties18 Apr 2005 05:22:51 -  1.3
  @@ -50,5 +50,5 @@
   # interbase
   # sapdb
   # ---
  -torque.database = mysql
  +torque.database = hypersonic
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed project.xml

2005-04-17 Thread taylor
taylor  2005/04/17 22:17:44

  Modified:.project.xml
  Log:
  add dependency on torque-om
  
  Revision  ChangesPath
  1.63  +9 -0  jakarta-jetspeed/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/project.xml,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- project.xml   18 Apr 2005 04:40:53 -  1.62
  +++ project.xml   18 Apr 2005 05:17:43 -  1.63
  @@ -170,6 +170,15 @@
&fusion;
&activemq;
   &axis;
  +
  + 
  +   jetspeed
  +   jetspeed-torque-om
  +   &jetspeed-version;
  +   
  + true
  +   
  + 
   
   

cvs commit: jakarta-jetspeed/torque-om project.properties

2005-04-17 Thread taylor
taylor  2005/04/17 22:15:52

  Modified:torque-om project.properties
  Log:
  dont always run
  
  Revision  ChangesPath
  1.2   +1 -1  jakarta-jetspeed/torque-om/project.properties
  
  Index: project.properties
  ===
  RCS file: /home/cvs/jakarta-jetspeed/torque-om/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties18 Apr 2005 04:39:41 -  1.1
  +++ project.properties18 Apr 2005 05:15:52 -  1.2
  @@ -28,7 +28,7 @@
   torque.addTimeStamp = true
   torque.addIntakeRetrievable = false
   torque.saveException = Exception
  -torque.runOnlyOnSchemaChange = false
  +# torque.runOnlyOnSchemaChange = false
   
   project = jetspeed
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om project.xml maven.xml

2005-04-17 Thread taylor
taylor  2005/04/17 22:15:37

  Modified:torque-om project.xml maven.xml
  Log:
  add dependencies
  
  Revision  ChangesPath
  1.2   +21 -1 jakarta-jetspeed/torque-om/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/torque-om/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml   18 Apr 2005 04:39:41 -  1.1
  +++ project.xml   18 Apr 2005 05:15:37 -  1.2
  @@ -38,6 +38,26 @@
   3.2
   plugin
   
  +
  +torque
  +3.1
  +
  +
  +village
  +2.0-dev-20030625
  +
  +
  +commons-lang
  +2.0
  +
  +
  +commons-logging
  +1.0.3
  +
 
  +  
  +
  +   src/java
  +
   
   
  \ No newline at end of file
  
  
  
  1.2   +1 -1  jakarta-jetspeed/torque-om/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/torque-om/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml 18 Apr 2005 04:39:41 -  1.1
  +++ maven.xml 18 Apr 2005 05:15:37 -  1.2
  @@ -13,7 +13,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  -
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed RELEASE-TODO

2005-04-17 Thread taylor
taylor  2005/04/17 21:48:04

  Modified:.RELEASE-TODO
  Log:
  doesn't look like much fun
  
  Revision  ChangesPath
  1.29  +19 -2 jakarta-jetspeed/RELEASE-TODO
  
  Index: RELEASE-TODO
  ===
  RCS file: /home/cvs/jakarta-jetspeed/RELEASE-TODO,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- RELEASE-TODO  13 Apr 2005 10:42:25 -  1.28
  +++ RELEASE-TODO  18 Apr 2005 04:48:04 -  1.29
  @@ -215,5 +215,22 @@
   
   23) Update this todo list where appropiate
   
  -24) Relax :) 
  +24) (optional)
  + Build Torque-OM bindings for each and every database (ugh gotta sign 
them too)
  + Put them under the binary release in a subdirectory name torque-om
  + Each database should have its own subdirectory 
  +db2
  +hypersonic
  +mysql
  +oracle
  +postgresql
  +mssql
  +sybase
  +axion
  +cloudscape
  +db2400
  +interbase
  +sapdb
  +
  +25) Relax :) 
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om/src/torque-schema database_3_1.dtd

2005-04-17 Thread taylor
taylor  2005/04/17 21:39:41

  Added:   torque-om/src/java .cvsignore
   torque-om locator.ent project.xml locator.path .cvsignore
project.properties maven.xml
   torque-om/src/torque-schema database_3_1.dtd
  Log:
  Torque OM jar generation per backend database
  http://issues.apache.org/jira/browse/JS1-542
  
  Revision  ChangesPath
  1.1  jakarta-jetspeed/torque-om/src/java/.cvsignore
  
  Index: .cvsignore
  ===
  *.generation
  
  
  1.1  jakarta-jetspeed/torque-om/locator.ent
  
  Index: locator.ent
  ===
  
  
   %locator-ent;
  
  
  
  
  1.1  jakarta-jetspeed/torque-om/project.xml
  
  Index: project.xml
  ===
  
   %locator-entities;   
  
  ]>
  
  
3
jetspeed-torque-om
jetspeed  
&jetspeed-version;  
Jetspeed-1 Torque OM Bindings
org.apache.jetspeed

  Torque OM Bindings Generator classes

Torque OM Bindings
  

  
  maven-plugins
  maven-torque-plugin
  3.2
  plugin
  

  
  
  
  
  1.1  jakarta-jetspeed/torque-om/locator.path
  
  Index: locator.path
  ===
  ../
  
  
  1.1  jakarta-jetspeed/torque-om/.cvsignore
  
  Index: .cvsignore
  ===
  bin
  target
  *.log
  
  
  1.1  jakarta-jetspeed/torque-om/project.properties
  
  Index: project.properties
  ===
  # Copyright 2004 The Apache Software Foundation
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # 
  # http://www.apache.org/licenses/LICENSE-2.0
  # 
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  # ---
  #
  #  Torque Preferences
  #
  # ---
  
  torque.schema.dir = ../src/torque-schema
  torque.java.dir = ./src/java
  torque.useClasspath = true
  torque.basePrefix = Base
  torque.addSaveMethod = true
  torque.addGetByNameMethod = true
  torque.complexObjectModel = true
  torque.addTimeStamp = true
  torque.addIntakeRetrievable = false
  torque.saveException = Exception
  torque.runOnlyOnSchemaChange = false
  
  project = jetspeed
  
  # ---
  # 
  #  T A R G E T  D A T A B A S E
  #
  # ---
  # db2
  # hypersonic
  # mysql
  # oracle
  # postgresql
  # mssql
  # sybase
  # axion
  # cloudscape
  # db2400
  # interbase
  # sapdb
  # ---
  torque.database = mysql
  
  
  
  
  1.1  jakarta-jetspeed/torque-om/maven.xml
  
  Index: maven.xml
  ===
  
  
  
  
   
  
  
  
  1.1  
jakarta-jetspeed/torque-om/src/torque-schema/database_3_1.dtd
  
  Index: database_3_1.dtd
  ===
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (JS1-542) Torque OM jar generation per backend database

2005-04-17 Thread David Sean Taylor (JIRA)
Torque OM jar generation per backend database
-

 Key: JS1-542
 URL: http://issues.apache.org/jira/browse/JS1-542
 Project: Jetspeed
Type: New Feature
  Components: Database  
Versions: 1.6-dev
Reporter: David Sean Taylor
 Assigned to: David Sean Taylor 
 Fix For: 1.6-dev


Creates torque specific bindings for the selected database.
Goal: end users will no longer have to recompile the source to get support for 
a different database than hypersonic. This requirement has been the source to a 
large number of problems reported on the user list.

on the distribution site, I'd like to provide several small jars for each 
torque-supported database:

+ 1.6-binary
  + torque
  + hypersonic
  jetspeed-torque-om-1.6.jar
  + mysql
  jetspeed-torque-om-1.6.jar
  + axion
  jetspeed-torque-om-1.6.jar
  + sybase
  jetspeed-torque-om-1.6.jar
...

prefer to have all the jars named the same to lessen the chance of someone 
accidently having 2 jars installed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/fusion locator.path project.xml

2005-04-17 Thread taylor
taylor  2005/04/17 21:42:42

  Modified:fusion   project.xml
  Added:   fusion   locator.path
  Log:
  centralize version numbering under etc/artifact-versions.ent
  
  Revision  ChangesPath
  1.11  +1 -1  jakarta-jetspeed/fusion/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/fusion/project.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- project.xml   27 Dec 2004 19:36:24 -  1.10
  +++ project.xml   18 Apr 2005 04:42:42 -  1.11
  @@ -22,7 +22,7 @@
 jetspeed-fusion
 jetspeed
 JetspeedFusion
  -  1.6-dev  
  +  &jetspeed-version;  
 
   Portlet API (JSR-168) Support for Jetspeed-1, implemented with 
Jetspeed-2 Components and Pipelines
 
  
  
  
  1.1  jakarta-jetspeed/fusion/locator.path
  
  Index: locator.path
  ===
  ../
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/etc artifact-versions.ent

2005-04-17 Thread taylor
taylor  2005/04/17 21:40:53

  Modified:.maven.xml locator.ent project.xml
  Added:   .locator.path
   etc  artifact-versions.ent
  Log:
  centralize version numbering under etc/artifact-versions.ent
  switch over build to using torque-om jar
  
  Revision  ChangesPath
  1.41  +8 -1  jakarta-jetspeed/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/maven.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- maven.xml 12 Apr 2005 22:40:09 -  1.40
  +++ maven.xml 18 Apr 2005 04:40:53 -  1.41
  @@ -288,7 +288,14 @@
   marshal="true"/>
   -->
   
  -
  +
  +
   
   
   
  
  
  
  1.7   +6 -0  jakarta-jetspeed/locator.ent
  
  Index: locator.ent
  ===
  RCS file: /home/cvs/jakarta-jetspeed/locator.ent,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- locator.ent   12 Apr 2005 23:19:13 -  1.6
  +++ locator.ent   18 Apr 2005 04:40:53 -  1.7
  @@ -13,6 +13,12 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  +
  +
  +
  +
  + %artifact-versions;'> 
%artifact-versions-ent;
  +
  
 
  
  
  
  
  1.62  +1 -1  jakarta-jetspeed/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/project.xml,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- project.xml   12 Apr 2005 23:19:13 -  1.61
  +++ project.xml   18 Apr 2005 04:40:53 -  1.62
  @@ -21,7 +21,7 @@
   3
   jetspeed
   Jetspeed 1 Enterprise Portal
  -1.6-dev
  +&jetspeed-version;
   
   Apache Software Foundation
   http://portals.apache.org/
  
  
  
  1.1  jakarta-jetspeed/locator.path
  
  Index: locator.path
  ===
  ./
  
  
  1.1  jakarta-jetspeed/etc/artifact-versions.ent
  
  Index: artifact-versions.ent
  ===
  
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om/src/torque-schema - New directory

2005-04-17 Thread taylor
taylor  2005/04/17 21:39:40

  jakarta-jetspeed/torque-om/src/torque-schema - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om/src/java - New directory

2005-04-17 Thread taylor
taylor  2005/04/17 21:39:40

  jakarta-jetspeed/torque-om/src/java - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om - New directory

2005-04-17 Thread taylor
taylor  2005/04/17 21:39:40

  jakarta-jetspeed/torque-om - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/torque-om/src - New directory

2005-04-17 Thread taylor
taylor  2005/04/17 21:39:40

  jakarta-jetspeed/torque-om/src - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jetspeed2: Portal Site Detail

2005-04-14 Thread David Sean Taylor
Thang H. Lai wrote:
Continuing a thread from jetspeed-user list:
How do we start implementing the Portal Site Manager?

Its already started.
Just continue working on it from there.
Send patches to the list or to me directly.
I think we could start with gathering requirements from anyone 
interested. I think a tree view (as it is currently implemented) is 
useful since the nature of the PSML folders is a tree. When you click on 
an item in the tree, you see the details of either the folder or 
document in the left hand side.
The types of nodes:

1. Folder
2. Document
3. Link
For the tree view, we have a CMS viewer over Graffito API and a Graffito 
browser for a different type of viewer of CMS content. Randy has been 
considering writing a PSML CMS component. In that case we could leverage 
 the Graffito portlets. Just an idea. Recommend giving Graffito a test 
drive.

Folder Details should have tabs for administering:
* security constraints
* folder properties
* document ordering
* metadata
* document sets
* menus (when supported)
see folder.metadata for details
see http://portals.apache.org/jetspeed-2/bronco.html
for security constraint info
Link Details is pretty straight forward
Page Details should integrate with the customizer so we need to sort out 
the overlap there...

Also, we should try to make all admin portlets have the same style.
If we always use the same PLT.C styles in our admin portlets, this 
should work. Right now we have admin portlets written in Velocity, JSP, 
and JSF.

Finally, there is subsite support
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Jetspeed-1.6 Release

2005-04-14 Thread David Sean Taylor
I still have a few outstanding features for the 1.6 release:
- build db specific torque jars
- fusion testing
- cleanup tutorial
Does anyone else have anything outstanding for 1.6?
Im not going to build the release until the above are resolved
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[jira] Commented: (JS2-234) Third-party portlets not included in M2 release

2005-04-14 Thread David Sean Taylor (JIRA)
 [ http://issues.apache.org/jira/browse/JS2-234?page=comments#action_62844 ]
 
David Sean Taylor commented on JS2-234:
---

I agree a better message would be helpful such as "We cant distribute these 
portlets as they are not Apache licensed. Please download from here "

> Third-party portlets not included in M2 release
> ---
>
>  Key: JS2-234
>  URL: http://issues.apache.org/jira/browse/JS2-234
>  Project: Jetspeed 2
> Type: Bug
>   Components: Demo Portlets
> Versions: 2.0-M2
> Reporter: Craig Doremus

>
> Third-party portlets (Google, Plumtree RSS and Sun portlets) are not included 
> in Jetspeed-2.0-M2 bundled release, which causes an error when trying to 
> access them after a new install. For instance, in view mode when accessing 
> the Google portlet, this error message is displayed in the portlet window:
> Encountered the following problem(s) while attmepting to render portlet 
> fragment: googlePortlet1
> Failed to retrieve Portlet Definition for GooglePortlet::GooglePortlet
> org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: No 
> PortletEntity exists for for id googlePortlet1 removing window from cache.
> Failed to retrieve Portlet Definition for GooglePortlet::GooglePortlet
> A similar error ocurrs when running the other two third-party portlet 
> applications.
> If you download and install these portlets from their third-party location, 
> the errors go away. My suggestion is to modify the logic in accessing these 
> portlets to alert the user a portlet is missing and notify him/her where to 
> obtain the portlet. Alternatively, you can include the missing third-party 
> portlets in the Jetspeed distribution, but licensing issues may preclude that 
> alternative.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [J2] NPE in PortletSession.getPortletContext

2005-04-14 Thread David Sean Taylor
Dulisch, Martin wrote:
Hi,
I get the following exception when calling PortletSession.getPortletContext.
Jetspeed version 2M2.
java.lang.NullPointerException
at
org.apache.pluto.core.impl.PortletSessionImpl.getInternalPortletContext(Port
letSessionImpl.java:242)
at
org.apache.pluto.core.impl.PortletSessionImpl.getPortletContext(PortletSessi
onImpl.java:199)

Is this a bug or a configuration issue.
Jetspeed uses a patched version of pluto. Where can I find the source code
for this?
Its pretty much the CVS HEAD right now. You can use that as there 
haven't been any commits since.
I dont think anyone tagged Pluto...

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed .classpath locator.ent project.xml

2005-04-12 Thread taylor
taylor  2005/04/12 16:19:13

  Modified:..classpath locator.ent project.xml
  Log:
  phasing out old stock quote service and replacing with new, Axis based one
  
  Revision  ChangesPath
  1.13  +3 -0  jakarta-jetspeed/.classpath
  
  Index: .classpath
  ===
  RCS file: /home/cvs/jakarta-jetspeed/.classpath,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- .classpath3 Apr 2005 20:06:38 -   1.12
  +++ .classpath12 Apr 2005 23:19:13 -  1.13
  @@ -61,5 +61,8 @@



  + 
  + 
  + 

   
  
  
  
  1.6   +2 -1  jakarta-jetspeed/locator.ent
  
  Index: locator.ent
  ===
  RCS file: /home/cvs/jakarta-jetspeed/locator.ent,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- locator.ent   8 Nov 2004 05:22:47 -   1.5
  +++ locator.ent   12 Apr 2005 23:19:13 -  1.6
  @@ -15,4 +15,5 @@
   -->
  
 
  -   
  \ No newline at end of file
  +   
  +   
  \ No newline at end of file
  
  
  
  1.61  +2 -0  jakarta-jetspeed/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/project.xml,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- project.xml   12 Apr 2005 22:40:09 -  1.60
  +++ project.xml   12 Apr 2005 23:19:13 -  1.61
  @@ -169,6 +169,8 @@
&spring;
&fusion;
&activemq;
  +&axis;
  +
   

cvs commit: jakarta-jetspeed/etc/project-dependencies axis.xml

2005-04-12 Thread taylor
taylor  2005/04/12 16:16:41

  Added:   etc/project-dependencies axis.xml
  Log:
  phasing out old stock quote service and replacing with new, Axis based one
  
  Revision  ChangesPath
  1.1  jakarta-jetspeed/etc/project-dependencies/axis.xml
  
  Index: axis.xml
  ===
  
  
axis
1.1

  true

  
  
jaxrpc
  1.1

  true

  
  
saaj
  1.1

  true

  
  
commons-discovery
  0.2

  true

  
  
bsws
  1.0

  true

  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf JetspeedResources.properties

2005-04-12 Thread taylor
taylor  2005/04/12 16:16:29

  Modified:webapp/WEB-INF/conf JetspeedResources.properties
  Log:
  phasing out old stock quote service and replacing with new, Axis based one
  
  Revision  ChangesPath
  1.133 +8 -3  
jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties
  
  Index: JetspeedResources.properties
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -r1.132 -r1.133
  --- JetspeedResources.properties  16 Feb 2005 16:43:14 -  1.132
  +++ JetspeedResources.properties  12 Apr 2005 23:16:29 -  1.133
  @@ -554,8 +554,13 @@
   # StockQuote Web Service#
   #
   # The Template Locator is implemented as a Turbine service.
  
-services.StockQuoteService.classname=org.apache.jetspeed.webservices.finance.stockmarket.JetspeedStockQuoteService
  -services.StockQuoteService.endpoint = 
http://64.105.95.101/webservices/container/BlueSunriseFinance/BlueSunriseFinanceService/BlueSunriseFinancePort/
  +
  +### deprecated service -- will soon be shutdown
  +### 
services.StockQuoteService.classname=org.apache.jetspeed.webservices.finance.stockmarket.JetspeedStockQuoteService
  +### services.StockQuoteService.endpoint = 
http://64.105.95.101/webservices/container/BlueSunriseFinance/BlueSunriseFinanceService/BlueSunriseFinancePort/
  +
  +services.StockQuoteService.classname= 
org.apache.jetspeed.webservices.finance.stockmarket.JetspeedStockQuoteService2
  +services.StockQuoteService.endpoint = 
http://www.bluesunrise.com/axis/services/QuoteService
   
   #
   # Persistence Manager Service   #
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/webservices/finance/stockmarket JetspeedStockQuoteService2.java

2005-04-12 Thread taylor
taylor  2005/04/12 16:16:08

  Added:   src/java/org/apache/jetspeed/webservices/finance/stockmarket
JetspeedStockQuoteService2.java
  Log:
  phasing out old stock quote service and replacing with new, Axis based one
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/webservices/finance/stockmarket/JetspeedStockQuoteService2.java
  
  Index: JetspeedStockQuoteService2.java
  ===
  /*
   * Copyright 2000-2001,2004 The Apache Software Foundation.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   * 
   *  http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package org.apache.jetspeed.webservices.finance.stockmarket;
  
  import java.net.MalformedURLException;
  import java.net.URL;
  import java.rmi.RemoteException;
  
  import javax.servlet.ServletConfig;
  
  import org.apache.turbine.services.InitializationException;
  import org.apache.turbine.services.TurbineBaseService;
  import org.apache.turbine.services.TurbineServices;
  import org.apache.turbine.services.resources.ResourceService;
  
  import com.bluesunrise.ws.finance.stockmarket.webservice.BaseQuote;
  import com.bluesunrise.ws.finance.stockmarket.webservice.QuoteService;
  import 
com.bluesunrise.ws.finance.stockmarket.webservice.QuoteServiceServiceLocator;
  
  
  /**
  Implements StockQuoteService,
  providing a web service for getting stock quotes.
  
  @author mailto:[EMAIL PROTECTED]">David Sean Taylor
  @version $Id: JetspeedStockQuoteService2.java,v 1.1 2005/04/12 23:16:08 
taylor Exp $
  */
  public class JetspeedStockQuoteService2 extends TurbineBaseService implements
  StockQuoteService
  {
  private String soapEndPoint = SERVICE_END_POINT;
  private static final String SERVICE_END_POINT =
  "http://www.bluesunrise.com/axis/services/QuoteService";;
  
  private URL serviceURL = null;
  private QuoteServiceServiceLocator locator;
  
  public synchronized void init(ServletConfig conf) throws 
InitializationException
  {
  ResourceService serviceConf = 
((TurbineServices)TurbineServices.getInstance())
  .getResources(StockQuoteService.SERVICE_NAME);
  
  soapEndPoint = serviceConf.getString( "endpoint", SERVICE_END_POINT);
  initURL(soapEndPoint);
  super.init(conf);
  }
  
  private void initURL(String sep) throws InitializationException
  {
  try
  {
  serviceURL = new URL(soapEndPoint);
  locator = new QuoteServiceServiceLocator();
  }
  catch (MalformedURLException e)
  {
  throw new InitializationException("Failed to locate Quote 
Service: " + soapEndPoint, e);
  }
  }
  
  /* (non-Javadoc)
   * @see 
org.apache.jetspeed.webservices.finance.stockmarket.StockQuoteService#quote(java.lang.String)
   */
  public String quote(String symbol) throws RemoteException
  {
  try
  {
  QuoteService quoteService = locator.getQuoteService(serviceURL);
  return quoteService.quote(symbol);
  }
  catch (Exception e)
  {
  throw new RemoteException(e.toString());
  }
  }
  
  /* (non-Javadoc)
   * @see 
org.apache.jetspeed.webservices.finance.stockmarket.StockQuoteService#fullQuote(java.lang.String)
   */
  public StockQuote fullQuote(String symbol) throws RemoteException
  {
  try
  {
  QuoteService quoteService = locator.getQuoteService(serviceURL);
  BaseQuote quote = quoteService.fullQuote(symbol);
  StockQuote newQuote = new BaseStockQuote();
  convertQuote(quote, newQuote);
  return newQuote;
  }
  catch (Exception e)
  {
  throw new RemoteException(e.toString());
  }
  }
  
  /* (non-Javadoc)
   * @see 
org.apache.jetspeed.webservices.finance.stockmarket.StockQuoteService#fullQuotes(java.lang.String[])
   */
  public StockQuote[] fullQuotes(String[] symbols) throws RemoteException
  {
  try
  {
  QuoteService quoteService = locator.getQuoteService(serviceURL);
  BaseQuote[] quotes = quoteService.fullQuotes(symbols);
 

Re: found fusion/pluto interaction bug

2005-04-12 Thread David Sean Taylor
Raphaël Luta wrote:
Let me know if I can do something now (or within the next 2 hours) else
I'll at least test the cut release but probably not before Thursday.
Thursday sounds more realistic
Slim chance I'll finish anything today
Still working thru some issues here, for example the tutorial is broken
Just test it and fix anything you find
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: found fusion/pluto interaction bug

2005-04-12 Thread David Sean Taylor
Raphaël Luta wrote:
David Sean Taylor wrote:
Moved this to Jetspeed-dev
Raphaël Luta wrote:
I thought we would first go through Release candidates for 1.6 before 
announcing an official "1.6" release ?

im -1 on that because no one actually works on 1.6 anymore except myself
There hasn't been any activity on the 1.6 branch for months
My vote is to release it since I don't have the free tiem for a full 
RC cycle

That's precisely why I think it's risky to call it a release directly. 
If there's any bug found in the 1.6 release, we'll get a whole lot a 
user queries on the list with few developers still actively working and
supporting the 1.x branch.
I'd like the 1.6 final release to be as stable as possible so that we 
don't *have* to cut a 1.6.1 for maintenance reasons because of some
major issues in the release.
For me reaching this goal means cut a release, calling it RC1, freeze 
the tree, ask all users to test it out for 2 weeks - 1 month and if no 
one comes back with a showstopper or major bug, recut a 1.6 release that 
can possibly be the same as 1.6 RC1 and publicly state that from then
on Jetspeed 1 is in "maintenance mode" with no features added and that 
all users should consider upgrading.

OK we can do this.
Any help apprecated in making the release
Today Ive come across a few things I'd like to fix in 1.6
If I get them all fixed, then I'll try to release an RC1 late tonight
Otherwise its ready when its ready...but definitely by the weekend

I'm testing it in J2 right now... I'll ping you when it's done and 
committed and let you update the Fusion assembly file, ok ?

Great!
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed/plugin/target maven-jetspeed-plugin-1.0-SNAPSHOT.jar

2005-04-12 Thread taylor
taylor  2005/04/12 12:33:40

  Removed: plugin/target maven-jetspeed-plugin-1.0-SNAPSHOT.jar
  Log:
  remove target from cvs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/tutorial/src/java/org/apache/jetspeed/tutorial/om .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 12:12:03

  Added:   tutorial/src/java/org/apache/jetspeed/tutorial/om .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed/tutorial/src/java/org/apache/jetspeed/tutorial/om/.cvsignore
  
  Index: .cvsignore
  ===
  map
  *.java
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/tutorial/src/java/org/apache/jetspeed/tutorial/om - New directory

2005-04-12 Thread taylor
taylor  2005/04/12 12:12:02

  jakarta-jetspeed/tutorial/src/java/org/apache/jetspeed/tutorial/om - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/tutorial/src/java .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 12:11:31

  Added:   tutorial/src/java .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.1  jakarta-jetspeed/tutorial/src/java/.cvsignore
  
  Index: .cvsignore
  ===
  *.generation
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/turbine .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 12:10:55

  Modified:src/java/org/apache/jetspeed/om/security/turbine .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.2   +21 -1 
jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/turbine/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/turbine/.cvsignore,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- .cvsignore12 Apr 2005 17:49:58 -  1.1
  +++ .cvsignore12 Apr 2005 19:10:55 -  1.2
  @@ -1 +1,21 @@
  -map
  \ No newline at end of file
  +map
  +BaseTurbineGroup.java
  +BaseTurbineGroupPeer.java
  +BaseTurbinePermission.java
  +BaseTurbinePermissionPeer.java
  +BaseTurbineRole.java
  +BaseTurbineRolePeer.java
  +BaseTurbineRolePermission.java
  +BaseTurbineRolePermissionPeer.java
  +BaseTurbineUser.java
  +BaseTurbineUserGroupRole.java
  +BaseTurbineUserGroupRolePeer.java
  +BaseTurbineUserPeer.java
  +TurbineGroupPeer.java
  +TurbinePermissionPeer.java
  +TurbineRolePeer.java
  +TurbineRolePermission.java
  +TurbineRolePermissionPeer.java
  +TurbineUser.java
  +TurbineUserGroupRole.java
  +TurbineUserGroupRolePeer.java
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 12:07:18

  Added:   src/java/org/apache/jetspeed/om/dbregistry .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/.cvsignore
  
  Index: .cvsignore
  ===
  map
  BasePortletMediatype.java
  SecurityAccessDbEntryPeer.java
  BasePortletMediatypePeer.java
  PortletCategoryPeer.java 
  BasePortletParameter.java
  BasePortletParameterPeer.java
  BaseSecurityDbEntryPeer.java
  PortletParameterPeer.java 
  BaseSecurityDbEntry.java
  BasePortletDbEntryPeer.java 
  PortletParameter.java
  BaseSecurityAllowDbEntryPeer.java
  PortletDbEntry.java 
  BasePortletDbEntry.java
  BasePortletCategoryPeer.java 
  PortletMediatype.java
  BaseSecurityAccessDbEntryPeer.java
  BaseSecurityAccessDbEntry.java
  BasePortletCategory.java 
  SecurityAccessDbEntry.java
  SecurityDbEntry.java 
  PortletMediatypePeer.java
  PortletCategory.java 
  BaseSecurityAllowDbEntry.java
  SecurityAllowDbEntry.java
  SecurityAllowDbEntryPeer.java 
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/xml .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 12:05:09

  Modified:src/java/org/apache/jetspeed/xml .cvsignore
  Added:   src/java/org/apache/jetspeed/xml/api .cvsignore
   src/java/org/apache/jetspeed/xml/api/jcm .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/xml/api/.cvsignore
  
  Index: .cvsignore
  ===
  jcm
  
  
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/xml/api/jcm/.cvsignore
  
  Index: .cvsignore
  ===
  *.java
  
  
  
  
  
  1.3   +3 -1  
jakarta-jetspeed/src/java/org/apache/jetspeed/xml/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/xml/.cvsignore,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- .cvsignore17 Apr 2001 20:36:44 -  1.2
  +++ .cvsignore12 Apr 2005 19:05:09 -  1.3
  @@ -1 +1,3 @@
  -api
  +*.java
  +
  +
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbpsml .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 12:03:56

  Added:   src/java/org/apache/jetspeed/om/dbpsml/map .cvsignore
   src/java/org/apache/jetspeed/om/dbpsml .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbpsml/map/.cvsignore
  
  Index: .cvsignore
  ===
  *.java
  
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbpsml/.cvsignore
  
  Index: .cvsignore
  ===
  map
  BaseJetspeedGroupProfile.java
  BaseJetspeedGroupProfilePeer.java
  BaseJetspeedRoleProfile.java
  BaseJetspeedRoleProfilePeer.java
  BaseJetspeedUserProfile.java
  BaseJetspeedUserProfilePeer.java
  JetspeedGroupProfile.java
  JetspeedRoleProfile.java
  JetspeedUserProfile.java
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/email .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 11:59:02

  Modified:src/java/org/apache/jetspeed/om/apps .cvsignore
   src/java/org/apache/jetspeed/om/apps/email .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.2   +1 -1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/.cvsignore,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- .cvsignore12 Apr 2005 17:49:58 -  1.1
  +++ .cvsignore12 Apr 2005 18:59:01 -  1.2
  @@ -1 +1 @@
  -map
  \ No newline at end of file
  +coffees
  \ No newline at end of file
  
  
  
  1.2   +4 -1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/email/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/email/.cvsignore,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- .cvsignore12 Apr 2005 17:49:58 -  1.1
  +++ .cvsignore12 Apr 2005 18:59:02 -  1.2
  @@ -1 +1,4 @@
  -map
  \ No newline at end of file
  +map
  +BaseEmailInbox.java
  +BaseEmailInboxPeer.java
  +EmailInboxPeer.java
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/src/java .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 11:57:51

  Added:   src/java .cvsignore
  Log:
  ignore generated files
  
  Revision  ChangesPath
  1.1  jakarta-jetspeed/src/java/.cvsignore
  
  Index: .cvsignore
  ===
  *.generation
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed RELEASE-TODO

2005-04-12 Thread taylor
taylor  2005/04/12 11:56:44

  Modified:.RELEASE-TODO
  Log:
  dont forget fusion
  
  Revision  ChangesPath
  1.27  +2 -2  jakarta-jetspeed/RELEASE-TODO
  
  Index: RELEASE-TODO
  ===
  RCS file: /home/cvs/jakarta-jetspeed/RELEASE-TODO,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- RELEASE-TODO  11 Aug 2004 10:56:47 -  1.26
  +++ RELEASE-TODO  12 Apr 2005 18:56:44 -  1.27
  @@ -23,7 +23,7 @@
   
   1) Update the version number in the following files:
   
  -- project.xml
  +- project.xml, fusion/project.xml
   - webapp/WEB-INF/conf/JetspeedResources.properties
   - tutorial/project.properties
   (There may be other files, so do a search on the previous version # 
and "-dev")
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed/tutorial maven.xml

2005-04-12 Thread taylor
taylor  2005/04/12 11:56:26

  Modified:tutorial maven.xml
  Log:
  typo in template
  
  Revision  ChangesPath
  1.10  +1 -1  jakarta-jetspeed/tutorial/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/tutorial/maven.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- maven.xml 7 Jul 2004 17:40:22 -   1.9
  +++ maven.xml 12 Apr 2005 18:56:26 -  1.10
  @@ -305,7 +305,7 @@
   
   
   
  -
  +
   
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: found fusion/pluto interaction bug

2005-04-12 Thread David Sean Taylor
Moved this to Jetspeed-dev
Raphaël Luta wrote:
I thought we would first go through Release candidates for 1.6 before 
announcing an official "1.6" release ?

im -1 on that because no one actually works on 1.6 anymore except myself
There hasn't been any activity on the 1.6 branch for months
My vote is to release it since I don't have the free tiem for a full RC 
cycle

If we could get the fix in now I'd be glad to incorporate it in the 
release

I can write it easily but I don't have currently the environment to test 
it :) I've not yet run Fusion...

I'll commit a patch later this evening.
send me a patch and i'll test it immediately
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry BasePortletMediatype.java SecurityAccessDbEntryPeer.java BasePortletMediatypePeer.java PortletCategoryPeer.java BasePortletParameter.java BasePortletParameterPeer.java BaseSecurityDbEntryPeer.java PortletParameterPeer.java BaseSecurityDbEntry.java BasePortletDbEntryPeer.java PortletParameter.java BaseSecurityAllowDbEntryPeer.java PortletDbEntry.java BasePortletDbEntry.java BasePortletCategoryPeer.java PortletMediatype.java BaseSecurityAccessDbEntryPeer.java BaseSecurityAccessDbEntry.java BasePortletCategory.java SecurityAccessDbEntry.java SecurityDbEntry.java PortletMediatypePeer.java PortletCategory.java BaseSecurityAllowDbEntry.java SecurityAllowDbEntry.java SecurityAllowDbEntryPeer.java

2005-04-12 Thread taylor
taylor  2005/04/12 11:14:32

  Removed: src/java/org/apache/jetspeed/om/dbregistry
BasePortletMediatype.java
SecurityAccessDbEntryPeer.java
BasePortletMediatypePeer.java
PortletCategoryPeer.java BasePortletParameter.java
BasePortletParameterPeer.java
BaseSecurityDbEntryPeer.java
PortletParameterPeer.java BaseSecurityDbEntry.java
BasePortletDbEntryPeer.java PortletParameter.java
BaseSecurityAllowDbEntryPeer.java
PortletDbEntry.java BasePortletDbEntry.java
BasePortletCategoryPeer.java PortletMediatype.java
BaseSecurityAccessDbEntryPeer.java
BaseSecurityAccessDbEntry.java
BasePortletCategory.java SecurityAccessDbEntry.java
SecurityDbEntry.java PortletMediatypePeer.java
PortletCategory.java BaseSecurityAllowDbEntry.java
SecurityAllowDbEntry.java
SecurityAllowDbEntryPeer.java
  Log:
  didn't mean to check in these generated files
  great way to start a release!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/email .cvsignore

2005-04-12 Thread David Sean Taylor
Sorry, I committed the wrong files
Great way to start a release
Removing now
[EMAIL PROTECTED] wrote:
taylor  2005/04/12 10:49:58
  Added:   src/java/org/apache/jetspeed/om/dbregistry/map
PortletDbEntryMapBuilder.java
SecurityAccessDbEntryMapBuilder.java
PortletParameterMapBuilder.java
PortletMediatypeMapBuilder.java
SecurityAllowDbEntryMapBuilder.java
SecurityDbEntryMapBuilder.java
PortletCategoryMapBuilder.java
   src/java/org/apache/jetspeed/om/dbregistry
BasePortletMediatype.java
SecurityAccessDbEntryPeer.java
BasePortletMediatypePeer.java
PortletCategoryPeer.java BasePortletParameter.java
BasePortletParameterPeer.java
BaseSecurityDbEntryPeer.java
PortletParameterPeer.java BaseSecurityDbEntry.java
BasePortletDbEntryPeer.java PortletParameter.java
BaseSecurityAllowDbEntryPeer.java
PortletDbEntry.java BasePortletDbEntry.java
BasePortletCategoryPeer.java PortletMediatype.java
BaseSecurityAccessDbEntryPeer.java
BaseSecurityAccessDbEntry.java
BasePortletCategory.java SecurityAccessDbEntry.java
SecurityDbEntry.java PortletMediatypePeer.java
PortletCategory.java BaseSecurityAllowDbEntry.java
SecurityAllowDbEntry.java
SecurityAllowDbEntryPeer.java
   src/java/org/apache/jetspeed/om/apps .cvsignore
   src/java/org/apache/jetspeed/om/security/turbine .cvsignore
   src/java/org/apache/jetspeed/om/apps/email .cvsignore
  Log:
  cvs ignore generated files
  
  Revision  ChangesPath
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletDbEntryMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAccessDbEntryMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAccessDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletParameterMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletParameterMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletMediatypeMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletMediatypeMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAllowDbEntryMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAllowDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityDbEntryMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletCategoryMapBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletCategoryMapBuilder.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatype.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatype.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/SecurityAccessDbEntryPeer.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/SecurityAccessDbEntryPeer.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatypePeer.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatypePeer.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/PortletCategoryPeer.java
  
  http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/PortletCategoryPeer.java?rev=1.1
  
  
  1.1  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry

cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/apps/email .cvsignore

2005-04-12 Thread taylor
taylor  2005/04/12 10:49:58

  Added:   src/java/org/apache/jetspeed/om/dbregistry/map
PortletDbEntryMapBuilder.java
SecurityAccessDbEntryMapBuilder.java
PortletParameterMapBuilder.java
PortletMediatypeMapBuilder.java
SecurityAllowDbEntryMapBuilder.java
SecurityDbEntryMapBuilder.java
PortletCategoryMapBuilder.java
   src/java/org/apache/jetspeed/om/dbregistry
BasePortletMediatype.java
SecurityAccessDbEntryPeer.java
BasePortletMediatypePeer.java
PortletCategoryPeer.java BasePortletParameter.java
BasePortletParameterPeer.java
BaseSecurityDbEntryPeer.java
PortletParameterPeer.java BaseSecurityDbEntry.java
BasePortletDbEntryPeer.java PortletParameter.java
BaseSecurityAllowDbEntryPeer.java
PortletDbEntry.java BasePortletDbEntry.java
BasePortletCategoryPeer.java PortletMediatype.java
BaseSecurityAccessDbEntryPeer.java
BaseSecurityAccessDbEntry.java
BasePortletCategory.java SecurityAccessDbEntry.java
SecurityDbEntry.java PortletMediatypePeer.java
PortletCategory.java BaseSecurityAllowDbEntry.java
SecurityAllowDbEntry.java
SecurityAllowDbEntryPeer.java
   src/java/org/apache/jetspeed/om/apps .cvsignore
   src/java/org/apache/jetspeed/om/security/turbine .cvsignore
   src/java/org/apache/jetspeed/om/apps/email .cvsignore
  Log:
  cvs ignore generated files
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletDbEntryMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAccessDbEntryMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAccessDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletParameterMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletParameterMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletMediatypeMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletMediatypeMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAllowDbEntryMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityAllowDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityDbEntryMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/SecurityDbEntryMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletCategoryMapBuilder.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map/PortletCategoryMapBuilder.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatype.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatype.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/SecurityAccessDbEntryPeer.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/SecurityAccessDbEntryPeer.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatypePeer.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletMediatypePeer.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/PortletCategoryPeer.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/PortletCategoryPeer.java?rev=1.1
  
  
  1.1  
jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/BasePortletParameter.java
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/java

cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map - New directory

2005-04-12 Thread taylor
taylor  2005/04/12 10:49:51

  jakarta-jetspeed/src/java/org/apache/jetspeed/om/dbregistry/map - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities TestCapability.java

2005-04-09 Thread taylor
taylor  2005/04/09 12:08:32

  Modified:components/capability/src/test/org/apache/jetspeed/capabilities
TestCapability.java
  Log:
  capability tests pass with MySQL
  its a mystery as to why the tests fail with HSQL but the same api calls 
succeed when the portal is running
  
  Revision  ChangesPath
  1.6   +2 -2  
jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
  
  Index: TestCapability.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestCapability.java   9 Apr 2005 18:46:49 -   1.5
  +++ TestCapability.java   9 Apr 2005 19:08:32 -   1.6
  @@ -133,7 +133,7 @@
   System.out.println("Find pattern: " + userAgent);
   cm = capabilities.getCapabilityMap(userAgent);
   assertNotNull("getCapabilityMap is null", cm);
  -assertTrue("stinking IE for Mac", 
cm.getClient().getName().equals("iemac"));
  +assertTrue("IE for Mac " + cm.getClient().getName(), 
cm.getClient().getName().equals("ie5mac"));
   capabilityMapReport(cm);
   
   userAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
.NET CLR 1.1.4322)";
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/capabilities Client.java

2005-04-09 Thread taylor
taylor  2005/04/09 11:48:09

  Modified:jetspeed-api/src/java/org/apache/jetspeed/profiler/rules
RuleCriterionResolver.java
   jetspeed-api/src/java/org/apache/jetspeed/capabilities
Client.java
  Log:
  http://issues.apache.org/jira/browse/JS2-230
  
  locate profiles with user-agent
  
  Revision  ChangesPath
  1.7   +4 -1  
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/rules/RuleCriterionResolver.java
  
  Index: RuleCriterionResolver.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/rules/RuleCriterionResolver.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RuleCriterionResolver.java23 Mar 2005 22:15:25 -  1.6
  +++ RuleCriterionResolver.java9 Apr 2005 18:48:09 -   1.7
  @@ -58,6 +58,9 @@
   
   /** first check request parameter, then check country code in the 
request context */ 
   public final static String COUNTRY = "country";
  +
  +/** first check request parameter, then user agent in the request 
context */ 
  +public final static String USER_AGENT = "user.agent";
   
   /** first check request parameter, then check language in the request 
context */ 
   public final static String LANGUAGE = "language";
  
  
  
  1.3   +4 -0  
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/capabilities/Client.java
  
  Index: Client.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/capabilities/Client.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Client.java   19 Mar 2005 12:47:13 -  1.2
  +++ Client.java   9 Apr 2005 18:48:09 -   1.3
  @@ -42,6 +42,10 @@
*/
   public int getClientId();
   
  +public int getEvalOrder();
  +
  +public void setEvalOrder(int evalOrder);
  +
   /**
* Returns the pattern parameter of this client. The pattern is used
* to match a client to the user agent used to access the portal. If
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/src/schema phase1-schema.xml

2005-04-09 Thread taylor
taylor  2005/04/09 11:47:46

  Modified:src/sql  populate-db-default.sql
   src/schema phase1-schema.xml
  Log:
  http://issues.apache.org/jira/browse/JS2-230
  
  support ordering of capabilitiy search
  added EVAL_ORDER column
  
  Revision  ChangesPath
  1.11  +91 -28jakarta-jetspeed-2/src/sql/populate-db-default.sql
  
  Index: populate-db-default.sql
  ===
  RCS file: /home/cvs/jakarta-jetspeed-2/src/sql/populate-db-default.sql,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- populate-db-default.sql   11 Jan 2005 09:33:06 -  1.10
  +++ populate-db-default.sql   9 Apr 2005 18:47:46 -   1.11
  @@ -93,47 +93,58 @@
   
   -- Supported clients
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(1,'ie5','.*MSIE 5.*','Microsoft','None','5.5',1);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(1, 4,'ie5','.*MSIE 5.*','Microsoft','None','5.5',1);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(2,'ns4','.*Mozilla/4.*','Netscape','None','4.75',1);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(2, 5, 'ns4','.*Mozilla/4.*','Netscape','None','4.75',1);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(3,'mozilla','.*Mozilla/5.*','Mozilla','Mozilla','1.x',1);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(3, 6, 'mozilla','.*Mozilla/5.*','Mozilla','Mozilla','1.x',1);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(4,'lynx','Lynx.*','GNU','None','',1);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(4, 7, 'lynx','Lynx.*','GNU','None','',1);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(5,'nokia_generic','Nokia.*','Nokia','Generic','',2);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(5, 8, 'nokia_generic','Nokia.*','Nokia','Generic','',2);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(6,'up','UP.*|.*UP\.Browser.*','United Planet','Generic','',2);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(6, 9, 'up','UP.*|.*UP\.Browser.*','United Planet','Generic','',2);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(7,'sonyericsson','Ercis.*|SonyE.*','SonyEricsson','Generic','',2);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(7, 10, 
'sonyericsson','Ercis.*|SonyE.*','SonyEricsson','Generic','',2);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(8,'wapalizer','Wapalizer.*','Wapalizer','Generic','',2);
  +INSERT INTO CLIENT (CLIENT_ID,EVAL_ORDER,NAME,   
USER_AGENT_PATTERN,MANUFACTURER,MODEL ,VERSION, PREFERRED_MIMETYPE_ID)
  +VALUES(8, 11, 'wapalizer','Wapalizer.*','Wapalizer','Generic','',2);
   
  -INSERT INTO CLIENT (CLIENT_ID,NAME,  USER_AGENT_PATTERN,MANUFACTURER,MODEL 
,VERSION, PREFERRED_MIMETYPE_ID)
  -VALUES(9,'klondike','Klondike.*','Klondike','Generic'

cvs commit: jakarta-jetspeed-2/components/profiler/src/java/org/apache/jetspeed/profiler/rules/impl UserAgentCriterionResolver.java AbstractProfilingRule.java

2005-04-09 Thread taylor
taylor  2005/04/09 11:47:16

  Modified:
components/profiler/src/java/org/apache/jetspeed/profiler/rules/impl
AbstractProfilingRule.java
  Added:   
components/profiler/src/java/org/apache/jetspeed/profiler/rules/impl
UserAgentCriterionResolver.java
  Log:
  http://issues.apache.org/jira/browse/JS2-230
  
  locate profiles with user-agent
  
  Revision  ChangesPath
  1.5   +2 -1  
jakarta-jetspeed-2/components/profiler/src/java/org/apache/jetspeed/profiler/rules/impl/AbstractProfilingRule.java
  
  Index: AbstractProfilingRule.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/profiler/src/java/org/apache/jetspeed/profiler/rules/impl/AbstractProfilingRule.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractProfilingRule.java3 Nov 2004 19:40:45 -   1.4
  +++ AbstractProfilingRule.java9 Apr 2005 18:47:16 -   1.5
  @@ -61,6 +61,7 @@
   resolvers.put(RuleCriterionResolver.GROUP_ROLE_USER, new 
GroupRoleUserCriterionResolver());
   resolvers.put(RuleCriterionResolver.USER_ATTRIBUTE, new 
UserAttributeResolver());
   resolvers.put(RuleCriterionResolver.NAVIGATION, new 
NavigationCriterionResolver());
  +resolvers.put(RuleCriterionResolver.USER_AGENT, new 
UserAgentCriterionResolver());
   }
   
   protected ProfileLocator getLocatorFromCache(String key)
  
  
  
  1.1  
jakarta-jetspeed-2/components/profiler/src/java/org/apache/jetspeed/profiler/rules/impl/UserAgentCriterionResolver.java
  
  Index: UserAgentCriterionResolver.java
  ===
  /*
   * Copyright 2000-2004 The Apache Software Foundation.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   * 
   *  http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package org.apache.jetspeed.profiler.rules.impl;
  
  import org.apache.jetspeed.profiler.rules.RuleCriterion;
  import org.apache.jetspeed.profiler.rules.RuleCriterionResolver;
  import org.apache.jetspeed.request.RequestContext;
  
  
  /**
   * UserAgentCriterionResolver
   * 
   * @author mailto:[EMAIL PROTECTED]">David Sean Taylor
   * @version $Id: UserAgentCriterionResolver.java,v 1.1 2005/04/09 18:47:16 
taylor Exp $
   */
  public class UserAgentCriterionResolver 
  extends StandardResolver 
  implements RuleCriterionResolver
  {
  public String resolve(RequestContext context, RuleCriterion criterion)
  {
  // look for override
  String value = super.resolve(context, criterion);
  if (value != null)
  {
  return value;
  }
  return context.getCapabilityMap().getClient().getName();
  }
  
  public boolean isControl(RuleCriterion criterion)
  {
  return true;
  }
  }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/components/capability/src/java/META-INF capabilities-ojb.xml

2005-04-09 Thread taylor
taylor  2005/04/09 11:46:49

  Modified:components/capability/src/test/org/apache/jetspeed/capabilities
TestCapability.java
   
components/capability/src/java/org/apache/jetspeed/capabilities/impl
JetspeedCapabilities.java ClientImpl.java
   components/capability/src/java/META-INF capabilities-ojb.xml
  Log:
  http://issues.apache.org/jira/browse/JS2-230
  
  support ordering of capabilitiy search
  added EVAL_ORDER column
  
  Revision  ChangesPath
  1.5   +41 -5 
jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
  
  Index: TestCapability.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestCapability.java   4 Jan 2005 16:35:05 -   1.4
  +++ TestCapability.java   9 Apr 2005 18:46:49 -   1.5
  @@ -63,37 +63,51 @@
   public void testCapability() throws Exception
   {
   }
  -// TODO: FIXME: http://issues.apache.org/jira/browse/JS2-168
  -public void testCapability() throws Exception
  +public void xtestCapability() throws Exception
   {
   assertNotNull("capabilities component is null", capabilities);
  -
  +int lastOrder = 0;
  +Iterator caps = capabilities.getClients();
  +while (caps.hasNext())
  +{
  +Client client = (Client)caps.next();
  +int evalOrder = client.getEvalOrder();
  +if (lastOrder >= evalOrder)
  +{
  +assertTrue("Client result set is not ordered!", false);
  +}
  +lastOrder = evalOrder;
  +}
  +
   // Find specific client -- testing pattern matching
   String userAgent;
   System.out.println("Testing all supported Clients...");
  -
   userAgent = "Opera/7.0";
   System.out.println("Find pattern: " + userAgent);
   CapabilityMap cm = capabilities.getCapabilityMap(userAgent);
   assertNotNull("getCapabilityMap is null", cm);
  +assertTrue("Opera", cm.getClient().getName().equals("opera7"));  
  
   capabilityMapReport(cm);
   
   userAgent = "Mozilla/4.0";
   System.out.println("Find pattern: " + userAgent);
   cm = capabilities.getCapabilityMap(userAgent);
   assertNotNull("getCapabilityMap is null", cm);
  +assertTrue("Netscape/Mozilla4", 
cm.getClient().getName().equals("ns4"));
   capabilityMapReport(cm);
   
   userAgent = "MSIE 5.0";
   System.out.println("Find pattern: " + userAgent);
   cm = capabilities.getCapabilityMap(userAgent);
   assertNotNull("getCapabilityMap is null", cm);
  +assertTrue("MSIE 5", cm.getClient().getName().equals("ie5"));

   capabilityMapReport(cm);
   
   userAgent = "Mozilla/5.0";
   System.out.println("Find pattern: " + userAgent);
   cm = capabilities.getCapabilityMap(userAgent);
   assertNotNull("getCapabilityMap is null", cm);
  +assertTrue("Mozilla 5.0", 
cm.getClient().getName().equals("mozilla"));

   capabilityMapReport(cm);
   
   userAgent = "Lynx";
  @@ -107,6 +121,28 @@
   cm = capabilities.getCapabilityMap(userAgent);
   assertNotNull("getCapabilityMap is null", cm);
   capabilityMapReport(cm);
  +
  +userAgent = "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) 
AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12";
  +System.out.println("Find pattern: " + userAgent);
  +cm = capabilities.getCapabilityMap(userAgent);
  +assertNotNull("getCapabilityMap is null", cm);
  +assertTrue("found Safari", 
cm.getClient().getName().equals("safari"));
  +capabilityMapReport(cm);
  +
  +userAgent = "Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)";
  +System.out.println("Find pattern: " + userAgent);
  +cm = capabilities.getCapabilityMap(userAgent);
  +assertNotNull("getCapabilityMap is null", cm);
  +assertTrue("stinking IE for Mac", 
cm.getClient().getName().equals("iemac"));
  +capabilityMapReport(cm);
  +
  +userA

cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor PortletApplicationDescriptor.java PortletApplicationWar.java

2005-04-09 Thread taylor
taylor  2005/04/09 10:57:39

  Modified:portal/src/java/org/apache/jetspeed/util/descriptor
PortletApplicationDescriptor.java
PortletApplicationWar.java
  Log:
  unit tests were breaking since the methods without classloader were no longer 
found
  added methods without classloader parameter, defaulting to current class's 
classloader to get unit tests to pass
  
  Revision  ChangesPath
  1.6   +7 -1  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java
  
  Index: PortletApplicationDescriptor.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PortletApplicationDescriptor.java 9 Apr 2005 00:24:44 -   1.5
  +++ PortletApplicationDescriptor.java 9 Apr 2005 17:57:39 -   1.6
  @@ -65,6 +65,12 @@
   this.appName = appName;
   }
   
  +public MutablePortletApplication createPortletApplication()
  +throws PortletApplicationException
  +{
  +return createPortletApplication(this.getClass().getClassLoader());
  +}
  +
   /**
* Maps the content of the portlet application descriptor into
* a new MutablePortletApplication object
  
  
  
  1.23  +6 -0  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationWar.java
  
  Index: PortletApplicationWar.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationWar.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- PortletApplicationWar.java9 Apr 2005 00:24:44 -   1.22
  +++ PortletApplicationWar.java9 Apr 2005 17:57:39 -   1.23
  @@ -261,6 +261,12 @@
   }
   }
   
  +public MutablePortletApplication createPortletApp() 
  +throws PortletApplicationException, IOException
  +{
  +return createPortletApp(this.getClass().getClassLoader());
  +}
  +
   /**
* 
* 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (JS2-230) Locate profiled pages by user agent

2005-04-08 Thread David Sean Taylor (JIRA)
Locate profiled pages by user agent
---

 Key: JS2-230
 URL: http://issues.apache.org/jira/browse/JS2-230
 Project: Jetspeed 2
Type: New Feature
  Components: Profiler  
Versions: 2.0-M3
Reporter: David Sean Taylor
 Assigned to: David Sean Taylor 
 Fix For: 2.0-M3


I need to implemente a feature to locate profiled pages by user agent.
It seems that the support for CSS 2.0 on Mac IE is so bad, that it requires 
entirely different markup than on more modern browsers.

This feature will require:

* new capabilities populated in the db for Mac IE, Safari
* order client result set by new column, eval order 
* have the profiler support a new criteria, UserAgentCriterionResolver
* have the page manager figure out how to locate by user-agent

For the page manager, an example hierarchy would be:

_user
   wozniak
 _iemac
 _safari 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/applications/perl project.xml

2005-04-06 Thread taylor
taylor  2005/04/06 14:14:33

  Modified:applications/perl project.xml
  Log:
  add dep for rewriter
  
  Revision  ChangesPath
  1.8   +9 -1  jakarta-jetspeed-2/applications/perl/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/perl/project.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- project.xml   31 Mar 2005 14:07:19 -  1.7
  +++ project.xml   6 Apr 2005 21:14:33 -   1.8
  @@ -85,6 +85,14 @@
   false
 
   
  +
  +  jetspeed-rewriter
  +  jetspeed2
  +  &jetspeed-version;
  +  
  +true
  +  
  +
   
   
 commons-beanutils
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Jetspeed 2.0 M2 Released

2005-04-04 Thread David Sean Taylor
The Apache Portals Jetspeed Team is pleased to announce the second 
milestone release of Jetspeed-2.

The release is available for download from the Apache Download Mirrors:
http://www.apache.org/dyn/closer.cgi
Follow the links to portals/jetspeed-2
Two binary releases are provided.
1. Jetspeed-2 + Tomcat 5.0.30 distribution.
2. Jetspeed-2 + Tomcat 5.5.8 distribution.
With this second milestone of Jetspeed-2, new versions of the
Portals Bridges components are released as well. These components are 
now all upgraded to version 0.2. Portals Bridges can be used 
independently of Jetspeed-2 and will eventually migrate to its own 
Portals Bridges project.

Bridges released with M2:
* Struts Bridge 0.2
* Velocity Bridge 0.2
* JSF Bridge 0.2
* Perl Bridge 0.2
* PHP Bridge 0.2
* Portlet Framework 0.2
--
 Jetspeed 2.0-M2 Release
   April 4, 2005
--
* PALM - Portlet Application Lifecycle Manager
  A new administrative portlet for managing the lifecycle of portlet
  applications. Supports start, stop, undeploy and delete operations.
* JBoss Support
   Jetspeed tested and running on JBoss versions 3.2.7 and 4.0.1sp1
* New Improved Deployment
   Deployment overhauled to support application server
   controlled deployment. Class loader and cross-context session control
   issues resolved.
* Struts Bridge Enhancements
* Navigations Refactoring
* Enhanced credential security and validation,
  Login/Password Enhancements
* LDAP Authentication support added.
* Secure Access to Site Resources (Pages, Folders)
* Profiler, Layout, PSML Security Documentation
* SSO Enhancements
* Improved JSF Support
* Finer grain Spring configuration
* Main Jetspeed context no longer requires /jetspeed
---
Bug fixes
---
see M2-bugfixes.html
-
 Tested App Servers:
-
 * Tomcat 5.0.30
 * Tomcat 5.5.8
 * JBoss 3.2.7
 * JBoss 4.0.1sp1
 (Tomcat 5.5 requires a different jetspeed.xml found in the source tree 
under src/resources/jetspeed-tomcat-5.5.xml)

 Check out our wiki page for details: 
http://wiki.apache.org/portals/Jetspeed2

-
 NO Longer Supported:
-
 * Tomcat 4.1.x
Support for Tomcat 4.1.x has been dropped.
---
 Installation Instructions
---
1. Download jetspeed-2.0-M2-Tomcat-5.0.30.tar.gz, or
   Download jetspeed-2.0-M2-Tomcat-5.0.30.zip (windows), or
   Download jetspeed-2.0-M2-Tomcat-5.5.8.tar.gz, or
   Download jetspeed-2.0-M2-Tomcat-5.5.8.zip (windows)
2. Expand jetspeed-2.0-M2-Tomcat-.tar.gz into a clean directory 
(as example we will use 'jetspeed')

   cd /jetspeed
   tar xfz jetspeed-2.0-M2-Tomcat-.tar.gz
   For Windows:
   cd c:\jetspeed
   unzip jetspeed-2.0-M2-Tomcat-.zip
3. start the database
   cd /jetspeed/jetspeed-database
   start-database.sh
   For Windows:
   cd c:\jetspeed\jetspeed-database
   start-database.bat
4. startup Tomcat
   execute /jetspeed/jakarta-tomcat-/bin/startup.sh
   For Windows:
   execute c:\jetspeed\jakarta-tomcat-\bin\startup.bat
5. start up a web browser and navigate to 
http://localhost:8080/jetspeed/portal

--
 Configuring Another Database
--
1. cd $TOMCAT_HOME/jetspeed-database/scripts
2. edit the build.properties, set the properties for your database 
connection, save.
3. create a database schema/catalog to hold your database tables
4. type 'ant' to run the database population scripts
5. edit the jetspeed.xml properties
- $TOMCAT_HOME/conf/Catalina/localhost/jetspeed.xml

and set your database connection
6. copy your database driver into Tomcat's common/endorsed directory
7. start up a web browser, navigate to http://localhost:8080/jetspeed/portal
 Sample accounts to login as:
 admin/admin
 manager/manager
 user/user

 Upgrading from Jetspeed 2.0 M1

If you are upgrading an installation from Jetspeed 2.0 M1,
remember to delete the M1 jar files found under Tomcat's shared/lib 
directory. The following files should be deleted:

jetspeed-api-2.0-M1.jar
jetspeed-commons-2.0-M1.jar
pluto-1.0.1-rc1.jar
portals-bridges-common-0.1.jar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed-2/docs/release JETSPEED-2.0-M2-README.txt

2005-04-03 Thread taylor
taylor  2005/04/03 15:40:50

  Modified:docs/release JETSPEED-2.0-M2-README.txt
  Log:
  sync with release notes in release zips
  
  Revision  ChangesPath
  1.3   +2 -2  
jakarta-jetspeed-2/docs/release/JETSPEED-2.0-M2-README.txt
  
  Index: JETSPEED-2.0-M2-README.txt
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/docs/release/JETSPEED-2.0-M2-README.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JETSPEED-2.0-M2-README.txt3 Apr 2005 06:31:14 -   1.2
  +++ JETSPEED-2.0-M2-README.txt3 Apr 2005 22:40:50 -   1.3
  @@ -89,11 +89,11 @@
   
   4. startup Tomcat 
   
  -   execute /jetspeed/jakarta-tomcat-/bin/start.sh
  +   execute /jetspeed/jakarta-tomcat-/bin/startup.sh
  
  For Windows:
  
  -   execute c:\jetspeed\jakarta-tomcat-\bin\start.bat
  +   execute c:\jetspeed\jakarta-tomcat-\bin\startup.bat
  
   
   5. start up a web browser and navigate to 
http://localhost:8080/jetspeed/portal
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/impl LanguageSetImpl.java

2005-04-03 Thread taylor
taylor  2005/04/03 14:14:34

  Modified:components/registry/src/java/org/apache/jetspeed/om/impl
LanguageSetImpl.java
  Log:
  fix for infiinte loop in getLanguage and spanish
  
  Revision  ChangesPath
  1.10  +6 -6  
jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageSetImpl.java
  
  Index: LanguageSetImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageSetImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- LanguageSetImpl.java  27 Jan 2005 21:27:52 -  1.9
  +++ LanguageSetImpl.java  3 Apr 2005 21:14:34 -   1.10
  @@ -103,7 +103,7 @@
   if (resources != null)
   {
   return createLanguage(lang.getLocale(), 
loadResourceBundle(lang.getLocale()), lang.getTitle(), lang
  -.getShortTitle(), 
StringUtils.join(lang.getKeywords(), ","));
  +.getShortTitle(), 
StringUtils.join(lang.getKeywords(), ","), false);
   }
   else
   {
  @@ -120,7 +120,7 @@
   if (fallBack != null && resources != null)
   {
   fallBack = createLanguage(fallBack.getLocale(), 
loadResourceBundle(fallBack.getLocale()), fallBack
  -.getTitle(), fallBack.getShortTitle(), 
StringUtils.join(fallBack.getKeywords(), ","));
  +.getTitle(), fallBack.getShortTitle(), 
StringUtils.join(fallBack.getKeywords(), ","), true);
   }
   
   if (fallBack == null)
  @@ -264,7 +264,7 @@
   shortTitle = defaultLang.getShortTitle();
   keywords = StringUtils.join(defaultLang.getKeywords(), ",");
   }
  -return createLanguage(locale, bundle, title, shortTitle, keywords);
  +return createLanguage(locale, bundle, title, shortTitle, keywords, 
false);
   }
   
   /**
  @@ -278,9 +278,9 @@
* @return
*/
   private Language createLanguage( Locale locale, ResourceBundle bundle, 
String title, String shortTitle,
  -String keywords )
  +String keywords, boolean createNow)
   {
  -if (!locale.equals(getDefaultLocale()))
  +if (!createNow && !locale.equals(getDefaultLocale()))
   {
   Language defaultLang = get(getDefaultLocale());
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/docs/release JETSPEED-2.0-M2-README.txt

2005-04-02 Thread taylor
taylor  2005/04/02 22:31:14

  Modified:docs/release JETSPEED-2.0-M2-README.txt
  Log:
  2.0 M2 readme completed
  
  Revision  ChangesPath
  1.2   +67 -82
jakarta-jetspeed-2/docs/release/JETSPEED-2.0-M2-README.txt
  
  Index: JETSPEED-2.0-M2-README.txt
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/docs/release/JETSPEED-2.0-M2-README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JETSPEED-2.0-M2-README.txt2 Apr 2005 23:09:19 -   1.1
  +++ JETSPEED-2.0-M2-README.txt3 Apr 2005 06:31:14 -   1.2
  @@ -3,53 +3,57 @@
  April 2, 2005
   --
   
  -* Navigations Refactoring (RW)
  -* Login/Password Enhancements (RW, AD)
  -* LDAP (ML)
  -* Portlet Messaging (PM)
  -* Deployment Refactoring (AD)
  -* User Admin Portlets (JS2-121) - enhancements (AD)
  -* Site Manager (*)
  --- add/edit/remove folders, pages, links, metadata
  --- import/export
  --- integrate customizer
  --- global site settings from edit mode
  -* Secure Access to Site Resources (JS2-111) (*)
  --- Portlets
  --- Windows
  -* Documentation (JS2-83)
  -* Enhanced credential security and validation (JS2-151)
  -* Encrypt SSO credentials, certificate support (RR)
  -* Portlet Selector, Customizer (DST)
  -* Print Mode
  -* Portlet Caching
  -* WSRP Support
  +* PALM - Portlet Application Lifecycle Manager 
  +A new administrative portlet for managing the lifecycle of portlet 
applications
  +Supports start, stop, undeploy and delete operations
   
  
  -Bug fixes
  
  -* Closed Open Issues 
  - get list from JIRA?
  +* JBoss Support 
  +   Jetspeed tested and running on JBoss versions 3.2.7 and 4.0.1sp1
  +
  +* New Improved Deployment
  +   Deployment overhauled to support application server controlled deployment.
  +   Class loader and cross-context session control issues resolved.
  +
  +* Struts Bridge Enhancements
  +
  +* Navigations Refactoring 
  +
  +* Enhanced credential security and validation, Login/Password Enhancements 
  +
  +* LDAP Authentication support added.
  +
  +* Secure Access to Site Resources (Pages, Folders)
  +
  +* Profiler, Layout, PSML Security Documentation 
   
  +* SSO Enhancements
  +
  +* Improved JSF Support
  +
  +* Finer grain Spring configuration
  +
  +* Main Jetspeed context no longer requires /jetspeed
  + 
   ---
  - Features
  +Bug fixes
   ---
  -
  +see M2-bugfixes.html
   
   -
Tested App Servers:
   -
* Tomcat 5.0.30
  - * Tomcat 5.5
  + * Tomcat 5.5.8
  + * JBoss 3.2.7
  + * JBoss 4.0.1sp1

(Tomcat 5.5 requires a different jetspeed.xml found in the source tree 
under src/resources/jetspeed-tomcat-5.5.xml)
   
  - Jetspeed 2 has been independently tested and run on JBoss, Weblogic, and 
Websphere application servers
Check out our wiki page for details: 
http://wiki.apache.org/portals/Jetspeed2
   
   
   -
  - NOT Supported:
  + NO Longer Supported:
   -
* Tomcat 4.1.x
   
  @@ -59,24 +63,40 @@
Installation Instructions
   ---
   
  -1. Download jetspeed-2.0-M1.tar.gz 
  -   Download jetspeed-2.0-M1.zip (windows)
  -2. Expand jetspeed-2.0-M1.tar.gz into a clean Tomcat installation **
  +1. Download jetspeed-2.0-M2-Tomcat-5.0.30.tar.gz, or
  +   Download jetspeed-2.0-M2-Tomcat-5.0.30.zip (windows), or
  +   Download jetspeed-2.0-M2-Tomcat-5.5.8.tar.gz, or 
  +   Download jetspeed-2.0-M2-Tomcat-5.5.8.zip (windows)
  +2. Expand jetspeed-2.0-M2-Tomcat-.tar.gz into a clean directory (as 
example we will use 'jetspeed')
  
  -
  -   tar xfz jetspeed-2.0-M1.tar.gz -C tomcat   # where 'tomcat' is your 
tomcat home directory
  +   cd /jetspeed
  +   tar xfz jetspeed-2.0-M2-Tomcat-.tar.gz
   
  For Windows:
  +   
  +   cd c:\jetspeed
  +   unzip jetspeed-2.0-M2-Tomcat-.zip 
   
  -   unzip jetspeed-2.0-M1.zip directly into your tomcat home directory 
(overlay)
  +3. start the database
   
  -3. cd $TOMCAT_HOME/jetspeed-database
  +   cd /jetspeed/jetspeed-database
  +   start-database.sh
  +   
  +   For Windows:
  +   
  +   cd c:\jetspeed\jetspeed-database
  +   start-database.bat
  +
  +4. startup Tomcat 
   
  -4. start-database.sh (.bat)
  -  
  -5. startup Tomcat
  +   execute /jetspeed/jakarta-tomcat-/bin/start.sh
  +   
  +   For Windows:
  +   
  +   execute c:\jetspeed\jakarta-tomcat-\bin\start.bat
  +   
   
  -6. start up Jetspeed, navigate to http://localhost:8080/jetspeed/portal
  +5. start up a web browser and navigate to 
http://localhost:8080/jetspeed/portal
   
   
   --
  @@ -88,52 +108,17 @@
   3. create a database schema/catalog to hold your database tables 
   4. type 'ant' to run the database population scripts
   5. ed

cvs commit: jakarta-jetspeed-2/maven-plugin project.xml

2005-04-02 Thread taylor
taylor  2005/04/02 18:53:21

  Modified:maven-plugin project.xml
  Log:
  had to hard code the version number as it wasn't working properly in external 
projects
  
  Revision  ChangesPath
  1.15  +2 -1  jakarta-jetspeed-2/maven-plugin/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed-2/maven-plugin/project.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- project.xml   31 Mar 2005 15:50:07 -  1.14
  +++ project.xml   3 Apr 2005 02:53:21 -   1.15
  @@ -21,6 +21,7 @@
 3
 maven-jetspeed2-plugin
 jetspeed2
  +2.0-M2  
 Jetspeed 2 Maven Plugin
 
   Plugin for assisting with portlet development
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (JS2-227) FK Constraint Error deleting Users on SSO Site to Principals

2005-04-02 Thread David Sean Taylor (JIRA)
FK Constraint Error deleting Users on SSO Site to Principals


 Key: JS2-227
 URL: http://issues.apache.org/jira/browse/JS2-227
 Project: Jetspeed 2
Type: Bug
  Components: SSO  
Versions: 2.0-M2
 Environment: Hypersonic SQL database only
Reporter: David Sean Taylor
 Assigned to: David Sean Taylor 
 Fix For: 2.0-M3


FK Constraint Error deleting Users on SSO Site to Principals
The unit test, TestSSOComponent.java, fails with a 

java.sql.SQLException: Integrity constraint violation: 
SSO_SITE_TO_PRINCIPALS_FK_2 table: SSO_SITE_TO_PRINCIPALS in statement [DELETE 
FROM SECURITY_PRINCIPAL WHERE principal_id = 422 ]

error. It seems that Torque is not correctly generated the cascading deletes 
for HSQL.

This error does not exist on other databases tested.

Disabling the unit test until this fixed.
WARNING: deleting users with SSO credentials will cause a FK error and the user 
won't delete (again this is only a bug with HSQL)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/components/sso project.xml

2005-04-02 Thread taylor
taylor  2005/04/02 17:05:13

  Modified:components/sso project.xml
  Log:
  skip the SSOComponent test since its failing on an FK constraint (on HSQL 
only)
  logging an issue an moving forward with the release
  
  Revision  ChangesPath
  1.7   +4 -2  jakarta-jetspeed-2/components/sso/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed-2/components/sso/project.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- project.xml   31 Mar 2005 14:07:16 -  1.6
  +++ project.xml   3 Apr 2005 01:05:12 -   1.7
  @@ -255,7 +255,9 @@
 
   **/Test*.java
 
  -
  +  
  +**/TestSSOComponent.java
  +  
 
   
 ${basedir}/src/test
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/docs/release JETSPEED-2.0-M2-README.txt

2005-04-02 Thread taylor
taylor  2005/04/02 15:09:19

  Added:   docs/release JETSPEED-2.0-M2-README.txt
  Log:
  rough start of release notes
  
  Revision  ChangesPath
  1.1  
jakarta-jetspeed-2/docs/release/JETSPEED-2.0-M2-README.txt
  
  Index: JETSPEED-2.0-M2-README.txt
  ===
  --  
   Jetspeed 2.0-M2 Release
 April 2, 2005
  --
  
  * Navigations Refactoring (RW)
  * Login/Password Enhancements (RW, AD)
  * LDAP (ML)
  * Portlet Messaging (PM)
  * Deployment Refactoring (AD)
  * User Admin Portlets (JS2-121) - enhancements (AD)
  * Site Manager (*)
  -- add/edit/remove folders, pages, links, metadata
  -- import/export
  -- integrate customizer
  -- global site settings from edit mode
  * Secure Access to Site Resources (JS2-111) (*)
  -- Portlets
  -- Windows
  * Documentation (JS2-83)
  * Enhanced credential security and validation (JS2-151)
  * Encrypt SSO credentials, certificate support (RR)
  * Portlet Selector, Customizer (DST)
  * Print Mode
  * Portlet Caching
  * WSRP Support
  
  ---
  Bug fixes
  ---
  * Closed Open Issues 
get list from JIRA?
  
  ---
   Features
  ---
  
  
  -
   Tested App Servers:
  -
   * Tomcat 5.0.30
   * Tomcat 5.5
   
   (Tomcat 5.5 requires a different jetspeed.xml found in the source tree under 
src/resources/jetspeed-tomcat-5.5.xml)
  
   Jetspeed 2 has been independently tested and run on JBoss, Weblogic, and 
Websphere application servers
   Check out our wiki page for details: http://wiki.apache.org/portals/Jetspeed2
  
  
  -
   NOT Supported:
  -
   * Tomcat 4.1.x
  
  Support for Tomcat 4.1.x has been dropped.
  
  ---
   Installation Instructions
  ---
  
  1. Download jetspeed-2.0-M1.tar.gz 
 Download jetspeed-2.0-M1.zip (windows)
  2. Expand jetspeed-2.0-M1.tar.gz into a clean Tomcat installation **
 
  
 tar xfz jetspeed-2.0-M1.tar.gz -C tomcat   # where 'tomcat' is your tomcat 
home directory
  
 For Windows:
  
 unzip jetspeed-2.0-M1.zip directly into your tomcat home directory 
(overlay)
  
  3. cd $TOMCAT_HOME/jetspeed-database
  
  4. start-database.sh (.bat)

  5. startup Tomcat
  
  6. start up Jetspeed, navigate to http://localhost:8080/jetspeed/portal
  
  
  --
   Configuring Another Database
  --
  
  1. cd $TOMCAT_HOME/jetspeed-database/scripts
  2. edit the build.properties, set the properties for your database 
connection, save.
  3. create a database schema/catalog to hold your database tables 
  4. type 'ant' to run the database population scripts
  5. edit the jetspeed.xml properties 
  - Tomcat4 - $TOMCAT_HOME/webapps/jetspeed.xml
  - Tomcat5 - $TOMCAT_HOME/conf/Catalina/localhost/jetspeed.xml
 
  and set your database connection
  
  6. copy your database driver into Tomcat's common/endorsed directory
  
  7. start up Jetspeed, navigate to http://localhost:8080/jetspeed/portal
  
   Sample accounts to login as:
  
   admin/admin
  
  **NOTE: if you are installing into a Tomcat instance which had Jetspeed 
installed previously, remember to delete these files :
  $TOMCAT_HOME/shared/lib/jetspeed*.jar
  $TOMCAT_HOME/shared/lib/pluto*.jar
  $TOMCAT_HOME/shared/lib/portlet-api*.jar
  $TOMCAT_HOME/shared/lib/portals-bridges*.jar
  $TOMCAT_HOME/webapps/jetspeed
  
  
  -
 Deployment Optimization
  -
  
  There are some known issues with deployment and race conditions with the 
default jetspeed configuration.
  To optimize deployment, add these properties to your $HOME/build.properties:
  
  org.apache.jetspeed.services.autodeployment.user = admin
  org.apache.jetspeed.services.autodeployment.password = admin
  
  Edit your $TOMCAT_HOME/conf/tomcat-users.xml and add the required manager and 
admin roles and admin user:
  
  
  


...

  
  
  
  If you make these changes, its recommended to change Tomcat's server.xml and 
turn off Autodeployment feature:
  
  <--
  
  
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jira] Created: (JS2-226) Page Aggregation using STRATEGY_PARALLEL severly broken

2005-04-01 Thread David Sean Taylor
David Sean Taylor wrote:
My vote is to hold the release until this is fixed
-1 on the M2 release until multithreaded aggregation (which worked in 
M1) is fixed

Well Im retracting my -1.
Had a long talk with Ate, and we agreed to address multithreading 
properly for 2.0 next release.
Sorry everyone, just got a little upset when I saw that

+1 to continue with the release
I'll be here tomorrow working on it :)
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed-2/etc artifact-versions.ent

2005-04-01 Thread taylor
taylor  2005/04/01 14:40:46

  Modified:etc  artifact-versions.ent
  Log:
  update artifact version
  
  CVS: --
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  ChangesPath
  1.2   +1 -1  jakarta-jetspeed-2/etc/artifact-versions.ent
  
  Index: artifact-versions.ent
  ===
  RCS file: /home/cvs/jakarta-jetspeed-2/etc/artifact-versions.ent,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- artifact-versions.ent 31 Mar 2005 14:07:18 -  1.1
  +++ artifact-versions.ent 1 Apr 2005 22:40:46 -   1.2
  @@ -1,5 +1,5 @@
   
  -
  +
   
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (JS2-200) getPortletOutputStream cannot handle multi-byte character

2005-04-01 Thread David Sean Taylor (JIRA)
 [ http://issues.apache.org/jira/browse/JS2-200?page=history ]
 
David Sean Taylor resolved JS2-200:
---

Resolution: Fixed

patch applied, latest pluto rc-2-patch added as dep, please test

> getPortletOutputStream cannot handle multi-byte character
> -
>
>  Key: JS2-200
>  URL: http://issues.apache.org/jira/browse/JS2-200
>  Project: Jetspeed 2
> Type: Bug
>   Components: i18n and l10n
> Versions: 2.0-dev/cvs
>  Environment: Linux
> java version "1.4.2_05"
> Reporter: Shinsuke SUGAYA
> Assignee: Shinsuke SUGAYA
>  Fix For: 2.0-dev/cvs

>
> Filed PLUTO-100(http://issues.apache.org/jira/browse/PLUTO-100). 
> If it will be fixed, I'll update pluto version on Jetspeed2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl HttpBufferedResponse.java

2005-04-01 Thread taylor
taylor  2005/04/01 14:28:44

  Modified:portal/src/java/org/apache/jetspeed/aggregator/impl
HttpBufferedResponse.java
  Log:
  fix  for
  http://issues.apache.org/jira/browse/JS2-200
  
  CVS: --
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  ChangesPath
  1.6   +1 -1  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/HttpBufferedResponse.java
  
  Index: HttpBufferedResponse.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/HttpBufferedResponse.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HttpBufferedResponse.java 7 Apr 2004 15:12:32 -   1.5
  +++ HttpBufferedResponse.java 1 Apr 2005 22:28:44 -   1.6
  @@ -52,7 +52,7 @@
   
   if (wrappedStream == null)
   {
  -wrappedStream = new PrintWriterServletOutputStream(writer);  
 
  +wrappedStream = new PrintWriterServletOutputStream(writer, 
getResponse().getCharacterEncoding());  
 
   }
   
   usingStream = true;
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/etc/project-dependencies pluto-deps.xml

2005-04-01 Thread taylor
taylor  2005/04/01 14:27:18

  Modified:etc/project-dependencies pluto-deps.xml
  Log:
  build against pluto rc-2 patched
  fixes:
  
  http://issues.apache.org/jira/browse/JS2-200
  
  CVS: --
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  ChangesPath
  1.3   +1 -1  
jakarta-jetspeed-2/etc/project-dependencies/pluto-deps.xml
  
  Index: pluto-deps.xml
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/etc/project-dependencies/pluto-deps.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pluto-deps.xml31 Mar 2005 00:35:56 -  1.2
  +++ pluto-deps.xml1 Apr 2005 22:27:18 -   1.3
  @@ -1,7 +1,7 @@
   
 pluto
 pluto
  -  1.0.1-rc2
  +  1.0.1-rc2-PATCHED
 jar
 
   false
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jira] Created: (JS2-226) Page Aggregation using STRATEGY_PARALLEL severly broken

2005-04-01 Thread David Sean Taylor
Ate Douma (JIRA) wrote:
Page Aggregation using STRATEGY_PARALLEL severly broken
---
 Key: JS2-226
 URL: http://issues.apache.org/jira/browse/JS2-226
 Project: Jetspeed 2
Type: Bug
  Components: Aggregation  
Versions: 2.0-dev/cvs, 2.0-M2
 Environment: Tomcat 5.0.28
Reporter: Ate Douma
 Assigned to: Ate Douma 
Priority: Critical

While trying to evaluate the status of JS2-17 I tested PageAggregation with 
PageAggregatorImpl.STRATEGY_PARALLEL and the effect is a total breakdown!
I'll look into this AFTER the M2 release.
Not sure if the current problem is related to JS2-17 but I'll check that too.

There was a refactoring done a while back that removed the threaded 
aggregation by default:

http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/PageAggregatorImpl.java?r1=1.18&r2=1.19&diff_format=h
I know the purpose of the refactoring was to make the improve the 
aggregator, but not sure why it removed (and broke) multithreading

My vote is to hold the release until this is fixed
-1 on the M2 release until multithreaded aggregation (which worked in 
M1) is fixed

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [J2-team] Pre-2.0 Milestone M2 Cleanup

2005-04-01 Thread David Sean Taylor
Ate Douma wrote:
Boy oh boy, seems I've used a no-no word below and received several
blocked message responses already!
So the message below is now "censored" ;-)
Naughty boy :)
That was funny
I'll see if I can close any bugs by tomorrow.
Im not going to finish the customizer in time for this release.
I'll hold off my commits
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [VOTE] Move to latest version of pluto (RC3)

2005-03-31 Thread David Sean Taylor
Ate Douma wrote:
Scott T Weaver wrote:
I would like to propose moving to the latest (RC3) of Pluto as it 
addresses
the problem of corrupted multi-byte character sets as described by 
Shinsuke
in this issue: http://issues.apache.org/jira/browse/JS2-200.
I'm +1 for moving to the latest Pluto (after some testing) but I don't like
it to be called RC3 as that will be up to the Pluto team.
If they decide to release a different *official* RC3 sometime later we 
end up
with a naming conflict.

Maybe we should call it RC2-J2-PATCHED or even just RC2-PATCHED as we 
have done
before with other dependencies and upload it to bluesunrise/maven only.

+1, send me a jar and i'll upload it
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser BrowserPortlet.java

2005-03-23 Thread taylor
taylor  2005/03/23 11:38:37

  Modified:applications/gems/src/java/org/apache/portals/gems/browser
BrowserPortlet.java
  Log:
  added basic search(find) functionality to gems browser
  
  Revision  ChangesPath
  1.8   +60 -4 
jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser/BrowserPortlet.java
  
  Index: BrowserPortlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser/BrowserPortlet.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BrowserPortlet.java   23 Mar 2005 00:04:39 -  1.7
  +++ BrowserPortlet.java   23 Mar 2005 19:38:37 -  1.8
  @@ -17,6 +17,7 @@
   
   import java.io.IOException;
   import java.util.ArrayList;
  +import java.util.Iterator;
   import java.util.List;
   import java.util.Vector;
   
  @@ -55,7 +56,10 @@
   protected static final String POOLNAME = "poolname";
   
   protected static final String START = "start";
  -
  +protected static final String FIND = "find";
  +protected static final String SEARCH_STRING = "searchString";
  +protected static final String SEARCH_COLUMN = "searchColumn";
  +
   protected static final String CUSTOMIZE_TEMPLATE = "customizeTemplate";
   
   protected static final String WINDOW_SIZE = "WindowSize";
  @@ -152,10 +156,17 @@
   
   String sortColName = request.getParameter(SORT_COLUMN_NAME);
   int start = getStartVariable(request, START, sortColName, iterator);
  +
   PortletPreferences prefs = request.getPreferences();
   
   windowSize = Integer.parseInt(prefs.getValue(WINDOW_SIZE, "10"));
   
  +StatusMessage message = 
(StatusMessage)PortletMessaging.consume(request, "DatabaseBrowserPortlet", 
"action");
  +if (message != null)
  +{
  +this.getContext(request).put("statusMsg", message);
  +}
  +
   try
   {
   if (iterator == null)
  @@ -271,11 +282,31 @@
   {
   clearBrowserIterator(request);
   }
  -String start = request.getParameter("start");
  +String start = request.getParameter(START);
   if (start != null)
   {
  -response.setRenderParameter("start", start);
  +response.setRenderParameter(START, start);
   }
  +String searchString = request.getParameter(SEARCH_STRING);
  +if (searchString != null)
  +{
  +String searchColumn = 
request.getParameter(SEARCH_COLUMN);
  +int index = find(this.getBrowserIterator(request), 
searchString, searchColumn);
  +if (index == -1)
  +{
  +try
  +{
  +StatusMessage sm = new StatusMessage("Could not 
find match for: " + searchString, StatusMessage.ALERT);
  +PortletMessaging.publish(request, 
"DatabaseBrowserPortlet", "action", sm);
  +}
  +catch (Exception e)
  +{}
  +}
  +else
  +{
  +response.setRenderParameter(START, 
Integer.toString(index));
  +}
  +}
   }
   }
   }
  @@ -328,7 +359,8 @@
   int start = -1;
   // if users want to overwrite how the sorting affects the cursor for
   // the window
  -if (sortColName != null) start = getStartIndex();
  +if (sortColName != null) 
  +start = getStartIndex();
   
   if (start < 0)
   {
  @@ -508,4 +540,28 @@
   System.err.println("Failed to publish message: " + e);
   }
   }
  +
  +public int find(BrowserIterator iterator, String searchString, String 
searchColumn)
  +{
  +int index = 0;
  +int column = 1; 
  +
  +if (searchColumn != null)
  +column = Integer.parseInt(searchColumn);
  +
  +Iterator it = iterator.getResultSet().iterator();
  +while (it.hasNext())
  +{
  +// TODO: this only works on String columns
  +List row = (List)it.next();
  +String item = (String)row.get(column);
  +if (item.startsWith(searchString))
  + 

cvs commit: jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser BrowserPortlet.java DatabaseBrowserPortlet.java

2005-03-22 Thread taylor
taylor  2005/03/22 16:04:39

  Modified:applications/gems/src/java/org/apache/portals/gems/browser
BrowserPortlet.java DatabaseBrowserPortlet.java
  Log:
  don't require Jetspeed to run Database browser portlets
  
  Revision  ChangesPath
  1.7   +2 -1  
jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser/BrowserPortlet.java
  
  Index: BrowserPortlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser/BrowserPortlet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BrowserPortlet.java   2 Feb 2005 00:49:33 -   1.6
  +++ BrowserPortlet.java   23 Mar 2005 00:04:39 -  1.7
  @@ -130,7 +130,8 @@
   sso = (SSOProvider)context.getAttribute("cps:SSO");
   if (null == sso)
   {
  -   throw new PortletException("Failed to find SSO Provider on 
portlet initialization");
  +log.info("Warning: SSO provider not found.");
  +   //throw new PortletException("Failed to find SSO Provider on 
portlet initialization");
   }
   }
   
  
  
  
  1.9   +4 -1  
jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser/DatabaseBrowserPortlet.java
  
  Index: DatabaseBrowserPortlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/gems/src/java/org/apache/portals/gems/browser/DatabaseBrowserPortlet.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DatabaseBrowserPortlet.java   2 Feb 2005 00:49:33 -   1.8
  +++ DatabaseBrowserPortlet.java   23 Mar 2005 00:04:39 -  1.9
  @@ -270,6 +270,9 @@
   SSOContext credentials = null;
   try
   {
  +if (sso == null)
  +throw new SSOException("SSO Not supported.");
  +
   credentials = sso.getCredentials(getSubject(), ssoURL);
   }
   catch(SSOException ssoex)
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RES: Too many DB Connections remain opened ..

2005-03-22 Thread David Sean Taylor
Irineu Avanço Jr. wrote:
Yes...
WE are using Torque.properties  file, even because we decided to  put
Jetspeed database in a MS SQL Server environment..  See the parameters we
set up for that ...
Sounds like a problem with Torque and SQL Server
Try asking on the Torque list, as Jetspeed doesnt handle connection 
pooling, Torque does.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: J2/Fusion synchronisation and release plan (Was: Re: Struts-Bridge & Fusion - David/Ate/others- Pls comment)

2005-03-21 Thread David Sean Taylor
Ate Douma wrote:

I want to propose the following:
- I like to call a vote on merging the J2 deployment_refactoring branch 
with
  CVS HEAD before the end of *this week*
I don't see the need to impose a deadline on yourself.
Personally I have enough deadlines as is.
Why don't we just say "call a vote on merging the deployment_refactoring 
 branch" and then you get it done when it gets done.

My vote is +1
- if/once the deployment_refactoring branch is merged, I'll step up and 
work
  on getting Fusion running again with the current J2 CVS HEAD. I'll try
  to do so within a few days, (the sooner we decide if/when to merge the
  branch the more time I will have for it)
  Precondition for success though is that there are not other blocking 
issues
  with Fusion to get it working again. I don't know. Community, David?
Ive seen a few bug reports recently that make me wonder if I ever got 
everything working properly after the navigational state conversion. My 
work with Fusion pretty much ended in September 2004. I can say I was 
confident at that point. Right now Im not, and I haven't been testing 
against the J2 head. We can always fallback to a 1.6 release with M1.

The only real issue is that your new branch will break Fusion in the CVS 
head.

  Getting help from some of you currently working with Fusion might help 
too:
  Hema, Jeff?
- Hopefully, beginning next week we have both J2 and Fusion in sync again
- If all works out well, I'll propose to do a J2-M2 release as well as a
  Fusion 1.6 release next weekend (!) as I can dedicate most of my time 
that
  weekend doing the release.
  I haven't done a release before though, so getting at least some help 
from
  someone from the team with previous experience will be important I think.
Next weekend? Do you mean the weekend of April 2-3?
April 2-3 is perfect for me, as my family is out of town that weekend 
and Im free to work on the release with you.

- Furthermore, I'd like to propose to do releases more often (say once 
every
  month, maybe two) at least until we reach J2-final.
+1
  The next release (M3) could contain the portlet selector (customizer)
  from David if he won't be able to commit it in time for M2.
Im shooting for M2, we'll see...
  Furthermore, we should try to get most of the outstanding bugs fixed 
by then.
  I'm willing to work on that a lot.
- Furthermore, I am going to spend more time in April on writing 
documentation
  as the community really is in dire need of it. I'd say the M3 release 
should
  contain enough documentation to allow new users to start working with J2
  on their own.
  Hopefully, other team members and/or active community users can step 
up too
  in providing more documentation...

I think we should all help out with the documentation.
Its too much work for one person and its also best to get input from 
more than one person. If any non-committers want to help out you are 
very welcome to send documentation patches

I know this list is quite ambitious, but well, I am ;-)
Anyone like to comment?
Ambitious Ate! Right on!
You're inspiring me too
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Too many DB Connections remain opened ..

2005-03-21 Thread David Sean Taylor
Shah Amit wrote:
Hi
I am 99% sure that Jetspeed uses OJB to access DB. Torque is only used 
at compile time to generate the sql scripts from xml files I think. So 
you might need to tweak OJB config file.

This is a question for Jetspeed version 1, not Jetspeed-2.
Jetspeed-1 does use Torque and does NOT use OJB.
Are you changing the Torque properties in your deployed application?
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JetSpeed 2.0/1.6 Timelines (JSR 168)

2005-03-20 Thread David Sean Taylor
Mike R. wrote:
Hello -
We are developing a portal prototype to be used in a demo for the 
Canadian gov (GoC).  A significant requirement is JSR 168 compliance.
Our demo is targetted for completion in 3-4 weeks.
Requirements summary is:

- 4-5 portlets
- rendering via JSPs and XSLT
- no frames, no min/max/help/edit buttons; maybe even no title bar
- use of PortletSession to track user navigation (breadcrumbs)
- possibly some minimal inter-portlet communication (TBD)
- must be stable enough to be used in a demo
- tight schedule, so I don't want to be upgrading to Jetspeed fixes on
a regular basis.
Our initial thinking was to use Jetspeed 2.0. Having looked briefly at 
J2, I am concerned that its "alpha version" characteristics (robustness, 
bug list, lack of "how to" doc, design changes, etc.) is a risk factor.

My current understanding is that 1.6 is being retrofitted for JSR168 
support (read a post by Raphaël Luta to that effect). So the questions are:

1.  Is 2.0 stable enough for our requirements?  (The JIRA stats look 
sort of scary)
My opinion is that 2.0 is stable enough for your needs.
The deployment state is probably the biggest problem.
Ate's refactoring will solve the deployment issues.
I've reviewed his work: its top notch (like everything he does).
And if you don't need live deployment, its not an issue.
2.  What is the projected stable release date for a JSR 168 compliant 1.6?
I seem to be the bottleneck there. Its been delayed for several months 
now. Im nearing completion of a project this month that has been 
consuming all of my time. I should be freeing up soon. Planning for 1.6 
to go out before the end of the month or first week in April.

3.  What is the next projected release date/version for 2.0?
May
4.  Will 2.0 have better "How To" documentation soon?
For the final release it is required.
I can setup a demo of Jetspeed-2 running for you if you'd like.
Contact me personally. I'd make it public, but Im tired of setting up 
demos publicly, and then having  people change the passwords within 
hours of the announcement.

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: New bridge proposal : supporting legacy servlets

2005-03-17 Thread David Sean Taylor
Serge Huber wrote:
Hi all,
I've been working the last few days on a new bridge. Basically the main 
goal is : how to rapidly convert existing servlet applications into 
portlets.

I've looked at the GenericServletPortlet, but it didn't seem to offer 
much in the way of supporting legacy portlets. Just to make sure I'm 
clear, when I talk about legacy servlets what I mean is any kind of 
servlet-based application, that hasn't necessarily been designed to run 
as a portlet. I do also of course realize that this might not be the 
ideal solution for every case, but the goal was to offer a transitional 
technology, a bridge, that would ease the conversion, waiting for the 
application to be rewritten into a real JSR-168 compliant portlet.

In theory this bridge should be able to support any kind of servlet 
application, from Struts applications to servlet only apps. My main 
focus is not Struts webapps as we already have an excellent solution 
with the current Struts bridge. I'm mostly focusing on supporting the 
"rest" of servlet applications. At my company, we have quite a few of 
these, and we wanted to have a way to integrate with J2 without having 
to rewrite everything at once, but just be able to migrate progressively 
to JSR-168 portlets. Anyway I think you catch the drift :)

I've started a small implementation of the bridge, and here is an 
overview of the features :
- Based on the PHP/Perl bridges, I'm also rewriting URLs dynamically.
- Added possibility to "bypass" URL rewriting, for example for download 
URLs, etc, using a special marker
- Support for redirects (kinda hacky, I'm using Javascript redirects to 
achieve this)

How it works :
I use a combination of a portlet and a servlet to handle the dispatching 
to the web application.
- The portlet handles all the portal specific code
- The servlet creates request/response/session wrapper classes to 
intercept everything needed
- The servlet checks for redirects and generates Javascript redirect if 
needed
- The portlet retrieves the output, parses the HTML to rewrite all URLs, 
and sends the modified HTML to the response.

The code is still very young, and a little hacky, but if you want to 
have a look I've quickly put up a ZIP with just the classes here : 
http://www.jahia.org/~loom/legacy-servlet-bridge-20050317-1618.zip .

If there is an interest I'd be ready to contribute this bridge to the 
project. I'd welcome feedback, discussion, huge sums of money or 
anything else this inspires you.

Regards,
 Serge Huber.
Im wondering if any of the Struts bridge can also be leveraged here.
Looking at the HTMLPostProcess class, and it looks to me like it doesn't 
use the rewriter framework that Perl/PHP use, but instead uses straight 
Java logic and string processing.

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed/docs/site issue-tracking.html maven-reports.html messaging.html mail-lists.html team-list.html downloads.html dependencies.html database.html project-info.html cvs-usage.html wap.html layout.html index.html portlet_config_Velocity.html icalendar.html branches.html forwards.html customizer.html portlet_config_AppletPortlet.html content-syndication.html license.html portlet_config_DBBrowser.html registry_syntax.html config_guide.html portlet_config_RSS.html todo.html resources.html features.html config_skin.html supporting-projects.html portlet_config_XSL.html config_skin_param_summary.html portlet_config_HTML.html portlet_config_common.html developer-notes.html code-standards.html portlet_config_PSMLBrowser.html usejetspeed.html security.html install.html client-media.html faq.html portlet_config_JSP.html application-development.html diskcache.html override_props.html registry.html community-portlets.html portlet_config_LogfileViewer.html psml.html administration.html contributors.html jars.html portlet_config_WebClippingPortlet.html uml.html portlet_config_WebPagePortlet.html catalog.html psml_db.html registry_xml.html

2005-03-14 Thread taylor
taylor  2005/03/14 08:26:26

  Modified:docs/site wap.html layout.html index.html
portlet_config_Velocity.html icalendar.html
branches.html forwards.html customizer.html
portlet_config_AppletPortlet.html
content-syndication.html license.html
portlet_config_DBBrowser.html registry_syntax.html
config_guide.html portlet_config_RSS.html todo.html
resources.html features.html config_skin.html
supporting-projects.html portlet_config_XSL.html
config_skin_param_summary.html
portlet_config_HTML.html portlet_config_common.html
developer-notes.html code-standards.html
portlet_config_PSMLBrowser.html usejetspeed.html
security.html install.html client-media.html
faq.html portlet_config_JSP.html
application-development.html diskcache.html
override_props.html registry.html
community-portlets.html
portlet_config_LogfileViewer.html psml.html
administration.html contributors.html jars.html
portlet_config_WebClippingPortlet.html uml.html
portlet_config_WebPagePortlet.html catalog.html
psml_db.html registry_xml.html
  Added:   docs/site issue-tracking.html maven-reports.html
messaging.html mail-lists.html team-list.html
downloads.html dependencies.html database.html
project-info.html cvs-usage.html
  Log:
  update docs
  
  Revision  ChangesPath
  1.36  +11 -215   jakarta-jetspeed/docs/site/wap.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/wap.html.diff?r1=1.35&r2=1.36
  
  
  1.14  +17 -261   jakarta-jetspeed/docs/site/layout.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/layout.html.diff?r1=1.13&r2=1.14
  
  
  1.38  +13 -232   jakarta-jetspeed/docs/site/index.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/index.html.diff?r1=1.37&r2=1.38
  
  
  1.27  +30 -1054  jakarta-jetspeed/docs/site/portlet_config_Velocity.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/portlet_config_Velocity.html.diff?r1=1.26&r2=1.27
  
  
  1.29  +11 -225   jakarta-jetspeed/docs/site/icalendar.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/icalendar.html.diff?r1=1.28&r2=1.29
  
  
  1.35  +19 -396   jakarta-jetspeed/docs/site/branches.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/branches.html.diff?r1=1.34&r2=1.35
  
  
  1.10  +47 -494   jakarta-jetspeed/docs/site/forwards.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/forwards.html.diff?r1=1.9&r2=1.10
  
  
  1.36  +12 -230   jakarta-jetspeed/docs/site/customizer.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/customizer.html.diff?r1=1.35&r2=1.36
  
  
  1.6   +42 -336   
jakarta-jetspeed/docs/site/portlet_config_AppletPortlet.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/portlet_config_AppletPortlet.html.diff?r1=1.5&r2=1.6
  
  
  1.35  +18 -222   jakarta-jetspeed/docs/site/content-syndication.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/content-syndication.html.diff?r1=1.34&r2=1.35
  
  
  1.35  +26 -241   jakarta-jetspeed/docs/site/license.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/license.html.diff?r1=1.34&r2=1.35
  
  
  1.20  +67 -587   jakarta-jetspeed/docs/site/portlet_config_DBBrowser.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/portlet_config_DBBrowser.html.diff?r1=1.19&r2=1.20
  
  
  1.15  +146 -1486 jakarta-jetspeed/docs/site/registry_syntax.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/registry_syntax.html.diff?r1=1.14&r2=1.15
  
  
  1.38  +129 -1034 jakarta-jetspeed/docs/site/config_guide.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/config_guide.html.diff?r1=1.37&r2=1.38
  
  
  1.29  +49 -483   jakarta-jetspeed/docs/site/portlet_config_RSS.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/portlet_config_RSS.html.diff?r1=1.28&r2=1.29
  
  
  1.61  +15 -469   jakarta-jetspeed/docs/site/todo.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/todo.html.diff?r1=1.60&r2=1.61
  
  
  1.48  +1 -1  jakarta-jetspeed/docs/site/resources.html
  
  
http://cvs.apache.org/viewcvs/jakarta-jetspeed/docs/site/resources.html.diff?r1=1.47&r2=1.48
  
  
  1.36  +7 -207jakarta-jetspeed/docs/site/features

cvs commit: jakarta-jetspeed/xdocs usejetspeed.xml

2005-03-14 Thread taylor
taylor  2005/03/14 08:24:46

  Modified:xdocsusejetspeed.xml
  Log:
  added link to ask ted
  
  Revision  ChangesPath
  1.25  +17 -10jakarta-jetspeed/xdocs/usejetspeed.xml
  
  Index: usejetspeed.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/usejetspeed.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- usejetspeed.xml   4 Oct 2004 14:26:40 -   1.24
  +++ usejetspeed.xml   14 Mar 2005 16:24:46 -  1.25
  @@ -42,55 +42,62 @@

This site lets you see the 
state of the latest development on Jetspeed. It is refreshed from the CVS Head 
every week or so.
Also, it hosts the on-line Jetspeed 
Questionnaire portlet
  - CVS head
  + 1.6



http://fw.intranet.hisitech.com/jetspeed/";>http://fw.intranet.hisitech.com/jetspeed

A development version, 
about current CVS + my patches, not always up.
  - uknown
  + 1.3a3



  + http://www.askted.com.au/askted/";>http://www.askted.com.au/askted/
  + 
  + Guides, news and reviews on 
whats happening in Western Australia.
  + 1.5
  + 
  + 
  + 
http://www.anglonaweb.it/";>http://www.anglonaweb.it

Anglona Touristic Portal. 
Built on EJB, J2EE design patterns. Contents can be updated using a Content 
Management 
System developed by Atlantis. Extreme 
programming and Agile Modeling are the methodologies used for development. 
  - uknown
  + unknown



http://www.cone.it/";>http://www.cone.it

Cone Information Systems - 
Italy
  - uknown
  + unknown



http://www.esinplast.it/ep";>http://www.esinplast.it/ep

Esin Plast Plastic System 
Production - Italy
  - uknown
  + unknown



http://qld.ieaust.org.au/";>http://qld.ieaust.org.au

Engineers Australia - 
Queensland Division
  - uknown
  + unknown




http://www.mizan.com/";>http://www.mizan.com

An Indonesian publisher 
website that has more than 3800 members
  - uknown
  + unknown



  @@ -99,7 +106,7 @@
   

cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/velocity JetspeedVelocityViewServlet.java

2005-03-09 Thread taylor
taylor  2005/03/09 11:04:58

  Modified:portal/src/java/org/apache/jetspeed/velocity
JetspeedVelocityViewServlet.java
  Log:
  check for null component manager and properly exit out of velocity view 
servlet if not found
  
  Revision  ChangesPath
  1.17  +4 -1  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java
  
  Index: JetspeedVelocityViewServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- JetspeedVelocityViewServlet.java  4 Jan 2005 16:21:09 -   1.16
  +++ JetspeedVelocityViewServlet.java  9 Mar 2005 19:04:58 -   1.17
  @@ -134,6 +134,9 @@
   
   // get jetspeed component manager configuration for decorations
   ComponentManager cm = Jetspeed.getComponentManager();
  +if (null == cm)  // TODO: retry loop 
  +throw new ServletException("Could not get Jetspeed Component 
Manager");
  +
   decorationLocator = (TemplateLocator) 
cm.getComponent("DecorationLocator");
   
   // initialize thread safe velocity engine cache
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin TreeControlTag.java TreeControl.java TreeControlNode.java

2005-03-09 Thread taylor
taylor  2005/03/09 09:33:02

  Modified:taglibs/treecontrol/src/java/org/apache/webapp/admin
TreeControlTag.java TreeControl.java
TreeControlNode.java
  Log:
  make tree control serializable
  
  Revision  ChangesPath
  1.4   +4 -2  
jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControlTag.java
  
  Index: TreeControlTag.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControlTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TreeControlTag.java   4 Mar 2005 03:44:45 -   1.3
  +++ TreeControlTag.java   9 Mar 2005 17:33:01 -   1.4
  @@ -62,7 +62,9 @@
* @version $Revision$ $Date$
*/
   
  -public class TreeControlTag extends TagSupport {
  +public class TreeControlTag extends TagSupport 
  +{
  +private static final long serialVersionUID = 1;
   
   
   /**
  
  
  
  1.4   +4 -2  
jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControl.java
  
  Index: TreeControl.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TreeControl.java  12 Nov 2004 19:36:08 -  1.3
  +++ TreeControl.java  9 Mar 2005 17:33:01 -   1.4
  @@ -33,7 +33,9 @@
* @version $Revision$ $Date$
*/
   
  -public class TreeControl implements Serializable {
  +public class TreeControl implements Serializable 
  +{
  +private static final long serialVersionUID = 1;
   
   
   // --- 
Constructors
  
  
  
  1.6   +4 -2  
jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControlNode.java
  
  Index: TreeControlNode.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControlNode.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TreeControlNode.java  4 Mar 2005 03:44:45 -   1.5
  +++ TreeControlNode.java  9 Mar 2005 17:33:01 -   1.6
  @@ -32,7 +32,9 @@
* @version $Revision$ $Date$
*/
   
  -public class TreeControlNode implements Serializable {
  +public class TreeControlNode implements Serializable 
  +{
  +private static final long serialVersionUID = 1;
   
   
   // --- 
Constructors
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF portlet.xml

2005-03-09 Thread taylor
taylor  2005/03/09 09:31:16

  Modified:layout-portlets/src/webapp/WEB-INF portlet.xml
  Log:
  allow override of view/help/edit page via both init param and pref
  
  Revision  ChangesPath
  1.12  +35 -0 
jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF/portlet.xml
  
  Index: portlet.xml
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF/portlet.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- portlet.xml   29 Jan 2005 04:18:13 -  1.11
  +++ portlet.xml   9 Mar 2005 17:31:15 -   1.12
  @@ -304,5 +304,40 @@
   
   
   
  +
  +FrameLayoutPortlet
  +Frame Layout Portlet
  +
  +  ViewPage
  +  frames
  +
  +
  +  MaxPage
  +  maximized
  +
  +
  +  columns
  +  2
  +
  +
  +  sizes
  +  25%,75%
  +
  +
  +  layoutType
  +  Frame
  +
  +
org.apache.jetspeed.portlets.layout.MultiColumnPortlet
  +-1
  +
  +  text/html
  +  view
  +
  +
  +  Frame Layout Portlet
  +  Frame Layout
  +
  +
  +
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/layout-portlets/src/java/org/apache/jetspeed/portlets/layout LayoutPortlet.java

2005-03-09 Thread taylor
taylor  2005/03/09 09:31:03

  Modified:layout-portlets/src/java/org/apache/jetspeed/portlets/layout
LayoutPortlet.java
  Log:
  allow override of view/help/edit page via both init param and pref
  
  Revision  ChangesPath
  1.8   +23 -3 
jakarta-jetspeed-2/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/LayoutPortlet.java
  
  Index: LayoutPortlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/LayoutPortlet.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- LayoutPortlet.java4 Jan 2005 16:01:58 -   1.7
  +++ LayoutPortlet.java9 Mar 2005 17:31:03 -   1.8
  @@ -59,7 +59,14 @@
   
   try
   {
  -String helpPage = prefs.getValue(PARAM_VIEW_PAGE, "columns");
  +String helpPage = prefs.getValue(PARAM_HELP_PAGE, null);
  +if (helpPage == null)
  +{
  +helpPage = this.getInitParameter(PARAM_HELP_PAGE);
  +if (helpPage == null)
  +helpPage = "columns";
  +}
  +
   
   // TODO: Need to retreive layout.properties instead of
   // hard-coding ".vm"
  @@ -106,7 +113,13 @@
   JetspeedPowerTool jpt = getJetspeedPowerTool(request);
   if (maximized)
   {
  -String viewPage = prefs.getValue(PARAM_MAX_PAGE, 
"maximized");
  +String viewPage = prefs.getValue(PARAM_MAX_PAGE, null);
  +if (viewPage == null)
  +{
  +viewPage = this.getInitParameter(PARAM_MAX_PAGE);
  +if (viewPage == null)
  +viewPage = "maximized";
  +}
   
   // TODO: Need to retreive layout.properties instead of
   // hard-coding ".vm"
  @@ -115,7 +128,14 @@
   }
   else
   {
  -String viewPage = prefs.getValue(PARAM_VIEW_PAGE, 
"columns");
  +String viewPage = prefs.getValue(PARAM_VIEW_PAGE, null);
  +if (viewPage == null)
  +{
  +viewPage = this.getInitParameter(PARAM_VIEW_PAGE);
  +if (viewPage == null)
  +viewPage = "columns";
  +}
  +
   
   // TODO: Need to retreive layout.properties instead of
   // hard-coding ".vm"
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [J2] Changes to MyFaces Bridge Committed

2005-03-08 Thread David Sean Taylor
David Le Strat wrote:
I ran the multiproject:site command.  Works fine but I
run out of memory after a while.
This one fails for me too
[echo] Generating the PMD Report...
BUILD FAILED
File.. .maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line.. 103
Column 9
Unable to obtain goal [site] -- 
.maven\cache\maven-pmd-plugin-1.6\plugin.jelly:105:53:
 taskdef class net.sourceforge.pmd.ant.PMDTask cannot be found
Total time: 32 seconds
Finished at: Tue Mar 08 11:56:10 PST 2005

Tried clearing my plugin cache and got the same error
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [J2] Changes to MyFaces Bridge Committed

2005-03-08 Thread David Sean Taylor
David Sean Taylor wrote:
David Le Strat wrote:
Quick question, has anyone had any luck regenerating
the site. I keep running out of memory trying to do
so.
I just ran
maven site
from the main jetspeed-2 directory.
Seemed to run fine for me.
allSite fails for me:
BUILD FAILED
File.. C:\Bluesunrise\apache\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 122
Column 40
Unable to obtain goal [allSite] --
maven.xml:37:40:  Reactor subproject failure occurred
Total time: 4 seconds
Finished at: Tue Mar 08 08:49:41 PST 2005
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [J2] Changes to MyFaces Bridge Committed

2005-03-07 Thread David Sean Taylor
David Le Strat wrote:
Quick question, has anyone had any luck regenerating
the site. I keep running out of memory trying to do
so.
I just ran
maven site
from the main jetspeed-2 directory.
Seemed to run fine for me.
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [jira] Commented: (JS2-210) Resolving all deployment classloader problems

2005-03-01 Thread David Sean Taylor
A few quick questions:
* why are the method names changing from register to start
* why don't we support the registerAtInit option in the deployTool anymore
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/velocity JetspeedPowerTool.java

2005-03-01 Thread taylor
taylor  2005/03/01 15:32:16

  Modified:portal/src/java/org/apache/jetspeed/velocity
JetspeedPowerTool.java
  Log:
  make data members protected, methods overrideable by subclasses as requested 
by end user
  
  Revision  ChangesPath
  1.42  +22 -22
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java
  
  Index: JetspeedPowerTool.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerTool.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- JetspeedPowerTool.java18 Feb 2005 00:45:06 -  1.41
  +++ JetspeedPowerTool.java1 Mar 2005 23:32:15 -   1.42
  @@ -92,32 +92,32 @@
   protected static final String PORTLET_CONFIG_ATTR = 
"javax.portlet.config";
   protected static final String RENDER_RESPONSE_ATTR = 
"javax.portlet.response";
   protected static final String RENDER_REQUEST_ATTR = 
"javax.portlet.request";
  -private static final String COLUMNS_ATTR = "columns";
  -private static final String COLUMN_SIZES = "columnSizes";
  +protected static final String COLUMNS_ATTR = "columns";
  +protected static final String COLUMN_SIZES = "columnSizes";
   
  -private RenderRequest renderRequest;
  +protected RenderRequest renderRequest;
   
  -private RenderResponse renderResponse;
  +protected RenderResponse renderResponse;
   
  -private PortletConfig portletConfig;
  +protected PortletConfig portletConfig;
   
  -private Writer templateWriter;
  +protected Writer templateWriter;
   
  -private static final String POWER_TOOL_SESSION_ACTIONS = 
"org.apache.jetspeed.powertool.actions";
  +protected static final String POWER_TOOL_SESSION_ACTIONS = 
"org.apache.jetspeed.powertool.actions";
   
  -private static final Log log = 
LogFactory.getLog(JetspeedPowerTool.class);
  +protected static final Log log = 
LogFactory.getLog(JetspeedPowerTool.class);
   
  -private CapabilityMap capabilityMap;
  -private Locale locale;
  -private LocatorDescriptor templateLocatorDescriptor;
  -private TemplateLocator templateLocator;
  -private PortletEntityAccessComponent entityAccess;
  -private TemplateLocator decorationLocator;
  -private LocatorDescriptor decorationLocatorDescriptor;
  -private PortletWindowAccessor windowAccess;
  +protected CapabilityMap capabilityMap;
  +protected Locale locale;
  +protected LocatorDescriptor templateLocatorDescriptor;
  +protected TemplateLocator templateLocator;
  +protected PortletEntityAccessComponent entityAccess;
  +protected TemplateLocator decorationLocator;
  +protected LocatorDescriptor decorationLocatorDescriptor;
  +protected PortletWindowAccessor windowAccess;
   
  -private RequestContext requestContext;
  -private Context velocityContext;
  +protected RequestContext requestContext;
  +protected Context velocityContext;
   public static final String GENERIC_TEMPLATE_TYPE = "generic";
   public static final String FRAGMENT_PROCESSING_ERROR_PREFIX = 
"fragment.processing.error.";
   public static final String FRAGMENT_ATTR = "fragment";
  @@ -505,7 +505,7 @@
*  Portlet fragment to "decorate"
* @throws Exception
*/
  -private String decorateAndIncludePortlet( Fragment f ) throws Exception
  +protected String decorateAndIncludePortlet( Fragment f ) throws Exception
   {
   // make sure that any previous content has been written to
   // preserve natural HTML rendering order
  @@ -739,7 +739,7 @@
   }
   }
   
  -private boolean checkAccess(String action)
  +protected boolean checkAccess(String action)
   {
   boolean access = true;
   try
  @@ -874,7 +874,7 @@
*  max, min...)
* @return true if the action is allowed, false if it is not
*/
  -private boolean checkPermission( String resource, String action )
  +protected boolean checkPermission( String resource, String action )
   {
   try
   {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login LoginRedirectorServlet.java LogoutServlet.java LoginProxyServlet.java LoginErrorServlet.java LoginServlet.java

2005-03-01 Thread taylor
taylor  2005/03/01 15:30:38

  Modified:portal/src/java/org/apache/jetspeed/login
LoginRedirectorServlet.java LogoutServlet.java
LoginProxyServlet.java LoginErrorServlet.java
LoginServlet.java
  Log:
  make methods overrideable by subclasses as requested by end user
  
  Revision  ChangesPath
  1.3   +2 -2  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java
  
  Index: LoginRedirectorServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LoginRedirectorServlet.java   14 May 2004 00:55:13 -  1.2
  +++ LoginRedirectorServlet.java   1 Mar 2005 23:30:37 -   1.3
  @@ -32,7 +32,7 @@
   public class LoginRedirectorServlet extends HttpServlet
   {
   
  -public final void doGet(HttpServletRequest request,
  +public void doGet(HttpServletRequest request,
   HttpServletResponse response) throws IOException, 
ServletException
   {
   HttpSession session = request.getSession(true);
  
  
  
  1.3   +2 -2  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java
  
  Index: LogoutServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LogoutServlet.java14 May 2004 00:55:13 -  1.2
  +++ LogoutServlet.java1 Mar 2005 23:30:37 -   1.3
  @@ -31,7 +31,7 @@
   public class LogoutServlet extends HttpServlet
   {
   
  -public final void doGet(HttpServletRequest request,
  +public void doGet(HttpServletRequest request,
   HttpServletResponse response) throws IOException, 
ServletException
   {
   request.getSession(true).invalidate();
  
  
  
  1.3   +2 -2  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java
  
  Index: LoginProxyServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LoginProxyServlet.java14 May 2004 00:55:13 -  1.2
  +++ LoginProxyServlet.java1 Mar 2005 23:30:37 -   1.3
  @@ -32,7 +32,7 @@
   public class LoginProxyServlet extends HttpServlet
   {
   
  -public final void doGet(HttpServletRequest request,
  +public void doGet(HttpServletRequest request,
   HttpServletResponse response) throws IOException, 
ServletException
   {
   String parameter;
  
  
  
  1.3   +2 -2  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginErrorServlet.java
  
  Index: LoginErrorServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginErrorServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LoginErrorServlet.java14 May 2004 00:55:13 -  1.2
  +++ LoginErrorServlet.java1 Mar 2005 23:30:37 -   1.3
  @@ -32,7 +32,7 @@
   public class LoginErrorServlet extends HttpServlet
   {
   
  -public final void doGet(HttpServletRequest request,
  +public void doGet(HttpServletRequest request,
   HttpServletResponse response) throws IOException, 
ServletException
   {
   HttpSession session = request.getSession();
  
  
  
  1.4   +2 -2  
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginServlet.java
  
  Index: LoginServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/login/LoginServlet.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LoginServlet.java 7 Dec 2004 21:38:15 -   1.3
  +++ LoginServlet.java 1 Mar 2005 23:30:37 -   1.4
  @@ -33,7 +33,7 @@
   public class LoginServlet extends HttpServlet
   {
   
  -public final void doGet(HttpServletRequest request,
  +public void doGet(HttpServletRequest request,
   HttpServletResponse response) throws IOException, 
ServletException
   {
   HttpSession session = request.getSession(true);
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-jetspeed-2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy JetspeedDeploy.java

2005-03-01 Thread taylor
taylor  2005/03/01 15:28:36

  Modified:components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy
JetspeedDeploy.java
  Log:
  make methods overrideable by subclasses as requested by end user
  
  Revision  ChangesPath
  1.10  +7 -6  
jakarta-jetspeed-2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy/JetspeedDeploy.java
  
  Index: JetspeedDeploy.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy/JetspeedDeploy.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JetspeedDeploy.java   4 Feb 2005 06:44:35 -   1.9
  +++ JetspeedDeploy.java   1 Mar 2005 23:28:36 -   1.10
  @@ -207,7 +207,8 @@
   }
   }
   
  -private Document parseXml(InputStream jin) throws Exception {
  +protected Document parseXml(InputStream jin) throws Exception 
  +{
   // Parse using the local dtds instead of remote dtds. This
   // allows to deploy the application offline
   SAXBuilder saxBuilder = new SAXBuilder();
  @@ -227,7 +228,7 @@
   return document;
   }
   
  -private void addFile(String path, InputStream source, JarOutputStream 
jos) throws IOException 
  +protected void addFile(String path, InputStream source, JarOutputStream 
jos) throws IOException 
   {
   jos.putNextEntry(new ZipEntry(path));
   try {
  @@ -240,7 +241,7 @@
   }
   }
   
  -private void addFile(String path, Document source, JarOutputStream jos) 
throws IOException {
  +protected void addFile(String path, Document source, JarOutputStream 
jos) throws IOException {
   if (source != null)
   {
   jos.putNextEntry(new ZipEntry(path));
  @@ -253,7 +254,7 @@
   }
   }
   
  -private String getPortletApplicationName(String path)
  +protected String getPortletApplicationName(String path)
   {
   File file = new File(path);
   String name = file.getName();
  @@ -267,7 +268,7 @@
   return portletApplicationName;
   }
   
  -private class UncloseableInputStream extends InputStream {
  +protected class UncloseableInputStream extends InputStream {
   private final InputStream in;
   
   public UncloseableInputStream(InputStream in) {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jira] Commented: (JS2-69) Finallizing Portal Navigation using the Profiler

2005-03-01 Thread David Sean Taylor
Randy Watler (JIRA) wrote:
[
http://issues.apache.org/jira/browse/JS2-69?page=comments#action_59846
]
Randy Watler commented on JS2-69: -
Team,
After devoting some time to this issue over the week I think I have
come up with the heart of a proposal. I plan on commiting it to an
official design document in all of its glory soon, but I would like
some feedback first.
Randy,
Im going to try to summarize your proposal so that I can better
understand it. Lets try to stay out of too many implementation issues
for now...
* There will be a new session context object: Site
* The profiled page context object will no longer be used directly
  Instead Site should be used in all navigation templates
If this is correct, then with your upcoming official document, could I
request to see a public API (interfaces) for the new Site interface and
high level examples for several use cases

3. Basic utilities will be implemented by the site session context
object that mimic the existing PageManager/Profiler features. These
will minimally include: getPage(), getFolder(), getSiblingFolders(),
getSiblingPages(), and getRootLinks(). The new getRootFolder(),
getRootPages(), and getRootFolders() access will also implemented to
facilitate ad-hoc access to the root of the profiled site.
Is this for backward compatibility?
I have existing systems usuing the page context 'api'...

4. Document sets will be deprecated and replaced with named menu
definitions that will appear in the folder.metadata files. In the
+1
In you design doc, could you provide examples of menu definitions
5. The implementation of the functionality behind the site session
context object and its proxy hierarchies will be encapsulated in a
separate component I am referring to as the PortalNavigations
component. I am also considering the implementation of another
compatible component that simply returns underlying Folders, Pages,
and other documents from the PageManager without employing the
Profiler or Security; this would also eliminate the need for proxies
and delegation.
There is a Site session object used internally
Then a PortletNavigations component...
Perhaps some UML (sorry XPers) or even circles and lines would help
about now (components, pipeline context interfaces, interfaces provided 
to template developers). I need to start at a higher, design level 
before getting into all of the implementation details

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Which classloader to use?

2005-03-01 Thread David Sean Taylor
Peter Meier wrote:
I noticed that the classloader that is stored in PortletDefinition under 
portletClassLoader  is *not* the classloader that is actually used (or 
has been used) to load the portlet class itself. Instead, there is a 
classloader stored that has been taken from a map that has been 
previously created. Although in this case the URL classloader is 
pointing to the right class path, it could cause ClassCastExceptions if 
it used to create classes instead of the classloader from the portlet 
class.

My question is what was the initial intention of having a classloader 
map, when it is not used for portlet class loading itself?
Is there any objection if the code in JetspeedPortletFactory is altered 
thus that it *always* stores the actual classloader of the portlet in 
portletClassLoader of Portletdefinition as the name suggests?

Ate's upcoming commit will fix that
http://issues.apache.org/jira/browse/JS2-210

By doing the latter, I also avoid classloader issues in JBoss.

Regards,
Peter
Architect,
TEC
Wellington, New Zealand
email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  1   2   3   4   5   6   7   8   9   10   >