Jump to content
  • 0

[HELP]l2j game server compile prob 1 error mono!


Question

Posted

oriste edw einai olo to ant built pou exei kanei kai sto telos mou vgazei 1 error :S den katalavaino ti prob exei enw to DATAPACK to kanei swsta

 

wriste to error pou mou vgazei to gameserver sto l2j frozen

BUILD FAILED

C:\workspace\L2jFrozen_GameServer\build.xml:65: Error starting modern compiler

 

Total time: 46 seconds

 

pisteyo na mporeite na help

9 answers to this question

Recommended Posts

  • 0
Posted

ena tip mhn vazeis to workspace ston c:/

ennow valto mesa sta egrafa sou gt merikes fores ta windows malakizonte me to access dokimase na to valeis sta egrafa sou to workspace dokimase kai enhmerwse an eftiakse!!!

  • 0
Posted

Buildfile: C:\workspace\L2jFrozen_GameServer\build.xml

prepare-local:

prepare-final:

init:

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build\classes

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build\dist

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build\dist\loginserver

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build\dist\loginserver\lib

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build\dist\gameserver

    [mkdir] Created dir: C:\workspace\L2jFrozen_GameServer\build\dist\gameserver\lib

version:

    [echo] L2jFrozen Gameserver Revision: 946

compile:

    [javac] Compiling 1463 source files to C:\workspace\L2jFrozen_GameServer\build\classes

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:4969: incomparable types: java.lang.Enum<capture#786 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] && ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB

    [javac]                                                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:4970: incomparable types: java.lang.Enum<capture#894 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] || ItemTable.getInstance().createDummyItem(itemId).getItemType() != L2EtcItemType.HERB))

    [javac]                                                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5010: incomparable types: java.lang.Enum<capture#369 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB) //If item is herb dont add it to iv :]

    [javac]                                                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6700: incomparable types: java.lang.Enum<capture#132 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(target.getItemType() == L2EtcItemType.HERB)

    [javac]                         ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6722: inconvertible types

    [javac] found  : java.lang.Enum<capture#122 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType || target.getItem() instanceof L2Armor || target.getItem() instanceof L2Weapon)

    [javac]                     ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6722: inconvertible types

    [javac] found  : java.lang.Enum<capture#42 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType || target.getItem() instanceof L2Armor || target.getItem() instanceof L2Weapon)

    [javac]                                                                     ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6747: incomparable types: java.lang.Enum<capture#930 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(target.getItem() != null && target.getItem().getItemType() == L2EtcItemType.ARROW)

    [javac]                                                               ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6926: inconvertible types

    [javac] found  : java.lang.Enum<capture#66 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] if ((L2ArmorType)legs.getItemType() == L2ArmorType.HEAVY

    [javac]                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6927: inconvertible types

    [javac] found  : java.lang.Enum<capture#218 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] && ((L2ArmorType)armor.getItemType() == L2ArmorType.HEAVY))

    [javac]                                   ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6933: inconvertible types

    [javac] found  : java.lang.Enum<capture#733 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] && (L2ArmorType)armor.getItemType() == L2ArmorType.HEAVY))

    [javac]                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6951: inconvertible types

    [javac] found  : java.lang.Enum<capture#627 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] if ((L2ArmorType)legs.getItemType() == L2ArmorType.LIGHT

    [javac]                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6952: inconvertible types

    [javac] found  : java.lang.Enum<capture#971 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] && ((L2ArmorType)armor.getItemType() == L2ArmorType.LIGHT))

    [javac]                                   ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6958: inconvertible types

    [javac] found  : java.lang.Enum<capture#454 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] && (L2ArmorType)armor.getItemType() == L2ArmorType.LIGHT))

    [javac]                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6976: inconvertible types

    [javac] found  : java.lang.Enum<capture#543 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] if ((L2ArmorType)legs.getItemType() == L2ArmorType.MAGIC

    [javac]                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6977: inconvertible types

    [javac] found  : java.lang.Enum<capture#896 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] && ((L2ArmorType)armor.getItemType() == L2ArmorType.MAGIC))

    [javac]                                   ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6983: inconvertible types

    [javac] found  : java.lang.Enum<capture#972 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] && (L2ArmorType)armor.getItemType() == L2ArmorType.MAGIC))

    [javac]                                 ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\TradeList.java:344: incomparable types: java.lang.Enum<capture#328 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] || item.getItemType() == L2EtcItemType.QUEST)

    [javac]                       ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\TradeList.java:408: incomparable types: java.lang.Enum<capture#255 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(!item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST)

    [javac]                                             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\Inventory.java:210: incomparable types: java.lang.Enum<capture#569 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] if(item.getItemType() == L2WeaponType.BOW)

    [javac]                       ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\Inventory.java:253: incomparable types: java.lang.Enum<capture#890 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] if(item.getItemType() == L2WeaponType.BOW)

    [javac]                       ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\Inventory.java:1330: incomparable types: java.lang.Enum<capture#559 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(!(item.getItem() instanceof L2EtcItem) || item.getItem().getItemType() != L2EtcItemType.ARROW)

    [javac]                                                                           ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:733: incomparable types: java.lang.Enum<capture#536 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB)

    [javac]                                                                                             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:786: incomparable types: java.lang.Enum<capture#351 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB)

    [javac]                                                                                             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\ShortCuts.java:134: incomparable types: java.lang.Enum<capture#944 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(item != null && item.getItemType() == L2EtcItemType.SHOT)

    [javac]                                       ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2497: incomparable types: java.lang.Enum<capture#697 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && ditem.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && ditem.getItemType() == L2EtcItemType.HERB)

    [javac]                                                             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2497: incomparable types: java.lang.Enum<capture#258 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && ditem.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && ditem.getItemType() == L2EtcItemType.HERB)

    [javac]                                                                                                                                               ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\templates\L2Weapon.java:141: inconvertible types

    [javac] found  : java.lang.Enum<capture#421 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] return (L2WeaponType) super._type;

    [javac]                           ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\templates\L2Armor.java:82: inconvertible types

    [javac] found  : java.lang.Enum<capture#491 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] return (L2ArmorType) super._type;

    [javac]                           ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:338: incomparable types: java.lang.Enum<capture#280 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] if(item.type == L2WeaponType.NONE)

    [javac]             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:387: incomparable types: java.lang.Enum<capture#880 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] if(item.type == L2WeaponType.PET)

    [javac]             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:462: incomparable types: java.lang.Enum<capture#641 of ?> and com.l2jfrozen.gameserver.templates.L2ArmorType

    [javac] if(item.type == L2ArmorType.PET)

    [javac]             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\templates\L2EtcItem.java:48: inconvertible types

    [javac] found  : java.lang.Enum<capture#360 of ?>

    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] return (L2EtcItemType) super._type;

    [javac]                             ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Blow.java:159: incomparable types: java.lang.Enum<capture#146 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] soul = (ss && (weapon.getItemType() == L2WeaponType.DAGGER ));

    [javac]                                     ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Pdam.java:137: incomparable types: java.lang.Enum<capture#42 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] soul = (ss && weapon.getItemType() != L2WeaponType.DAGGER);

    [javac]                                   ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\StrSiegeAssault.java:107: incomparable types: java.lang.Enum<capture#426 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType

    [javac] boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER);

    [javac]                                                                                                                         ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:167: incomparable types: java.lang.Enum<capture#824 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && item.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && item.getItemType() == L2EtcItemType.HERB)

    [javac]                                                           ^

    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:167: incomparable types: java.lang.Enum<capture#238 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType

    [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && item.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && item.getItemType() == L2EtcItemType.HERB)

    [javac]                                                                                                                                             ^

 

BUILD FAILED

C:\workspace\L2jFrozen_GameServer\build.xml:65: Error starting modern compiler

 

Total time: 46 seconds

  • 0
Posted

oxi tpt opws einai to exw apo to svn

kanonika na sou pw thes na milame apo skype ligo  : aris10024 h ama den piasei ayto aris 2hard2d1e

i apo msn : crossfireselling@hotmail.com

  • 0
Posted

pedes an to lisate to problem gt den to lete edo na min ksana ginete post....

an dn ine diskolo kane ena post gia na kseroune ke i ali pos na to lisoune.

<lock>

  • 0
Posted

lipon katevasa to kainourgio eclipse me kainourgia version java ta perasa sto eclipse kai ekana compile kai petixe GG!

 

#LOCKED

Guest
This topic is now closed to further replies.


×
×
  • Create New...