第一次面对这个问题,现在已经有一段时间了。
运行ant.cmd的Wile出现以下错误
C:\>ant.cmd
C:\>/*
'/*' is not recognized as an internal or external command,
operable program or batch file.
C:\>Licensed to the Apache Software Foundation (ASF) under one or more
'Licensed' is not recognized as an internal or external command,
operable program or batch file.
C:\>contributor license agreements. See the NOTICE file distributed with
'contributor' is not recognized as an internal or external command,
operable program or batch file.
C:\>this work for additional information regarding copyright ownership.
'this' is not recognized as an internal or external command,
operable program or batch file.
C:\>The ASF licenses this file to You under the Apache License, Version 2.0
'The' is not recognized as an internal or external command,
operable program or batch file.
you was unexpected at this time.
C:\> (the "License"); you may not use this file except in compliance with
C:\>
有什么想法吗?
答案 0 :(得分:0)
您不应该运行ant.cmd
,该脚本适用于OS / 2,而非Windows。
您应该运行ant.bat
。或者只是ant
,如果ant的bin \目录在你的PATH中你可能会找到更多信息here