Wednesday, June 26, 2013

misc notes Django Python South migration

#sudo python manage.py migrate [application name]
#sudo python manage.py migrate guidebook
#sudo python manage.py migrate appsub


#sudo python ./manage.py schemamigration appsub --auto

#sudo python manage.py migrate --list
#sudo python manage.py migrate appsubmit
#sudo python manage.py migrate --list

Monday, June 24, 2013

ant build problems

Buildfile: /Users/deanliu/Desktop/gb_build/src/android/build.xml
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

BUILD FAILED
Desktop/gb_build/src/android/build.xml:88: The following error occurred while executing this line:
Desktop/gb_build/src/android/build.xml:51: Problem: failed to create task or type for
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.


Solution:

http://www.coderanch.com/t/506388/tools/failed-create-task-type-undefined

Install ant-contrib:

#sudo port install ant-contrib