New issue 67 by runningg...@gmail.com: Error when building war with
static_url and ADMIN_MEDIA_PREFIX pointing to same directory.
http://code.google.com/p/django-jython/issues/detail?id=67
What steps will reproduce the problem?
1.Install latest 1.3.0b1 and update war.py in doj/management/comands/ to
have STATIC_URL logic from
http://code.google.com/p/django-jython/source/detail?spec=svn125aa5ff8ea7d5001efbe8e5afaf8cf9af2f12bb&r=125aa5ff8ea7d5001efbe8e5afaf8cf9af2f12bb
2.Create project.
3.Set STATIC_URL = '/static/' and ADMIN_MEDIA_PREFIX = '/static/admin/'
4.Run jython manage.py war
What is the expected output? What do you see instead?
Expect war to be created without errors.
Instead you get a Errno 17 because the os.makdir() function fails on
creation of admin static file, since the static/ directory already exists
from the create of the STATIC_URL file.
What version of the product are you using? On what operating system?
1.3.0b1 with updated war.py mentioned above
Please provide any additional information below.
Can be avoided by changing STATIC_URL to be different from
ADMIN_MEDIA_PREFIX. Not sure if that should be the case though.
Comment #1 on issue 67 by juneau001: Error when building war with
static_url and ADMIN_MEDIA_PREFIX pointing to same directory.
http://code.google.com/p/django-jython/issues/detail?id=67
(No comment was entered for this change.)
I see the exact same issue as the above user.