Tag: java

NBGit to remote host with ssh

I´m trying to get that working: clone a git project from an ssh server with NBGit. I get NBGit installed, works well local, but when given the connection parameters I´m not sure what is the right URL. Or maybe it is not supported at the moment? NBGit 0.4 for NB 6.9.1 on Win7

Maven – Error Releasing Code to GitHub (Hangs After Push)

I’m attempting to run the mvn release:prepare goal and it’s hanging after the push. Any idea what I could be doing wrong? [INFO] [INFO] ———————————————————————— [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] ———————————————————————— [INFO] [INFO] Total time: 8 seconds [INFO] [INFO] Finished at: Tue Jul 13 23:54:59 PDT 2010 [INFO] [INFO] Final Memory: 55M/294M [INFO] [INFO] […]

How to import a GIT non-Eclipse Java project into Eclipse?

I have some problems importing a Java project into my workspace. I am following this tutorial – however I can not use the final Import existing projects step because the GIT repository I use does not include the Eclipse specific .project and .classpath files. Use the New Projects wizard Therefore the project is not recognizes […]

Typical .gitignore file for an Android app

Just put an Android project under git (beanstalk) version control via the command line (mac terminal). Next step is to set up exclusions. To those of you who have already been down this path: What should a typical .gitignore file look like for an android project? Project set up in Eclipse

Best practice to store .jar files in VCS (SVN, Git, …)

I know, in the time of Maven it is not recommended to store libraries in VCS, but sometimes it makes sense, though. My question is how to best store them – compressed or uncompressed? Uncompressed they are larger, but if they are replaced a couple of times with newer ones, then maybe the stored difference […]

Best way to add Gradle support to IntelliJ Project

I have looked around quite a bit and haven’t found the best solution to convert an existing IntelliJ project to Gradle. I work in a team environment and we currently share the .ipr file as we have a few build configurations that we track. We will be getting rid of those in favor of Gradle […]

How to “cat” a file in JGit?

A while back I was looking for an embeddable distributed version control system in Java, and I think I have found it in JGit, which is a pure Java implementation of git. However, there is not much in the way of sample code or tutorials. How can I use JGit to retrieve the HEAD version […]

Eclipse “Error: Could not find or load main class”

I have a project in eclipse on my laptop that I pushed to Git https://github.com/chrisbramm/LastFM-History-Graph.git It works fully on my laptop and runs/builds without a problem but on my desktop it doesn’t Eclipse gives the error Error: Could not find or load the main class lastfmhistoryguis.InputPanel I’ve tried building the project from: Project>Build Project But […]

Git Baby is a git and github fan, let's start git clone.