[Dev] README: updating your setup for the webserver move

Phillip J. Eby pje at telecommunity.com
Thu Aug 4 13:54:13 PDT 2005


I've just checked in the webserver parcel flattening.  Be sure to run 
tools/purge.py to get rid of the orphans.  Also note that if you have any 
parcels defining web resources, you must change any parcel: references as 
follows:

osaf.framework.webserver         -> osaf.webserver
osaf.framework.webserver.servers -> osaf.app

So, for example, if you had a parcel like this:

<Parcel itsName="inbound"
     xmlns="parcel:core"
     xmlns:web="parcel:osaf.framework.webserver"
     xmlns:serv="parcel:osaf.framework.webserver.servers"
     itemClass="inbound.Inbound.InboundParcel">

     <web:Resource itsName="inboundResource">
         <displayName value="Inbound Servlet"/>
         <location value="inbound"/>
         <resourceClass value="inbound.Inbound.InboundResource"/>
         <server itemref="serv:mainServer"/>
     </web:Resource>

</Parcel>

You would need to change xmlns:web and xmlns:serv as follows:

     xmlns:web="parcel:osaf.webserver"
     xmlns:serv="parcel:osaf.app"

The rest of the parcel could remain the same, however.



More information about the Dev mailing list