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.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to