imbriqué J'ai un fichier HelloNAnt.build dans le répertoire:Nant construire Error-- build a échoué
D:\third party components\nant\WhatThis
Mon Nant exe est placé à
C:\Program Files\nant
Je cd à D:\third party components\nant\WhatThis
, tapez la ligne de commande suivante:
"C:\Program Files\nant\bin\nant.exe" HelloNAnt.build
J'ai eu une accumulation d'erreur a échoué, en disant cible HelloNAnt.build
n'existe pas dans ce projet.
Qu'est-ce qui s'est vraiment mal passé?
Le contenu de HelloNAnt.build
:
<?xml version="1.0"?>
<project name="Hello World" default="hello">
<target name="hello">
<echo>Hello</echo>
</target>
</project>