# SVN Ignore bin folder? How do you debug?

**URL:** https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386
**Category:** Development
**Created:** [October 25, 2011, 7:00am UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386 "2011-10-25T07:00:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![viewofheaven](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/v/b487fb/32.png) [@viewofheaven](https://forum.vassalengine.org/u/viewofheaven)
#### Post date: [October 25, 2011, 7:00am UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386/1 "2011-10-25T07:00:43Z")

</div>

Hi Joel, all.

How do you debug Vassal? Do you compile it into a “bin” folder, like what Eclipse lets us do? If so, should we commit a “svn:ignore bin” on trunk?

Or should I commit my own “svn:ignore bin” on my own branch (branches/viewport-3.2), and inform Joel to “block” this change? This can be done by lying to the trunk:

Say I commited a “snv:ignore bin” in r123. Say my branch is at ([vassalengine.svn.sourceforge.ne … ewport-3.2](https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/VASSAL-src/branches/viewport-3.2), actually).

[_]svn merge -c r123 --record-only [/_]  
[_]svn status[/_]  
[_]svn propget svn:mergeinfo[/_]  
[_]svn commit -m “Ignoring Jon’s r123”[/_]

What does everyone think about this?

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [October 25, 2011, 8:06pm UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386/2 "2011-10-25T20:06:41Z")

</div>

Thus spake viewofheaven:

> Hi Joel, all.
> 
> How do you debug Vassal? Do you compile it into a “bin” folder, like  
> what Eclipse lets us do? If so, should we commit a “svn:ignore bin” on  
> trunk?

I’m not sure what you’re asking. Can you be more specific about what  
you’re trying to do?

–  
J.

---

<div class="post-metadata">

### Author: ![viewofheaven](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/v/b487fb/32.png) [@viewofheaven](https://forum.vassalengine.org/u/viewofheaven)
#### Post date: [October 26, 2011, 9:54am UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386/3 "2011-10-26T09:54:10Z")

</div>

Commit a “svn:ignore bin” to ignore a bin folder. This folder is generated when I compile Vassal engine in Eclipse, usually for debugging purposes. The Makefile does this differently, and actually doesn’t leave behind traces (such as a bin or tmp folder).

Hence, the question. How do you debug Vassal engine? I don’t wanna commit a “svn:ignore bin” just to suit my Eclipse debug.

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [October 26, 2011, 10:36am UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386/4 "2011-10-26T10:36:11Z")

</div>

Thus spake viewofheaven:

> Commit a “svn:ignore bin” to ignore a bin folder. This folder is  
> generated when I compile Vassal engine in Eclipse, usually for debugging  
> purposes. The Makefile does this differently, and actually doesn’t leave  
> behind traces (such as a bin or tmp folder).
> 
> Hence, the question. How do you debug Vassal engine? I don’t wanna  
> commit a “svn:ignore bin” just to suit my Eclipse debug.

The Makefile puts class files into the classes directory. I have Eclipse  
set to do the same for the rare occasions when I use it.

(Debugging seems like a different issue to me. I use jdb for that.)

–  
J.

---

<div class="post-metadata">

### Author: ![viewofheaven](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/v/b487fb/32.png) [@viewofheaven](https://forum.vassalengine.org/u/viewofheaven)
#### Post date: [October 27, 2011, 3:19pm UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386/5 "2011-10-27T15:19:45Z")

</div>

Well, ok, I guess I’ll simply do a global ignore whenever I wanna play with VassalEngine coding. Note point fixing Vassal files for any particular IDE. But if we are to commit a svn:ignore, I’d recommend ignoring “classes”, and not “bin”.

Note to anyone else who might need this. Just set SVN client (say TortoiseSVN) thus:

[_]TortoiseSVN[/_]  
[_]Settings[/_]  
[_]Under “General” page[/_]  
[_]Under “Subversion” section[/_]  
[_]Field “Global ignore pattern”[/_]  
[_]Append " classes" (without quotes)[/_]

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [October 27, 2011, 7:28pm UTC](https://forum.vassalengine.org/t/svn-ignore-bin-folder-how-do-you-debug/4386/6 "2011-10-27T19:28:37Z")

</div>

Thus spake viewofheaven:

> Well, ok, I guess I’ll simply do a global ignore whenever I wanna play  
> with VassalEngine coding. Note point fixing Vassal files for any  
> particular IDE. But if we are to commit a svn:ignore, I’d recommend  
> ignoring “classes”, and not “bin”.
> 
> Note to anyone else who might need this. Just set SVN client (say  
> TortoiseSVN) thus:
> 
> - TortoiseSVN
> - Settings
> - Under “General” page
> - Under “Subversion” section
> - Field “Global ignore pattern”
> - Append " classes" (without quotes)

On reflection, “bin” is the standard name, so I’ve switched the Makefile  
to use that instead of “classes” for binary output, and added some  
svn:ignores. Should have done that long ago.

–  
J.
