Answer the question
In order to leave comments, you need to log in
Incorrect argument passing in Ant?
There is code:
Ant script:
<property name="propertyName" value="<корень папки>/folderMain"/>
<target name="targetName">
<exec dir="<путь до папки, в которой находится someFile.js>" executable="${env.NODEPATH}\node" output="<путь до txt-файла>">
<arg line="someFile.js"/>
<arg line="${propertyName}/ru/rootNew/folderNew"/>
</exec>
</target>
var dir1 = path.resolve(process.argv[2]);
var dir2 = path.resolve(process.argv[3]);
<остальной код>
Error: ENOENT, no such file or directory '<путь до папки, в которой находится someFile.js>\null\rootNew\folderNew'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question