Показать сообщение отдельно
Непрочитано 22.06.2011, 01:00   #26
Аватар для Aaron
Пользователь

По умолчанию Re: Компиляция ява сборок с помощью Ant

Господа, подскажите. При компиляции выводит такое :

PHP код:
Microsoft Windows [Version 6.1.7600]
(
cКорпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.

C:\Users\Mihail>cd C:\WebServers\home\localhost\www\Gameserver

C
:\WebServers\home\localhost\www\Gameserver>ant
Buildfile
C:\WebServers\home\localhost\www\Gameserver\build.xml

init
:

version:
     [
execExecute failedjava.io.IOExceptionCannot run program "svnversion"
CreateProcess error=2, ?? ??????? ????? ????????? ????

compile:
    [
javacC:\WebServers\home\localhost\www\Gameserver\build.xml:74warning'
includeantruntime' 
was not setdefaulting to build.sysclasspath=lastset to fa
lse 
for repeatable builds
    
[javacCompiling 1451 source files to C:\WebServers\home\localhost\www\Game
server
\build\classes
    
[javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\handler\skillhandlers\Blow.java:77cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.model.L2Skill)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]                     boolean skillIsEvaded Formulas.getInstance().c
alcPhysicalSkillEvasion
(targetskill);
    [
javac]                                                                   ^
    [
javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\handler\skillhandlers\Pdam.java:174cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.model.L2Skill)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]                     boolean skillIsEvaded f.calcPhysicalSkillEvasi
on
(targetskill);
    [
javac]                                              ^
    [
javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\skills\l2skills\L2SkillChargeDmg.java:93cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]             boolean skillIsEvaded Formulas.getInstance().calcPhysi
calSkillEvasion
(targetthis);
    [
javac]                                                           ^
    [
javacNoteSome input files use or override a deprecated API.
    [
javacNoteRecompile with -Xlint:deprecation for details.
    [
javac3 errors

BUILD FAILED
C
:\WebServers\home\localhost\www\Gameserver\build.xml:74Compile failedsee th
e compiler error output 
for details.

Total time26 seconds
C
:\WebServers\home\localhost\www\Gameserver>ant
Buildfile
C:\WebServers\home\localhost\www\Gameserver\build.xml

init
:

version:
     [
execExecute failedjava.io.IOExceptionCannot run program "svnversion"
CreateProcess error=2, ?? ??????? ????? ????????? ????

compile:
    [
javacC:\WebServers\home\localhost\www\Gameserver\build.xml:69warning'
includeantruntime' 
was not setdefaulting to build.sysclasspath=lastset to fa
lse 
for repeatable builds
    
[javacCompiling 1053 source files to C:\WebServers\home\localhost\www\Game
server
\build\classes
    
[javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\handler\skillhandlers\Blow.java:77cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.model.L2Skill)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]                     boolean skillIsEvaded Formulas.getInstance().c
alcPhysicalSkillEvasion
(targetskill);
    [
javac]                                                                   ^
    [
javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\handler\skillhandlers\Pdam.java:174cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.model.L2Skill)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]                     boolean skillIsEvaded f.calcPhysicalSkillEvasi
on
(targetskill);
    [
javac]                                              ^
    [
javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\skills\l2skills\L2SkillChargeDmg.java:93cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]             boolean skillIsEvaded Formulas.getInstance().calcPhysi
calSkillEvasion
(targetthis);
    [
javac]                                                           ^
    [
javacNoteC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\ga
meserver
\handler\skillhandlers\SiegeFlag.java uses or overrides a deprecated API
.
    [
javacNoteRecompile with -Xlint:deprecation for details.
    [
javac3 errors

BUILD FAILED
C
:\WebServers\home\localhost\www\Gameserver\build.xml:69Compile failedsee th
e compiler error output 
for details.

Total time7 seconds
C
:\WebServers\home\localhost\www\Gameserver>ant
Buildfile
C:\WebServers\home\localhost\www\Gameserver\build.xml

init
:

version:

compile:
    [
javacC:\WebServers\home\localhost\www\Gameserver\build.xml:69warning'
includeantruntime' 
was not setdefaulting to build.sysclasspath=lastset to fa
lse 
for repeatable builds
    
[javacCompiling 1018 source files to C:\WebServers\home\localhost\www\Game
server
\build\classes
    
[javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\handler\skillhandlers\Blow.java:77cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.model.L2Skill)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]                     boolean skillIsEvaded Formulas.getInstance().c
alcPhysicalSkillEvasion
(targetskill);
    [
javac]                                                                   ^
    [
javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\handler\skillhandlers\Pdam.java:174cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.model.L2Skill)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]                     boolean skillIsEvaded f.calcPhysicalSkillEvasi
on
(targetskill);
    [
javac]                                              ^
    [
javacC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er
\skills\l2skills\L2SkillChargeDmg.java:93cannot find symbol
    
[javacsymbol  method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l
.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
    [
javaclocation: class com.matrix.gameserver.skills.Formulas
    
[javac]             boolean skillIsEvaded Formulas.getInstance().calcPhysi
calSkillEvasion
(targetthis);
    [
javac]                                                           ^
    [
javacNoteC:\WebServers\home\localhost\www\Gameserver\java\com\matrix\ga
meserver
\handler\skillhandlers\SiegeFlag.java uses or overrides a deprecated API
.
    [
javacNoteRecompile with -Xlint:deprecation for details.
    [
javac3 errors

BUILD FAILED
C
:\WebServers\home\localhost\www\Gameserver\build.xml:69Compile failedsee th
e compiler error output 
for details.

Total time6 seconds
C
:\WebServers\home\localhost\www\Gameserver
Подскажите, в чём ошибка ?

в файле build.xml строка 69 - это :

PHP код:
  <javac destdir="${build.classes}optimize="on" debug="on" source="1.6" target="1.6" nowarn="off"
Aaron вне форума Отправить сообщение для Aaron с помощью ICQ Ответить с цитированием