I'm trying to setup Freemarker, but in order to be able to use it, I installed Ant (bin) and Ivy.
If I type ant -version everything seems fine, but everytime I type any command that involves ant, it displays "Buildfile: build.xml does not exist! Build failed". I already copied the ivy jar file to the ant's lib folder. However, I'm still having the same problem.
You should execute ant using build.xml
file,
If you aren't in its directory, you can specify path using -buildfile or -file or -f
-buildfile use given buildfile
-file ''
-f ''
For example:
ant -f c:\temp\build.xml clean jar ide-dependencies
You have to issue that command from FreeMarker's directory (the extracted FreeMarker source release directory, or where you have checked FreeMarker out from Git), not from the Ant directory. build.xml
is part of the FreeMarker source code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.