fnat1c 9 Опубликовано 20 августа, 2015 (изменено) Всем доброго времени суток. Наткнулся на данную проблему. У меня есть исходник, я уже сделал компиляцию. В папке Build > dist >, должна появиться папка Scripts, но его там нету, вместо него в папке Build > появился папка Classes, в логе компиляции error(ов) нету, только warning. init:compile-commons:[delete] Deleting directory C:\jts\build\classes[mkdir] Created dir: C:\jts\build\classes[javac] Compiling 79 source files to C:\jts\build\classes[javac] C:\jts\java\jts\commons\collections\JoinedIterator.java:29: warning: [rawtypes] found raw type: Iterator[javac] this(iterators.toArray(new Iterator[iterators.size()]));[javac] ^[javac] missing type arguments for generic class Iterator[javac] where E is a type-variable:[javac] E extends Object declared in interface Iterator[javac] 1 warningcommons-jar:[jar] Building jar: C:\jts\build\commons.jarcompile-authserver:[delete] Deleting directory C:\jts\build\classes[mkdir] Created dir: C:\jts\build\classes[javac] Compiling 62 source files to C:\jts\build\classes[javac] C:\jts\java\jts\loginserver\crypt\PasswordHash.java:18: warning: [static] static variable should be qualified by type name, PasswordHash, instead of by an expression[javac] this.name = name;[javac] ^[javac] C:\jts\java\jts\loginserver\clientpackets\RequestAuthLogin.java:74: warning: [static] static method should be qualified by type name, PasswordHash, instead of by an expression[javac] String passwordHash = Config.DEFAULT_CRYPT.encrypt(password);[javac] ^[javac] C:\jts\java\jts\loginserver\gameservercon\gspackets\ChangePassword.java:71: warning: [static] static method should be qualified by type name, PasswordHash, instead of by an expression[javac] statement.setString(1, Config.DEFAULT_CRYPT.encrypt(newPass));[javac] ^[javac] 3 warningsauthserver-jar:[jar] Building jar: C:\jts\build\loginserver.jarauthserver:[copy] Copying 1 file to C:\jts\build\dist\loginserver\lib[copy] Copying 1 file to C:\jts\build\dist\loginserver\lib[copy] Copying 2 files to C:\jts\build\dist\gameserver\libcompile-gameserver:[delete] Deleting directory C:\jts\build\classes[mkdir] Created dir: C:\jts\build\classes[javac] Compiling 1750 source files to C:\jts\build\classes[javac] C:\jts\java\jts\gameserver\model\Zone.java:694: warning: [cast] redundant cast to Creature[javac] if (((cha = (Creature)this._objects.get(i)) != null) && (cha.isNpc())) {[javac] ^[javac] C:\jts\java\jts\gameserver\model\Creature.java:1559: warning: [fallthrough] possible fall-through into case[javac] default:[javac] ^[javac] C:\jts\java\jts\gameserver\model\entity\residence\Castle.java:741: warning: [unchecked] unchecked conversion[javac] List list = _relatedFortresses.get(Fortress.DOMAIN);[javac] ^[javac] required: List[javac] found: List[javac] C:\jts\java\jts\gameserver\model\instances\TamedBeastInstance.java:42: warning: [rawtypes] found raw type: Entry[javac] private static final Map.Entry[] TAMED_DATA = new Map.Entry[6];[javac] ^[javac] missing type arguments for generic class Entry[javac] where K,V are type-variables:[javac] K extends Object declared in interface Entry[javac] V extends Object declared in interface Entry[javac] C:\jts\java\jts\gameserver\stats\funcs\FuncTemplate.java:36: warning: [rawtypes] found raw type: Class[javac] _constructor = _func.getConstructor(new Class[] { Stats.class, // stats to update[javac] ^[javac] missing type arguments for generic class Class[javac] where T is a type-variable:[javac] T extends Object declared in class Class[javac] C:\jts\java\jts\gameserver\GameServer.java:328: warning: [rawtypes] found raw type: SelectorThread[javac] _selectorThreads = new SelectorThread[Config.PORTS_GAME.length];[javac] ^[javac] missing type arguments for generic class SelectorThread[javac] where T is a type-variable:[javac] T extends MMOClient declared in class SelectorThread[javac] C:\jts\java\jts\gameserver\common\BuffScheme.java:39: warning: [cast] redundant cast to Document[javac] Document document = (Document) dbf.newDocumentBuilder().parse(file);[javac] ^[javac] C:\jts\java\jts\gameserver\common\TeleportPoint.java:61: warning: [cast] redundant cast to Document[javac] Document document = (Document) dbf.newDocumentBuilder().parse(file);[javac] ^[javac] C:\jts\java\jts\gameserver\data\xml\parser\CharTemplateParser.java:45: warning: [cast] redundant cast to Element[javac] Element element = (org.dom4j.Element) interator.next();[javac] ^[javac] C:\jts\java\jts\gameserver\data\xml\parser\CharTemplateParser.java:54: warning: [cast] redundant cast to Element[javac] Element templat = (org.dom4j.Element) template.next();[javac] ^[javac] C:\jts\java\jts\gameserver\instancemanager\AutoHuntingManager.java:297: warning: [cast] redundant cast to Long[javac] long delay = System.currentTimeMillis() - ((Long)_lockedReporters.get(Integer.valueOf(reporter.getObjectId()))).longValue();[javac] ^[javac] C:\jts\java\jts\gameserver\instancemanager\DragonValleyManager.java:66: warning: [empty] empty statement after if[javac] if(tx >= rx && tx <= rx && ty >= ry && ty <= ry);[javac] ^[javac] C:\jts\java\jts\gameserver\instancemanager\itemauction\ItemAuction.java:328: warning: [cast] redundant cast to ItemAuctionBid[javac] bid = (ItemAuctionBid)itr.value();[javac] ^[javac] C:\jts\java\jts\gameserver\instancemanager\itemauction\ItemAuction.java:427: warning: [cast] redundant cast to ItemAuctionBid[javac] return (ItemAuctionBid)this._auctionBids.get(charId);[javac] ^[javac] C:\jts\java\jts\gameserver\network\clientpackets\RequestPledgeReorganizeMember.java:76: warning: [static] static method should be qualified by type name, Clan, instead of by an expression[javac] if(clan.isAcademy(_targetUnit))[javac] ^[javac] C:\jts\java\jts\gameserver\network\clientpackets\RequestPledgeReorganizeMember.java:86: warning: [static] static method should be qualified by type name, Clan, instead of by an expression[javac] if(clan.isAcademy(subject.getPledgeType()))[javac] ^[javac] C:\jts\java\jts\gameserver\network\serverpackets\ExReceiveOlympiad.java:70: warning: [rawtypes] found raw type: ArrayList[javac] private List[] _players = new ArrayList[2];[javac] ^[javac] missing type arguments for generic class ArrayList[javac] where E is a type-variable:[javac] E extends Object declared in class ArrayList[javac] 17 warningsgameserver-jar:[jar] Building jar: C:\jts\build\gameserver.jargameserver:[copy] Copying 1 file to C:\jts\build\dist\gameserver\lib[delete] Deleting directory C:\jts\build\classescompile-scripts:[copy] Copying 2 files to C:\jts\lib[mkdir] Created dir: C:\jts\build\classes[javac] Compiling 1265 source files to C:\jts\build\classesscripts-jar:[jar] Building jar: C:\jts\build\scripts.jarscripts:[copy] Copying 1 file to C:\jts\build\dist\gameserver\libdist:BUILD SUCCESSFULTotal time: 1 minute 48 seconds ,v>,> Изменено 20 августа, 2015 пользователем fnat1c Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
Reliable 119 Опубликовано 20 августа, 2015 Скорее всего есть либа скриптов Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
LifeGame32 312 Опубликовано 20 августа, 2015 compile-scripts: [copy] Copying 2 files to C:\jts\lib [mkdir] Created dir: C:\jts\build\classes [javac] Compiling 1265 source files to C:\jts\build\classes scripts-jar: [jar] Building jar: C:\jts\build\scripts.jar scripts: [copy] Copying 1 file to C:\jts\build\dist\gameserver\lib Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты