Java 도구 개발을 위해 Xcode 3.2를 사용하려고합니다. 내 프로젝트는 아무런 문제가 없으며 build.xml 파일을 잘 빌드하고 파일 폴더에 잘 보여줍니다. .java 파일을 실행하려고하면 "Buildfile : build.xml이 없습니다! 빌드에 실패했습니다"라는 오류가 발생합니다. 터미널에서 "ant -find build.xml"을 실행하면 "찾을 수 없음"이 생성됩니다. 문제는 내 build.xml 위치를 가리켜 야한다고 생각하지만이 파일을 찾을 디렉토리를 변경하는 방법을 모릅니다. 어떤 도움이라도 대단히 감사합니다. -nickXcode 오류 : "Buildfile : build.xml이 없습니다! 빌드가 실패했습니다"
맥 OS 10.6, 엑스 코드 3.2.1 - 응용 프로그램 작성하는 방법
When no arguments are specified, Ant looks for a
build.xml
file in the current directory and, if found, uses that file as the build file and runs the target specified in the default attribute of the<project>
tag. To make Ant use a build file other thanbuild.xml
, use the command-line option-buildfile file
, wherefile
is the name of the build file you want to use.
그래서 대답 질문 : 주최자> 새 템플릿을> 자바 도구
Xcode에서 빌드 할 때 프로젝트를 선택해야합니다. .java 파일 만 사용하면 실패합니다. – nicky