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

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

PROGRAMMATOR 07.03.2009 00:33

Ответ: Компилятор java серверов Lineage 2
 
Сервер у них работает, только что проверил. Кроме NET Framework'а должен быть установлен Slik Svn и т.д.

FosFer 07.03.2009 00:56

Ответ: Компилятор java серверов Lineage 2
 
После скачки Slik Svn, гейм сервер скомпилился, а вот гео выдает в логах вт такое:

Код:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - l2jfree:l2jfree-geoserver:jar:1.2.0
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\l2jfree\l2jfree-geoserver\target
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - l2jfree:l2jfree-geoserver:jar:1.2.0
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - l2jfree:l2jfree-geoserver:jar:1.2.0
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
Downloading: http://www.l2jfree.com:8080/archiva/repository/internal//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://www.l2jfree.com/maven//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://repo1.maven.org/maven2/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://snapshots.maven.codehaus.org/maven2//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://people.apache.org/repo/m2-snapshot-repository/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://mevenide.codehaus.org/repository/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://www.ibiblio.org/maven2//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://repo1.maven.org/maven2/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.pom
Downloading: http://www.l2jfree.com:8080/archiva/repository/internal//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://www.l2jfree.com/maven//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://repo1.maven.org/maven2/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://snapshots.maven.codehaus.org/maven2//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://people.apache.org/repo/m2-snapshot-repository/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://mevenide.codehaus.org/repository/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://www.ibiblio.org/maven2//l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
Downloading: http://repo1.maven.org/maven2/l2jfree/l2j-commons/1.1.9/l2j-commons-1.1.9.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) l2jfree:l2j-commons:jar:1.1.9

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=l2jfree -DartifactId=l2j-commons -Dversion=1.1.9 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=l2jfree -DartifactId=l2j-commons -Dversion=1.1.9 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
          1) l2jfree:l2jfree-geoserver:jar:1.2.0
          2) l2jfree:l2j-commons:jar:1.1.9

----------
1 required artifact is missing.

for artifact:
  l2jfree:l2jfree-geoserver:jar:1.2.0

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



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Sat Mar 07 00:18:09 EET 2009
[INFO] Final Memory: 11M/508M
[INFO] ------------------------------------------------------------------------


PROGRAMMATOR 07.03.2009 02:08

Ответ: Компилятор java серверов Lineage 2
 
Вложений: 2
Хоть я уже выкладывал эти плагины, но еще раз выложу. Смотрите в прикрепленных файлах. После загрузки разархивируйте в (путь у вас может быть другим ясное дело):
Цитата:

c:\maven\repo\l2jfree\l2j-commons\

Ohlamono 07.03.2009 09:41

Ответ: Компилятор java серверов Lineage 2
 
Помогло, ещё не качало из-за того что неверные ссылки в xmlьках. Подправил на верные откомпилось все кроме гейм сервера:

Код:

[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.11
[INFO]
[INFO] Id: l2jfree:l2jfree-core:jar:1.2.11
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.11
[INFO]
[INFO] Id: l2jfree:l2jfree-core:jar:1.2.11
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------

[ERROR]
Failed to construct build plan for: Unnamed - l2jfree:l2jfree-core:jar:1.2.11
Id: l2jfree:l2jfree-core:jar:1.2.11
task-segment: [assembly:assembly] (aggregator-style). Reason: Failed to resolve plugin for mojo binding: org/codehaus/mojo:buildnumber-maven-plugin:1.0-beta-2:create

While building project with id: l2jfree:l2jfree-core:jar:1.2.11
Project File: E:\Nl2jfree\l2jree-core\pom.xml


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Sat Mar 07 09:29:48 MSK 2009
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------

Что ему сделать чтобы скомпилил ? Кто решал эту проблему ?

Leap 08.03.2009 13:47

Ответ: Компилятор java серверов Lineage 2
 
не хочет L2jArchid гейм сервер компилировать :(
http://img.zone-game.info/thumb-0C3F_49B3A6C8.jpg
в build гейм сервера появляются 8 папок и 1 файл
:confused:

PROGRAMMATOR 08.03.2009 14:07

Ответ: Компилятор java серверов Lineage 2
 
И каким образом вы пытаетесь скомпилировать используя JRE? В первом же сообщении сказано о JDK. Так же картинки заливаем на наш хостинг картинок!
Код:

Buildfile: build.xml

clean:
  [delete] Deleting directory C:\l2j\L2jArchid\L2Archid_GameServer_It\build

clean:

init:
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\classes
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\lib
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\lib

version:

compile:
    [javac] Compiling 1275 source files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\classes
    [javac] Note: C:\l2j\L2jArchid\L2Archid_GameServer_It\java\com\l2jarchid\gameserver\GeoEngine.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

jar:
      [jar] Building jar: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\l2archid-core-1.0.0.jar
    [copy] Copying 1 file to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\lib
    [copy] Copying 1 file to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\lib

dist:
    [copy] Copying 3 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login
    [copy] Copying 2 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game
    [copy] Copying 4 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\lib
    [copy] Copying 8 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\lib
    [copy] Copying 2 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist
    [copy] Copying 6 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist
    [copy] Copying 9 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login
    [copy] Copying 5 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\log
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\log
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\hibernate-mapping
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\config
    [copy] Copying 18 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\config
    [copy] Copying 2 files to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\config
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\data
    [copy] Copying 1 file to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\data
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\data\geodata
    [copy] Copying 1 file to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\data\geodata
    [mkdir] Created dir: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\data\pathnode
    [copy] Copying 1 file to C:\l2j\L2jArchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\data\pathnode
      [zip] Building zip: C:\l2j\L2jArchid\L2Archid_GameServer_It\build\L2JArchid_GameServer.zip

BUILD SUCCESSFUL
Total time: 41 seconds

Все отлично компилит...

Evil-Soft 09.03.2009 16:52

Ответ: Компилятор java серверов Lineage 2
 
Код:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building L2Emu-Loginserver
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] ------------------------------------------------------------------------
[INFO] Building L2Emu-Loginserver
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building L2Emu-Loginserver
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot get the revision information from the scm repository :
svn: This client is too old to work with working copy 'C:\L2Emu'; please get a newer Subversion client

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Mar 10 04:45:35 YEKT 2009
[INFO] Final Memory: 8M/508M
[INFO] ------------------------------------------------------------------------

Вот вылазит ошибочка, при компиляции всего гейм,дата,логин сервера!(

singer 10.03.2009 00:43

Ответ: Компилятор java серверов Lineage 2
 
Код:

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Buildfile: build.xml

clean:

init:
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_DataPack\build
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\L2JArchid-Game
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\doc
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\L2JArchid-Login

version:

export:
    [sync] Copying 2 files to C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\doc
    [sync] Copying 12197 files to C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\L2JArchid-Game\data
    [sync] Copying 119 files to C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\sql
    [sync] Copying 4 files to C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\tools
    [sync] Copying 1 file to C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\dist\L2JArchid-Login

dist:
      [zip] Building zip: C:\l2jarchid\l2jarchid\L2Archid_DataPack\build\L2JArchid_DataPack.zip

BUILD SUCCESSFUL
Total time: 1 minute 34 seconds

Датапак скомпилился, а гейм сервер нажимаю компилить в логе пишет
Код:

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Buildfile: build.xml

clean:
  [delete] Deleting directory C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build

clean:

init:
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\classes
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\dist
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\dist\L2JArchid-Login\lib
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game
    [mkdir] Created dir: C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\dist\L2JArchid-Game\lib

version:

compile:
    [javac] Compiling 1278 source files to C:\l2jarchid\l2jarchid\L2Archid_GameServer_It\build\classes

И минут так 10-15 не сдвигается с места. Что делать? Кароч на скрине просто не разобрал там выше.

Добавлено через 6 минут
Как поставить, чтоб компилило через JDK? :(

PROGRAMMATOR 10.03.2009 02:43

Ответ: Компилятор java серверов Lineage 2
 
Цитата:

Сообщение от singer (Сообщение 29207)
Как поставить, чтоб компилило через JDK?

Свойства моего компьютера - Вкладка дополнительно - Переменные среды - Системные переменные - Создать:

Имя переменной: JAVA_HOME
Значение переменной: C:\Program Files\Java\jdk1.6.0_05 (версия у вас может быть другой, а значит и путь другой)

Далее идет Windows'кий каст: Ок - Ок - Ок и если не захотело, то перезагружаем компьютер и компилим.

Evil-Soft 10.03.2009 03:55

Ответ: Компилятор java серверов Lineage 2
 
Программатор а мне то подскажите плиз ваша ведь программа ))


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

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