Archive

Archive for the ‘eclipse’ Category

Eclipse Community Awards 2011

March 22nd, 2011 7 comments

This was a very successful day for EGit team and me at EclipseCon. Its starts from very successful tutorial on EGit by Chris Aniszczyk, Matthias Sohn, Shawn Pearce and Stefan Lay. I think that this was largest simultaneous EGit testing that we ever had ;) . Some bugs ware found during this tutorial and we (as a EGit developer team) get the most important thing … a users’ feedback! and we are looking forward for more opinions and hints from you about EGit ;>.  Some of the effects of the EGit tutorial can be seen in ours’ gerrit instance ;)

Few hours after EGit Tutorial the results of Eclipse Community Award 2011 were announced … and guess what? The EGit project won in category ‘Most Innovative New Feature or Project’! This is a great success for me and others EGit developers and it is a huge motivation for continue working and improving EGit.

 

Eclipse Community Award 2011 Top ContributorAs you might know, I was nominated in ‘Top Contributor’ category, and if you looks carefully on the left hand side picture of ‘Eclipse Community Award’ statue you might notice that there is my name on it … yes I’m a ‘Top Contributor’ in 2011. This whole history with Eclipse Community Awards was a huge surprise for me, starting from nomination, ending on a moment when I was keeping this statue in my hands. I want to thank everyone for voting on EGit project and me in Eclipse Community Awards. Also I want to encourage every Eclipse committer to participate in Google Summer of Code as a menthor … who knows maybe yours feature GSoC student will also be in feature nominated in Eclipse Community Awards … you only need to give him a chance ;)

Apart form that, big thanks to Google and Eclipse Foundation for giving me opportunity to participate in EclipseCon. Without theirs support I can only dream about participating in EclipseCon. Once again, thank Google!, thank Eclipse Foundation! ;)

BTW.  Any one flying Friday morning from San Jose to Dallas (AA1252) ? ;>

I’m going on 33rd Degree Conference

March 8th, 2011 No comments

The 33rd Degree is another conference in English in Poland, next to GeeCON. This year both conferences are located in Krakow.

For me choosing between GeeCON (with I was attending two times) and 33rd degree wasn’t so easy. Finally, as you can see, I’ve decided to go on 33rd Degree (same as my collages from NCDC). There was two main reasons why I’ve made such decision. First of all 33rd Degree has more lectures (there are 4 parallel tracks) and I find most of them interesting for me. Lucky the lectures I want to attend doesn’t overlap currently and I hope that this would not change ;) . Secondly, as I mentioned before I was on GeeCON already I and know what can I suspect from it, the 33rd is something new I and want to give it a try ;)

So, see you on 33rd Degree! ;)

I’m nominated for Top Contributor in 2011 Eclipse Awards

January 31st, 2011 7 comments

To be honest I haven’t been fallowing anything connected with Eclipse Community Awards, because I was thinking that this isn’t for me as em I a humble EGit commiter. But is seams that some one has different opinion on this, because I was nominated …

You can imagine my surprise when I got an email with information that I’m nominated for Top Contributor. I was totally shock! and can’t believe in this. But then I check Eclipse Community Awards Bulletin and I saw my name on the list of nominated contributors … I believed that this it is true.

I’m honored, I’m truly honored, no mater what the final results would be I’m honored with this nomination!

Finally I want to encourage you to take part in voting for Eclipse Community Awards, especially I encourage to vote on EGit project with was nominated in category: Most Innovative New Feature or Eclipse Project ;)

Show non-workspace resources in Git Change Set

January 29th, 2011 No comments

Synchronize view in EGit doesn’t show non-workspace files from its very beginning. This issue seams to be very complicated and also it seams to require lots of hacking on team framework and eclipse API.

Few days ago Ilya Ivanov from Intland pushed into our gerrit a patch that should fix this issue. I was very surprised that this change is so small and simple. It only works partially because the compare editor cannot be launched for non-workspace files. In my opinion this patch cannot be merge into master branch without this core functionality, so today I spent about 3 or 4 hours hacking on that topic … and here are results:

As you can see, there is master pom file (with isn’t imported into eclipse workspace) in synchronize view and on the left hand side there is a compare  editor for it, showing what was changed ;>

Currently both patches are waiting for review in gerrit, but I think that they will be merged into master soon ;)

EGit hackfest @ SAP Walldorf

January 22nd, 2011 2 comments

Last week I spent in Walldorf (Germany) at EGit hackfest. I want to attend on all sessions therefore I’ve decided to go there day before and leave Walldorf day after event. Therefore I had some time that I can spent on short tours in Walldorf and Frankfurt. Here is a short summarization things that we manage to achieve during this time in case of synchronize view in EGit.

With Christian Halstrick we manage to speed up synchronization operation. Our starting point was comparing branch stable-0.7 against stable-0.10 from EGit repository with at the beginning takes around 2 minutes. Then using yourkit profiler we manage to reduce synchronization time down to less then 20 seconds on the same data set! The first set of patches that gives most acceleration were already merged into master and are available in latest nightly build of EGit, but there are also some open change sets in gerrit pending for review that should give some performance boost. Even with this improvements synchronization on some large repositories can take more then 5 minures, therefore this topic is still open for me and I’ll continue to hacking on it in feature. Currently one of the slowest part is mapping path of file/folder from git into eclipse’s workspace resource, but this should be improved by new implementation of IWorkspaceRoot.getFileForLocation()/IWorkspaceRoot.getContainerForLocation() in Eclipse 3.7 ;>

Second task that I manage to start working on during hack sessions is supporting context menu action in synchronization. I didn’t finish it but most of code is currently written. I only need to improve some things and test it. I think that in week or two this change should appear in gerrit.

This was great opportunity for meet persons that I only know from mailing list or code reviews in gerrit, especially to meet Matthias Sohn and Stefan Lay ;) and also rest of EGit team members ;>

I want to thanks Matthias Sohn for organizing such great event and SAP for hosting it!. Many thanks also for my employer NCDC for refunding me part of my trip.

Java4People 2011 – call for papers!

December 13th, 2010 No comments

Java4People is a free polish conference organized in Szczecin (Poland) by and for Java enthusiasts. We already have had two editions in 2008 and 2009, now it is time to launch call for papers for upcoming 2011 edition.

The main topic of this edition is “JVM languages” and everything connected with it (frameworks, IDEs, etc.), but if you have an interesting presentation about other topic connected with Java don’t hesitate to share it with us!

From my point of view I would like to hear about:

and of course about web or application frameworks’ that was build on top of those languages.

We are open for any propositions, if you have one that you would like to present on Java4People don’t hesitate to contact me (dariusz < a t > luksza < dot > org) or leader of Szczecin Java User Group Leszek Gruchala (leszek < a t > gruchala < dot > eu).

Rebase support in EGit

November 27th, 2010 No comments

Thanks to Mathias Kinzler EGit have initial support for rebasing. Currently only the simple scenario is supported, when there are no conflicts between actual and given branch. Currently the only place from with rebase action can be launched is in Git Repositories view, the ‘Rebase’ option is available on each branch node for given repository.

If you want to test this new feature you should install EGit for ours “Bleeding Edge Builds” update site.

Get a free private Git hosting!

November 14th, 2010 4 comments

 

I think that every one knows GitHub and as you should know that we can host there for free ours open source project’s but if we want to have a private repository we should pay for it. It seams fair … but what if I don’t want to pay ? I can setup my own server somewhere or … use one of on-line file hosting service like dropbox (for free we get here 2GB, this is lots of space for git repositories ;) ).

How it is possible? It is only about files. As we all know git keeps everything inside .git folder, therefore we can put it in dropbox. To do it we only need to have an account and configured dropbox-folder on ours hard drive, and here is recipe:

  1. First of all we should add new remote to our git remote configuration, I’ll call it dropbox:
    git remote add dropbox file:///home/lock/path/to/dropbox-folder/project.git
  2. Now we should create folder project.git
  3. Launch a terminal and enter project.git folder
  4. Run:
    git init --bare
  5. Go back to yours project directory and push into dropbox:
    git push dropbox

Viola! Dropbox daemon will automatically synchronize with remote “repository”. And there is another feature of this solution, you can share this folder with yours friends!

But there are also some disadvantages:

  1. No access control – if you share yours project with friend she (or he) have full access and can even delete everything … but you always have yours local copy
  2. No web interface – this obvious … I think ;)

This solution I figure out few minutes ago and use it to backup my BS project, and it seams to be working very well ;)

UPDATE:

As Tim said it is also possible to have a free Git hosting on bettercodes.org. To be honest I didn’t check it because solution with dropbox meets my needs.

NEXT UPDATE:

According to Machu’s comment, there is also assembla.com that gives 2GB for SVN or Git repository.

Android, Eclipse, Maven and (Robo)Guice together?

November 6th, 2010 7 comments

I’m sure that when you trays automated dependency management and application building/deploying you will never want to abandon this kind of comfort that it gives. The same situation is with dependency injection; when you will get it ideas. In “normal” desktop, web, or server side project’s integrating with such tools like maven and guice isn’t that complicated like in Android projects.
Android tooling is very consistent and the ADT plug-in isn’t integrated with maven. This isn’t a problem when application is relatively small, or when you don’t want to use continuous integration tools like Hudson. But when you enter Android world from “enterprise” web application like I do, you surely would like to use CI, DI and lots more of cool stuff that was available before.

In this post I’ll present simple Android application that will have Maven and Guice support.
Read more…

The worst thing that could happen when you have ‘hands on’ presentation

October 24th, 2010 5 comments

I love ‘hands on’ presentation they are so awesome and give so damn god impression. I’ve decided to prepare such presentation on Warsjawa 2010. Now I know how much self control and cold blood is needed to give such presentation.

Before Warsjawa conference I’ve prepared a list of features that I would like to show, I even write down list of steps that I should follow during presentation. All demos was two or three times repeated and trained … it looks like nothing bad could happen … ‘but’, yes there always is this short lite word ‘but’.

Presentation starts smoothly and with every minute I been more self confident … until 15th or 20th minute when I was smashed out, just blow away. I was showing merge support and it appears that during three-way merge one of line in example file were deleted. Actually it should be marked as conflicting because I’ve made a small mistake any way this shouldn’t be that way. I was there sitting in front of 50 100 or more persons with a nearly discovered bug in core merge functionality … this is a situation that nobody would like to face it. I can’t just go away, that wasn’t a solution … Actually I stay there and even manage to finish presentation and show History and Repositories view, tagging, resetting  and even some other stuff like gerrit and it integration with hudson.

I’ve already create a ticket for this bug in bugzilla and I hope that during next presentation in Szczecin such problems did not occur …