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

редактирование build.xml

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

Добрый день.Подскажите ,после добавления\редактирования коммитов в исходах не могу собрать(компильнуть) сборку,после ред. коммитов нужно менять что-то в build.xml.Или в чем может быть ошибка ,дайте направление куда смотреть.

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


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

Добрый день.Подскажите ,после добавления\редактирования коммитов в исходах не могу собрать(компильнуть) сборку,после ред. коммитов нужно менять что-то в build.xml.Или в чем может быть ошибка ,дайте направление куда смотреть.

Покажи логи.

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


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

Покажи логи.


init:
    [mkdir] Created dir: D:\fix\build
    [mkdir] Created dir: D:\fix\build\classes
    [mkdir] Created dir: D:\fix\build\dist

compile:
    [javac] D:\fix\build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 757 source files to D:\fix\build\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:37: warning: '_' used as an identifier
    [javac] 	private static final String _ = "\t";
    [javac] 	                            ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 
    [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:42: warning: '_' used as an identifier
    [javac] 		output.append(_);
    [javac] 		              ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 
    [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:44: warning: '_' used as an identifier
    [javac] 		output.append(_);
    [javac] 		              ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 
    [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:46: warning: '_' used as an identifier
    [javac] 		output.append(_);
    [javac] 		              ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 
    [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:48: warning: '_' used as an identifier
    [javac] 		output.append(_);
    [javac] 		              ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:318: error: cannot find symbol
    [javac] 	private L2Alliance _alliance;
    [javac] 	        ^
    [javac]   symbol:   class L2Alliance
    [javac]   location: class L2PcInstance
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:3457: error: cannot find symbol
    [javac] 	public void setAlliance(L2Alliance alliance)
    [javac] 	                        ^
    [javac]   symbol:   class L2Alliance
    [javac]   location: class L2PcInstance
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:3472: error: cannot find symbol
    [javac] 	public L2Alliance getAlliance()
    [javac] 	       ^
    [javac]   symbol:   class L2Alliance
    [javac]   location: class L2PcInstance
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Skill.java:1129: warning: [cast] redundant cast to L2Character
    [javac] 			        targetList.add((L2Character)targ);
    [javac] 			                       ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Object.java:463: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Object.java:473: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onActionShift(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:418: warning: [rawtypes] found raw type: Future
    [javac] 	private Future _regTask;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:525: warning: [rawtypes] found raw type: Future
    [javac] 	private Future _skillCast;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:2972: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 			JBForth.events.onKill(this, (L2PcInstance)killer);
    [javac] 			              ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:5319: warning: [rawtypes] found raw type: Future
    [javac] 	private Future _PvPRegTask;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:383: warning: [rawtypes] found raw type: Future
    [javac] 	private Future _taskAutoSoulShot = null;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:1880: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:2561: warning: [cast] redundant cast to int
    [javac] 		int karmaLost = (int)Math.round(Config.KARMA_LOST_BASE * getLevel()*getLevel()/100);
    [javac] 		                ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:4068: error: cannot find symbol
    [javac] 					player.setAlliance(ClanTable.getInstance().getAlliance(allyId));
    [javac] 					                                          ^
    [javac]   symbol:   method getAlliance(int)
    [javac]   location: class ClanTable
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5983: error: cannot find symbol
    [javac]     	if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0))
    [javac]     	              ^
    [javac]   symbol:   method getWarList()
    [javac]   location: class L2Clan
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5983: error: cannot find symbol
    [javac]     	if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0))
    [javac]     	                                                ^
    [javac]   symbol:   method getWarList()
    [javac]   location: class L2Clan
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5984: error: cannot find symbol
    [javac]     		if (getClan().getWarList().contains(id)) return 1;
    [javac]     		             ^
    [javac]   symbol:   method getWarList()
    [javac]   location: class L2Clan
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5997: error: cannot find symbol
    [javac] 		if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0))
    [javac] 		              ^
    [javac]   symbol:   method getWarList()
    [javac]   location: class L2Clan
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5997: error: cannot find symbol
    [javac] 		if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0))
    [javac] 		                                                ^
    [javac]   symbol:   method getWarList()
    [javac]   location: class L2Clan
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2ItemInstance.java:323: warning: [rawtypes] found raw type: Enum
    [javac] 	public Enum getItemType()
    [javac] 	       ^
    [javac]   missing type arguments for generic class Enum<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Enum<E> declared in class Enum
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2ItemInstance.java:418: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Summon.java:52: warning: [rawtypes] found raw type: Future
    [javac] 	protected Future _decayTask;
    [javac] 	          ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Summon.java:111: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Radar.java:71: warning: [overrides] Class L2Radar.RadarMarker overrides equals, but neither it nor any superclass overrides hashCode method
    [javac]     public class RadarMarker
    [javac]            ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\templates\L2Item.java:127: warning: [rawtypes] found raw type: Enum
    [javac] 	public final Enum type;
    [javac] 	             ^
    [javac]   missing type arguments for generic class Enum<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Enum<E> declared in class Enum
    [javac] D:\fix\java\net\sf\l2j\gameserver\templates\L2Item.java:150: warning: [rawtypes] found raw type: Enum
    [javac] 	protected L2Item(Enum type, StatsSet set)
    [javac] 	                 ^
    [javac]   missing type arguments for generic class Enum<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Enum<E> declared in class Enum
    [javac] D:\fix\java\net\sf\l2j\gameserver\templates\L2Item.java:173: warning: [rawtypes] found raw type: Enum
    [javac] 	public Enum getItemType()
    [javac] 	       ^
    [javac]   missing type arguments for generic class Enum<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Enum<E> declared in class Enum
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2CubicInstance.java:56: warning: [rawtypes] found raw type: Future
    [javac]     private Future _disappearTask;
    [javac]             ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2CubicInstance.java:57: warning: [rawtypes] found raw type: Future
    [javac]     private Future _actionTask;
    [javac]             ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2NpcInstance.java:77: warning: [rawtypes] found raw type: Future
    [javac] 	private Future _decayTask;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2NpcInstance.java:362: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2NpcInstance.java:469: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onActionShift(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\waypoint\WayPointNode.java:107: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\UserVar.java:30: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		Word w = JBForth.core.dict.get(name);
    [javac] 		                     ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\UserVar.java:43: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		Word w = JBForth.core.dict.get(name);
    [javac] 		                     ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\ai\AbstractAI.java:120: warning: [rawtypes] found raw type: Future
    [javac] 	protected Future _follow_task = null;
    [javac] 	          ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DropData.java:31: warning: [overrides] Class L2DropData overrides equals, but neither it nor any superclass overrides hashCode method
    [javac] public class L2DropData
    [javac]        ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Effect.java:150: warning: [rawtypes] found raw type: ScheduledFuture
    [javac] 	private ScheduledFuture _currentFuture;
    [javac] 	        ^
    [javac]   missing type arguments for generic class ScheduledFuture<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface ScheduledFuture
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Effect.java:457: warning: [rawtypes] found raw type: ScheduledFuture
    [javac] 		ScheduledFuture future = _currentFuture;
    [javac] 		^
    [javac]   missing type arguments for generic class ScheduledFuture<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface ScheduledFuture
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Effect.java:472: warning: [rawtypes] found raw type: ScheduledFuture
    [javac] 		ScheduledFuture future = _currentFuture;
    [javac] 		^
    [javac]   missing type arguments for generic class ScheduledFuture<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface ScheduledFuture
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:34: warning: [rawtypes] found raw type: Class
    [javac] 	public final Class _func;
    [javac] 	             ^
    [javac]   missing type arguments for generic class Class<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:35: warning: [rawtypes] found raw type: Constructor
    [javac] 	public final Constructor _constructor;
    [javac] 	             ^
    [javac]   missing type arguments for generic class Constructor<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Constructor
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:54: warning: [rawtypes] found raw type: Class
    [javac] 				new Class[]{
    [javac] 				    ^
    [javac]   missing type arguments for generic class Class<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:53: warning: [unchecked] unchecked call to getConstructor(Class<?>...) as a member of the raw type Class
    [javac] 			_constructor = _func.getConstructor(
    [javac] 			                                   ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\EffectTemplate.java:38: warning: [rawtypes] found raw type: Class
    [javac] 	private final Class _func;
    [javac] 	              ^
    [javac]   missing type arguments for generic class Class<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\EffectTemplate.java:39: warning: [rawtypes] found raw type: Constructor
    [javac] 	private final Constructor _constructor;
    [javac] 	              ^
    [javac]   missing type arguments for generic class Constructor<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Constructor
    [javac] D:\fix\java\net\sf\l2j\gameserver\skills\EffectTemplate.java:76: warning: [unchecked] unchecked call to getConstructor(Class<?>...) as a member of the raw type Class
    [javac] 		try  { _constructor = _func.getConstructor(Env.class, EffectTemplate.class); } 
    [javac] 		                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] D:\fix\java\net\sf\l2j\gameserver\templates\StatsSet.java:334: warning: [rawtypes] found raw type: Enum
    [javac] 	public void set(String name, Enum value)
    [javac] 	                             ^
    [javac]   missing type arguments for generic class Enum<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Enum<E> declared in class Enum
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:167: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		current.set(core.dict);
    [javac] 		                ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:168: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		context.set(core.dict);
    [javac] 		                ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:171: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		s_o.add(core.dict);
    [javac] 		            ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:223: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		return core.dict.get(word_name);
    [javac] 		           ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:228: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		return core.dict.get(word_name) != null;
    [javac] 		           ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:275: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 			Word w = core.dict.get(word_name);
    [javac] 			             ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:462: warning: [rawtypes] found raw type: Class
    [javac] 		Class elementType = oldArray.getClass().getComponentType();
    [javac] 		^
    [javac]   missing type arguments for generic class Class<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:572: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		try { ((Memory.xvalue)core.dict.get(name)).set(this, value); } 
    [javac] 		                          ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:579: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		try { ret = get(((Memory.xvalue)core.dict.get(name)).addr); } 
    [javac] 		                                    ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:586: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression
    [javac] 		try { ((Memory.xvalue)first_instance.core.dict.get(name)).set(first_instance, value); } 
    [javac] 		                                    ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:586: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		try { ((Memory.xvalue)first_instance.core.dict.get(name)).set(first_instance, value); } 
    [javac] 		                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:593: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression
    [javac] 		try { ret = first_instance.get(((Memory.xvalue)first_instance.core.dict.get(name)).addr); } 
    [javac] 		                                                             ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:593: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		try { ret = first_instance.get(((Memory.xvalue)first_instance.core.dict.get(name)).addr); } 
    [javac] 		                                                                  ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Word.java:56: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression
    [javac]  				((Word)jbf.data[jbf.ws.wp++]).exec(jbf);
    [javac]  				          ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Word.java:60: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression
    [javac] 	 		   	String cur_name = (jbf.ws != null) ? rname(jbf.data[jbf.ws.wp-1]) : "<no name>";
    [javac] 	 		   	                                              ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\ClientThread.java:74: warning: [rawtypes] found raw type: ScheduledFuture
    [javac] 	final ScheduledFuture _autoSaveInDB;
    [javac] 	      ^
    [javac]   missing type arguments for generic class ScheduledFuture<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface ScheduledFuture
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Spawn.java:87: warning: [rawtypes] found raw type: Constructor
    [javac] 	private Constructor _constructor;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Constructor<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Constructor
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Castle.java:229: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Events.java:122: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		Word handler = JBForth.core.dict.get(name);
    [javac] 		                           ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Events.java:138: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression
    [javac] 		Word handler = JBForth.core.dict.get(name);
    [javac] 		                           ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Dict.java:25: warning: [rawtypes] found raw type: ConcurrentHashMap
    [javac]     public ConcurrentHashMap showWords()
    [javac]            ^
    [javac]   missing type arguments for generic class ConcurrentHashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class ConcurrentHashMap
    [javac]     V extends Object declared in class ConcurrentHashMap
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PetInstance.java:69: warning: [rawtypes] found raw type: Future
    [javac] 	private Future _feedTask;
    [javac] 	        ^
    [javac]   missing type arguments for generic class Future<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface Future
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PetInstance.java:176: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DoorInstance.java:55: warning: [rawtypes] found raw type: ScheduledFuture
    [javac]     private ScheduledFuture _autoActionTask;
    [javac]             ^
    [javac]   missing type arguments for generic class ScheduledFuture<V>
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in interface ScheduledFuture
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DoorInstance.java:294: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DoorInstance.java:335: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onActionShift(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:551: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:644: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:662: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:681: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:700: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]             for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                             ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:717: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]         for (L2PcInstance player : L2World.getInstance().getAllPlayers())
    [javac]                                                         ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2ArtefactInstance.java:83: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 		if(JBForth.events.onAction(player, this))
    [javac] 		                 ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\MapRegionTable.java:279: warning: [static] static method should be qualified by type name, Events, instead of by an expression
    [javac] 			Location loc = JBForth.events.onEscape(player);
    [javac] 			                             ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\SelectorThread.java:106: warning: [rawtypes] found raw type: HashMap
    [javac] 	HashMap clients = new HashMap();
    [javac] 	^
    [javac]   missing type arguments for generic class HashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class HashMap
    [javac]     V extends Object declared in class HashMap
    [javac] D:\fix\java\net\sf\l2j\gameserver\SelectorThread.java:106: warning: [rawtypes] found raw type: HashMap
    [javac] 	HashMap clients = new HashMap();
    [javac] 	                      ^
    [javac]   missing type arguments for generic class HashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class HashMap
    [javac]     V extends Object declared in class HashMap
    [javac] D:\fix\java\net\sf\l2j\gameserver\ItemTable.java:73: warning: [rawtypes] found raw type: ConcurrentHashMap
    [javac] 	private static ConcurrentHashMap _item_handlers;
    [javac] 	               ^
    [javac]   missing type arguments for generic class ConcurrentHashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class ConcurrentHashMap
    [javac]     V extends Object declared in class ConcurrentHashMap
    [javac] D:\fix\java\net\sf\l2j\gameserver\ItemTable.java:75: warning: [rawtypes] found raw type: ConcurrentHashMap
    [javac] 	public static final ConcurrentHashMap getItemHandlers()
    [javac] 	                    ^
    [javac]   missing type arguments for generic class ConcurrentHashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class ConcurrentHashMap
    [javac]     V extends Object declared in class ConcurrentHashMap
    [javac] D:\fix\java\net\sf\l2j\gameserver\ItemTable.java:80: warning: [rawtypes] found raw type: ConcurrentHashMap
    [javac] 	public static final void setItemHandlers(ConcurrentHashMap map)
    [javac] 	                                         ^
    [javac]   missing type arguments for generic class ConcurrentHashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class ConcurrentHashMap
    [javac]     V extends Object declared in class ConcurrentHashMap
    [javac] D:\fix\java\net\sf\l2j\gameserver\Shutdown.java:311: warning: [static] static variable should be qualified by type name, GameServer, instead of by an expression
    [javac] 	    Server.gameServer.jbf.execp("on-server-stop");
    [javac] 	                     ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\Shutdown.java:379: warning: [rawtypes] found raw type: ArrayList
    [javac] 		ArrayList guards = L2CastleGuardInstance._castleGuards;
    [javac] 		^
    [javac]   missing type arguments for generic class ArrayList<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] D:\fix\java\net\sf\l2j\gameserver\Shutdown.java:401: warning: [static] static variable should be qualified by type name, GameServer, instead of by an expression
    [javac] 	    Server.gameServer.jbf.execp("on-server-end");
    [javac] 	                     ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:196: warning: [static] static method should be qualified by type name, JBForth, instead of by an expression
    [javac]         Word wt = _jbf.find_word("telnet_"+word);
    [javac]                       ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:197: warning: [static] static method should be qualified by type name, JBForth, instead of by an expression
    [javac]         Word wa = _jbf.find_word("admin_"+word);
    [javac]                       ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:219: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]           playerCount = L2World.getInstance().getAllPlayers().size();     
    [javac]                                              ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:220: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]           objectCount = L2World.getInstance().getAllVisibleObjects().size();
    [javac]                                              ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:235: warning: [rawtypes] found raw type: ConcurrentHashMap
    [javac]           ConcurrentHashMap map = L2World.getInstance().getAllVisibleObjects();
    [javac]           ^
    [javac]   missing type arguments for generic class ConcurrentHashMap<K,V>
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in class ConcurrentHashMap
    [javac]     V extends Object declared in class ConcurrentHashMap
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:235: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]           ConcurrentHashMap map = L2World.getInstance().getAllVisibleObjects();
    [javac]                                                        ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:318: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]             L2PcInstance reciever = L2World.getInstance().getPlayer(name);
    [javac]                                                          ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:388: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]             L2PcInstance player = L2World.getInstance().getPlayer(_usrCommand);
    [javac]                                                        ^
    [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:406: warning: [static] static method should be qualified by type name, L2World, instead of by an expression
    [javac]             L2PcInstance player = L2World.getInstance().getPlayer(_usrCommand);
    [javac]                                                        ^
    [javac] D:\fix\java\net\sf\l2j\gameserver\Item.java:42: warning: [rawtypes] found raw type: Enum
    [javac]     public Enum     type;
    [javac]            ^
    [javac]   missing type arguments for generic class Enum<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Enum<E> declared in class Enum
    [javac] Note: Some input files additionally use unchecked or unsafe operations.
    [javac] 9 errors
    [javac] 100 warnings

BUILD FAILED
D:\fix\build.xml:67: Compile failed; see the compiler error output for details.

Total time: 8 seconds

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


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

 

?

хех. А по теме: тупо ошибки в коде.

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


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

Согласен, 9 ошибок, и все в L2PcInstance.java, смотри код

  • Upvote 1

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


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


8 java не поддерживается!

 

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

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


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

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

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

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

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

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

Войти

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

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

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

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

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