You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by David Sean Taylor <da...@bluesunrise.com> on 2007/08/23 18:03:24 UTC
[M2 build design] Refactoring
I would also like to discuss trimming down the core Jetspeed,
removing any old stuff, and moving out applications to its own
subversion repository
IMO, the core portal should only be basically:
* jetspeed api
* components
* commons
Proposed changes:
* applications -- move to new svn project called "applications"
including j2-admin
* app-servers -- not entirely sure whats here, but I think it should
be a "configuration" of some sort
* archives -- remove it
* design-docs -- this needs review and deletion of old artifacts (man
I can hear echoes of Kent Beck talking about the code being the only
real artifact...)
* docs -- same as above, combine design-docs + docs --> docs
* etc -- I would think this should be moved into the "configuration"
layer to be discussed
* graphic_design -- a few logos..
* jetspeed-ant-tasks -- i understand this is used for the installer,
but this is also an area that needs further discussion, should
Jetspeed provide Ant tasks ... I think the answer may be yes
* jetspeed-installer - that is written in Maven-1, going to be
interesting to see if we can port it to Maven-2 (yes I am being
skeptical)
* jetspeed-portal-resources -- this is new, I will let Ate comment on it
* layout-portlets -- I think layouts need to be refactored but thats
another discusson
* maven -- this is new, I will let Ate explain it to us
* patched-jars -- its empty
* taglibs -- thats one ugly tree view taglib, i think we should get
this out of the portal as its not the right place and look into
porting j2-admin portlets that use it to something more standard like
Wicket or JDSF
* tutorial -- move to new svn project called "tutorials"
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 27, 2007, at 9:16 AM, Ate Douma wrote:
> David Sean Taylor wrote:
>> Scott,
>> Nesting is an absolute requirement.
> +1
> Same goes for a (inline) layout-customizer solution.
>
>> We ripped out the content-server a while back
>> I don't really care what technology (portlets, templates, JSP,
>> Velocity ..) is used to implement them.
> My preference is that we (at least) allow to use portlets as main
> entry point for layout rendering.
> Being able to render and manage the layout through our core
> technology (portlets) is in my opinion important to maintain, both
> for support as well as presentation/communication purposes.
> Allowing additional layout (technology) solutions on the other hand
> would be great of course (as long as it integrates well and is easy
> to maintain).
> A new "layout and decoration api" as I proposed earlier in another
> mail might be a good starting point to provide a better abstraction
> for this.
>
>> I think the main thing we need to consider with layouts is:
>> * making layouts very easy to deploy to the system
>> * making layouts extensible. I don't want to create a new portlet
>> just to go from 3 column 33,33,33 to 25,50,25
> Which isn't needed anyway, you can configure/override that using
> psml fragment properties although those cannot be set through the
> inline layout customizer.
Yes it can, but only with the desktop customizer
>
>> * making layouts completely editable from the customizer (like the
>> Desktop supports, but not quite with the portal)
>> I think the main problem with portlet based layouts is that it
>> doesn't extend well.
>> Say I want to create my own layout, I have to get the jar
>> dependencies from the base jetspeed, and build my own layout war
>> I guess that is OK if I am writing my own layout algorithms, but I
>> have found that I usually just need to extend the base layouts
>> Another possible issue I see is that the customization code is
>> directly built into the layouts due to the fact that we wanted
>> "edit in place"
>> We also need to discuss how people will map the old layouts to new
>> layouts
> Yes.
> In my view, we should strive to be at least backwards compatible on
> layouts for the 2.2 release.
> We are already going to change a lot in 2.2 which might result in
> quite a few upgrade issues.
> Layouts and decorations are likely the most customized elements of
> a custom portal, so lets try to keep the pain minimal in that area.
> Deprecating our current layout solution (if need be) would be an
> alternative allowing end users time to upgrade until at least
> release >= 2.3.
>
Agree on backward compatibility as a must
That said, I really think we can improve on the current solution. I
just want to make sure we consider from the start:
* complete customization of all features of the layout, such as
easily replacing the logo or color themes with the customizer
* lots of code reviews before acceptance
* performance issues. Lets hits the performance issues earlier in the
cycle this time, from past experience
* strive to make layouts more usable from designer tools. Im afraid
that using Velocity is just not going to cut it with this requirement
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 28, 2007, at 7:17 AM, Weaver, Scott wrote:
> I think a side by side would be the way to go. The reason I yanked
> portlet-based layouts is that, at the time, they were some clunky and
> auto-deployment wasn't working consistently, at least for me. I went
> with the simplest approach using just Velocity running is a valve and
> directly interacting with the aggregation engine. This eliminates the
> need to for theme designers to pack each, new layout/theme as a
> portlet.
> There is also no need for a specific, deployment mechanism for
> themes as
> they just sit in a /theme directory right off the root of the
> application. This approach also allows me to easily proxy static
> content through Apache for performance's sake.
> The theme system provides for localized and device/content-type
> specific
> (which I am pretty sure was in the previous layout mechanism) themes.
>
> /themes/html/page.html
> /themes/html/de/page.html
> /themes/xml/page.xml
>
> It also supports fall back.
Yes the previous approach supported language and media type fallback
for templates.
In retrospect, although this feature is useful, it should be optional
as its often not used at all
>
> /themes/html/en/ <--page.html not found here so move up one level.
> /themes/html/page.html <-- found here, so use it.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
RE: [M2 build design] Refactoring
Posted by "Weaver, Scott" <we...@ugs.com>.
I think a side by side would be the way to go. The reason I yanked
portlet-based layouts is that, at the time, they were some clunky and
auto-deployment wasn't working consistently, at least for me. I went
with the simplest approach using just Velocity running is a valve and
directly interacting with the aggregation engine. This eliminates the
need to for theme designers to pack each, new layout/theme as a portlet.
There is also no need for a specific, deployment mechanism for themes as
they just sit in a /theme directory right off the root of the
application. This approach also allows me to easily proxy static
content through Apache for performance's sake.
The theme system provides for localized and device/content-type specific
(which I am pretty sure was in the previous layout mechanism) themes.
/themes/html/page.html
/themes/html/de/page.html
/themes/xml/page.xml
It also supports fall back.
/themes/html/en/ <--page.html not found here so move up one level.
/themes/html/page.html <-- found here, so use it.
-----Original Message-----
From: Mohan K R [mailto:kmoh.raj@gmail.com]
Sent: Tuesday, August 28, 2007 9:40 AM
To: Jetspeed Developers List
Subject: Re: [M2 build design] Refactoring
On 8/27/07, Ate Douma <at...@douma.nu> wrote:
>
> David Sean Taylor wrote:
> > Scott,
> >
> > Nesting is an absolute requirement.
> +1
> Same goes for a (inline) layout-customizer solution.
>
> > We ripped out the content-server a while back
> >
> > I don't really care what technology (portlets, templates, JSP,
Velocity
> > ..) is used to implement them.
> My preference is that we (at least) allow to use portlets as main
entry
> point for layout rendering.
> Being able to render and manage the layout through our core technology
> (portlets) is in my opinion important to maintain, both for support as
well
> as
> presentation/communication purposes.
> Allowing additional layout (technology) solutions on the other hand
would
> be great of course (as long as it integrates well and is easy to
maintain).
> A new "layout and decoration api" as I proposed earlier in another
mail
> might be a good starting point to provide a better abstraction for
this.
>
> > I think the main thing we need to consider with layouts is:
> >
> > * making layouts very easy to deploy to the system
> > * making layouts extensible. I don't want to create a new portlet
just
> > to go from 3 column 33,33,33 to 25,50,25
> Which isn't needed anyway, you can configure/override that using psml
> fragment properties although those cannot be set through the inline
layout
> customizer.
>
> > * making layouts completely editable from the customizer (like the
> > Desktop supports, but not quite with the portal)
> >
> > I think the main problem with portlet based layouts is that it
doesn't
> > extend well.
> > Say I want to create my own layout, I have to get the jar
dependencies
> > from the base jetspeed, and build my own layout war
> > I guess that is OK if I am writing my own layout algorithms, but I
have
> > found that I usually just need to extend the base layouts
> >
> > Another possible issue I see is that the customization code is
directly
> > built into the layouts due to the fact that we wanted "edit in
place"
> >
> > We also need to discuss how people will map the old layouts to new
> layouts
> Yes.
> In my view, we should strive to be at least backwards compatible on
> layouts for the 2.2 release.
> We are already going to change a lot in 2.2 which might result in
quite a
> few upgrade issues.
> Layouts and decorations are likely the most customized elements of a
> custom portal, so lets try to keep the pain minimal in that area.
> Deprecating our current layout solution (if need be) would be an
> alternative allowing end users time to upgrade until at least release
>=
> 2.3.
Can't we preserve the current layout implementation and still provide a
*new* layout solution that is independent and not the default, so
existing
layout would still function?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Ate Douma <at...@douma.nu>.
Mohan K R wrote:
> On 8/27/07, Ate Douma <at...@douma.nu> wrote:
>> David Sean Taylor wrote:
<snip/>
>>> We also need to discuss how people will map the old layouts to new
>> layouts
>> Yes.
>> In my view, we should strive to be at least backwards compatible on
>> layouts for the 2.2 release.
>> We are already going to change a lot in 2.2 which might result in quite a
>> few upgrade issues.
>> Layouts and decorations are likely the most customized elements of a
>> custom portal, so lets try to keep the pain minimal in that area.
>> Deprecating our current layout solution (if need be) would be an
>> alternative allowing end users time to upgrade until at least release >=
>> 2.3.
>
>
> Can't we preserve the current layout implementation and still provide a
> *new* layout solution that is independent and not the default, so existing
> layout would still function?
Well, we haven't even started properly discuss and design what the new layout and decoration api should look like so its a bit speculative right now, but my
preferred solution would be reimplementing our current layout implementation on top of such a new api besides providing a new direct/more advanced solution of
course. That way, we will have only one layout and decoration engine to maintain while maintaining (temporarily) backwards compatibility.
The out-dated current solution could then be deprecated and possibly dropped after release >= 2.3.
But as said, this is quite speculative right now.
Furthermore, I think we are talking about two different approaches here.
I think what Scott is proposing is a radical different way how layout and decoration is *executed* while my original proposal concerns more about a new layout
and decoration engine how to write/define new layout and decoration templating in a somewhat similar way as Wicket does it but still executed from (new) layout
portlets.
There is probably some overlap in features so they might go hand in hand, but not necessarily so.
My first impression is that a radical new layout/decoration execution model might be difficult to support backwards compatibility resulting in two separate
engines which I find less ideal. But if Scotts solution can match all our current features and turns out to be easier to work with and extend upon, it might be
worthwhile to (temporarily) maintain two different solutions.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Mohan K R <km...@gmail.com>.
On 8/27/07, Ate Douma <at...@douma.nu> wrote:
>
> David Sean Taylor wrote:
> > Scott,
> >
> > Nesting is an absolute requirement.
> +1
> Same goes for a (inline) layout-customizer solution.
>
> > We ripped out the content-server a while back
> >
> > I don't really care what technology (portlets, templates, JSP, Velocity
> > ..) is used to implement them.
> My preference is that we (at least) allow to use portlets as main entry
> point for layout rendering.
> Being able to render and manage the layout through our core technology
> (portlets) is in my opinion important to maintain, both for support as well
> as
> presentation/communication purposes.
> Allowing additional layout (technology) solutions on the other hand would
> be great of course (as long as it integrates well and is easy to maintain).
> A new "layout and decoration api" as I proposed earlier in another mail
> might be a good starting point to provide a better abstraction for this.
>
> > I think the main thing we need to consider with layouts is:
> >
> > * making layouts very easy to deploy to the system
> > * making layouts extensible. I don't want to create a new portlet just
> > to go from 3 column 33,33,33 to 25,50,25
> Which isn't needed anyway, you can configure/override that using psml
> fragment properties although those cannot be set through the inline layout
> customizer.
>
> > * making layouts completely editable from the customizer (like the
> > Desktop supports, but not quite with the portal)
> >
> > I think the main problem with portlet based layouts is that it doesn't
> > extend well.
> > Say I want to create my own layout, I have to get the jar dependencies
> > from the base jetspeed, and build my own layout war
> > I guess that is OK if I am writing my own layout algorithms, but I have
> > found that I usually just need to extend the base layouts
> >
> > Another possible issue I see is that the customization code is directly
> > built into the layouts due to the fact that we wanted "edit in place"
> >
> > We also need to discuss how people will map the old layouts to new
> layouts
> Yes.
> In my view, we should strive to be at least backwards compatible on
> layouts for the 2.2 release.
> We are already going to change a lot in 2.2 which might result in quite a
> few upgrade issues.
> Layouts and decorations are likely the most customized elements of a
> custom portal, so lets try to keep the pain minimal in that area.
> Deprecating our current layout solution (if need be) would be an
> alternative allowing end users time to upgrade until at least release >=
> 2.3.
Can't we preserve the current layout implementation and still provide a
*new* layout solution that is independent and not the default, so existing
layout would still function?
Re: [M2 build design] Refactoring
Posted by Ate Douma <at...@douma.nu>.
David Sean Taylor wrote:
> Scott,
>
> Nesting is an absolute requirement.
+1
Same goes for a (inline) layout-customizer solution.
> We ripped out the content-server a while back
>
> I don't really care what technology (portlets, templates, JSP, Velocity
> ..) is used to implement them.
My preference is that we (at least) allow to use portlets as main entry point for layout rendering.
Being able to render and manage the layout through our core technology (portlets) is in my opinion important to maintain, both for support as well as
presentation/communication purposes.
Allowing additional layout (technology) solutions on the other hand would be great of course (as long as it integrates well and is easy to maintain).
A new "layout and decoration api" as I proposed earlier in another mail might be a good starting point to provide a better abstraction for this.
> I think the main thing we need to consider with layouts is:
>
> * making layouts very easy to deploy to the system
> * making layouts extensible. I don't want to create a new portlet just
> to go from 3 column 33,33,33 to 25,50,25
Which isn't needed anyway, you can configure/override that using psml fragment properties although those cannot be set through the inline layout customizer.
> * making layouts completely editable from the customizer (like the
> Desktop supports, but not quite with the portal)
>
> I think the main problem with portlet based layouts is that it doesn't
> extend well.
> Say I want to create my own layout, I have to get the jar dependencies
> from the base jetspeed, and build my own layout war
> I guess that is OK if I am writing my own layout algorithms, but I have
> found that I usually just need to extend the base layouts
>
> Another possible issue I see is that the customization code is directly
> built into the layouts due to the fact that we wanted "edit in place"
>
> We also need to discuss how people will map the old layouts to new layouts
Yes.
In my view, we should strive to be at least backwards compatible on layouts for the 2.2 release.
We are already going to change a lot in 2.2 which might result in quite a few upgrade issues.
Layouts and decorations are likely the most customized elements of a custom portal, so lets try to keep the pain minimal in that area.
Deprecating our current layout solution (if need be) would be an alternative allowing end users time to upgrade until at least release >= 2.3.
>
> On Aug 23, 2007, at 1:06 PM, Weaver, Scott wrote:
>
>> David,
>>
>> * layout-portlets -- I think layouts need to be refactored but thats
>> another discusson
>>
>> I have a portlet-free layout/theme system (inspired loosely by how
>> Drupal does their themes) that I can donate to Jetspeed. It has worked
>> very well for me for the last year and a half. It is easy to relatively
>> to understand and work with, and doesn't require a content-server for
>> images, javascript, etc. I am currently working on a migration to 2.1.3
>> so that will give me cause to make sure it works with the latest and
>> greatest Jetspeed. I don't do any nesting or anything like that as
>> there has never been a requirement for me, so that might need to be
>> addressed.
>>
>> -scott
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by David Sean Taylor <da...@bluesunrise.com>.
Scott,
Nesting is an absolute requirement.
We ripped out the content-server a while back
I don't really care what technology (portlets, templates, JSP,
Velocity ..) is used to implement them.
I think the main thing we need to consider with layouts is:
* making layouts very easy to deploy to the system
* making layouts extensible. I don't want to create a new portlet
just to go from 3 column 33,33,33 to 25,50,25
* making layouts completely editable from the customizer (like the
Desktop supports, but not quite with the portal)
I think the main problem with portlet based layouts is that it
doesn't extend well.
Say I want to create my own layout, I have to get the jar
dependencies from the base jetspeed, and build my own layout war
I guess that is OK if I am writing my own layout algorithms, but I
have found that I usually just need to extend the base layouts
Another possible issue I see is that the customization code is
directly built into the layouts due to the fact that we wanted "edit
in place"
We also need to discuss how people will map the old layouts to new
layouts
On Aug 23, 2007, at 1:06 PM, Weaver, Scott wrote:
> David,
>
> * layout-portlets -- I think layouts need to be refactored but thats
> another discusson
>
> I have a portlet-free layout/theme system (inspired loosely by how
> Drupal does their themes) that I can donate to Jetspeed. It has
> worked
> very well for me for the last year and a half. It is easy to
> relatively
> to understand and work with, and doesn't require a content-server for
> images, javascript, etc. I am currently working on a migration to
> 2.1.3
> so that will give me cause to make sure it works with the latest and
> greatest Jetspeed. I don't do any nesting or anything like that as
> there has never been a requirement for me, so that might need to be
> addressed.
>
> -scott
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
RE: [M2 build design] Refactoring
Posted by "Weaver, Scott" <we...@ugs.com>.
David,
* layout-portlets -- I think layouts need to be refactored but thats
another discusson
I have a portlet-free layout/theme system (inspired loosely by how
Drupal does their themes) that I can donate to Jetspeed. It has worked
very well for me for the last year and a half. It is easy to relatively
to understand and work with, and doesn't require a content-server for
images, javascript, etc. I am currently working on a migration to 2.1.3
so that will give me cause to make sure it works with the latest and
greatest Jetspeed. I don't do any nesting or anything like that as
there has never been a requirement for me, so that might need to be
addressed.
-scott
-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Thursday, August 23, 2007 12:03 PM
To: Jetspeed Developers List
Subject: [M2 build design] Refactoring
I would also like to discuss trimming down the core Jetspeed,
removing any old stuff, and moving out applications to its own
subversion repository
IMO, the core portal should only be basically:
* jetspeed api
* components
* commons
Proposed changes:
* applications -- move to new svn project called "applications"
including j2-admin
* app-servers -- not entirely sure whats here, but I think it should
be a "configuration" of some sort
* archives -- remove it
* design-docs -- this needs review and deletion of old artifacts (man
I can hear echoes of Kent Beck talking about the code being the only
real artifact...)
* docs -- same as above, combine design-docs + docs --> docs
* etc -- I would think this should be moved into the "configuration"
layer to be discussed
* graphic_design -- a few logos..
* jetspeed-ant-tasks -- i understand this is used for the installer,
but this is also an area that needs further discussion, should
Jetspeed provide Ant tasks ... I think the answer may be yes
* jetspeed-installer - that is written in Maven-1, going to be
interesting to see if we can port it to Maven-2 (yes I am being
skeptical)
* jetspeed-portal-resources -- this is new, I will let Ate comment on it
* layout-portlets -- I think layouts need to be refactored but thats
another discusson
* maven -- this is new, I will let Ate explain it to us
* patched-jars -- its empty
* taglibs -- thats one ugly tree view taglib, i think we should get
this out of the portal as its not the right place and look into
porting j2-admin portlets that use it to something more standard like
Wicket or JDSF
* tutorial -- move to new svn project called "tutorials"
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Ate Douma <at...@douma.nu>.
David Sean Taylor wrote:
>
> On Aug 24, 2007, at 6:02 AM, Ate Douma wrote:
>
<snip/>
>>
>> Note though the one thing missing for (easy) independent lifecycle
>> management is our current JIRA project setup.
>> I think we might want to split/expand our current JIRA project and add
>> new projects for:
>> - j2-admin (J2ADMIN)
>> - other applications (layouts?) (J2APPS)
>> - jetspeed-maven-plugins (J2MAVEN)
>> - jetspeed-portal-resources (J2RESOURCES)
>> - site, docs & tutorials (J2DOC)
>> - ...
>
> Well, maybe. Do you know if other projects also create this many project
> tags per project?
> I don't want to create too many tags if there is no precedent
>
Not really (yet) at Apache JIRA, although something similar is proposed/requested by the Cocoon team too although not executed as of yet.
A big and better "example" probably is the maven-2 plugins svn sub tree at: http://svn.apache.org/viewvc/maven/plugins/trunk/
All of those plugins are versioned independently and have separate JIRA projects... at codehaus ...
It seems strange that they don't use the Apache JIRA, but that probably has an historical reason I guess.
Anyway, I'm not 100% sure we should or need to version those independently, there are some downsides of course.
I like to hear others opinions (experiences?) on this first.
For restructuring our svn tree it doesn't really matter yet.
Only when we start versioning one of those above independently it becomes important as we "tag" releases by copying a svn folder to the /releases folder so we
cannot have "overlapping" tagged folders.
>>
>> So, summarizing, my proposed new directory structure would be:
>>
>> jetspeed-2/trunk
>> /applications
>> /j2-admin
>> /layout-portlets
>> /demo (for now)
>> /gems (for now)
>> /rss (for now)
>> /docs
>> /jetspeed-portal-resources
>> /maven
>> /jetspeed-maven-plugins
>> /portal
>> /jetspeed-api
>> /jetspeed-commons
>> /components
>> /... (all components)
>> /assembly
>> /base-portal
>> /demo-portal
>> /jetspeed-installer
>> /...
>> /site?
>> /tutorials
>>
>> WDYT?
>>
> +1 Looks good.
> It makes sense to more slowly move towards a clean separation from the
> portal and all other projects
> That said, I believe we should move forward in creating a Portals
> Applications project under Portalst
+1
We should start drafting up a proposal for the PMC.
Ate
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Mohan K R <km...@gmail.com>.
David wrote:
"
IMO, the core portal should only be basically:
* jetspeed api
* components
* commons
"
+1 keeping the core simple, I like it.
Re: [M2 build design] Refactoring
Posted by Mohan K R <km...@gmail.com>.
Comments inlined
On 8/27/07, Ate Douma <at...@douma.nu> wrote:
>
> Mohan K R wrote:
>
> <snip/>
> >
> >
> > I am still playing with the trunk, trying from a clean IDE environment
> to
> > see how easy the above structure is from a
> > developers perspective (unfortunately, eclipse and most other IDE's do
> not
> > support hierarchical projects, so there
> > will be pain I guess). I do endorse, David's proposal to have a separate
> > applications and move j2-admin there.
> Me too, as long as we keep it under our jetspeed-2 svn root (e.g. tied to
> the jetspeed-2 project itself).
I believe the intention here is to Maven-2 "aggregation" rather than
"inheritance", in that case it really does not
matter physically where the j2-admin lives.
> Further, how about refactoring j2-admin into sub components by functional
> > groups, as it stands right now it is
> > a monolithic beast, it has hard to rip out components we don't need (I
> > understand we can hide them from the psml,s).
> Yeah, j2-admin has become quite a mixture of different technologies (JSF,
> Struts, JSP. Velocity, dojo, etc.) and application features.
>
> I'm considering we should rebuild/rewrite the j2-admin using one chosen
> technology.
> For that I think JSF or Wicket are the best candidates.
> Note though, the portlet support I added to Wicket is still on a separate
> branch and has been stalled since I've been working on Jetspeed and away on
> holiday.
> But, I've allocated time this week on bringing Wicket portlet support up
> to date with the current Wicket trunk development.
>
> At my company we're building a new version of our CMS using Wicket which
> allows "pluggable" extensions like for managing specific content types,
> workflow etc.
> Maybe a neat idea to develop something similar for j2-admin, e.g. a
> generic "console" portlet which can "manage" a certain jetspeed "feature"
> based on runtime
> discovery of provided "extensions" (jars containing Wicket components).
> Just drop an extension jar in j2-admin/WEB-INF/lib and you are ready to
> go...
> It seems to be working out quite nicely for our CMS (also runnable as
> portlet) so we should be able to apply the same technique for j2-admin.
>
> Also note: I expected Wicket 1.3.0 to be released by now when I started
> adding the portlet support but its still in beta (3) right now.
> Therefore I will start discussing with the Wicket team about bringing
> portlet support into the trunk sooner, if possible before the Wicket 1.3.0release instead
> of afterwards as originally planned.
>
> I think Wicket is the best framework for these type of applications but we
> do need a reliable build and API to work with.
>
> Regards,
>
> Ate
I am really beginning to like the idea of extensions for the j2-admin
console (from what you wrote above), I am very much interested in pursuing
this option, can we open a j2-admin discussion thread to bounce some ideas
of the community. Way cool.
Cheers
mohan
Re: [M2 build design] Refactoring
Posted by Ate Douma <at...@douma.nu>.
Weaver, Scott wrote:
> Ate,
>
> I like the Wicket idea and the pluggable extensions is also very
> interesting. It sounds very much like it works very similar to the OSGi
> model.
Maybe somewhat, but it definitely shouldn't be regarded as an alternative to OSGi.
The solution we're developing at my office does not intend to support lifecyle management (e.g. start/stop/update/remove etc.), just simple auto-discovery of
provided extensions. So, you will be able to package new extensions with the application (e.g. jars in WEB-INF/lib) and a generic console portlet could be
written to pick it up and allow you to (re)configure its primary function to execute such an extension through portlet edit mode.
With just one generic console portlet in j2-admin, we could then provide an unlimited and extendable set of admin features.
The j2-admin core could provide base features like navigation (trees) and detail panels, inter-portlet communication/state synchronization, cache management
etc. for concrete admin "extensions" like security, pa, registry maintenance etc.
Well, that is the general idea at least. But first I will need to bring portlet support in Wicket up to an acceptable, reliable and (trunk) maintained state...
I'll be working full-time on that for the next two days and time beyond: there are still lots of uncovered issues to look into.
Today and tomorrow I'll be working on bringing the current portlet support branch back inline with the Wicket trunk and then move from there.
As soon as I've a new baseline ready I'll notify on this list too so hopefully others can spend some cycles on it for testing and reviewing.
Portlet usage and demand in the Wicket community isn't very big yet, so I can use some help here...
Regards,
Ate
>
> -scott
>
> -----Original Message-----
> From: Ate Douma [mailto:ate@douma.nu]
> Sent: Monday, August 27, 2007 4:44 PM
> To: Jetspeed Developers List
> Subject: Re: [M2 build design] Refactoring
>
> Mohan K R wrote:
>
> <snip/>
>>
>> I am still playing with the trunk, trying from a clean IDE environment
> to
>> see how easy the above structure is from a
>> developers perspective (unfortunately, eclipse and most other IDE's do
> not
>> support hierarchical projects, so there
>> will be pain I guess). I do endorse, David's proposal to have a
> separate
>> applications and move j2-admin there.
> Me too, as long as we keep it under our jetspeed-2 svn root (e.g. tied
> to the jetspeed-2 project itself).
>
>> Further, how about refactoring j2-admin into sub components by
> functional
>> groups, as it stands right now it is
>> a monolithic beast, it has hard to rip out components we don't need (I
>> understand we can hide them from the psml,s).
> Yeah, j2-admin has become quite a mixture of different technologies
> (JSF, Struts, JSP. Velocity, dojo, etc.) and application features.
>
> I'm considering we should rebuild/rewrite the j2-admin using one chosen
> technology.
> For that I think JSF or Wicket are the best candidates.
> Note though, the portlet support I added to Wicket is still on a
> separate branch and has been stalled since I've been working on Jetspeed
> and away on holiday.
> But, I've allocated time this week on bringing Wicket portlet support up
> to date with the current Wicket trunk development.
>
> At my company we're building a new version of our CMS using Wicket which
> allows "pluggable" extensions like for managing specific content types,
> workflow etc.
> Maybe a neat idea to develop something similar for j2-admin, e.g. a
> generic "console" portlet which can "manage" a certain jetspeed
> "feature" based on runtime
> discovery of provided "extensions" (jars containing Wicket components).
> Just drop an extension jar in j2-admin/WEB-INF/lib and you are ready to
> go...
> It seems to be working out quite nicely for our CMS (also runnable as
> portlet) so we should be able to apply the same technique for j2-admin.
>
> Also note: I expected Wicket 1.3.0 to be released by now when I started
> adding the portlet support but its still in beta (3) right now.
> Therefore I will start discussing with the Wicket team about bringing
> portlet support into the trunk sooner, if possible before the Wicket
> 1.3.0 release instead
> of afterwards as originally planned.
>
> I think Wicket is the best framework for these type of applications but
> we do need a reliable build and API to work with.
>
> Regards,
>
> Ate
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
RE: [M2 build design] Refactoring
Posted by "Weaver, Scott" <we...@ugs.com>.
Ate,
I like the Wicket idea and the pluggable extensions is also very
interesting. It sounds very much like it works very similar to the OSGi
model.
-scott
-----Original Message-----
From: Ate Douma [mailto:ate@douma.nu]
Sent: Monday, August 27, 2007 4:44 PM
To: Jetspeed Developers List
Subject: Re: [M2 build design] Refactoring
Mohan K R wrote:
<snip/>
>
>
> I am still playing with the trunk, trying from a clean IDE environment
to
> see how easy the above structure is from a
> developers perspective (unfortunately, eclipse and most other IDE's do
not
> support hierarchical projects, so there
> will be pain I guess). I do endorse, David's proposal to have a
separate
> applications and move j2-admin there.
Me too, as long as we keep it under our jetspeed-2 svn root (e.g. tied
to the jetspeed-2 project itself).
> Further, how about refactoring j2-admin into sub components by
functional
> groups, as it stands right now it is
> a monolithic beast, it has hard to rip out components we don't need (I
> understand we can hide them from the psml,s).
Yeah, j2-admin has become quite a mixture of different technologies
(JSF, Struts, JSP. Velocity, dojo, etc.) and application features.
I'm considering we should rebuild/rewrite the j2-admin using one chosen
technology.
For that I think JSF or Wicket are the best candidates.
Note though, the portlet support I added to Wicket is still on a
separate branch and has been stalled since I've been working on Jetspeed
and away on holiday.
But, I've allocated time this week on bringing Wicket portlet support up
to date with the current Wicket trunk development.
At my company we're building a new version of our CMS using Wicket which
allows "pluggable" extensions like for managing specific content types,
workflow etc.
Maybe a neat idea to develop something similar for j2-admin, e.g. a
generic "console" portlet which can "manage" a certain jetspeed
"feature" based on runtime
discovery of provided "extensions" (jars containing Wicket components).
Just drop an extension jar in j2-admin/WEB-INF/lib and you are ready to
go...
It seems to be working out quite nicely for our CMS (also runnable as
portlet) so we should be able to apply the same technique for j2-admin.
Also note: I expected Wicket 1.3.0 to be released by now when I started
adding the portlet support but its still in beta (3) right now.
Therefore I will start discussing with the Wicket team about bringing
portlet support into the trunk sooner, if possible before the Wicket
1.3.0 release instead
of afterwards as originally planned.
I think Wicket is the best framework for these type of applications but
we do need a reliable build and API to work with.
Regards,
Ate
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Ate Douma <at...@douma.nu>.
Mohan K R wrote:
<snip/>
>
>
> I am still playing with the trunk, trying from a clean IDE environment to
> see how easy the above structure is from a
> developers perspective (unfortunately, eclipse and most other IDE's do not
> support hierarchical projects, so there
> will be pain I guess). I do endorse, David's proposal to have a separate
> applications and move j2-admin there.
Me too, as long as we keep it under our jetspeed-2 svn root (e.g. tied to the jetspeed-2 project itself).
> Further, how about refactoring j2-admin into sub components by functional
> groups, as it stands right now it is
> a monolithic beast, it has hard to rip out components we don't need (I
> understand we can hide them from the psml,s).
Yeah, j2-admin has become quite a mixture of different technologies (JSF, Struts, JSP. Velocity, dojo, etc.) and application features.
I'm considering we should rebuild/rewrite the j2-admin using one chosen technology.
For that I think JSF or Wicket are the best candidates.
Note though, the portlet support I added to Wicket is still on a separate branch and has been stalled since I've been working on Jetspeed and away on holiday.
But, I've allocated time this week on bringing Wicket portlet support up to date with the current Wicket trunk development.
At my company we're building a new version of our CMS using Wicket which allows "pluggable" extensions like for managing specific content types, workflow etc.
Maybe a neat idea to develop something similar for j2-admin, e.g. a generic "console" portlet which can "manage" a certain jetspeed "feature" based on runtime
discovery of provided "extensions" (jars containing Wicket components).
Just drop an extension jar in j2-admin/WEB-INF/lib and you are ready to go...
It seems to be working out quite nicely for our CMS (also runnable as portlet) so we should be able to apply the same technique for j2-admin.
Also note: I expected Wicket 1.3.0 to be released by now when I started adding the portlet support but its still in beta (3) right now.
Therefore I will start discussing with the Wicket team about bringing portlet support into the trunk sooner, if possible before the Wicket 1.3.0 release instead
of afterwards as originally planned.
I think Wicket is the best framework for these type of applications but we do need a reliable build and API to work with.
Regards,
Ate
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Mohan K R <km...@gmail.com>.
Comments inline
On 8/24/07, David Sean Taylor <da...@bluesunrise.com> wrote:
>
>
> On Aug 24, 2007, at 6:02 AM, Ate Douma wrote:
>
> > David Sean Taylor wrote:
>
> >
> > Layout porlets maybe can also be moved under our (jetspeed-2)
> > applications root folder.
>
> +1 although the portal will not run without them
> The fate of layout portlets is still undetermined for 2.2
+1, for layout-portlets refactoring. I believe the structure we are moving
towards is
a portal "assembly" for the lack of a better word (from previous e-mail from
Ate's),
which is a good plan. As it will help both the developers and the
integrators. So a default
portal assembly will have the minimum resources required
(users/roles,default layouts,pages,
etc.). Also, I would like to pursue an option where we can have pluggable
theming, I have a
situation where we have a HTML/CSS designer who has no interest in learning
Java/JSP/Velocity
/<insert fav. templ.>, so if we could provide a clean separation that will
be awesome. I can definitely
devote some cycles on this effort.
>
> > So, summarizing, my proposed new directory structure would be:
> >
> > jetspeed-2/trunk
> > /applications
> > /j2-admin
> > /layout-portlets
> > /demo (for now)
> > /gems (for now)
> > /rss (for now)
> > /docs
> > /jetspeed-portal-resources
> > /maven
> > /jetspeed-maven-plugins
> > /portal
> > /jetspeed-api
> > /jetspeed-commons
> > /components
> > /... (all components)
> > /assembly
> > /base-portal
> > /demo-portal
> > /jetspeed-installer
> > /...
> > /site?
> > /tutorials
> >
> > WDYT?
> >
> +1 Looks good.
> It makes sense to more slowly move towards a clean separation from
> the portal and all other projects
> That said, I believe we should move forward in creating a Portals
> Applications project under Portalst
I am still playing with the trunk, trying from a clean IDE environment to
see how easy the above structure is from a
developers perspective (unfortunately, eclipse and most other IDE's do not
support hierarchical projects, so there
will be pain I guess). I do endorse, David's proposal to have a separate
applications and move j2-admin there.
Further, how about refactoring j2-admin into sub components by functional
groups, as it stands right now it is
a monolithic beast, it has hard to rip out components we don't need (I
understand we can hide them from the psml,s).
Cheers
Mohan K R
Re: [M2 build design] Refactoring
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 24, 2007, at 6:02 AM, Ate Douma wrote:
> David Sean Taylor wrote:
>> I would also like to discuss trimming down the core Jetspeed,
>> removing any old stuff, and moving out applications to its own
>> subversion repository
>> IMO, the core portal should only be basically:
>> * jetspeed api
>> * components
>> * commons
>
> +1
>
> I also agree to your proposed changes below, but like to provide a
> little (but not much) different solution which might help us to
> easier manage the different parts of the jetspeed-2 project without
> having to expand the Portals project itself (for now).
> Instead of moving out several parts to separate svn trunk folders
> above/besides our current jetspeed-2(/trunk) svn root, I like to
> propose keeping most (or everything) under this same root folder
> for now.
>
> I think we can also achieve our goal by instead create a new root
> subfolder called "portal".
> Under this "portal" folder, we can move the above mentioned
> folders, and probably some new folders for portal assembly projects
> (like the installer) etc.
> This new portal folder then can become the main checkout root for
> core portal development.
>
> On the same (root) level as the "portal" project, I'd like to keep
> the new maven and the jetspeed-portal-resources projects.
> I've discovered that having those as sub projects inside the main
> portal build is kind of tricky with respect of circular
> dependencies as the artifacts from these are also used within the
> build itself. Moving these out of the main build (and allow
> independent lifecylce management) will make our dependency
> management much cleaner and easier.
>
> Our current applications sub project (and in particular j2-admin)
> can also be moved to the same root level. This will make them also
> more independent of the (release) lifecycle of the "core" portal.
> Not all end-users/integrators use or need these applications.
> I do think j2-admin clearly belongs and should be kept under the
> jetspeed-2 svn root as it is an intrinsically jetspeed-2 specific
> application.
> The other current applications element like the gems, rss and demo
> (?) are not really tied to jetspeed-2, and I would be in favor of
> moving those to a new and more general Apache Portals Applications
> project (I also like to start developing other portlet applications
> for Forums, Wiki, Blogs, Mail, etc. and those will also be better
> placed under such a new Portals Applications project).
+1
>
> Layout porlets maybe can also be moved under our (jetspeed-2)
> applications root folder.
+1 although the portal will not run without them
The fate of layout portlets is still undetermined for 2.2
> And other root folders can be docs and tutorials.
>
> The main benefits of having these separate root folders
> (applications,portal,maven,jetspeed-portal-
> resources,docs,tutorials, site):
> - separate and independent checkout
> - possibility of managing their lifecyle independently (e.g.
> independent newer/bugfix releases of jetspeed-maven-plugin, j2-
> admin, portal, docs)
>
> Note though the one thing missing for (easy) independent lifecycle
> management is our current JIRA project setup.
> I think we might want to split/expand our current JIRA project and
> add new projects for:
> - j2-admin (J2ADMIN)
> - other applications (layouts?) (J2APPS)
> - jetspeed-maven-plugins (J2MAVEN)
> - jetspeed-portal-resources (J2RESOURCES)
> - site, docs & tutorials (J2DOC)
> - ...
Well, maybe. Do you know if other projects also create this many
project tags per project?
I don't want to create too many tags if there is no precedent
>
> So, summarizing, my proposed new directory structure would be:
>
> jetspeed-2/trunk
> /applications
> /j2-admin
> /layout-portlets
> /demo (for now)
> /gems (for now)
> /rss (for now)
> /docs
> /jetspeed-portal-resources
> /maven
> /jetspeed-maven-plugins
> /portal
> /jetspeed-api
> /jetspeed-commons
> /components
> /... (all components)
> /assembly
> /base-portal
> /demo-portal
> /jetspeed-installer
> /...
> /site?
> /tutorials
>
> WDYT?
>
+1 Looks good.
It makes sense to more slowly move towards a clean separation from
the portal and all other projects
That said, I believe we should move forward in creating a Portals
Applications project under Portalst
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by David Jencks <da...@yahoo.com>.
This looks really good to me
thanks
david jencks
On Aug 24, 2007, at 6:02 AM, Ate Douma wrote:
> David Sean Taylor wrote:
>> I would also like to discuss trimming down the core Jetspeed,
>> removing any old stuff, and moving out applications to its own
>> subversion repository
>> IMO, the core portal should only be basically:
>> * jetspeed api
>> * components
>> * commons
>
> +1
>
> I also agree to your proposed changes below, but like to provide a
> little (but not much) different solution which might help us to
> easier manage the different parts of the jetspeed-2 project without
> having to expand the Portals project itself (for now).
> Instead of moving out several parts to separate svn trunk folders
> above/besides our current jetspeed-2(/trunk) svn root, I like to
> propose keeping most (or everything) under this same root folder
> for now.
>
> I think we can also achieve our goal by instead create a new root
> subfolder called "portal".
> Under this "portal" folder, we can move the above mentioned
> folders, and probably some new folders for portal assembly projects
> (like the installer) etc.
> This new portal folder then can become the main checkout root for
> core portal development.
>
> On the same (root) level as the "portal" project, I'd like to keep
> the new maven and the jetspeed-portal-resources projects.
> I've discovered that having those as sub projects inside the main
> portal build is kind of tricky with respect of circular
> dependencies as the artifacts from these are also used within the
> build itself. Moving these out of the main build (and allow
> independent lifecylce management) will make our dependency
> management much cleaner and easier.
>
> Our current applications sub project (and in particular j2-admin)
> can also be moved to the same root level. This will make them also
> more independent of the (release) lifecycle of the "core" portal.
> Not all end-users/integrators use or need these applications.
> I do think j2-admin clearly belongs and should be kept under the
> jetspeed-2 svn root as it is an intrinsically jetspeed-2 specific
> application.
> The other current applications element like the gems, rss and demo
> (?) are not really tied to jetspeed-2, and I would be in favor of
> moving those to a new and more general Apache Portals Applications
> project (I also like to start developing other portlet applications
> for Forums, Wiki, Blogs, Mail, etc. and those will also be better
> placed under such a new Portals Applications project).
>
> Layout porlets maybe can also be moved under our (jetspeed-2)
> applications root folder.
>
> And other root folders can be docs and tutorials.
>
> The main benefits of having these separate root folders
> (applications,portal,maven,jetspeed-portal-
> resources,docs,tutorials, site):
> - separate and independent checkout
> - possibility of managing their lifecyle independently (e.g.
> independent newer/bugfix releases of jetspeed-maven-plugin, j2-
> admin, portal, docs)
>
> Note though the one thing missing for (easy) independent lifecycle
> management is our current JIRA project setup.
> I think we might want to split/expand our current JIRA project and
> add new projects for:
> - j2-admin (J2ADMIN)
> - other applications (layouts?) (J2APPS)
> - jetspeed-maven-plugins (J2MAVEN)
> - jetspeed-portal-resources (J2RESOURCES)
> - site, docs & tutorials (J2DOC)
> - ...
>
> So, summarizing, my proposed new directory structure would be:
>
> jetspeed-2/trunk
> /applications
> /j2-admin
> /layout-portlets
> /demo (for now)
> /gems (for now)
> /rss (for now)
> /docs
> /jetspeed-portal-resources
> /maven
> /jetspeed-maven-plugins
> /portal
> /jetspeed-api
> /jetspeed-commons
> /components
> /... (all components)
> /assembly
> /base-portal
> /demo-portal
> /jetspeed-installer
> /...
> /site?
> /tutorials
>
> WDYT?
>
> Ate
>
>> Proposed changes:
>> * applications -- move to new svn project called "applications"
>> including j2-admin
>> * app-servers -- not entirely sure whats here, but I think it
>> should be a "configuration" of some sort
>> * archives -- remove it
>> * design-docs -- this needs review and deletion of old artifacts
>> (man I can hear echoes of Kent Beck talking about the code being
>> the only real artifact...)
>> * docs -- same as above, combine design-docs + docs --> docs
>> * etc -- I would think this should be moved into the
>> "configuration" layer to be discussed
>> * graphic_design -- a few logos..
>> * jetspeed-ant-tasks -- i understand this is used for the
>> installer, but this is also an area that needs further discussion,
>> should Jetspeed provide Ant tasks ... I think the answer may be yes
>> * jetspeed-installer - that is written in Maven-1, going to be
>> interesting to see if we can port it to Maven-2 (yes I am being
>> skeptical)
>> * jetspeed-portal-resources -- this is new, I will let Ate comment
>> on it
>> * layout-portlets -- I think layouts need to be refactored but
>> thats another discusson
>> * maven -- this is new, I will let Ate explain it to us
>> * patched-jars -- its empty
>> * taglibs -- thats one ugly tree view taglib, i think we should
>> get this out of the portal as its not the right place and look
>> into porting j2-admin portlets that use it to something more
>> standard like Wicket or JDSF
>> * tutorial -- move to new svn project called "tutorials"
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: [M2 build design] Refactoring
Posted by Ate Douma <at...@douma.nu>.
David Sean Taylor wrote:
> I would also like to discuss trimming down the core Jetspeed, removing
> any old stuff, and moving out applications to its own subversion repository
> IMO, the core portal should only be basically:
>
> * jetspeed api
> * components
> * commons
+1
I also agree to your proposed changes below, but like to provide a little (but not much) different solution which might help us to easier manage the different
parts of the jetspeed-2 project without having to expand the Portals project itself (for now).
Instead of moving out several parts to separate svn trunk folders above/besides our current jetspeed-2(/trunk) svn root, I like to propose keeping most (or
everything) under this same root folder for now.
I think we can also achieve our goal by instead create a new root subfolder called "portal".
Under this "portal" folder, we can move the above mentioned folders, and probably some new folders for portal assembly projects (like the installer) etc.
This new portal folder then can become the main checkout root for core portal development.
On the same (root) level as the "portal" project, I'd like to keep the new maven and the jetspeed-portal-resources projects.
I've discovered that having those as sub projects inside the main portal build is kind of tricky with respect of circular dependencies as the artifacts from
these are also used within the build itself. Moving these out of the main build (and allow independent lifecylce management) will make our dependency management
much cleaner and easier.
Our current applications sub project (and in particular j2-admin) can also be moved to the same root level. This will make them also more independent of the
(release) lifecycle of the "core" portal. Not all end-users/integrators use or need these applications.
I do think j2-admin clearly belongs and should be kept under the jetspeed-2 svn root as it is an intrinsically jetspeed-2 specific application.
The other current applications element like the gems, rss and demo (?) are not really tied to jetspeed-2, and I would be in favor of moving those to a new and
more general Apache Portals Applications project (I also like to start developing other portlet applications for Forums, Wiki, Blogs, Mail, etc. and those will
also be better placed under such a new Portals Applications project).
Layout porlets maybe can also be moved under our (jetspeed-2) applications root folder.
And other root folders can be docs and tutorials.
The main benefits of having these separate root folders (applications,portal,maven,jetspeed-portal-resources,docs,tutorials, site):
- separate and independent checkout
- possibility of managing their lifecyle independently (e.g. independent newer/bugfix releases of jetspeed-maven-plugin, j2-admin, portal, docs)
Note though the one thing missing for (easy) independent lifecycle management is our current JIRA project setup.
I think we might want to split/expand our current JIRA project and add new projects for:
- j2-admin (J2ADMIN)
- other applications (layouts?) (J2APPS)
- jetspeed-maven-plugins (J2MAVEN)
- jetspeed-portal-resources (J2RESOURCES)
- site, docs & tutorials (J2DOC)
- ...
So, summarizing, my proposed new directory structure would be:
jetspeed-2/trunk
/applications
/j2-admin
/layout-portlets
/demo (for now)
/gems (for now)
/rss (for now)
/docs
/jetspeed-portal-resources
/maven
/jetspeed-maven-plugins
/portal
/jetspeed-api
/jetspeed-commons
/components
/... (all components)
/assembly
/base-portal
/demo-portal
/jetspeed-installer
/...
/site?
/tutorials
WDYT?
Ate
>
> Proposed changes:
>
> * applications -- move to new svn project called "applications"
> including j2-admin
> * app-servers -- not entirely sure whats here, but I think it should be
> a "configuration" of some sort
> * archives -- remove it
> * design-docs -- this needs review and deletion of old artifacts (man I
> can hear echoes of Kent Beck talking about the code being the only real
> artifact...)
> * docs -- same as above, combine design-docs + docs --> docs
> * etc -- I would think this should be moved into the "configuration"
> layer to be discussed
> * graphic_design -- a few logos..
> * jetspeed-ant-tasks -- i understand this is used for the installer, but
> this is also an area that needs further discussion, should Jetspeed
> provide Ant tasks ... I think the answer may be yes
> * jetspeed-installer - that is written in Maven-1, going to be
> interesting to see if we can port it to Maven-2 (yes I am being skeptical)
> * jetspeed-portal-resources -- this is new, I will let Ate comment on it
> * layout-portlets -- I think layouts need to be refactored but thats
> another discusson
> * maven -- this is new, I will let Ate explain it to us
> * patched-jars -- its empty
> * taglibs -- thats one ugly tree view taglib, i think we should get this
> out of the portal as its not the right place and look into porting
> j2-admin portlets that use it to something more standard like Wicket or
> JDSF
> * tutorial -- move to new svn project called "tutorials"
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org