title: .gitignore file for java eclipse project
body: <p>I have java project that uses the Eclipse IDE.</p>
  
  <p>The Eclipse workspace is pointing to this directory:</p>
  
  <pre><code>/home/srvimgprd/BUSPROJ/code_development/dime/executables/clientcode/java_axis/Eclipse
  </code></pre>
  
  <p>I have placed a <code>.gitignore</code> file in <strong>the workspace directory</strong> "Eclipse". See below.</p>
  
  <p>What I need to do is to be able to download the items from the Eclipse directory onto a new machine and then compile with no issue.</p>
  
  <p>Are there any concrete steps to accomplish this task? When using the <code>.gitignore</code> file below, nothing shows up on the target machine.</p>
  
  <hr>
  
  <p>CONTENTS OF ECLIPSE DIRECTORY (on <strong>source</strong> machine):
  /home/srvimgprd/BUSPROJ/code_development/dime/executables/clientcode/java_axis/Eclipse</p>
  
  <hr>
  
  <pre><code>java_axis/Eclipse&gt; ls -lart
  total 48
  drwxr-xr-x 2 imgdev development 4096 2013-09-09 04:53 RemoteSystemsTempFiles
  drwxr-xr-x 4 imgdev development 4096 2013-09-09 04:55 Servers
  drwxr-xr-x 4 imgdev development 4096 2013-09-09 04:58 .metadata
  drwxr-xr-x 6 imgdev development 4096 2013-09-09 05:06 Axis2ClientDimeServer
  drwxr-xr-x 5 imgdev development 4096 2013-09-10 08:30 ..
  -rw-r--r-- 1 imgdev development  307 2013-09-10 08:31 .gitignore
  drwxr-xr-x 6 imgdev development 4096 2013-09-10 08:31 .
  </code></pre>
  
  <hr>
  
  <p>CONTENTS OF .gitignore FILE</p>
  
  <hr>
  
  <pre><code>*target*
  *.jar
  *.war
  *.ear
  *.class
  
  # eclipse specific git ignore
  *.pydevproject
  .project
  .metadata
  bin/**
  tmp/**
  tmp/**/*
  *.tmp
  *.bak
  *.swp
  *~.nib
  local.properties
  .classpath
  .settings/
  .loadpath
  
  # External tool builders
  .externalToolBuilders/
  
  # Locally stored "Eclipse launch configurations"
  *.launch
  </code></pre>