How to run a Maven project from Eclipse?

Well, you need to incorporate exec-maven-plugin, this plug-in performs the same thing that you do on command prompt when you type in java -cp .;jarpaths TestMain. You can pass argument and define which phase (test, package, integration, verify, or deploy), you want this plug-in to call your main class. You need to add this plug-in … Read more

JUnit parameterized tests: how do I run only 1 specific test from IntelliJ/Eclipse?

I just tested this in Eclipse with a simple parameterized test that always fails on test #4. One is able to right-click on the failed test and select Run. Only that test then executes. Result: Frustratingly, I can’t see what Eclipse did to solve the problem. Nothing is apparently altered in the run configuration. In … Read more

Is it possible to host an Eclipse update site on Github?

Forget the Github project releases feature, that won’t work as a true update site (see notes at the end). To achieve what you want, you can create a Github repo, commit/push your p2 repository there and then serve it as an update site, using raw links. So for example, for the repository: https://github.com/some-user/some-repository/ you can … Read more

How to use Eclipse for Ruby on Rails (RoR)

To save you some legwork, in Eclipse: Go to Help -> Install New Software… Click add (top right of popup) Enter a Name like “RadRails2” Enter the location as http://download.aptana.com/tools/radrails/plugin/install/radrails-bundle (for the full Aptana studio Studio 3, instead enter http://download.aptana.com/studio3/plugin/install) Click ok Restart Eclipse Go to Window -> Preferences. You will see Ruby is enlisted … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)