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

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

NesH 20.02.2009 14:40

Компиляция
 
Пытаюсь скомпилировать сборку l2JFree 5185 ревизия, проблема такова:
компиляция начинаеться, создаёться папка target/clasess и начинают ити ошибки потипу таких
Цитата:

C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\network\ serverpacke
ts\ExShowFortressMapInfo.java:[35,5] annotations are not supported in -source 1.
3
(use -source 5 or higher to enable annotations)
@Override

C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\handler\ skillhandle
rs\FishingSkill.java:[34,47] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
public void useSkill(L2Character activeChar, @SuppressWarnings("unused")


C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\handler\ skillhandle
rs\FishingSkill.java:[36,9] variable-arity methods are not supported in -source
1.3
(use -source 5 or higher to enable variable-arity methods)
L2Object... targets)

C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\network\ clientpacke
ts\RequestHennaItemInfo.java:[40,5] annotations are not supported in -source 1.3

(use -source 5 or higher to enable annotations)
@Override

C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\network\ clientpacke
ts\Action.java:[34,2] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@SuppressWarnings("unused")

C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\network\ serverpacke
ts\SiegeInfo.java:[52,2] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Override

C:\L2JFree\l2jfree-core\src\main\java\com\l2jfree\gameserver\model\ac tor\instanc
e\L2SummonInstance.java:[43,18] generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
private Future<?> _summonConsumeTask;
Компилю как Zg-compilator так и maven ошибка одна и таже... в Файле Pom.xml все испрвил

Aquanox 20.02.2009 15:36

Ответ: Компиляция
 
найди эти строки во всех pom.xml и поставь вместо 1.3 => 1.6
Код:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>


NesH 20.02.2009 16:46

Ответ: Компиляция
 
Цитата:

[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.10
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.2.10
[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: 2 seconds
[INFO] Finished at: Fri Feb 20 15:42:16 EET 2009
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
Теперь вот такая Ошибка
Использую вот етот Свн TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi
Строчку в Pom.xml удалил вот
<artifactId>buildnumber-maven-plugin</artifactId>
теперь так... Чтож делать..


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

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