I have a little java skill from my programming experience
I am interesting in bdo emulator (early interesting in aion emu haha)
I download this emulator src from http://forum.ragezone.com/f1000/fina...8/index11.html
I use eclipse neon to build a jar
but when I rename this jar to gameserver.jar put it into lib directory this jar does not work well
(yeah I add previous gameserver.jar (in dowload package lib directory) as eclipse project referenced libraries)
just print a little info and load a little configs like below
time:xxx:xx INFO -Loading config file: configs/database.properties
time:xxx:xx INFO -Loading config file: configs/localizingoption.properties
time:xxx:xx INFO -Loading config file: configs/network.properties
time:xxx:xx INFO -Loading config file: configs/database.properties
time:xxx:xx INFO -Loading config file: configs/security.properties
time:xxx:xx INFO -Loading config file: configs/threadpool.properties
time:xxx:xx INFO -Loading config file: configs/xmlrpc.properties
time:xxx:xx INFO -Loading config file: configs/threadpool.properties
like lib/commons.jar META-INF\annotations\com.bdoemu.commons.config.annotation.ConfigFile content list describe
when I unzip jar package I build compare to jar (in download package lib directory)
I foud in META-INFO\annotations directory I miss many files
likes
com.bdoemu.commons.config.annotation.ConfigFile
com.bdoemu.commons.database.mongo.DatabaseCollection
com.bdoemu.commons.reload.Reloadable ....etc
I guess I need put these into my eclipse project
I create a folder names it as META-INF then copy annotations directory all content to this META-INFO folder rebuild a jar put into lib directory and run..
okay anything is ok this jar work I can login and play game
sorry
so many rubbish word
My question is why I need manual copy all annotations directory content(in dowload package build) into my project
why eclipse can't automatic generate these files in jar meta-info folder maybe need some configuration but I dont know?
Iam just surprise to this problem I am a newbie hah
sorry for my english
any help is appreciation
waitting for some word![]()





Reply With Quote

