Background: I'm trying to use Less.php to compile my project's LESS code into CSS in an Eclipse builder.
When I install and run less.php with the command lessc
, it correctly compiles my LESS into CSS with no visible errors:
However, when I set up lessc
to run as a builder in Eclipse:
I get a Warning: file_get_contents(...): failed to open stream: Permission denied in ...
message:
Stranger still, a moment later, a newly-compiled CSS file always appears. So this script seems to be working, but it always spits out this warning that I don't see when I run the same script in the command line.
- What causes the "permission denied" error on localhost?
- Why would it appear when Eclipse runs the script but not when it's run from the command line?
- Could my Eclipse builder configuration be missing something?
I'm running
- XAMPP 1.8.2
- Windows 7
- PHP 5.4.27
- Eclipse Luna Service Release 2 (4.4.2)