Hi,
I only tried out IDEA once a long time ago, but I think your problem
is not IDE-related.
You probably ran into the common ant/javac problem that dependant
classes do not get recompiled automatically if their file was not changed,
but another.
Just run "ant clean" before recompiling and it most likely will work!
Greetings,
wintertime
Gesendet: Dienstag, 28. Februar 2017 um 07:00 Uhr
Von: "Caleb Williams" <cale...@gmail.com>
An: "FreeCol Developers" <freecol-developers@lists.sourceforge.net>
Betreff: Re: [Freecol-developers] How to build in IntelliJ
Von: "Caleb Williams" <cale...@gmail.com>
An: "FreeCol Developers" <freecol-developers@lists.sourceforge.net>
Betreff: Re: [Freecol-developers] How to build in IntelliJ
Hi,
Excellent question. Dunno if anyone uses IDEA to develop other than I.
As of a couple months ago, I was able to fully build the Jar file via IDEA using Ant within IDEA. I was able to fully debug the code (with the built-in debugger).
That said, I probably have not tried since somewhere in the September to November range and could not say if the error you experienced is reproducable on my end.
If I remember, I try with the latest revision when I get home from work tomorrow.
Thanks,
Caleb
On Feb 27, 2017 11:52 PM, "Claes Mogren" <claes.mog...@gmail.com> wrote:
Hi,Just a quick question, what should the settings be to set up the FreeCol project in IntelliJ? I tried running the "build" ant command but got the following error:/freecol-git/src/net/sf/freecol/common/networking/RemoveMessage.java (57:28) error: invalid method referencenon-static method getId() cannot be referenced from a static contextDoes FreeCol even build on OS X?Btw, I'm a long-time lurker, glad to see there is still some activity here./Claes
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers