OK, so I am a newbie, and suspect this has something to do with compiling the JS code using SpiderMonkey. I tried this and got the same result: BAD_CMD: 1) copied the inlinepush.sh to foo. 2) renamed original file to backup, and renamed "foo" to "inlinepush". So we have the same named file in the file system. 3) changed one character in response string. 4) stopped and started APE server. 5) Got BAD_CMD. 6) Restored original file names. 7) Stopped and started APE server. 8) OK.
Evidently, some hash value failed. Which leads me to believe there is some compilation step that the documentation completely ignores. I'd be glad to contribute some procedures if someone can provide the info. Cheers! On Dec 6, 3:48 pm, jeffersonlinux <[email protected]> wrote: > I created a new command, as follows: 1) copied commands/inlinepush.js. > 2) renamed the file foo.js. 3) In the file, replaced "inlinepush" with > "foo". 4) Copied the conf file. 5) stopped APE server. 6) Added path > to foo.js in main.ape.js. 7) Restarted APE server. > > Result was BAD_CMD. > > Please help, as my attempt was a real WAG. Alos, there must be an > easy way to add a command without stopping and starting the server, > but I can't find any information in the documentation. -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
