Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run ant exec task from different folder

I want to run my "exec grails" task into my grails project. I set grail path in exec task like

 <exec executable="${grails}"

How can I say , that exec should start from my project folder?

like image 791
EK. Avatar asked Aug 13 '12 15:08

EK.


1 Answers

From the exec Ant task documentation:

Attribute    Description
dir          the directory in which the command should be executed.
<exec executable="${grails}" dir="${my.project.dir}">
like image 93
Christopher Peisert Avatar answered Nov 17 '22 04:11

Christopher Peisert