# Looking for (InteliJ using) Mentor

**URL:** https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948
**Category:** Development
**Created:** [July 30, 2020, 2:47pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948 "2020-07-30T14:47:26Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tinjaw](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tinjaw/32/245_2.png) [@tinjaw](https://forum.vassalengine.org/u/tinjaw)
#### Post date: [July 30, 2020, 2:47pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/1 "2020-07-30T14:47:26Z")

</div>

I have been coding Python and Javascript in Jetbrain tools for the past four years. I coded in java in Eclipse over five years ago. I will probably want to make an extension or at least some trait classes. I know the team uses Eclipse mostly, but I would like to work with IntelliJ since it will be familiar ground for me. Is there anybody out there that will help me getting master to compile properly on macOS in IntelliJ?

---

<div class="post-metadata">

### Author: ![Flint1b](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/flint1b/32/246_2.png) [@Flint1b](https://forum.vassalengine.org/u/Flint1b)
#### Post date: [July 30, 2020, 5:24pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/2 "2020-07-30T17:24:34Z")

</div>

I think I talked the last Eclipse users on the team into using something else, no one uses Eclipse anymore 😃

To compile properly you only need Java installed, the rest will be done by the maven wrapper, you just run “./mvnw clean package” from the command line and it compiles.

With IntelliJ, you tell it to import the project, show it the pom.xml in the project’s root folder, and everything else is done automatically. If you run into specific errors, let us know and we will help.

---

<div class="post-metadata">

### Author: ![Cattlesquat](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cattlesquat/32/241_2.png) [@Cattlesquat](https://forum.vassalengine.org/u/Cattlesquat)
#### Post date: [July 30, 2020, 6:32pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/3 "2020-07-30T18:32:38Z")

</div>

Yeah you picked the right IDE to already be familiar with. Flint1b can totally get you up and running. Check the articles on the Wiki for setting up “git” and stuff to pull the source down if you haven’t already, and then the maven commands will basically the rest of it all set up for you.

---

<div class="post-metadata">

### Author: ![tinjaw](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tinjaw/32/245_2.png) [@tinjaw](https://forum.vassalengine.org/u/tinjaw)
#### Post date: [July 30, 2020, 7:10pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/4 "2020-07-30T19:10:51Z")

</div>

I just made a successful build.

How do you suggest I run/debug it in IntelliJ? I assume I need to set up a run configuration, but what are the particulars that you folks find work best?

---

<div class="post-metadata">

### Author: ![Flint1b](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/flint1b/32/246_2.png) [@Flint1b](https://forum.vassalengine.org/u/Flint1b)
#### Post date: [July 30, 2020, 8:53pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/5 "2020-07-30T20:53:21Z")

</div>

Run it like this, don’t pay attention to the custom VM options, you don’t need them, I just like to play around with those:

[attachment=0]Screenshot from 2020-07-26 23-29-20.png[/attachment]

---

<div class="post-metadata">

### Author: ![Cattlesquat](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cattlesquat/32/241_2.png) [@Cattlesquat](https://forum.vassalengine.org/u/Cattlesquat)
#### Post date: [July 30, 2020, 8:59pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/6 "2020-07-30T20:59:16Z")

</div>

Be sure you notice & use that --standalone command line switch when debugging.

---

<div class="post-metadata">

### Author: ![tinjaw](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tinjaw/32/245_2.png) [@tinjaw](https://forum.vassalengine.org/u/tinjaw)
#### Post date: [July 30, 2020, 9:35pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/7 "2020-07-30T21:35:28Z")

</div>

I am getting an error.

---

<div class="post-metadata">

### Author: ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)
#### Post date: [July 30, 2020, 9:38pm UTC](https://forum.vassalengine.org/t/looking-for-intelij-using-mentor/10948/8 "2020-07-30T21:38:39Z")

</div>

The module pathname needs to be in quotes when it contains spaces.
