NetBeans build fails. Directory not found

Hello, I have a custom Ant target (, configured the project to run _Gestor but when trying to run it I get `C:\TeamCity\buildAgent\work\<id>\dist\lib does not exist`.

Also tried with differents target like `clean,jar` to clean the project and then build. It success but the libraries are not copied to `dist\lib` (the libraries are in a folder called `libs` in the root folder).

Running both targets, _Gestor and clean,jar from the IDE works as expected.


1 comment
Comment actions Permalink

Hello Álvaro,

Please try to run the same build via command line on TeamCity agent machine in the same working directory (not using TeamCity). See the section for more details. Does the build run successfully?


Please sign in to leave a comment.