Steven Githens | 29 Jun 10:08
Favicon

Jython Django demo War file

Hi All,

Does anyone know if there is a .war file of the current Django on Jython 
work that can be dropped into Tomcat?

It doesn't have to be fancy, I'm just giving a presentation at a 
conference for the project I work on Wednesday about using alternative 
display technologies to develop tools for our project. I have PHP 
working via Quercus, and RoR via the JRuby guys, and am hoping to have 
Django working as well (the database stuff doesn't really even need to 
be working, just the results from djangoadmin.py startproject would be 
fine).

I also use Django for my personal side projects anyways so it's the one 
I'm actually interested in using.  :)

If there isn't a quick war file available somewhere, is Franks blog post 
about getting it to work in Glassfish probably my best bet to trying to 
put together a war file for Tomcat?

Thanks,
Steve

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Leo Soto M. | 29 Jun 17:46

Re: Jython Django demo War file

On Sun, Jun 29, 2008 at 4:11 AM, Steven Githens <swgithen <at> mtu.edu> wrote:
> Hi All,
>
> Does anyone know if there is a .war file of the current Django on Jython
> work that can be dropped into Tomcat?

Not yet, unfortunately. I'm going to work on it soon, after cleaning
the few remaining test failuers and doing the work needed to make my
patches to Django accepted.

> I also use Django for my personal side projects anyways so it's the one
> I'm actually interested in using.  :)

Cool! I'm working hard on Django/Jython as part of my Summer of Code,
and want it to work "out of the box" against the official Django
1.0-beta.

> If there isn't a quick war file available somewhere, is Franks blog post
> about getting it to work in Glassfish probably my best bet to trying to
> put together a war file for Tomcat?

Yes, it is. If you find difficulties in the process, please ask here or on IRC.

And, if you later share your experience, we'd appreciate it very much.
--

-- 
Leo Soto M.
http://blog.leosoto.com

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
(Continue reading)

Leo Soto M. | 29 Jun 19:28

Re: Jython Django demo War file

On Sun, Jun 29, 2008 at 11:46 AM, Leo Soto M. <leo.soto <at> gmail.com> wrote:
> Cool! I'm working hard on Django/Jython as part of my Summer of Code,
> and want it to work "out of the box" against the official Django
> 1.0-beta.

I forgot to point to my mercurial development branches which includes
some changes to both Django and Jython fixing some small problems and
improving the postgresql_zxjdbc backend:

https://hg.leosoto.com/jython.doj
https://hg.leosoto.com/django.doj

So, you can checkout both of them and get started by doing the following:

$ cd ~/doj-work/
$ hg clone https://hg.leosoto.com/jython.doj
$ hg clone https://hg.leosoto.com/django.doj
$ cd ~/doj-work/jython.doj/jython
$ ant
$ alias "jython-doj=~/doj-work/jython.doj/jython/dist/bin/jython
-J-Dpython.path=~/doj-work/django.doj/"
$ alias "django-admin-doj=jython-doj
~/doj-work/django.doj/django/bin/django-admin.py"
$ cd ~/playground/
$ django-admin-doj startproject myproject
$ cd myproject

# Edit settings.py, use 'postgresql_zxjdbc' as the backend, register
the admin app, etc. Later:

(Continue reading)


Gmane