Re: [Freecol-developers] How to build in IntelliJ
Hi! Thanks for the answers! Didn't see the mails because I had accidentally turned on the digest mode. Anyway, I tried the 'ant clean' and it didn't work in IntelliJ, but it builds in the console which works fine for me. I'll try to read the code a bit and see how stuff works. /Claes On Mon, 27 Feb 2017 at 21:52 Claes Mogren 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 reference non-static method getId() cannot be referenced from a static context Does 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
Re: [Freecol-developers] How to build in IntelliJ
I frequently build on Linux and run on Windows, but sometimes I need to run and clean. When that's said, I just use it on the command line. Think I used netbeans once too.. Den 28. feb. 2017 3.39 PM skrev win...@genial.ms: 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" An: "FreeCol Developers" 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.mogren@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 reference non-static method getId() cannot be referenced from a static context Does 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 -- 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
Re: [Freecol-developers] How to build in IntelliJ
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" An: "FreeCol Developers" 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 reference non-static method getId() cannot be referenced from a static context Does 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 -- 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
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" 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 reference non-static method getId() cannot be referenced from a static context Does 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
[Freecol-developers] How to build in IntelliJ
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 reference non-static method getId() cannot be referenced from a static context Does 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