Hi,
I just add my blog on Technorati with the reference : SNHEY74ZG7EV
Wednesday, December 26, 2012
Wednesday, December 12, 2012
Paper about CRaSH : a shell to extends the JVM
I've made an article about an interesting new project : CRaSH
It was published on www.developpez.com.Now it is in french but it will be translate.He is a direct link to this paper : http://damienrieu.developpez.com/article/crash_ehcache_spring/
CRaSH permits to access to the JVM by Shell and then execute scripts that you have mage in JAVA or Groovy ...
It was published on www.developpez.com.Now it is in french but it will be translate.He is a direct link to this paper : http://damienrieu.developpez.com/article/crash_ehcache_spring/
CRaSH permits to access to the JVM by Shell and then execute scripts that you have mage in JAVA or Groovy ...
Saturday, November 10, 2012
IntelliJ : shortcut with kde
Recently, I use IntelliJ with KDE.
I notice that some keymap didn't work.For example, The shortcut ALT + 1 which open the projet window.
I replace it by ALT + NUMPAD 1.
I will try to fill an excel google drive document with shortcuts : here
I notice that some keymap didn't work.For example, The shortcut ALT + 1 which open the projet window.
I replace it by ALT + NUMPAD 1.
I will try to fill an excel google drive document with shortcuts : here
Tuesday, October 16, 2012
Git reminder
Just a git reminder to work with github ...
git checkout master
git fetch upstream
git merge upstream/master
git checkout dashboard
git merge upstream/dashboard
git push --set-upstream origin dashboard
Merge
git mergetool -t kdiff3
git mergetool -t meld
git config --global merge.tool kdiff3
Clean d'un repository :
For example,git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master --force
Revert
- git checkout path/to/file
- For a working copy : git reset --hard
Monday, October 8, 2012
Closure Lambda and Java 8
I found a good link about Closure (Lambda project) of Java 8.With this article, you will have a good idea of what is Lamda : http://java.amitph.com/2012/08/at-first-sight-with-closures-in-java.html
Keep in my, that Java 8 come next year !
Saturday, October 6, 2012
Junit @Rule
Recently,
I've found an article on Junit about annotation @Rule.I didn’t know
this annotation before.I will present you briefly how it works and I
will give you some interesting links.
In earlier version of Junit, we need to declare @SetUp and @TearDown for each test class.
Now, with newer version of Junit, it’s possible to define its own rule with @Rule and you will have the possibility to execute code during test (Same thing than AOP).
To help you to understand, here is some standard rules :
Ref :
http://blog.objetdirect.com/divers/quoi-de-neuf-chez-junit
http://www.dzone.com/links/r/junit_rules_3.html
In earlier version of Junit, we need to declare @SetUp and @TearDown for each test class.
Now, with newer version of Junit, it’s possible to define its own rule with @Rule and you will have the possibility to execute code during test (Same thing than AOP).
To help you to understand, here is some standard rules :
- ExpectedException: check if an exception is thrown during test
- Timeout: check that one test doesn’t exceed a given time
- ExternalResource: Open or close a resource.
- TemporaryFolder: create and destroy a temporary directory.
Ref :
http://blog.objetdirect.com/divers/quoi-de-neuf-chez-junit
http://www.dzone.com/links/r/junit_rules_3.html
Friday, October 5, 2012
Can't import an existing Maven Project with Eclipse Juno and Maven Plugin 1.1.0
Problem
I do the following :
Import -> Maven -> Existing Maven Project
Then I choose My project on disk.
I click Next.I have the Maven Selector Plugin Screen :
If I click on Finish, I wait a long time and I finally I hava an error : Problem occured while performing ...
Solution
In Maven Selector Plugin Screen, just click on resolve All Later button.
It will permit to have the project on Eclipse and after you could resolve problem.
I do the following :
Import -> Maven -> Existing Maven Project
Then I choose My project on disk.
I click Next.I have the Maven Selector Plugin Screen :
If I click on Finish, I wait a long time and I finally I hava an error : Problem occured while performing ...
Solution
In Maven Selector Plugin Screen, just click on resolve All Later button.
It will permit to have the project on Eclipse and after you could resolve problem.
Subscribe to:
Posts (Atom)