You could also put PyXML in a different spot so that it does not get  
clobbered when you update jython [from my .bashrc]:

# we use _xmlplus, which I put here to stay out of the /System dir
export PYTHONPATH=/usr/local/lib/python2.3/site-packages

I thihk the 'one time sudo' thing is because jython has a cache that  
sits in a subdirectory of the install folder, rather than someplace  
accessible you your user account.  Perhaps there is some config var  
you can set to move it.

On 2006-07-02, at 01:53 EDT, Benjamin Shine wrote:

>
> This is all still in the area of black magic, but I have some still-
> vague insight into the problem we run into when creating a new build
> environment on which to build the platform. The answer so far has
> seemed to be "reinstall a bunch of stuff" but I think we can pin it
> down more than that. This sequence seems to help:
>
> Reinstall jython with something like:
>   java -cp . jython-21 -o ~/lib/jython-2.1/
>
> Then reinstall pyxml:
>     cd $LZ_VENDOR_ROOT
>     gunzip PyXML-0.8.3.tar.gz
>     tar xvf PyXML-0.8.3.tar
>     cd PyXML-0.8.3
>     sudo python setup.py build
>     sudo python setup.py install
>
> Make sure JYTHON_HOME is set properly, then...
> cd $LPS_HOME
> ant clean
> ant tomcat.stop tomcat.start
> ant build webapp.uninstall webapp.install
>
> All of this also seems related to a step that the server compiler
> does one-time-only, and which I don't yet understand, a hundred or so
> lines like this:
>       [exec] *sys-package-mgr*: processing new jar, '/System/Library/
> Java/Extensions/j3dutils.jar'
>       [exec] *sys-package-mgr*: processing new jar, '/System/Library/
> Java/Extensions/jai_codec.jar'
>       [exec] *sys-package-mgr*: processing new jar, '/System/Library/
> Java/Extensions/jai_core.jar'
>       [exec] *sys-package-mgr*: processing new jar, '/System/Library/
> Java/Extensions/mlibwrapper_jai.jar'
>       [exec] *sys-package-mgr*: processing modified jar, '/System/
> Library/Java/Extensions/MRJToolkit.jar'
>
> benjamin shine
> software engineer
> [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to