4

I am using NetBeans 6.5 and whenever I save a LessCSS file I would like to run less compiler to compile it to native css. How do I go about achieving this? Many Thanks. Ravi

EDIT: I can do a build file as Kim recommended below. I am searching for a solution where I can run an external command. So the question now is How Do I Run an External Command using Ant?

Kim Stebel
  • 41,826
  • 12
  • 125
  • 142
Ravi Chhabra
  • 1,730
  • 3
  • 18
  • 27

1 Answers1

1

Does it have to be on save? Instead, you could create a custom project (with a custom build file) and just put it into that build file.

Kim Stebel
  • 41,826
  • 12
  • 125
  • 142
  • Yes, it need not be on save. A build file should work. How do I add a build file to a PHP Project in NetBeans? Would ANT be the only option as my needs seem simple enough right now? Thanks. – Ravi Chhabra Jul 18 '09 at 10:42
  • This link http://ant.apache.org/manual/CoreTasks/exec.html is broken – Chaitanya K Oct 11 '20 at 11:18