[jboss-dev-forums] [Design of JBoss Portal] - Re: Design of Portal Deployer

alesj do-not-reply at jboss.com
Fri Jan 16 07:07:17 EST 2009


"mwringe" wrote : 
  | I really don't like how this is working right now, its a hack. It's something that needs to be fixed. I will need to read up on how tlds work to see if it can done in a different manner (perhaps referencing the tld location in metadata instead of embedding it into the war).
  | 
  | I took some time to look into the VFS, but couldn't figure out a way to make this work nicely. If anyone has any suggestions on how to add a file to a webapp during the deployment phase please speak up :)
  | 
I guess once you have more TLD info we can discuss further.
Till then it would just be a guessing game. ;-)

"mwringe" wrote : 
  | But it does get a little tricky when the top deployment is the dependency of a child deployment, last I tried doing this it doesn' work as expected.
  | 
Tricky how?
What about if you change the deployer hierarchy order?
e.g. setParentFirst == false

"mwringe" wrote : 
  | FYI, the manipulation of deployer order based on another deployer's order is also used in a few other deployers in AS5. 
  | 
Where? To kick some butt ... :-)

"mwringe" wrote : 
  | And for the TLD deployer, I haven't figured out a clean way of implementing it yet.
  | 
Np, we'll get there eventually. :-)

The nicest idea, and you already mentioned it, 
would be to get the current TLD recognition/lookup based on additional metadata path.
e.g. for JBP based deployments we would simply add default (container) metadata to each deployment,
which would hold the common/default tld, ... files

It just depends how much VFS/VDF exposure would be needed there.
e.g.1. lookup is done via some interface, we only provide the VFS/VDF based wrapper/impl
e.g.2. we completely replace the lookup with VFS/VDF
e.g.3 non of the above as it's completely un-plugable :-( ... as were Facelets



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202428#4202428

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202428



More information about the jboss-dev-forums mailing list