Сообщений: 2,102
Тем: 40
Зарегистрирован: Apr 2008
Репутация:
12,296
Можешь закоментить
Сообщений: 544
Тем: 45
Зарегистрирован: Dec 2010
Репутация:
106
удалил, пахает! ну а вдруг не пахало бы?
Сообщений: 253
Тем: 47
Зарегистрирован: Dec 2010
Репутация:
91
Вроде бы все сделал, а результат один... раньше норм компилилось, винду перебил что-то не выходит
Сообщений: 5,670
Тем: 145
Зарегистрирован: Nov 2008
Репутация:
33,771
А в системные переменные забили? В Path.
Web программист\разработчик
— Есть только один способ проделать большую работу — полюбить ее. Если вы к этому не пришли, подождите. Не беритесь за дело.
Сообщений: 253
Тем: 47
Зарегистрирован: Dec 2010
Репутация:
91
04-13-2011, 12:43 PM
(Сообщение последний раз редактировалось: 04-13-2011, 02:19 PM derron116.)
вот так вот стоит...
Добавлено через 1 час 36 минут
все-равно не компилит
Сообщений: 36
Тем: 8
Зарегистрирован: Jun 2011
Репутация:
0
Господа, подскажите. При компиляции выводит такое :
PHP код: <?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:
[exec] Execute failed: java.io.IOException: Cannot run program "svnversion"
: CreateProcess error=2, ?? ??????? ????? ????????? ????
compile:
[javac] C:\WebServers\home\localhost\www\Gameserver\build.xml:74: warning: '
includeantruntime' was not set, defaulting to build.sysclasspath=last; set to fa
lse for repeatable builds
[javac] Compiling 1451 source files to C:\WebServers\home\localhost\www\Game
server\build\classes
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\handler\skillhandlers\Blow.java:77: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().c
alcPhysicalSkillEvasion(target, skill);
[javac] ^
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\handler\skillhandlers\Pdam.java:174: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = f.calcPhysicalSkillEvasi
on(target, skill);
[javac] ^
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\skills\l2skills\L2SkillChargeDmg.java:93: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().calcPhysi
calSkillEvasion(target, this);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
BUILD FAILED
C:\WebServers\home\localhost\www\Gameserver\build.xml:74: Compile failed; see th
e compiler error output for details.
Total time: 26 seconds
C:\WebServers\home\localhost\www\Gameserver>ant
Buildfile: C:\WebServers\home\localhost\www\Gameserver\build.xml
init:
version:
[exec] Execute failed: java.io.IOException: Cannot run program "svnversion"
: CreateProcess error=2, ?? ??????? ????? ????????? ????
compile:
[javac] C:\WebServers\home\localhost\www\Gameserver\build.xml:69: warning: '
includeantruntime' was not set, defaulting to build.sysclasspath=last; set to fa
lse for repeatable builds
[javac] Compiling 1053 source files to C:\WebServers\home\localhost\www\Game
server\build\classes
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\handler\skillhandlers\Blow.java:77: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().c
alcPhysicalSkillEvasion(target, skill);
[javac] ^
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\handler\skillhandlers\Pdam.java:174: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = f.calcPhysicalSkillEvasi
on(target, skill);
[javac] ^
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\skills\l2skills\L2SkillChargeDmg.java:93: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().calcPhysi
calSkillEvasion(target, this);
[javac] ^
[javac] Note: C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\ga
meserver\handler\skillhandlers\SiegeFlag.java uses or overrides a deprecated API
.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
BUILD FAILED
C:\WebServers\home\localhost\www\Gameserver\build.xml:69: Compile failed; see th
e compiler error output for details.
Total time: 7 seconds
C:\WebServers\home\localhost\www\Gameserver>ant
Buildfile: C:\WebServers\home\localhost\www\Gameserver\build.xml
init:
version:
compile:
[javac] C:\WebServers\home\localhost\www\Gameserver\build.xml:69: warning: '
includeantruntime' was not set, defaulting to build.sysclasspath=last; set to fa
lse for repeatable builds
[javac] Compiling 1018 source files to C:\WebServers\home\localhost\www\Game
server\build\classes
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\handler\skillhandlers\Blow.java:77: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().c
alcPhysicalSkillEvasion(target, skill);
[javac] ^
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\handler\skillhandlers\Pdam.java:174: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = f.calcPhysicalSkillEvasi
on(target, skill);
[javac] ^
[javac] C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\gameserv
er\skills\l2skills\L2SkillChargeDmg.java:93: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().calcPhysi
calSkillEvasion(target, this);
[javac] ^
[javac] Note: C:\WebServers\home\localhost\www\Gameserver\java\com\matrix\ga
meserver\handler\skillhandlers\SiegeFlag.java uses or overrides a deprecated API
.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
BUILD FAILED
C:\WebServers\home\localhost\www\Gameserver\build.xml:69: Compile failed; see th
e compiler error output for details.
Total time: 6 seconds
C:\WebServers\home\localhost\www\Gameserver>
Подскажите, в чём ошибка ?
в файле build.xml строка 69 - это :
PHP код: <?php
<javac destdir="${build.classes}" optimize="on" debug="on" source="1.6" target="1.6" nowarn="off">
Сообщений: 1,326
Тем: 10
Зарегистрирован: Apr 2010
Репутация:
2,078
Ищите таск
<exec executable="svnversion"....
и комментируйте его
Сообщений: 36
Тем: 8
Зарегистрирован: Jun 2011
Репутация:
0
Тоже самое выдаёт, всё равно ошибка. В принципе другой сервер компилит ( L2J IT ), а сборку с модом GvE не хочет. Подскажите, что на этот раз не так ? ))
PHP код: <?php
Microsoft Windows [Version 6.1.7600]
(c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.
C:\Users\Mihail>cd C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\Gv\Gameserver
Системе не удается найти указанный путь.
C:\Users\Mihail>cd C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver
C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver>ant
Buildfile: C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\build.xml
init:
version:
compile:
[javac] C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\build.xml:7
4: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=la
st; set to false for repeatable builds
[javac] Compiling 1009 source files to C:\Server-Amadeus\INTERLUDE\GvE_INTER
LUDE\GvE\Gameserver\build\classes
[javac] C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\java\com\ma
trix\gameserver\handler\skillhandlers\Blow.java:77: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().c
alcPhysicalSkillEvasion(target, skill);
[javac] ^
[javac] C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\java\com\ma
trix\gameserver\handler\skillhandlers\Pdam.java:174: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = f.calcPhysicalSkillEvasi
on(target, skill);
[javac] ^
[javac] C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\java\com\ma
trix\gameserver\skills\l2skills\L2SkillChargeDmg.java:93: cannot find symbol
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.skills.l2skills.L2SkillChargeDmg)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = Formulas.getInstance().calcPhysi
calSkillEvasion(target, this);
[javac] ^
[javac] Note: C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\java\
com\matrix\gameserver\handler\skillhandlers\SiegeFlag.java uses or overrides a d
eprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
BUILD FAILED
C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\build.xml:74: Compile f
ailed; see the compiler error output for details.
Total time: 7 seconds
C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver>
Сообщений: 1,326
Тем: 10
Зарегистрирован: Apr 2010
Репутация:
2,078
А это уже ошибочка в коде, кою муравьишко вам на блюдечке преподнес
Код: [javac] C:\Server-Amadeus\INTERLUDE\GvE_INTERLUDE\GvE\Gameserver\java\com\ma
trix\gameserver\handler\skillhandlers\Blow.java:77: [color=Red][B]cannot find symbol[/B][/color]
[javac] symbol : method calcPhysicalSkillEvasion(com.matrix.gameserver.mode
l.L2Character,com.matrix.gameserver.model.L2Skill)
[javac] location: class com.matrix.gameserver.skills.Formulas
[javac] boolean skillIsEvaded = f.calcPhysicalSkillEvasi
on(target, skill);
Читаем ошибочку, правим исходничек, повторям компиляцию.
Сообщений: 10
Тем: 2
Зарегистрирован: Jul 2012
Репутация:
0
Выдает при компиляции следущее.
Цитата:Microsoft Windows XP [Версия 5.1.2600]
(С) Корпорация Майкрософт, 1985-2001.
C:\Documents and Settings\Hjg>cd C:\svn\L2server
C:\svn\L2server>ant
Buildfile: C:\svn\L2server\build.xml
checkRequirements:
getChangelogDateVersion:
BUILD FAILED
C:\svn\L2server\build.xml:221: Execute failed: java.io.IOException: Cannot run p
rogram "svn": CreateProcess error=2, ?? ??????? ????? ????????? ????
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, ?? ??????? ????? ????????
? ????
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:189)
at java.lang.ProcessImpl.start(ProcessImpl.java:133)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 24 more
Total time: 3 seconds
C:\svn\L2server>
По разному крутил ничего не получается, до одного места...
Я бы изменил мир к лучшему, но БОГ не дает исходников.
|