[help]Компиляция...
5 replies143 viewsCurrently viewing: 1
· 02/20/2009, 11:37 AM
Железо: кор 2 дуо 2.0, 4 гига оперы
ОС: Винда хр х32
Программы: мускул 5.1.0 х32, ява х32
Сборка: L2JFree 5185 Ревизия
Проблема такова: немогу скомпилить, начинаеться компиляция, создаёт папку terget/class и начинажют лезть огромные ошибки..... и нечегго некомпилиться....
Код
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;
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;
Вот 1 часть Ошибок помогите пожалуйста!
0
· 02/20/2009, 12:16 PM
Код
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building L2JFree Datapack
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building L2JFree Datapack
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\data
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\optional
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\sql
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\tools
[INFO] [compiler:compile]
[INFO] Compiling 1413 source files to C:\L2JFree\l2jfree-core\target\classes
[INFO] Searching repository for plugin with prefix: 'assembly'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building L2JFree Datapack
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building L2JFree Datapack
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\data
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\optional
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\sql
[INFO] skip non existing resourceDirectory C:\L2JFree\l2jfree-core\tools
[INFO] [compiler:compile]
[INFO] Compiling 1413 source files to C:\L2JFree\l2jfree-core\target\classes
Вот начало ошибки!
Компилирую программой Maven, Zg-compiller, Multi_Tool_L2J_Beta1 везде ета ошибка с файлами
0
· 02/20/2009, 01:48 PM
Нашол как исправить ту ошибку, теперь вот такая ошибка
Код
[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] ------------------------------------------------------------------------
[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>
теперь так... Чтож делать..
0
Войдите или зарегистрируйтесь чтобы ответить


