Перейти к содержанию
Авторизация  
BAS

Ошибки при компиляции

Рекомендуемые сообщения

Помогите скомпилить исходники.У меня при компиляции в файле с логами есть куча ошибок.Хотелось бы узнать из за чего и чем они вызваны.Вот сам лог: compile.rar

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

в build.xml будет пару строк похожие на эту

<exec dir="${basedir}" executable="svnversion" outputproperty="build.revision" failifexecutionfails="false">
	<arg line="-n ${src.commons}" />
</exec>

удали их, а остальное это просто предупреждения.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

в build.xml будет пару строк похожие на эту

<exec dir="${basedir}" executable="svnversion" outputproperty="build.revision" failifexecutionfails="false">
	<arg line="-n ${src.commons}" />
</exec>

удали их, а остальное это просто предупреждения.

Спасибо это уже понял и сделал.

Хотелось бы избавиться от warnings хоть они и не критичны, но всё же напрягают глаз)))

В данный момент всё выглядит как то так:

 

 

init:

[mkdir] Created dir: C:\source\build

 

compile-commons:

[mkdir] Created dir: C:\source\build\classes

[javac] Compiling 78 source files to C:\source\build\classes

[javac] C:\source\commons\src\main\java\org\mmocore\commons\dbcp\BasicDataSource.java:44: warning: [unchecked] unchecked call to GenericObjectPool(org.apache.commons.pool.PoolableObjectFactory) as a member of the raw type org.apache.commons.pool.impl.GenericObjectPool

[javac] GenericObjectPool connectionPool = new GenericObjectPool(null);

[javac] ^

[javac] C:\source\commons\src\main\java\org\mmocore\commons\dbcp\BasicDataSource.java:59: warning: [unchecked] unchecked call to GenericKeyedObjectPoolFactory(org.apache.commons.pool.KeyedPoolableObjectFactory,int,byte,long,int,int) as a member of the raw type org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory

[javac] statementPoolFactory = new GenericKeyedObjectPoolFactory(null, -1, GenericObjectPool.WHEN_EXHAUSTED_FAIL, 0L, 1, GenericKeyedObjectPool.DEFAULT_MAX_TOTAL);

[javac] ^

[javac] C:\source\commons\src\main\java\org\mmocore\commons\util\TroveUtils.java:22: warning: [serial] serializable class org.mmocore.commons.util.TroveUtils.TIntObjectHashMapEmpty has no definition of serialVersionUID

[javac] private static class TIntObjectHashMapEmpty extends TIntObjectHashMap

[javac] ^

[javac] C:\source\commons\src\main\java\org\mmocore\commons\util\TroveUtils.java:42: warning: [serial] serializable class org.mmocore.commons.util.TroveUtils.TIntArrayListEmpty has no definition of serialVersionUID

[javac] private static class TIntArrayListEmpty extends TIntArrayList

[javac] ^

[javac] 4 warnings

 

compile-authserver:

[delete] Deleting directory C:\source\build\classes

[mkdir] Created dir: C:\source\build\classes

[javac] Compiling 53 source files to C:\source\build\classes

 

authserver:

[mkdir] Created dir: C:\source\build\dist

[mkdir] Created dir: C:\source\build\dist\authserver

[mkdir] Created dir: C:\source\build\dist\authserver\log

[copy] Copying 2 files to C:\source\build\dist\authserver

[copy] Copying 20 files to C:\source\build\dist\authserver

[copy] Copying 15 files to C:\source\build\dist\authserver

 

compile-gameserver:

[delete] Deleting directory C:\source\build\classes

[mkdir] Created dir: C:\source\build\classes

[javac] Compiling 1737 source files to C:\source\build\classes

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:655: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] public void addSpawn(SimpleSpawner spawn)

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:661: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] public void fillSpawns(List si)

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:21: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] import org.mmocore.gameserver.model.SimpleSpawner;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:60: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] private List _spawns = new CopyOnWriteArrayList();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\DimensionalRiftManager.java:269: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] private final List _roomSpawns;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\DimensionalRiftManager.java:299: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] public List getSpawns()

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\InstantZoneParser.java:24: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] import org.mmocore.gameserver.templates.InstantZone.SpawnInfo;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\admincommands\impl\AdminServer.java:15: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] import org.mmocore.gameserver.model.SimpleSpawner;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\AutoSpawnManager.java:21: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] import org.mmocore.gameserver.model.SimpleSpawner;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\HellboundManager.java:19: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] import org.mmocore.gameserver.model.SimpleSpawner;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\HellboundManager.java:39: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] private static List _spawnList;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:9: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] import org.mmocore.gameserver.model.SimpleSpawner;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\SevenSignsFestival\DarknessFestival.java:11: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] import org.mmocore.gameserver.model.SimpleSpawner;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\skills\DocumentSkill.java:25: warning: [deprecation] org.mmocore.gameserver.skills.DocumentBase in org.mmocore.gameserver.skills has been deprecated

[javac] public final class DocumentSkill extends DocumentBase

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\utils\CertificationFunctions.java:10: warning: [deprecation] org.mmocore.gameserver.scripts.Functions in org.mmocore.gameserver.scripts has been deprecated

[javac] import org.mmocore.gameserver.scripts.Functions;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\Player.java:731: warning: [deprecation] broadcastMessageToPartyMembers(java.lang.String) in org.mmocore.gameserver.model.Party has been deprecated

[javac] party.broadcastMessageToPartyMembers(getName() + " has been removed from the upcoming festival."); //TODO [G1ta0] custom message

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\Player.java:841: warning: [deprecation] broadcastMessageToPartyMembers(java.lang.String) in org.mmocore.gameserver.model.Party has been deprecated

[javac] party.broadcastMessageToPartyMembers(getName() + " has been removed from the upcoming festival."); //TODO [G1ta0] custom message

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\utils\Location.java:14: warning: [serial] serializable class org.mmocore.gameserver.utils.Location has no definition of serialVersionUID

[javac] public class Location extends Point3D implements SpawnRange, Serializable

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\actor\instances\player\TpBookMark.java:5: warning: [serial] serializable class org.mmocore.gameserver.model.actor.instances.player.TpBookMark has no definition of serialVersionUID

[javac] public class TpBookMark extends Location

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\residence\ClanHall.java:23: warning: [serial] serializable class org.mmocore.gameserver.model.entity.residence.ClanHall has no definition of serialVersionUID

[javac] public class ClanHall extends Residence

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\residence\Castle.java:41: warning: [serial] serializable class org.mmocore.gameserver.model.entity.residence.Castle has no definition of serialVersionUID

[javac] public class Castle extends Residence

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\residence\Fortress.java:21: warning: [serial] serializable class org.mmocore.gameserver.model.entity.residence.Fortress has no definition of serialVersionUID

[javac] public class Fortress extends Residence

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:665: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] for(InstantZone.SpawnInfo s : si)

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:667: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner c;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:673: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] c = new SimpleSpawner(s.getNpcId());

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:687: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] c = new SimpleSpawner(s.getNpcId());

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:700: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] c = new SimpleSpawner(s.getNpcId());

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:891: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(NpcHolder.getInstance().getTemplate(npcId));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\Reflection.java:891: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(NpcHolder.getInstance().getTemplate(npcId));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\SiegeClanObject.java:19: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.SiegeClanObject has no definition of serialVersionUID

[javac] public class SiegeClanObject implements Serializable

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\DimensionalRiftManager.java:83: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner spawnDat;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\DimensionalRiftManager.java:150: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] spawnDat = new SimpleSpawner(template);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\DimensionalRiftManager.java:276: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] _roomSpawns = new ArrayList();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\DimensionalRift.java:132: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] for(SimpleSpawner s : riftRoom.getSpawns())

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\DimensionalRift.java:134: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = s.clone();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\residence\Dominion.java:21: warning: [serial] serializable class org.mmocore.gameserver.model.entity.residence.Dominion has no definition of serialVersionUID

[javac] public class Dominion extends Residence

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\TeleportLocation.java:7: warning: [serial] serializable class org.mmocore.gameserver.model.TeleportLocation has no definition of serialVersionUID

[javac] public class TeleportLocation extends Location

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:60: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] private List _spawns = new CopyOnWriteArrayList();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:441: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner spawn = new SimpleSpawner(template);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:441: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner spawn = new SimpleSpawner(template);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:466: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] final SimpleSpawner girlSpawn = new SimpleSpawner(girl);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:466: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] final SimpleSpawner girlSpawn = new SimpleSpawner(girl);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\BlockCheckerEngine.java:560: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] for(SimpleSpawner spawn : _spawns)

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\BoatPoint.java:11: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.BoatPoint has no definition of serialVersionUID

[javac] public class BoatPoint extends Location

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\AirshipDockParser.java:52: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element dockElement = (Element) iterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\AirshipDockParser.java:67: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element platformElement = (Element)platformIterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\AirshipDockParser.java:88: warning: [cast] redundant cast to org.dom4j.Element

[javac] list.add(BoatPoint.parse((Element)iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\ArmorSetsParser.java:44: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element element = (Element) iterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\CubicParser.java:54: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element cubicElement = (Element) iterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\CubicParser.java:65: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element skillsElement = (Element)skillsIterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\CubicParser.java:71: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element skillElement = (Element)skillIterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\CubicParser.java:86: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element chanceElement = (Element)chanceIterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\HennaParser.java:64: warning: [cast] redundant cast to org.dom4j.Element

[javac] Element classElement = (Element) classIterator.next();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\InstantZoneParser.java:88: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] SpawnInfo spawnDat = null;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\InstantZoneParser.java:95: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] List spawns = new ArrayList();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\InstantZoneParser.java:95: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] List spawns = new ArrayList();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\InstantZoneParser.java:276: warning: [deprecation] org.mmocore.gameserver.templates.InstantZone.SpawnInfo in org.mmocore.gameserver.templates.InstantZone has been deprecated

[javac] spawnDat = new InstantZone.SpawnInfo(spawnType, mobId, count, respawn, respawnRnd, coords, territory);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\SkillAcquireParser.java:56: warning: [cast] redundant cast to org.dom4j.Element

[javac] getHolder().addAllCertificationLearns(parseSkillLearn((Element) iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\SkillAcquireParser.java:59: warning: [cast] redundant cast to org.dom4j.Element

[javac] getHolder().addAllSubUnitLearns(parseSkillLearn((Element) iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\SkillAcquireParser.java:62: warning: [cast] redundant cast to org.dom4j.Element

[javac] getHolder().addAllPledgeLearns(parseSkillLearn((Element) iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\SkillAcquireParser.java:65: warning: [cast] redundant cast to org.dom4j.Element

[javac] getHolder().addAllCollectionLearns(parseSkillLearn((Element) iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\SkillAcquireParser.java:68: warning: [cast] redundant cast to org.dom4j.Element

[javac] getHolder().addAllFishingLearns(parseSkillLearn((Element) iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\data\xml\parser\SkillAcquireParser.java:71: warning: [cast] redundant cast to org.dom4j.Element

[javac] getHolder().addAllFishingNonDwarfLearns(parseSkillLearn((Element) iterator.next()));

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\admincommands\impl\AdminPolymorph.java:35: warning: [fallthrough] possible fall-through into case

[javac] case admin_polymorph:

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\admincommands\impl\AdminPolymorph.java:59: warning: [fallthrough] possible fall-through into case

[javac] case admin_unpolymorph:

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\admincommands\impl\AdminServer.java:186: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner spawn = new SimpleSpawner(template);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\admincommands\impl\AdminServer.java:186: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner spawn = new SimpleSpawner(template);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\admincommands\impl\AdminSkill.java:315: warning: [deprecation] isLangRus() in org.mmocore.gameserver.model.Player has been deprecated

[javac] replyMSG.append(player.isLangRus() ? "Обновить" : "Refresh");

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\voicecommands\impl\Cfg.java:144: warning: [deprecation] isLangRus() in org.mmocore.gameserver.model.Player has been deprecated

[javac] if (activeChar.isLangRus())

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\voicecommands\impl\Cfg.java:168: warning: [deprecation] isLangRus() in org.mmocore.gameserver.model.Player has been deprecated

[javac] if (activeChar.isLangRus())

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\handler\voicecommands\impl\Help.java:64: warning: [deprecation] org.mmocore.gameserver.scripts.Functions in org.mmocore.gameserver.scripts has been deprecated

[javac] Functions.show(dialog, activeChar, null);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\AutoSpawnManager.java:409: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner newSpawn = new SimpleSpawner(npcTemp);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\AutoSpawnManager.java:409: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner newSpawn = new SimpleSpawner(npcTemp);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\HellboundManager.java:260: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner spawnDat;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\HellboundManager.java:270: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] spawnDat = new SimpleSpawner(template);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\HellboundManager.java:296: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] _spawnList = new ArrayList();

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\HellboundManager.java:396: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] for(SimpleSpawner spawnToDelete : _spawnList)

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\games\FishingChampionShipManager.java:263: warning: [deprecation] isLangRus() in org.mmocore.gameserver.model.Player has been deprecated

[javac] str += "" + x + (pl.isLangRus() ? " Место:" : " Position:") + "";

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\games\FishingChampionShipManager.java:285: warning: [deprecation] isLangRus() in org.mmocore.gameserver.model.Player has been deprecated

[javac] str += "" + x + (pl.isLangRus() ? " Место:" : " Position:") + "";

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:121: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(epidostospawn);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:121: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(epidostospawn);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:150: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(teleCube);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:150: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(teleCube);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:154: warning: [deprecation] org.mmocore.gameserver.scripts.Functions in org.mmocore.gameserver.scripts has been deprecated

[javac] Functions.npcShout(sp.getLastSpawn(), "Teleportation to Beleth Throne Room is available for 2 minutes");

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:196: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(mobId);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\instancemanager\naia\NaiaCoreManager.java:196: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner sp = new SimpleSpawner(mobId);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\SevenSignsFestival\DarknessFestival.java:79: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner npcSpawn = new SimpleSpawner(witchTemplate);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\SevenSignsFestival\DarknessFestival.java:79: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner npcSpawn = new SimpleSpawner(witchTemplate);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\SevenSignsFestival\DarknessFestival.java:163: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] SimpleSpawner npcSpawn;

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\SevenSignsFestival\DarknessFestival.java:164: warning: [deprecation] org.mmocore.gameserver.model.SimpleSpawner in org.mmocore.gameserver.model has been deprecated

[javac] npcSpawn = new SimpleSpawner(npcTemplate);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\AuctionSiegeClanObject.java:9: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.AuctionSiegeClanObject has no definition of serialVersionUID

[javac] public class AuctionSiegeClanObject extends SiegeClanObject

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\CMGSiegeClanObject.java:14: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.CMGSiegeClanObject has no definition of serialVersionUID

[javac] public class CMGSiegeClanObject extends SiegeClanObject

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\CTBSiegeClanObject.java:17: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.CTBSiegeClanObject has no definition of serialVersionUID

[javac] public class CTBSiegeClanObject extends SiegeClanObject

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\KrateisCubePlayerObject.java:20: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.KrateisCubePlayerObject has no definition of serialVersionUID

[javac] public class KrateisCubePlayerObject implements Serializable, Comparable

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\UCMemberObject.java:11: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.UCMemberObject has no definition of serialVersionUID

[javac] public class UCMemberObject implements Serializable

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\UCTeamObject.java:63: warning: [unchecked] unchecked method invocation: addListener(T) in org.mmocore.gameserver.model.Creature is applied to (org.mmocore.commons.listener.Listener)

[javac] player.addListener(listener);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\entity\events\objects\UCTeamObject.java:14: warning: [serial] serializable class org.mmocore.gameserver.model.entity.events.objects.UCTeamObject has no definition of serialVersionUID

[javac] public class UCTeamObject implements Serializable, Iterable

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\model\instances\WeaverInstance.java:207: warning: [deprecation] org.mmocore.gameserver.scripts.Functions in org.mmocore.gameserver.scripts has been deprecated

[javac] Functions.npcSay(this, NpcString.WHAT_A_PREDICAMENT_MY_ATTEMPTS_WERE_UNSUCCESSUFUL);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\network\l2\c2s\RequestExSendPost.java:113: warning: [deprecation] org.mmocore.gameserver.scripts.Functions in org.mmocore.gameserver.scripts has been deprecated

[javac] Functions.sendSystemMail(p, _topic, _body, map);

[javac] ^

[javac] C:\source\gameserver\src\main\java\org\mmocore\gameserver\network\telnet\commands\TelnetPerfomance.java:245: warning: [deprecation] getInMemorySize() in net.sf.ehcache.statistics.LiveCacheStatistics has been deprecated

[javac] sb.append(" getInMemorySize: ............. ").append(cacheStats.getInMemorySize()).append("\n");

[javac] ^

[javac] Note: Some input files additionally use or override a deprecated API.

[javac] 100 warnings

 

gameserver:

[mkdir] Created dir: C:\source\build\dist\gameserver

[mkdir] Created dir: C:\source\build\dist\gameserver\log

[sync] Copying 33341 files to C:\source\build\dist\gameserver

[sync] Removed 1 dangling directory from C:\source\build\dist\gameserver

[copy] Copying 2 files to C:\source\build\dist\gameserver

[copy] Copying 20 files to C:\source\build\dist\gameserver

 

dist:

[zip] Building zip: C:\source\build\mmocore-dist.zip

 

BUILD SUCCESSFUL

Total time: 1 minute 34 seconds

 

 

Изменено пользователем BAS

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

замени в билд файле

<compilerarg value="-Xlint:all" />

на

<compilerarg value="-Xlint:none" />

или убирай всё вручную

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

замени в билд файле

<compilerarg value="-Xlint:all" />

на

<compilerarg value="-Xlint:none" />

или убирай всё вручную

Это исправит warnings или просто их отключит?

Поясните плиз что произойдёт после замены?

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

я шас фиксю ручками все там )) млин не могу понять почему проблема с кейсами с 100 Warnings на 39 Warnings опустил и останавылся так что если кто то сможет помочь с Case-мы буду рад 

Изменено пользователем Autumn

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...