| Page 1 of 1 | [ 2 posts ] |
Mark
|
Hi,
Cheers,I'm trying to get and automated YUI Doc process running in Eclipse using Ant as described in http://developer.yahoo.com/yui/yuidoc/. I seem to have it working part way but am unable to resolve an access permission exception. I've followed all the available docs and have done the following in Mac OS X 10.6: - installed: - Python 2.6 - setuptools - Pygments - SimpleJSON - Cheetah - downloaded the sample doc project from http://github.com/saw/YUI-Doc-Example - setup the sample project under /Users/[username]/Sites/yuidoc-example - downloaded,extracted and copied the yuidoc_1.0.0b1.zip to /Users/[username]/yuidoc - set up a Builder entry within Eclipse Outcome: The build runs, creates the 'build' and 'doctmp' dirs as per the example but then throws the exception: Buildfile: /Users/[username]/Sites/yuidoc-example/build.xml init: [echo] Making sure build dir is there doc: [echo] generating documentation BUILD FAILED /Users/[username]/Sites/yuidoc-example/build.xml:31: Execute failed: java.io.IOException: Cannot run program "/Users/[username]/yuidoc/bin/yuidoc.py" (in directory "/Users/[username]/Sites/yuidoc-example"): error=13, Permission denied Total time: 148 milliseconds I'd really appreciate any advice anyone can give me. Cheers, Mark P.S. By the YUI team I recently switched from jQuery and love your work! The YUI 3 experience has been such an eye opener for me. Mark codeinfront.com |
Mark
|
For anyone interested I managed to find the answer to my own question. Put simply:
Cheers,Code: chmod 766 yuidoc/bin/yuidoc.py Seems simple now really Mark codeinfront.com |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group