OK. I replaced 'cmd' with 'command' (which, I discovered was an  
argument to ps, not its own command) and didn't get the error about  
cmd not being found, but the task still died. The whole error message  
is below. As you can see, it doesn't really give much information,  
but the line where it dies is the place where django-admin.py is  
supposed to be executed.

I realize this is rather specific and probably not of general  
interest, but as I explained yesterday, I teach high school and my  
students can't access the command line (because of network security  
permissions I have no control over). So if I can't figure out how to  
run the scripts I need for Django to work its magic, the whole  
enterprise is a non-starter.

Todd

Buildfile: /Users/tobryan1/Documents/eclipse/workspace/django- 
projects/build.xml
settings:
      [echo] workspace_loc=/Users/tobryan1/Documents/eclipse/workspace
      [echo] pythonpath=/Users/tobryan1/Documents/eclipse/workspace/ 
django:/Users/tobryan1/Documents/eclipse/workspace/django-projects:/ 
Users/tobryan1/Documents/eclipse/workspace
      [echo] django.dir=/Users/tobryan1/Documents/eclipse/workspace/ 
django
      [echo] bin.dir=/Users/tobryan1/Documents/eclipse/workspace/ 
django/django/bin
      [echo] project.dir=/Users/tobryan1/Documents/eclipse/workspace/ 
django-projects
      [echo] django-admin=/Users/tobryan1/Documents/eclipse/workspace/ 
django/django/bin/django-admin.py
      [echo] django-server-ip=127.0.0.1:8000
      [echo] django-settings=--settings=django-projects.settings
      [echo] django_project=django-projects
      [echo] django_app=build.xml
server-stop:
[shellscript] killing processes:
server-run:
setPythonpath() Setting python path: /Users/tobryan1/Documents/ 
eclipse/workspace/django:/Users/tobryan1/Documents/eclipse/workspace/ 
django-projects:/Users/tobryan1/Documents/eclipse/workspace

BUILD FAILED
/Users/tobryan1/Documents/eclipse/workspace/django-projects/build.xml: 
177: Error executing task

Total time: 1 second

On Mar 16, 2006, at 6:41 AM, Todd O'Bryan wrote:

>
> OK...let me follow up on my own questions:
>
> 1. First I installed Subclipse and checked out Django into the
> project django in my workspace--to match Steven's setup.
>
> 2. Then I downloaded pyAntTasks.jar from the site listed in the
> build.xml Steven provided. Download ant-contrib.jar from http://ant-
> contrib.sourceforge.net (note the dash--Steven's build.xml is missing
> it, and there's a dead project at that location, which led to some of
> my confusion).
>
> 3. I dropped both in the <eclipse>/plugins/org.apache.ant_<version>/
> lib directory. (This is not ideal because upgrades to Ant will
> overwrite these two, but it works for the moment. For some reason, if
> I try to add the jars from somewhere else, my preferences just
> disappear.) In Window->Preferences->Ant->Runtime, I selected Ant Home
> Entries and clicked Add External JARs..., navigated to those two jar
> files I just added.
>
> Now, my settings seem to be correct and I get most of the way through
> trying to start the server, but hit a snag here:
>
> server-stop:
> [shellscript] killing processes:
> [shellscript] ps: cmd: keyword not found
> server-run:
> setPythonpath() Setting python path: /Users/tobryan1/Documents/
> eclipse/workspace/django:/Users/tobryan1/Documents/eclipse/workspace/
> django-projects:/Users/tobryan1/Documents/eclipse/workspace
>
> BUILD FAILED
>
> So, I seem to have no cmd command in my path. Sure enough "which cmd"
> comes up with nothing. (I'm on Mac OS X 10.4.5.)
>
> Any help?
>
> Thanks,
> Todd

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to