Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Инструменты (https://forum.zone-game.info/forumdisplay.php?f=39)
-   -   ZG-compiller - компилятор для ява серверов (https://forum.zone-game.info/showthread.php?t=408)

Joxer 03.11.2008 21:15

Ответ: ZG-compiller - компилятор для ява серверов
 
Цитата:

Сообщение от PROGRAMMATOR (Сообщение 22322)
Качаем последний релиз...

скачал последний релиз... правда два раза пришлось компилить.. чтоб увидеть что он собирает архив в папке target :)
спасибо большое за компилятор... у мну всё получилось

Viktorez 03.11.2008 22:53

Ответ: ZG-compiller - компилятор для ява серверов
 
Поиск конечно клёвая штука, но хотелось бы услышать ответ от опытных парней,шоб не напороть косяков с серваком :).дайте плиз описание как обновить сервак L2emu ,можно ли это сделать на горячую?
Плиз ответьте каму не трудно!

Joxer 08.11.2008 00:40

Ответ: ZG-compiller - компилятор для ява серверов
 
Цитата:

Сообщение от enot (Сообщение 22125)
нажимаю цыфру 4 она пропадает и потом дальше можно писать.. ещё раз жму ничего в чом дело может быть??

вот в этом : (файл l2jserver[RU].cmd)
Код:

......
Set Projecttype=x
Set /p Buildproject= Пожалуйста сделайте свой выбор:
If /i %buildproject%==1 Goto Server
If /i %buildproject%==2 Goto Data
Goto Main

вместо 2 поставь 4
ну или нажми просто 2 :)

PROGRAMMATOR 08.11.2008 03:36

Ответ: ZG-compiller - компилятор для ява серверов
 
Хм, так я как бы ответил http://forum.zone-game.info/showpost...1&postcount=87

Joxer 08.11.2008 14:21

Ответ: ZG-compiller - компилятор для ява серверов
 
PROGRAMMATOR извеняюсь, не увидел сражу. :(
просто когда на него нажимал, то скачиваеться почемуто файл attachment.php, а щас сохранил сразу и у видел что там лежит исправленный cmd.
последнии два поста можно удалить.

Stema 08.11.2008 18:37

Ответ: ZG-compiller - компилятор для ява серверов
 
Цитата:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
WAGON_VERSION: 1.0-beta-2
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] task-segment: [clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing assembly:assembly
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] -------------------------------------------------------------------------
---
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
Provider message:
The svn command failed.
Command output:
"svn" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot get the revision information from the scm repository :
Error!

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sat Nov 08 17:24:38 EET 2008
[INFO] Final Memory: 7M/508M
Вот так вот.. ЧТо значит?

DarkLoki 08.11.2008 18:41

Ответ: ZG-compiller - компилятор для ява серверов
 
Stema,
Ошибки при работе с ZG-Compiller
:mad:

Stema 08.11.2008 19:51

Ответ: ZG-compiller - компилятор для ява серверов
 
Перед этим загрузка постоянно идет, какой бы я раз не запускал

Цитата:


Downloading: http://www.l2jfree.com:8080/archiva/...al//org/apache
/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom
1K downloaded
Ну и после ошибка

Цитата:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.mojo:maven-buildnumber-plugin

Reason: POM 'org.codehaus.mojo:maven-buildnumber-plugin' not found in repository
: Unable to download the artifact from any repository

org.codehaus.mojo:maven-buildnumber-plugin:pom:1.0-beta-1

from the specified remote repositories:
old l2jfree (http://www.l2jfree.com/maven/),
mevenide repo (http://mevenide.codehaus.org/repository),
ibiblio maven2 (http://www.ibiblio.org/maven2/),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
l2jfree.internal (http://www.l2jfree.com:8080/archiva/...tory/internal/),
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
maven 2 (default) (http://repo1.maven.org/maven2)
for project org.codehaus.mojo:maven-buildnumber-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Sat Nov 08 18:56:24 EET 2008
[INFO] Final Memory: 4M/508M
[INFO] ------------------------------------------------------------------------
Добавлено через 3 часа 9 минут
Вроди что-то пытается делать, но..
Цитата:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
WAGON_VERSION: 1.0-beta-2
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] task-segment: [clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing assembly:assembly
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] -------------------------------------------------------------------------
---
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 4772
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 1386 source files to C:\l2jfree\L2_GameServer_CT1\target\classe
s
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\l2jfree\L2_GameServer_CT1\src\main\java\com\l2j free\gameserver\model\entity\C
astle.java:[189,42] cannot find symbol
symbol : variable DEBUG
location: class com.l2jfree.Config

C:\l2jfree\L2_GameServer_CT1\src\main\java\com\l2j free\gameserver\model\entity\C
astle.java:[427,13] cannot find symbol
symbol : variable REMOVE_CASTLE_CIRCLETS
location: class com.l2jfree.Config

C:\l2jfree\L2_GameServer_CT1\src\main\java\com\l2j free\gameserver\model\entity\C
astle.java:[459,15] cannot find symbol
symbol : variable REMOVE_CASTLE_CIRCLETS
location: class com.l2jfree.Config

C:\l2jfree\L2_GameServer_CT1\src\main\java\com\l2j free\gameserver\model\entity\C
astle.java:[1033,38] cannot find symbol
symbol : variable DEBUG
location: class com.l2jfree.Config

C:\l2jfree\L2_GameServer_CT1\src\main\java\com\l2j free\gameserver\model\entity\C
astle.java:[1479,37] cannot find symbol
symbol : variable DEBUG
location: class com.l2jfree.Config

C:\l2jfree\L2_GameServer_CT1\src\main\java\com\l2j free\gameserver\model\entity\C
astle.java:[1495,39] cannot find symbol
symbol : variable DEBUG
location: class com.l2jfree.Config


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 18 seconds
[INFO] Finished at: Sat Nov 08 22:00:27 EET 2008
[INFO] Final Memory: 30M/508M
[INFO] ------------------------------------------------------------------------

Dangerous 10.11.2008 13:16

Ответ: ZG-compiller - компилятор для ява серверов
 
Компиляция Ядра Free сервера:
Код:

Вы выбрали компиляцию GameServer!

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO] org.apache.maven.plugins: checking for updates from l2jfree.internal
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: l2jfree.internal due to an error: GET request of: org/apache/maven/plugins/maven-metadata.xml from l2jfree.internal failed
[INFO] Repository 'l2jfree.internal' will be blacklisted
[INFO] org.apache.maven.plugins: checking for updates from old l2jfree
[INFO] org.codehaus.mojo: checking for updates from old l2jfree
[INFO] artifact org.apache.maven.plugins:maven-assembly-plugin: checking for updates from old l2jfree
WAGON_VERSION: 1.0-beta-2
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO]    task-segment: [clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for update
s from old l2jfree
[INFO] artifact org.codehaus.mojo:maven-buildnumber-plugin: checking for updates
 from old l2jfree
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates
from old l2jfree
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for upd
ates from old l2jfree
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for upd
ates from old l2jfree
[INFO] [clean:clean]
[INFO] Deleting directory C:\l2jfree\l2jfree-core\target
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing assembly:assembly
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.4
[INFO] -------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for up
dates from old l2jfree
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 4776
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1386 source files to C:\l2jfree\l2jfree-core\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\l2jfree\l2jfree-core\src\main\java\com\l2jfree\gameserver\network\clientpacke
ts\RequestExTryToPutEnchantTargetItem.java:[17,0] class, interface, or enum expe
cted

C:\l2jfree\l2jfree-core\src\main\java\com\l2jfree\gameserver\network\clientpacke
ts\RequestExTryToPutEnchantTargetItem.java:[28,0] class, interface, or enum expected


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 49 seconds
[INFO] Finished at: Mon Nov 10 13:10:52 MSK 2008
[INFO] Final Memory: 24M/508M
[INFO] ------------------------------------------------------------------------
Для продолжения нажмите любую клавишу . . .


PROGRAMMATOR 10.11.2008 13:44

Ответ: ZG-compiller - компилятор для ява серверов
 
Это уже ваши ошибки, проверил, компилирует на ура. Проверяйте файл RequestExTryToPutEnchantTargetItem.java, а именно строки 17 и 28.


Текущее время: 09:16. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot