[Dev] New parcel loader coming

Morgen Sagen morgen at osafoundation.org
Mon Jun 21 18:16:53 PDT 2004


Ok, I just modified most of the files in the tree, but I've  
triple-checked that everything still works on all three platforms.  The  
biggest change you'll notice in parcel.xml is that all the repository  
paths we were using as namespaces have been turned into real URIs.   
Each parcel now has a URI which conveniently defaults to  
http://osafoundation.org/parcels/<relative path to your parcel.xml>,  
but you can override that (third-parties will need this feature, for  
example).  Error reporting during parcel loading should also be a bit  
better, and will keep improving as I come across more conditions to  
handle.  For example, if the loader encounters an XML-parsing or  
class-importing error, it will print the xml file and line it was on,  
the exception that occurred, and an exception with the original  
traceback (not the traceback of the handler that caught the exception)  
will percolate up to the top and get printed to the console (you won't  
have to see the log file for the stack trace).  Hopefully this change  
will also help within Wing.

On Jun 21, 2004, at 2:35 PM, Morgen Sagen wrote:

> This afternoon I would like to check in a new version of the parcel  
> loader code, which is going to affect every parcel.  I will be  
> handling all the required parcel.xml changes for you, and also any  
> changes needed in classes which subclass Parcel.
>
> A list of changes in the parcel loader is at:
>
>     
> http://wiki.osafoundation.org/twiki/bin/view/Chandler/ 
> ParcelFrameworkChanges
>
> The new API is documented in the source code as epydoc (the file will  
> be checked in as application/Parcel.py).



More information about the Dev mailing list