tag:blogger.com,1999:blog-22437056362084473602024-03-13T07:50:10.088-07:00Olivier Lamy runner and open source hackerFrench OpenSource addict living @Brisbane, Australia. Apache committer/Member, Jenkins committer and others.
Also the father of some :-) (four) beautiful kids and husband of a wonderful wife. Also a Running addict
http://home.apache.org/~olamy/ http://twitter.com/olamy https://about.me/olamy
A bit old and still no rolex (but a Suunto ;-) ) neither Champion of nothing neither traveling all around the world to talk about himself in conferences.
But like helping Open Source users as much he can.
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.comBlogger82125tag:blogger.com,1999:blog-2243705636208447360.post-80997304440138489702017-12-01T15:50:00.000-08:002017-12-01T15:51:57.155-08:00Relocating (again :-) )Long time I didn't post anything here... :-)
<br/>
So after 4.5yo with a very happy life @ Melbourne, we have decided to move further north..
<br/>
Mid January we will start new adventures in Brisbane. Very exciting time for us (well kids a bit sad to leave friends but happy to try something different).
<br/>
Some have asking us why if you're happy here :-)
<br/>
Well a bit difficult to answer....
<br/>
Maybe tired of the so famous Melbourne weather....
<br/>
Yes the Brisbane weather looks so great: short pans and thongs all the year :-)
<br/>
Housing is ridiculous expensive @ Melbourne so time to stop paying the someone else mortgage
<br/>
After long time, it's maybe a good idea to leave the comfort zone and try something different.
<br/>
<br/>
Cya soon up north :-)
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-6110053794612030982016-10-31T00:47:00.001-07:002016-10-31T00:47:45.847-07:00Ultra Trail Australia 2016So 14th May 2016, I managed to finish the Ultra Trail Australia 2016 in the Blue Mountains (NSW)
It's 100km with 4500m elevation and down.
<br/>
Well few months later, I won't really write a race report but only post a link to the video I made.
<iframe src="https://player.vimeo.com/video/176199953" width="550" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<p><a href="https://vimeo.com/176199953">Ultra Trail Australia 2016 100km</a> from <a href="https://vimeo.com/user2242352">olamy</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
<br/>
I really enjoyed it!! Hard training make it "easy" except few kilometers with stomach pain (from 35km mark to 56km mark).
<br/>
And I'm crazy enough to register again for 2017. <br/>
Goal: improve my time!!
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-17798291124743109772016-01-23T15:12:00.001-08:002016-01-23T15:20:27.004-08:00Two Bays trail run 2016So I just started the year with a mid distance trail running.<br/>
Last year I did the 28km but decided to go for the 56km this year.<br/>
Training during summer and xmas period is a bit complicated and need some real motivation. But I finally managed to do a decent training.<br/>
The race was a bit complicated with the weather. I had some hard time with the hot (33° in some country bush part!!)<br/>
Bad eating strategy at the start. (eat too much...)<br/>
But so I did it. I would expect better time but the temperature really kills me on the way back. So I must be happy with this 7H for 56km and +1600m/-1600m.<br/>
I managed to build a video. So enjoy how is to run in Australia :-)
<iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/YGFMT1mt3e4" width="480"></iframe>
<br/>
Strava activity <a href="https://www.strava.com/activities/472176831" target="_blank">here</a> (Some GPS issues but I really did 56km :-) ) <br/>
Next race is the <a href="rollercoasterrun.com" target="_blank"> rollercoaster 44km 27th February</a>.<br/>
Then the big one of the year <a href="http://www.ultratrailaustralia.com.au" target="_blank">Ultra Trail Australia</a> 100km in the Blue mountains.<br/>
And maybe the <a href="http://www.rapidascent.com.au/SurfcoastCentury/" target="_blank">Surf coast century</a> for a second time with a sub 12h goal (depends how the body will be in Jun :-) )olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com1tag:blogger.com,1999:blog-2243705636208447360.post-91474950040384969312015-10-08T17:36:00.000-07:002015-10-08T17:36:00.839-07:00SurfCoastCentury 100km the videoSo I finally found a bit of time to make a movie (please be indulgent I'm not a professional :-) )
<br/><br/>
If you have read the <a href="http://olamy.blogspot.com.au/2015/09/surfcoastcentury-100km-my-first-ultra.html" target="_blank">run report</a>,
here the video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/yEdidugQ7RQ" frameborder="0" allowfullscreen></iframe>
<br/><br/>
Yes I enjoyed a <b>LOT</b> :-)
<br/><br/>
I hope after watching this, you will want to come here down under for a little run :-)olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-1884387313065585672015-09-21T20:45:00.000-07:002015-09-22T07:02:46.924-07:00SurfCoastCentury 100km (my first ultra trail)I will try to tell you my journey to achieve this 100km trail called <a href="http://rapidascent.com.au/SurfcoastCentury/" target="_blank">SurfcoatCentury</a> because it happen on the surfcoast trails with some beach runs!<br>
So I wanted to run this race maybe more than a year ago (even before my first marathon which I ran 12 october last year!).<br>
But I have to train a lot first! Especially because I restarted doing sport seriously since around January 2013 (yup only for 18 months :-) ) after many years of very limited sport....<br>
So during this year I managed to train a lot and do various long race bitumen and off road:
<ul>
<li>17 May 2015: Great Ocean Road Marathon (44km )</li>
<li>21 March 2015: RollerCoaster run (44km trail)</li>
<li>11 January 2015: Two bays run (28km trail)</li>
<li>12 Oct 2014: Melbourne Marathon</li>
</ul>
I remember someone saying: "your body must recover so you normally cannot run more than one or two marathons per year".
<br>
My answer was: "As my goal is to run 100km, those marathons are just training :-)"
<br>
Looking at the training log, I have 2000km running since 1st January 2015.<br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-funZNRE0Ejk/VgCucu-fO7I/AAAAAAAAXNc/jD9v1Fjqtgc/s1600/august-training.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-funZNRE0Ejk/VgCucu-fO7I/AAAAAAAAXNc/jD9v1Fjqtgc/s320/august-training.png"></a></div>
The hardest part was the 3 months before the big run. Despite a travel to France early July, I managed to run around 1200km from early June to the race (with a big August peak 470km). The France trip was not too bad as I ran a lot of off road compare to the city style suburb we live in Melbourne.
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-eb3kMyqERV8/VgCwaLRyEcI/AAAAAAAAXNo/oWZ4nZJ07Nw/s1600/IMG_20150918_194919.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-eb3kMyqERV8/VgCwaLRyEcI/AAAAAAAAXNo/oWZ4nZJ07Nw/s400/IMG_20150918_194919.jpg"></a></div>
So here we are the big day!!!. Some stress coming!!! As I never ran more than 44km race (longest training was 48km) I don't know what will happen :-)<br>
This start with the bag packing what to get what to wear etc... What to ask my great support crew to carry for various checkpoints...
<br>
The race start at 6.30am. We managed to find a house just 10 minutes walking from the start. For some reasons, I didn't want to ask my wife to drive me to a race start at 6.30am :-).
<br>
Obviously I didn't sleep a lot!
<br>
The program for today.
<iframe src="https://www.google.com/maps/d/embed?mid=zEnRcPsTMK4w.kaGQTM5Ajy8I" width="640" height="480"></iframe>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-qiPC14lJuhE/VgC8-BwI2XI/AAAAAAAAXOo/BhKO5bnVmp0/s1600/fullcourse-elevation-profiles.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-qiPC14lJuhE/VgC8-BwI2XI/AAAAAAAAXOo/BhKO5bnVmp0/s640/fullcourse-elevation-profiles.jpg"></a></div>
<p>
</p><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-LHqrCAYO9bY/VgCzC3TJVLI/AAAAAAAAXNw/sOFqmlfMJ-c/s1600/G0010564.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-LHqrCAYO9bY/VgCzC3TJVLI/AAAAAAAAXNw/sOFqmlfMJ-c/s400/G0010564.JPG"></a></div>
So here we are race start on a beach with an amazing sunrise!!! (for some reasons my wife prefer sunset over sunrise so she missed that one :P)
<p></p>
<br><br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-ZVkoslS1QEQ/VgC0hY7LDkI/AAAAAAAAXN4/3XRyOD70hs8/s1600/12003342_10206226928966142_3368209074448750417_n.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-ZVkoslS1QEQ/VgC0hY7LDkI/AAAAAAAAXN4/3XRyOD70hs8/s400/12003342_10206226928966142_3368209074448750417_n.jpg"></a></div>
The first leg of the run is 21km of beach run: sand, cliff climbing and sometimes water until the knees (yup really wet shoes). Hopefully the sand is a bit humide so it's not soft sand.<br>
The scenery is just amazing!!<br><br><br><br>
After 21km we arrived at Torquay after passing trough beaches as Bells Beach, Point Addis (If you surf you know those mythics names). I managed to run those 21km in 2H30. Then I stopped 12 minutes. Yup that's too long as I didn't even change shoes but those long stops are the big mistake of this long run (but it was the first one so I didn't want to burn myself which I didn't for sure :-) ). <br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-L6M_uHnHbfQ/VgC6PfShJtI/AAAAAAAAXOI/-j0EYZTXYLA/s1600/IMG_20150919_091833.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-L6M_uHnHbfQ/VgC6PfShJtI/AAAAAAAAXOI/-j0EYZTXYLA/s400/IMG_20150919_091833.jpg"></a></div>
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-w-0NCwYNC74/VgC6mxcIlUI/AAAAAAAAXOQ/WWPWEafeYkE/s1600/surfcc15_03320.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://3.bp.blogspot.com/-w-0NCwYNC74/VgC6mxcIlUI/AAAAAAAAXOQ/WWPWEafeYkE/s400/surfcc15_03320.jpg"></a></div>
Now we are going back to Anglesea using the SurfCoast trails/walk (a mix of trail on the top of the cliff and a bit of bush) Again amazing scenery.
<br><br><br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-sVFDZWFH1dE/VgC7GKksWMI/AAAAAAAAXOY/-tZVEBABi4I/s1600/12001017_10205926673739227_1473443893632207832_o.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-sVFDZWFH1dE/VgC7GKksWMI/AAAAAAAAXOY/-tZVEBABi4I/s400/12001017_10205926673739227_1473443893632207832_o.jpg"></a></div>
I'm happy as the family is here at Checkpoint3 so I got smiles and plenty of "Allez Papa!!" (Go Dad!!)<br><br><br><br><br><br><br>
This leg2 is a bit more hilly: 28km with 520m elevation gain. I managed to run the first 11km with a good pace 6.22m/km then the last 17km at 7.20m/km.<br>
I arrived at checkpoint 4 (mid race 50km) after 6h. Now time to change shoes/socks/t-shirt and got a lunch. I think here I made a BIG mistake as I stopped 35minutes!! Again I don't have the experience of such race so I did everything (eating/changing stuff) in a totally wrong order and do it bad. Next time: just have a printed TODO list with everything in a correct order. Other mistake I eat too much and too fast (sandwich and a banana) so my stomach was not really happy the next 15km :-(.<br><br><br><br>
So now we start the leg 3 which is most difficult part of the race: 28km / 760 m elevation gain.
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-PiPtjOeWkiE/VgC_v-QawFI/AAAAAAAAXOw/Mk7KZh0mWL8/s1600/surfcc15_04860.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-PiPtjOeWkiE/VgC_v-QawFI/AAAAAAAAXOw/Mk7KZh0mWL8/s400/surfcc15_04860.jpg"></a></div>
Here an other completely different scenery with a real bush part!! You know the famous red/orange Australian ground and a bush forest!!
And here I start to run long distance alone (the 50km runners are not here anymore) and runners are more streched after such distance.<br><br><br><br>
But that's ok plenty of crazy birds!!. The first 20km are really good I managed a good 7.26m/km for this hilly part. But the next 7km are bad (really hard time in this last hard up hill): 9.13m/km during 7km (yup really slow!! especially I stopped too long at CP5 water point).
I'm happy to finish this 3rd leg but a bit tired :-). I got help from Nicolas who is biking with me during the last part.
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-AhKrDcD3cQ0/VgDAeTG8e-I/AAAAAAAAXPI/Nh3uFsD4dio/s1600/12006618_10205926675539272_236318417987904100_o.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-AhKrDcD3cQ0/VgDAeTG8e-I/AAAAAAAAXPI/Nh3uFsD4dio/s400/12006618_10205926675539272_236318417987904100_o.jpg"></a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-jCwSLg_NZ6Y/VgDAeU1UvNI/AAAAAAAAXPM/aJBBoMPrwjI/s1600/12015019_10205926675499271_1913217879644677084_o.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-jCwSLg_NZ6Y/VgDAeU1UvNI/AAAAAAAAXPM/aJBBoMPrwjI/s400/12015019_10205926675499271_1913217879644677084_o.jpg"></a></div>
So now an other smile time with the family at checkpoint 6. 77km done!! almost finished :-). An other mistake as I stopped too long again :-( (19minutes!!) but I was happy to have a chat with wife and kids.<br><br><br>
So now time for the last leg, I still feel well (honestly you cannot give up after have done 77% of the race :-) ).
The program is: 23km. Elevation gain / loss: 426m / 466m.<br><br><br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-MF31nMD5l0I/VgDC4bgUBhI/AAAAAAAAXPc/xJZgvgR1T5A/s1600/surfcc15_09949.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-MF31nMD5l0I/VgDC4bgUBhI/AAAAAAAAXPc/xJZgvgR1T5A/s400/surfcc15_09949.jpg"></a></div>
The first 9km are still a bit up/dow bush single track but then you are back to the ocean (you start thinking the finish line is not far anymore!!).
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-iWkyPhlRY7w/VgDEE4eQe5I/AAAAAAAAXPo/Ziwrh0grIJ0/s1600/12001052_10205926677099311_6021969187366486498_o.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-iWkyPhlRY7w/VgDEE4eQe5I/AAAAAAAAXPo/Ziwrh0grIJ0/s400/12001052_10205926677099311_6021969187366486498_o.jpg"></a></div>
Last checkpoint (CP7) (time to change for long sleeve and get head torch) wife/kids are here again for a last smile! See you "soon" at the finish line :-)
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-CRpKlLi50J4/VgDFKYFUVvI/AAAAAAAAXP0/_euFcfQTHCU/s1600/IMG_20150919_175114.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-CRpKlLi50J4/VgDFKYFUVvI/AAAAAAAAXP0/_euFcfQTHCU/s400/IMG_20150919_175114.jpg"></a></div>
This sunset really worth such a long run!! :-)<br><br><br><br><br><br>
Now time to finish. But it's dark. I mean really dark as you are a middle nowhere without any lights from any cities.<br><br>
And especially with the last beach run part around 4km (yup again beach run after 92km!!! Sacrebleu!!). So I do not see anything I just want to avoid running in the ocean :-).<br><br>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-bufniK0ELs0/VgDHW3BP3vI/AAAAAAAAXQA/tUhqGkdi_mI/s1600/surfcc15_12038.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-bufniK0ELs0/VgDHW3BP3vI/AAAAAAAAXQA/tUhqGkdi_mI/s400/surfcc15_12038.jpg"></a></div>
Finally I can see lights wife/kids are here I can cross the line with the kids. That's it that's finished!! (yup you can't believe you only realise days after).
<iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/DVrvez-xYfg" width="480"></iframe>
<br><br><br><br><br><br>
I believe I was crazy when I was thinking running this race more than a year ago. But now it's done and it was such an AMAZING experience.<br><br>
It really worth all the hard training (wake up at 5am 5days/week during 2.5 months really need devotion/motivation the race is finally very easy compare to all the training).<br><br>
I want to THANKS a lot wife and kids for all the support during this special and before when I was not here because training somewhere!!!<br><br>
More details on my race <a href="http://www.movescount.com/moves/move77079026" target="_blank">here</a> and <a href="http://rapidascent.com.au/SurfcoastCentury/eventdetails/CourseDescription">the original race description</a> (in a real good english :-) ).<br><br><br>
My <a href="http://tomatotiming.racetecresults.com/MyResults.aspx?CId=16&RId=30213&EId=3&AId=266664">result</a>. I'm happy to have finished (and with dignity). I think I could have made a better time especially with shorter break (but I'm French so I need long lunch break). It was my first experience on 100km so next one will be better :-)
<br><br>
And I already have some ideas for the next one. I'm pretty sure the family will be happy to visit the Blue mountains :-) ( see <a href="http://www.thenorthface100.com.au/">The north face 100</a> ). <br><br>
I ran the race with a gopro so I have plenty of video materials to show you how Australia is such a beautiful country (but I need a bit of time to do it)
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com1tag:blogger.com,1999:blog-2243705636208447360.post-50610037547312681422015-07-01T14:46:00.003-07:002018-03-27T19:35:16.915-07:00Messieurs les contrôleurs de la SNCF vous faites un beau métierPour nos vacances en France, nous avons choisi de passer une semaine en Bretagne (cela tombe à point c'est la canicule à Paris).
<br/>
En fait non, il n'y a rien d'improvisé et les billets ont été réservés et <b>PAYES</b> il y a près de deux mois par internet (ce point est important dans la suite du post).
<br/>
Le train part donc de Paris Montparnasse à 10:04 ce mardi 30 Juin 2015.
Depuis le début de nos vacances, nous avions prévu de rendre notre voiture de location puis de prendre notre train pour nous rendre dans la belle et fraîche Bretagne.
<br/>
Bonne idée n'est-ce pas?
Oui nous le pensions mais c'était sans compter sur quelques petits détails que nous avions oubliés...
<br/>
Nous étions jusqu'ici en banlieue Essonne sud. Nous pensions mettre environ 1H30 pour nous rendre à la gare.
Grosse Erreur!! Cela nous a pris 2H.
<br/>
Donc nous finissons le trajet en catastrophe, regardant constamment notre montre, énervés, faisons face à la grande incivilité (je dirais même l'égoïsme) des français au volant.... Un ensemble de sentiments que nous ne connaissions plus.
<br/>
Donc arrivée à 10h et le train est dans 4 minutes!!
<br/>
Le retour de la voiture chez le loueur s'effectue dans la plus grande des cohue possible.
<br/>
Là la course commence. Petit rappel sur le contexte, nous sommes une famille avec 4 enfants avec un petit de 3 ans (qui ne marche pas tout le temps donc nous avons une poussette), deux autres filles de 7 et 12 ans et un garçon de 14 ans.
Donc oui nous sommes chargés et nous n'avons à ce moment là plus que 3 minutes pour aller du parking Avis jusqu'au quai.
<br/>
Les enfants comprennent la situation et se chargent de valises (pour une petite de 7 ans une valise cela peut-être très lourd mais elle nous aide bien).
<br/>
Là avec ma poussette et mes deux valises à tirer, je comprends la difficulté des handicapés dans des lieux publics!!!
Mais tant bien que mal nous y arrivons, montons dans le wagon de queue au moment de la sonnerie.
<br/>
Un grand merci à ces passagers qui nous ont aidés à monter nos valises, poussettes et sacs. En plus il fait bien chaud en ce jour de canicule!!
<br/>
Donc nous sommes dans le train. Enfin presque car le train se sépare à Rennes et nous allons devoir remonter les dix wagons pour nous mettre le plus près possible de la locomotive afin de changer de train en moins de 4 minutes. Encore de grand moments de sueur nous attendent!!
<br/>
Dans toute cette course pas eu le temps de retirer les billets <b>DEJA</b> payés il y a plus de 2 mois. (oui je sais j'insiste un peu sur ce point)
Donc un de mes premières préocupations est de trouver un contrôleur pour lui expliquer que bloqués dans les bouchons nous n'avons pas eu le temps de retirer nos billets mais que j'ai bien le numéro de dossier etc...
<br/>
Sa réponse froide et sur un ton très <b>ironique voire moqueur</b>: "ne vous inquiétez pas monsieur nous allons bien nous occuper de votre cas".
Je vous rappelle lecteurs que nous venons de courir dans la canicule parisienne chargés de sacs, valises et autres poussettes et que monsieur se permet de faire un humour très ironique....
<br/>
Très naïevement, je pense un très court instant que ce contrôleur est en fait très sympathique et va arranger notre souci.
<br/>
Donc nous commençons notre remontée de nos dix wagons. je vous assure que remonter dix wagons avec une poussette et les bagages pour une famille de 6 personnes ce n'est vraiment pas simple surtout lorsque le train est chargé et bon nombre de personne ne se donne même pas la peine de déplacer même légèrement les bagages qu'ils laissent au sol à moitié dans le chemin (oui c'est un peu dur de mettre son sac en hauteur pour ne pas gêner les autres...)
<br/>
A mi chemin de notre remontée, nous croisons les contrôleurs (ceux que nous avions déjà prévenus à notre montée dans le train) qui nous demandent: "titre de transport s'il vous plait".
<br/>
Donc je tente de discuter en expliquant de nouveau notre cas, donne mon numéro de dossier pour vérification (mais apparemment en 2015 les contrôleurs n'auraient pas de moyens nécessaires pour vérifier les billets associés à mon numéro de dossier).
Je n'ai apparemment pas bien saisi la nuance entre e-billet et billets à retirer.
<br/>
Soit mais mon billet je l'ai déjà payé et nous avons simplement eu de la malchance à cause des bouchons.
<br/>
Le contrôleur m'explique qu'en fait je peux frauder et vouloir me faire rembourser mon billet mais quand même prendre le train!!!
<br/>
J'avoue que pour un père de famille de 4 enfants c'est toujours un peu dur de se faire traiter de voleur devant ses enfants.
<br>
Je lui montre donc ma commande avec le mention "non échangeable, non remboursable". Donc là franchement, je ne vois pas comment je pourrais faire cela.
<br/>
Mais non ces messieurs se montrent intransigeants et nous mettent 5 amendes de 122 euros.
<br/>
Là j'avoue ne pas comprendre. Nos billets ont été payés et réservés plus de 2 mois à l'avance.
<br/>
Je me calme, j'essaie de faire comprendre à mes enfants que non nous ne sommes pas des voleurs. Qu'il s'agit simplement de malchance.
<br/>
Nous parvenons enfin à regagner la locomotive de tête. Et oui il nous reste encore à changer de train en moins de 4 minutes. Le tout en transférant une poussette et des bagages pour une famille de 6 et sans oublier que c'est la canicule en France...
<br/>
Finalement nous y parvenons....
<br/>
Je ne comprends toujours pas aujourd'hui comment ces contrôleurs ont pu nous mettre de telles amendes. Le prétexte de la non possibilité de vérifier l'état de notre dossier me semble un peu gros. Nous sommes tout de même en 2015 dans un pays civilisé doté de matériel technologique souvent de pointe.
<br/>
Donc oui messieurs les contrôleurs je trouve que vous faites un bien beau métier en mettant des amendes à une famille de 4 enfants (qui a déjà payé ses billets!!).
La cible est évidemment bien facile, il y a tellement d'autres endroits en France mais les cibles sont peut-être plus compliquées et demandent un peu plus de courage....
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com2tag:blogger.com,1999:blog-2243705636208447360.post-81668274575030279202013-10-22T04:19:00.001-07:002013-10-22T04:19:29.831-07:00Aussie HackergartenThe idea is to organize a <a href="http://hackergarten.net/">Hackergarten</a> in Melbourne and/or Sydney (maybe later in those wild north regions!)
<br/>
The idea of such meeting is the ability for Open Source users to meet the Open Source contributors.
<br/>
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-WHcIEXC8wDw/UmZafjOLGtI/AAAAAAAAJYA/NZsH1yllG4M/s1600/1883063.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-WHcIEXC8wDw/UmZafjOLGtI/AAAAAAAAJYA/NZsH1yllG4M/s400/1883063.jpg" /></a></div>
<br/>
To do what?
<br/>
Not <b>only</b> have beers!
<br/>
Users/curious developers will be able to finally meet those bloody/lazy Open Source who never fix the issues but only think about implementing new non backward compatible features.
<br/>
So now you will be able to navigate through the source code of a project, you want to fix an issue or implement a new feature and with the help of the developers.
<br/>
Please provide your ideas and/or start discussions here: <a href="https://groups.google.com/forum/#!forum/aussie-hackergarten">Google Groups</a> or add a comment in this blog entry.
<br/>
You can propose a project you want to see in those Hackergarten.
<br/>
<b>All languages/projects accepted!</b>
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-81492137145334538992013-08-05T05:40:00.000-07:002013-09-11T04:09:47.132-07:00Error Prone compiler with Apache Maven Compiler plugin<b>Update 11 Sep 2013</b>: All plexus-compiler released!
<br/>
Because you usually write code very fast, you can sometimes made mistakes.
<br/>
To prevent some stupid errors, folks from Google write the <a href="https://code.google.com/p/error-prone/" target="_blank">error prone compiler</a>.
<br/>
Have a look at the various detected patterns (yeah definitely more interesting than checkstyle :P )
<br/>
Kudos to <a href="https://github.com/alexeagle" target="_blank">Alex Eagle</a> for the contribution!.
<br/>
The configuration to use it:
<pre>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.3</version>
</dependency>
<!-- NOTE this one will not be needed when plexus-compiler-javac-errorprone and error-prone will be released -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
</plugin>
</pre>
Feel free to test, I hope we will be able to have released versions of those artifacts soon.olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com1tag:blogger.com,1999:blog-2243705636208447360.post-57815044827604607962013-01-11T06:38:00.001-08:002013-01-11T06:51:52.177-08:00Huge Refactoring: Relocating to Melbourne, Australia<b>NOTE:</b> Not usual but this blog entry is not technical, you won't see any xml or java code :-)
<br/><br/>
That's how my 9 yo daughter see our new future life :-)
<br/><br/>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/--BhHSO9agrA/UO_zkiW_4lI/AAAAAAAACIU/mL5G7beYDiA/s1600/dessin_jeanne_aus.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="233" width="320" src="http://3.bp.blogspot.com/--BhHSO9agrA/UO_zkiW_4lI/AAAAAAAACIU/mL5G7beYDiA/s320/dessin_jeanne_aus.jpg" /></a></div>
<br/>
<br/>
<b>NOTE:</b> I tried to explain to her it's not possible to have kangaroo as pet. So she answered to me: "Ok I prefer a koala" :-)
<br/>
<br/>
So we wanted to move to an english speaking country.
<br/>
We merged our specs:
<ul>
<li>wife specs: country with good cupcakes and some beaches.</li>
<li>my specs: sunny country and good beer/wine</li>
</ul>
<br/></br>
The short list was:
<ul>
<li>US: but no due to too much guns</li>
<li>UK: too much rain (and I'm French and you know the history :-) )</li>
<li>Canada: too cold !</li>
<li>Australie: cupcakes, beers, beaches and sun etc...</li>
</ul>
<br/><br/>
In fact the choice was pretty easy :-).
<br/>
So we will relocate around mi march to Melbourne, Australia (Yes The most livable city in the world see <a href="http://en.wikipedia.org/wiki/World's_most_livable_cities" target="_blank">http://en.wikipedia.org/wiki/World's_most_livable_cities</a>).
<br/><br/>
While my wife will go to the beach, I will work for a small/medium company (I don't know yet what is small/medium/huge in this country): <a href="http://ecetera.com.au" target="_blank">http://ecetera.com.au</a>. (see smart people <a href="http://youtu.be/HGSg2kfW2sA" target="_blank">http://youtu.be/HGSg2kfW2sA</a>).
<br/>
The good news is 50% of my $DAYJOB will be continuing hacking on open source ! and the other 50% will be consulting/training on this open source.
<br/><br/>
<marketing>
<br/>
If you need some consulting on open source in the Australia area contact me :-)
<br/>
</marketing>
<br/><br/>
I'd like to thanks @Talend for the crazy 1,5 year dedicated to Apache hacking !
<br/>
It was a really great pleasure to work with so <a href="http://coders.talend.com/members" href="_target">amazing team</a> !!
<br/>
(@glenmazza this relocation will help me to reduce my english typos :P )
<br/><br/>
<personnal marketing in French>
<br/>
Je vends ma maison située <a href="http://goo.gl/maps/Kht3s" target="_blank">ici</a>
<br/>
Pas encore eu le temps de faire annonce dans un circuit de vente officielle.
<br/>
L'annonce sera:
<br/>
Maison individuelle de 140m2 sur un terrain de 650 m2 avec 5 chambres, 1 bureau, sous sol total.
Située dans secteur calme, proche écoles, à 5 min du RER C.
<br/>
Rez de chaussée: 1 chambre, 1 bureau, salle à manger, cuisine, salle de bains (refaite en 2006) et WC.
<br/>
Etage (construit en 2008): 4 chambres, salle de bains et WC.
<br/>Libre Juillet 2013.
<br/>
Si vous êtes intéressé envoyez moi un email: olamy AT apache DOT org
<br/>
</personnal marketing in French>
<br/><br/>
<b>NOTE:</b> I'm looking for a small apartment only for myself @Melbourne for mid march until august. Contact me if you have some proposals.
<br/><br/>
Next blog entry will be probably from the other side of the world :-)
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com8tag:blogger.com,1999:blog-2243705636208447360.post-17848874585109770722012-10-26T05:26:00.001-07:002012-10-26T05:29:05.531-07:00Apache Maven site support Markdown !Maybe you don't know because that's not very well documented :-) but Maven site support Markdown format !
It's just a matter of configuring the site plugin !
<pre>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.2</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
</pre>
Now add your markdown files with .md extension in src/site/markdown
<br/>
<br/>
And that's it ! You are now "à la mode" and you use markdown :-)
<br/>
<br/>
I agree that must be per default and no need of extra xml to write
<br/>
<br/>
See the documentation of under incubation Helix project, we use Markdown (<a href="http://helix.incubator.apache.org" target="_blank">http://helix.incubator.apache.org</a>)
<br/>
<br/>
Have Funolamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-34068143995810553282012-10-10T09:36:00.002-07:002012-10-12T10:06:45.670-07:00Test your local patch on a remote Jenkins with MavenRecently Kohsuke (@kohsukekawa) wrote a plugin to let you apply a patch on Jenkins job for testing purpose.
<br/>
See <a href="http://kohsuke.org/2012/10/08/potd-submit-a-patch-to-jenkins-and-let-him-test-it-for-you/">Blog entry</a>.
<br/>
<br/>
That's a pretty good idea as most of the time, you can have very long build.
Integrations tests with selenium running on various os/browsers (some you don't have or don't want to install) or tests on various databases.
<br/>
<br/>
So usually hack, commit/push the change and cross fingers for not break the build on your Jenkins instance (don't tell me you never did that :-) ).
<br/><br/>
While ago I started a Maven plugin to be able to interact with github/jira (see <a href="http://olamy.blogspot.fr/2011/11/from-pull-request-to-jira-issue.html">blog entry</a>).
<br/><br/>
So I have enhanced this plugin a bit to generate a diff/patch (I have tested on both svn/git) and post it to Jenkins to run the job with applying the patch on the job workspace.
<br/><br/>
<b>NOTE:</b> you need to install the Jenkins plugin first <a href="https://wiki.jenkins-ci.org/display/JENKINS/Patch+Parameter+Plugin">Patch Parameter Plugin</a>.
<br/></br>
Then run the following Maven cli:
<pre>
mvn patch-tracker:post -Dpatch.serverUrl=http://localhost:8080/job/maven-dependency-update-trigger-plugin -Dpatch.patchTrackerSystem=jenkins
Maven will ask you user/password etc..
</pre>
<br/><br/>
Now that's cool you can keep your local cpu/memory to listen musics, watch videos, play games etc... while your patch is tested on a remote Jenkins instance.
<br/><br/>
<b>NOTE:</b> The maven plugin is still in sandbox without any release. So you need to install it manually (sources are here: https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-patch-tracker-plugin) or consume it from this snapshot repository: https://repository.apache.org/content/repositories/snapshots
<br/><br/>
BTW you can use curl too :-)
curl --user uid:password -X POST -F "patch.diff=@patch.txt" https://jenkinshost/job/X/buildWithParameters?delay=0sec
<br/>
Don't miss to add a build parameter patch file.
<br/>
If you use svn, configure checkout-strategy to "Emulate clean checkout by first ...."
<br/><br/>
All feedbacks are welcome!
<br/><br/>
So Have Fun !
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-85965259347733359572012-09-14T13:36:00.002-07:002012-09-14T13:40:03.621-07:00Publishing a Maven site to a scm (ease Apache svnpubsub usage)The Apache Maven team just released a first version of a new plugin to be able to publish Maven websites to a scm. (<a href="http://maven.apache.org/plugins/maven-scm-publish-plugin/" target="_blank">Maven SCM Publish Plugin</a>)
<br/>
The first goal was to be able to commit web sites to the svnpubsub Apache infra for websites.
<br/><br/>
<b>Remember the migration to svnpubsub is mandatory for the end of the year.</b>
<br/><br/>
Yes you remember as (if you are an Apache committer) how long it can take to have a *.apache.org website live updated :-).
<br/><br/>
You usually scp to people.a.o and wait the end of rsync (long coffee break possible!)
But now (thanks to Apache infra !), just commit your website to svn and the site is up2date within minutes !!
<br/><br/>
Note: as we have a <a href="http://maven.apache.org/scm" target="_blank">Maven Scm Api</a> we can support most of the supported scm by the Maven scm (honestly I have tested only svn and git :-)).
<br/>
So it works too for git (github gh-pages included see <a href="http://maven.apache.org/plugins/maven-scm-publish-plugin/various-tips.html" target="_blank">documentation git branch section</a>)
<br/><br/>
The trick is you must use different configuration and command line if you publish a mono module or multi modules build.
See samples and documentation here:
<ul>
<li><a href="http://maven.apache.org/plugins/maven-scm-publish-plugin/examples/one-module-configuration.html" target="_blank">mono module</a></li>
<li><a href="http://maven.apache.org/plugins/maven-scm-publish-plugin/examples/multi-module-configuration.html" target="_blank">multi modules</a></li>
</ul>
<br/><br/>
Nice feature is the cleanup(delete) of not anymore generated files. They are now deleted from the scm. The plugin simply compare your generated website and the content from scm and take care of removing not anymore produced files.
<br/><br/>
Have a look at the other tips in this <a href="http://maven.apache.org/plugins/maven-scm-publish-plugin/various-tips.html" target="_blank">page</a>.
<br/>
The most important is to use the tryUpdate mode (not the default).
<pre>
<tryUpdate>true</tryUpdate>
</pre>
So have fun writing documentation on Apache projects and publish it to live very fast :P
olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-22094242548086750192012-08-27T06:40:00.001-07:002012-08-27T08:44:38.612-07:00Maven Assembly/Dependency plugins useJvmChmod field WTF ?It looks not a lot folks knows a strange named option from the Assembly and Dependency Maven plugins.<br />
The name is useJvmChmod. Sure when reading this name you can say: "WTF ?????".<br />
Both plugins use a component called plexus-archiver (which pack,unpack files and can set files permissions).<br />
By default on unix platform, this component will fork a process to do chmod command line call and for each files (ouch !!!! for large distributions or unpack goal).<br />
So long ago now (yup 2 years is long in our world :-)), I added a configurable mode to use file permission methods from jdk1.6 and not using anymore forked command line call to chmod.<br />
This is why it's called useJvmChmod (sorry I'm sometimes not really good on naming marketing :-)).<br />
By the way, if your build is still 1.5 that will works as it's done trough reflection (see <a href="https://github.com/sonatype/plexus-archiver/commit/aa74285f7a0cc87054e0ce2b0920916bda18299d" target="_blank">initial commit</a> ).<br />
Note this option is available since assembly plugin 2.2 and it's now available in the fresh release of dependency plugin 2.5.1 (thanks to @atlassian folks for the issue report: <a href="https://jira.codehaus.org/browse/MDEP-368" target="_blank">https://jira.codehaus.org/browse/MDEP-368</a>).<br />
So if you assembly plugin or use unpack goal from the dependency don't miss this attribute to true!<br />
<pre>
<plugin><br />
<groupId>org.apache.maven.plugins</groupId><br />
<artifactId>maven-assembly-plugin</artifactId><br />
or<br />
<artifactId>maven-dependency-plugin</artifactId><br />
<configuration><br />
<useJvmChmod>true</useJvmChmod><br />
</configuration><br />
</plugin><br />
</pre>
<b>NOTE</b>: if you use useJvmChmod special permissions at group level won't be apply as it doesn't exists in javaolamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com4tag:blogger.com,1999:blog-2243705636208447360.post-45266130317177084632012-08-02T07:17:00.000-07:002012-08-02T07:17:23.753-07:00Maven Surefire configuration for CI serverI used this configuration for long time now but not sure you know that.<br />
The use case is an application creating a temp file to store values (File.createTempFile( "wine.txt", "wine" ); )<br />
Running it locally no problem.<br />
But now you have a ci server running the same Maven project with various parameters:<br />
* one fast only executing unit tests<br />
* one longer running selenium integration tests.<br />
<br />
On Unix server, the temp directory is shared for all users (usually /tmp, /var/tmp etc...).<br />
So if your build runs in parallel they will share the same file (can go to weird results ..)<br />
<br />
To avoid such case, you can configure surefire plugin as it<br />
<br />
<br />
<plugin><br />
<groupId>org.apache.maven.plugins</groupId><br />
<artifactId>maven-surefire-plugin</artifactId><br />
<configuration><br />
<systemPropertyVariables><br />
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir><br />
</systemPropertyVariables><br />
</configuration><br />
</plugin><br />
<br />
As it each build will use a separate tmp directory and temporary files won't be shared anymore.<br />
<br />
<br />olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-23807891483351426312012-05-09T13:34:00.001-07:002012-05-31T12:30:00.737-07:00Java5 annotations support for Maven pluginsSo finally or at least (depends on your POV :-)), I have pushed some code to support Java5 annotations support for Maven plugins.
<br/>
The "specs" are here <a href="https://cwiki.apache.org/confluence/display/MAVEN/Java+5+Annotations+for+Plugins" target="_blank">https://cwiki.apache.org/confluence/display/MAVEN/Java+5+Annotations+for+Plugins</a>.
<br/>
The code is available in the branch <a href="http://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189/" target="_blank">http://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189/</a>.
<br/>
Snapshot are deployed to: https://repository.apache.org/content/repositories/snapshot .
<br/>
You can have a look at it tests to see some samples: http://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189/maven-plugin-plugin/src/it/annotation-with-inheritance/
<br/>
Basically you need to setup your pom as it:
<pre>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.0-SNAPSHOT</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>mojo-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- if you don't add Apache snapshot repository to your settings -->
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</pre>
Annotations to use are:
<pre>
@Mojo( name = "foo",
defaultPhase = LifecyclePhase.COMPILE,
threadSafe = true )
@Execute( goal = "compiler",
lifecycle = "my-lifecycle",
phase = LifecyclePhase.PACKAGE )
public class FooMojo extends AbstractMojo
{
/**
* the cool bar to go
* @since 1.0
*/
@Parameter( expression = "${thebar}",
required = true,
defaultValue = "coolbar" )
protected String bar;
/**
* beer for non french folks
* @deprecated wine is better
*/
@Parameter( expression = "${thebeer}",
defaultValue = "coolbeer" )
protected String beer;
/**
* Plexus compiler manager.
*/
@Component
protected CompilerManager compilerManager;
/**
*
*/
@Component( role = "org.apache.maven.artifact.metadata.ArtifactMetadataSource",
roleHint = "maven" )
protected ArtifactMetadataSource artifactMetadataSource;
public void execute()
throws MojoExecutionException, MojoFailureException
{
// nothing
}
}
</pre>
<b>Note:</b> the help generation doesn't work yet !!<br/>
A new feature is your parent annotated classes can come from reactor project and from your project dependencies.
<br/>
And don't complain yet too much in case of issues, it's a work in progress :-)
<br/>
<b>12 May 2012 UPDATE</b>: Help generation done and code merged in trunk YEAHH :-)
<br/>
<b>25 May 2012 UPDATE</b>: Few annotations has changed have a look at documentation page: <a href="https://cwiki.apache.org/confluence/display/MAVEN/Java+5+Annotations+for+Plugins" target="_blank">https://cwiki.apache.org/confluence/display/MAVEN/Java+5+Annotations+for+Plugins</a>
<br/>
<b>31 May 2012 UPDATE</b>: release 3.0 deployed and now available.
<br/>
Have Fun!olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-75691251347654677352012-03-23T09:50:00.000-07:002012-03-23T09:53:00.799-07:00Search and browse with Archiva new UI<div class="separator" style="clear: both; text-align: center;">
<br /></div>
If you follow me, you probably know I'm working on a new UI for <a href="http://archiva.apache.org/" target="_blank">Apache Archiva</a> using plain html/javascript technologies (one page load app).<br/>
Here some screenshot about new Search and Browsing screens.
<br/><br/>
<h3>The new browsing</h3>
<iframe width="420" height="315" src="http://www.youtube.com/embed/OkWuxmQjXq8" frameborder="0" allowfullscreen></iframe>
<br/><br/>
<h3>The new search</h3>
<iframe width="420" height="315" src="http://www.youtube.com/embed/XbpXX0XV6Ts" frameborder="0" allowfullscreen></iframe>
<br/>
To test it just download:
<ul>
<li>zip with self contained jetty: http://s.apache.org/LAST_ARCHIVABUILD_ZIP</li>
<li>war to install in your favorite servlet container: http://s.apache.org/LAST_ARCHIVABUILD_WAR</li>
</ul>
<br/>
So all comments are welcome :-)
<br/>
And have Fun !olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-49764926561195376462012-02-15T05:53:00.001-08:002012-02-15T05:54:26.711-08:00Apache Archiva UI rewrite progress (How it works ? )<div>Recently I proposed to rewrite the Apache Archiva UI.
The goal was to have a new fresh/modern UI :-).
<br/>
So as IANAD (D for designer) using Twitter Bootstrap was a good solution to help to start.
<br/>
Regarding web framework buzz :-), I proposed to have a plain html/javascript (without any complicated Java web framework stack) maybe because it's "à la mode" :-).
<br/>
At the end, it will be a one page load application with only javascript (data transfer with the server only tru REST call) and rendering with html/js template mechanism.
<br/>
But here too there is some buzz around: which one to choose ?
To have an easy UI automatic refresh, the data binding was something mandatory.
<br/>
That's why <a href="http://knockoutjs.com/" target="_blank">http://knockoutjs.com/</a> was choosen !!
<br/>
Furthermore it's a very active community, people are helping very quickly to help on mailing list and very documentation (something not usual on Open Source project :P ).
<br/>
And definitely we didn't want waste time on philosophical discussions on various frameworks.
<br/>
I promise I will write a blog entry soon on some tips to use this framework :-)
<br/>
<br/>
</div>
So the rewrite is in progress (see <a target="_blank" href="http://www.screencast.com/t/KX93fcKhHvE">http://www.screencast.com/t/KX93fcKhHvE</a>)
<br/>
And some documentation on how it works has been started <a href="http://people.apache.org/~olamy/archiva/doc/ref/1.4-M3-SNAPSHOT/archiva-web/archiva-webapp-js/index.html" target="_blank">here</a>
<br/>
The top jira issue is here <a href="http://jira.codehaus.org/browse/MRM-1497" target="_blank">http://jira.codehaus.org/browse/MRM-1497</a>.
<br/>
Yes some job to do :-).
<br/>
We are hiring :-) to complete all. So if you want to have fun with nice javascript framework. Do not hesitate to propose patches or pull requests tru <a href="https://github.com/apache/archiva" target="_blank">https://github.com/apache/archiva</a>.
<br/>
Note: during the interview process, we won't ask complicated puzzle or scholar questions :-) you will be judged only on your patches proposal.
<br/>
<br/>
If you want to test the new UI, you can try the following steps :
<pre>
svn co https://svn.apache.org/repos/asf/archiva/all/ archiva-all-sources
cd archiva-all-sources/archiva
mvn tomcat7:run -pl :archiva-webapp-js -Pjs -Pdev -am
</pre>
Hit your browser : http://localhost:9091/archiva/index.html?request_lang=en
<br/>
<br/>
And after this UI rewrite, what's else ?
<br/>
I'm thinking about plugins/extension points mechanism with UI part too. As the UI will be in full js, folks will have to write their plugins ui in js.
<br/>
Maybe not only, <a href="https://vaadin.com/blog/-/blogs/embedding-vaadin-anywhere-with-vaadin-xs" target="_blank">Vaadin XS</a> looks to be possible solution to study.
<br/>
So stay tune for coming next news :-)olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-85357491277335459442012-01-21T07:08:00.000-08:002013-01-24T08:03:44.233-08:00Unit tests with embeded tomcat artifactsIn the 7.x releases of Apache Tomcat, some maven artifacts are now published which include a nice and fluent embeded api to run a Tomcat instance.<br /><br />So it's a nice opportunity to use it writing units to test servlets, rest api etc..<br />But until 7.0.25 it was only possible to do it with using a barcoding port which can cause some issues on ci servers where you are not sure ports are not used by something else running. <br /><br />I have personally sended a RFC to ITEF to have port allocation for only my personal use on my birthday year or zip code port but strangely this RFC was never approved :-).<br /><br />Now you can use the java ServerSocket port 0 feature to use any free port available on the machine. <br />It has been fixed with the <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=52028" target="_blank">issue 52028</a>.<br /><br />So now you can write a unit test as it (here a test with a REST service provided by Apache CXF).<br /><br /><pre><br /><br /> @Before<br /> public void startTomcat()<br /> throws Exception<br /> {<br /> tomcat = new Tomcat();<br /> tomcat.setBaseDir( System.getProperty( "java.io.tmpdir" ) );<br /> tomcat.setPort( 0 );<br /><br /> Context context = tomcat.addContext( "", System.getProperty( "java.io.tmpdir" ) );<br /><br /> A context param in your web.xml:<br /><br /> <context-param><br /> <param-name>contextConfigLocation</param-name><br /> <param-value>classpath*:META-INF/spring-context.xml</param-value><br /> </context-param><br /> <br /> In the code<br /><br /> ApplicationParameter applicationParameter = new ApplicationParameter();<br /> applicationParameter.setName( "contextConfigLocation" );<br /> applicationParameter.setValue( "classpath*:META-INF/spring-context.xml" );<br /> context.addApplicationParameter( applicationParameter );<br /><br /> A listener class in your web.xml:<br /><br /> <listener><br /> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class><br /> </listener><br /><br /> In the code<br /><br /> context.addApplicationListener( ContextLoaderListener.class.getName() );<br /><br /> CXF servlet declaration in your web.xml:<br /><br /> <servlet><br /> <servlet-name>CXFServlet</servlet-name><br /> <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class><br /> </servlet><br /><br /> <servlet-mapping><br /> <servlet-name>CXFServlet</servlet-name><br /> <url-pattern>/restServices/*</url-pattern><br /> </servlet-mapping><br /><br /> In the code:<br /><br /> tomcat.addServlet( context, "cxf", new CXFServlet() );<br /> context.addServletMapping( "/restServices/*", "cxf" );<br /><br /> tomcat.start();<br /><br /> port = tomcat.getConnector().getLocalPort();<br /><br /> System.out.println("Tomcat started on port:"+port);<br /> }<br /><br /></pre><br /><br />So now you can test/consume you REST services on localhost with the port.<br /><br />Don't miss to shutdown the tomcat instance on tearDown or @After<br /><pre><br /> @After<br /> public void stopTomcat()<br /> throws Exception<br /> {<br /> tomcat.stop();<br /> }<br /></pre><br /><br />If you use Maven you need the following dependencies:<br /><pre><br /> <dependency><br /> <groupId>org.apache.tomcat.embed</groupId><br /> <artifactId>tomcat-embed-core</artifactId><br /> <scope>test</scope><br /> <version>7.0.25</version><br /> </dependency><br /> <dependency><br /> <groupId>org.apache.tomcat</groupId><br /> <artifactId>tomcat-juli</artifactId><br /> <scope>test</scope><br /> <version>7.0.25</version><br /> </dependency><br /> <dependency><br /> <groupId>org.apache.tomcat.embed</groupId><br /> <artifactId>tomcat-embed-logging-juli</artifactId><br /> <scope>test</scope><br /> <version>7.0.25</version><br /> </dependency><br /> <dependency><br /> <groupId>org.apache.tomcat</groupId><br /> <artifactId>tomcat-servlet-api</artifactId><br /> <scope>test</scope><br /> <version>7.0.25</version><br /> </dependency><br /></pre><br /><br />As samples talks more than long docs ("Code talks, bullshit walks" :-) ).<br />The tomcat maven archetype has been improved with a sample. (see <a href="http://olamy.blogspot.com/2012/01/tomcat-maven-plugin-archetype-sample.html">previous post</a>)<br /><br />Have Fun!olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com2tag:blogger.com,1999:blog-2243705636208447360.post-17333724254161269962012-01-13T02:35:00.000-08:002012-01-13T02:59:54.555-08:00Tomcat Maven plugin archetype. Sample talks more than long documentation :-)As code sample talks more than long and borying documentation (or maybe because I don't like to write too long documentation :-) ), I have writen an archetype for the Apache Tomcat Maven Plugin.<br /><br />Some features describe in this <a href="http://olamy.blogspot.com/2011/10/apache-tomcat-maven-plugin-features.html" target="_blank">post</a> are now implemented.<br /><br />As it's not yet released but soon !, just use :<br /><pre><br />mvn archetype:generate \<br /> -DarchetypeGroupId=org.apache.tomcat.maven \<br /> -DarchetypeArtifactId=tomcat-maven-archetype \<br /> -DarchetypeVersion=2.0-SNAPSHOT \<br /> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots/ <br />....<br />[INFO] Using property: groupId = org.apache.tomcat.maven<br />Define value for property 'artifactId': : tomcat-sample (project will be created in ./tomcat-sample )<br />...<br />cd tomcat-sample<br /></pre><br /><br />You can run your webapp with: mvn tomcat6:run or mvn tomcat7:run (depends on tomcat version you want)<br />And hit your browser to http://localhost:9090 and you will use a very complicated hello world webapp sample :-)<br /><br />Now you can try: mvn clean install .<br />You will see a selenium test running (by default firefox), use -Pchrome for using chrome should work too with -Piexplore (not tested :-) ).<br /><br />Note you have now an executable war.<br />Try it !<br /><pre><br />cd basic-webapp-exec/target/<br />java -jar basic-webapp-exec-1.0-SNAPSHOT-war-exec.jar -httpPort 9191<br /></pre><br /><br />And hit your browser to http://localhost:9191.<br />So you have a tomcat7 running our fabulous application and without installing nothing !<br /><br /><h3>More details on the project</h3><br /><br />This archetype build a simple project with some maven modules. IMHO it's nice layout to use.<br /><pre><br />basic-api (service interface)<br />basic-api-impl (service default impl)<br />basic-webapp (our webapp module)<br />basic-webapp-exec (module to generated executable war)<br />basic-webapp-it (module to run selenium tests with generated war)<br /></pre><br /><br />The application is exposing a REST service called HelloService (in basic-api module)<br /><br /><pre><br />@Path( "HelloService" )<br />public interface HelloService<br />{<br /> @Path( "sayHello/{who}" )<br /> @GET<br /> @Produces( { MediaType.TEXT_PLAIN } )<br /> String sayHello( @PathParam( "who" ) String who );<br />}<br /></pre><br /><br />The implementation is in the module basic-api-impl.<br />Note we use Apache Cxf to provide REST services (for more details have a look at the various spring files).<br /><br />The webapp is a simple page based on jquery and twitter bootstrap.<br /><br />So have fun !olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com3tag:blogger.com,1999:blog-2243705636208447360.post-30892412319254887752011-11-26T15:56:00.000-08:002011-11-27T01:29:13.934-08:00From a pull request to a jira issueAfter the <a href="http://olamy.blogspot.com/2011/11/life-is-too-short-to-waste-time-loading.html" target="_blank">generate a patch and attach it to a jira issue</a>, it's now the time to have a tool to create an issue from a patch request (the current implementation works only for github pull request).<br /><br />So the Patch Tracker plugin has now a new goal called to-issue. This goal will read a github pull request and create an issue in your issue tracker (currently only supported for jira).<br /><br />It's simple :-).<br />As sample see pull request : <a href="https://github.com/jenkinsci/jenkins/pull/320" target="_blank">https://github.com/jenkinsci/jenkins/pull/320</a> and the created issue in jira: <a href="https://issues.jenkins-ci.org/browse/JENKINS-11883" target="_blank">https://issues.jenkins-ci.org/browse/JENKINS-11883</a><br />I have just used the cli:<br /><pre><br />mvn patch-tracker:to-issue -Dpatch.request.id=320 -B<br /></pre><br />For easy configuration see the properties in the jenkins pom.<br /><pre><br /> <project.patchManagement.system>github</project.patchManagement.system><br /> <patch.request.organisation>jenkinsci</patch.request.organisation><br /> <patch.request.repository>jenkins</patch.request.repository><br /> <project.patchManagement.url>https://api.github.com</project.patchManagement.url><br /> <!-- need an entry in settings --><br /> <patch.tracker.serverId>jenkins-jira</patch.tracker.serverId><br /></pre><br /><br />entry in settings:<br /><pre><br /> <server><br /> <id>jenkins-jira</id><br /> <username>uid</username><br /> <password>password</password><br /> </server><br /></pre><br /><br />And that's it :-).<br /><br />BTW if you need more features, patch (or pull requests) are welcome.<br /><br />This maven plugin is in the maven sandbox @asf and not released, so if you want to try it you must have asf maven snapshot repo in your settings or buid it manually. <br />Sources are here:<br /><ul><br /><li>https://github.com/apache/maven-sandbox (path plugins/maven-patch-tracker-plugin) yup no sparse checkout with git :P</li><br /><li>http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-patch-tracker-plugin/</li><br /></ul><br /><br />Some docs has been started here <a href="http://maven.apache.org/plugins/maven-patch-tracker-plugin" target="_blank">http://maven.apache.org/plugins/maven-patch-tracker-plugin</a> (maybe not yet in sync so wait a bit)<br /><br />Have fun !olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-47986098060083993112011-11-21T12:33:00.000-08:002011-11-21T12:58:31.564-08:00Life is too short to waste time uploading a patch or Maven Patch Tracker pluginLife is too short and you don't want to waste time contributing to a project (creating a patch, a entry in the jira issue tracker then upload the patch).<br />So the Maven Patch Tracker plugin is for you !<br /><br /><br /><br />You will be able with a maven plugin to do all of this in one command line !<br />Without any configuration you have to write :<br /><pre><br />mvn patch-tracker:create<br />-Dpatch.summary="foo summary"<br />-Dpatch.serverUrl=http://localhost:8080/browse/MNG -B<br />-Dpatch.user=uid -Dpatch.password=pwd<br /></pre><br /><br />If you find that boring or too long no problem, there is a solution for that (yes good developer are lasy developers they use tool to automate tasks :-) ).<br />So configure you pom, with the issue tracker id<br /><pre><br /> <issueManagement><br /> <system>jira</system><br /> <url>http://host:ip/browse/projectKey</url><br /> </issueManagement><br /></pre> <br /><br />Add a server entry in you settings.xml<br /><br /><pre><br /> <server><br /> <id>jira-maven</id><br /> <username>olamy</username><br /> <password>very complicated password for paranoiac security folks</password><br /> </server><br /></pre><br /><br />Reference this jira server in your pom:<br /><br /><pre><br /> <properties><br /> ....<br /> <patch.tracker.serverId>jira-maven</patch.tracker.serverId><br /> ....<br /> </properties><br /></pre><br /><br />Et voilà, just run and save fingers:<br /><pre><br />mvn patch-tracker:create -Dpatch.summary="foo summary" -B<br /></pre><br /><br /><b>NOTE: without -B the plugin will use a prompt mode to ask you confirmation on the values</b><br /><br />An other mojo called update can add/update an issue with an other patch:<br /><pre><br />mvn patch-tracker:update -Dpatch.description="update of the issue with an other patch" -Dpatch.patchId=MNG-5203 -B<br /></pre><br />This command will update the issue MNG-5203 with an other patch.<br /><br /><b>NOTE: currently only jira is supported</b><br /><br />The plugin will use the configured scm client configured tru your scm url to generate the patch/diff file.<br />So your project is configured with svn but for some reasons you use git svn. <br />No problem add the parameter: -Dscm.providerType=git<br /><br />Other improvement I think: load the patch to review board.<br /><br />Something else ?<br />Ideas and patches are welcome :-) <br /><br />You can test it using the snapshot repo: https://repository.apache.org/content/groups/snapshots-group/ or build it yourself: http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-patch-tracker-plugin/<br /><br />Have Fun and good hacking!olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com7tag:blogger.com,1999:blog-2243705636208447360.post-45272419665494788802011-10-26T04:32:00.000-07:002011-10-26T04:37:19.420-07:00Archiva 1.4-M1 releasedThe Apache Archiva 1.4-M1 has been released.<br />Some nice features added:<br /><ul><br /><li>It is now possible to create a staging repository for any managed repository and later merge the results.</li><br /><li>You can now use REST services to control Archiva or search for artifacts. See REST Services for more information.</li><br /><li>Database storage for repository metadata has been replaced with a JCR repository based on Apache Jackrabbit by default (other options such as a flat-file storage may be made available in the future).</li><br /><li>The search interface provide now the capability to search on OSGI metadata (based on the update of the Apache Maven Indexer library).</li><br /><li>You can now download Maven index content from remote repositories to include artifacts which are not present locally in your search results</li><br /></ul><br /><br />Full release notes available here: <a target="_blank" href="http://archiva.apache.org/docs/1.4-M1/release-notes.html">http://archiva.apache.org/docs/1.4-M1/release-notes.html</a><br /><br />Download page: <a target="_blank" href="http://archiva.apache.org/download.html">http://archiva.apache.org/download.html</a><br /><br />Have Fun and some nice new features will come soon :-)<br /><br /><i>Apache Archiva, Archiva, Apache Maven, Maven, Apache are trademarks of The Apache Software Foundation.</i>olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-47855568509208416712011-10-21T00:31:00.001-07:002011-10-21T00:49:14.873-07:00Apache Tomcat Maven Plugin FeaturesRecently I posted some informations regarding the <a href="http://olamy.blogspot.com/2011/09/tomcat-maven-plugin-new-home-at-apache.html" target="_blank">move</a> from codehaus to ASF of the Tomcat Maven plugin and about <a href="http://olamy.blogspot.com/2011/10/tomcat-maven-plugin-now-supports.html" target="_blank">the support of tomcat7</a> in trunk code.<br /><br />So now in this post, I'd like to talk of the features I prefer.<br /><br /><h3>Run goal in multi modules with Maven3</h3><br />Usually with Apache Maven, your application code is splitted in some modules to respect the Separation Of Concern paradigm.<br />Something like :<br /><pre><br />root<br /> pom.xml<br /> foo-api<br /> pom.xml<br /> foo-impl<br /> pom.xml<br /> foo-webapp<br /> pom.xml<br /></pre><br />So to test your webapp module you have to install all other modules first which is time/io consuming.<br />Now with Apache Maven 3 and the Tomcat Maven Plugin (from Codehaus version 1.1 or now the 2.0-SNAPSHOT from Apache), you can simple use the goal run from the root directory and the plugin will see various modules build output and include those automatically in the embeded tomcat in the webapp class loader.<br /><br /><h3>Build a standalone executable war/jar</h3><br />You can now build a standalone jar which will contains Apache Tomcat needed classes and your wars.<br />See <a href="http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/executable-war-jar.html" target="_blank">documentation</a>.<br />This will produce a similar jar as for the Jenkins distribution.<br />At the end you will be able to run the produced jar with a simple:<br /><pre><br />java -jar yourjar<br /></pre><br /><br />And that's will start Apache Tomcat without need of any installations !<br /><br />NOTE: it's very recent feature based on my need :-)<br />So all issues/feedback or some RFE are really welcome!<br /><br />Have Fun!<br />--<br />Olivier<br /><br/><br /><br /><i>Apache Maven, Maven, Apache Tomcat, Tomcat, Apache are trademarks of The Apache Software Foundation.</i>olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com3tag:blogger.com,1999:blog-2243705636208447360.post-6771011864798057962011-10-09T05:06:00.000-07:002011-10-09T05:28:16.125-07:00Tomcat Maven Plugin now supports tomcat7Hello,<br />After moving the Tomcat Maven Plugin from Codehaus to Apache in the Tomcat land (see previous <a href="http://olamy.blogspot.com/2011/09/tomcat-maven-plugin-new-home-at-apache.html" target="_blank">post</a>), I have found some time to start hacking on it.<br />The first feature I wanted to add was support of Apache Tomcat 7.x. So it's now implemented in trunk.<br />You can test it see how to configure that in your poms: <a target="_blank" href="http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html">http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html</a>.<br /><br /><span style="font-weight:bold;">NOTE</span> the important changes with the move to Apache and the support of Apache Tomcat 7.x:<br /><ul><br /> <li>You know have two "mojos": tomcat6:* and tomcat7:$</li><br /> <li>The groupId is now: org.apache.tomcat.maven</li><br /> <li>All goals are not supported: I will work on that :-)</li><br /></ul><br /><br />So you can know use tomcat7 in embedded way within your Apache Maven build with: tomcat7:run.<br /><br />Feel free to report any issues: <a href="https://issues.apache.org/jira/browse/MTOMCAT" target="_blank">https://issues.apache.org/jira/browse/MTOMCAT</a><br /><br />Have Fun!<br /><br />Apache Maven, Maven, Apache Tomcat, Tomcat, Apache are trademarks of The Apache Software Foundation.olamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0tag:blogger.com,1999:blog-2243705636208447360.post-24504980135334553152011-10-03T01:29:00.000-07:002011-10-03T01:36:41.775-07:00New default http(s) transport layer in maven core 3.xIn the current maven core dev trunk, we have recently replace the http(s) transport layer from lightweight wagon (based on default jdk http(s) mechanism) to the wagon http module based on Apache httpclient [1].<br /><br />See <a href="http://olamy.blogspot.com/2011/09/maven-download-time-improvement.html" target="_blank">related post</a>.<br /><br />This change include two improvements:<br />* connection pool mechanism (to avoid http(s) connection recreation for each artifacts download).<br />* preemptive authz mechanism which will prevent uploading artifacts twice.<br /><br />As it's important change in the core distribution, we like to have some feedbacks from users a SNAPSHOT distribution (based on rev 1178324) is available here : http://people.apache.org/~olamy/core/maven-3-r1178324/<br /><br />mvn -v display: Apache Maven 3.0.4-SNAPSHOT (r1178324; 2011-10-03 10:07:26+0200)<br /><br />An other way to test it with maven3 is to download the shaded jar [2] and copy it in $M2_HOME/lib/ext.<br /><br />Feel free to test it and report any issues you will have with this new default http(s) transport layer.<br /><br /><br />Thanks in advance for your testing time and have fun !<br />--<br />Olivier<br /><br />[1] http://hc.apache.org/httpcomponents-client-ga/index.html<br />[2] http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http/2.0/wagon-http-2.0-shaded.jarolamyhttp://www.blogger.com/profile/16588396647999780714noreply@blogger.com0