Page 1 of 1

Missing inports

PostPosted: 10 Jan 2015, 08:23
by laxika
Hy guys!

I'm trying to check out card developement. I set up the project in IntelliJ and made my first card but can't compile the server because I get constant compile errors because mage.server.util.config not exists or at least my IDE can't find it.

Code: Select all
Error:(45, 31) java: package mage.server.util.config does not exist
Error:(46, 31) java: package mage.server.util.config does not exist
Error:(305, 40) java: cannot find symbol
  symbol:   class Plugin
  location: class mage.server.Main
Error:(318, 43) java: cannot find symbol
  symbol:   class GamePlugin
  location: class mage.server.Main
Error:(331, 54) java: cannot find symbol
  symbol:   class GamePlugin
  location: class mage.server.Main
Error:(122, 14) java: cannot find symbol
  symbol:   class GamePlugin
  location: class mage.server.Main
Tired to find them on github too but can't. Where are these classes?

Re: Missing inports

PostPosted: 10 Jan 2015, 13:23
by LevelX
That are the automatically generated XJC sources.

They were generated as I (clean and) build the server project (at least by using Netbeans).

MageServerUtil.jpg

Re: Missing inports

PostPosted: 10 Jan 2015, 18:36
by laxika
Well, I never saw XJC sources before. :) Thanks for the help. I was able to solve the issue and uploaded my first card ever. Made a pull request on github. I'll do more soon.