Quantcast
Channel: Planet Eclipse
Viewing all 6595 articles
Browse latest View live

Konstantin Komissarchik: Announcing Sapphire 0.4 Release

$
0
0

It is with great pleasure that I announce availability of Sapphire 0.4 release. This release includes major enhancements, such as API improvements in services and XML binding, more powerful Sapphire EL and ability to use it in more places, content proposals in text fields, split form, regular multi-section form editor page for cases where master-details presentation isn't appropriate, and much more.

Enhancements
Migration Guide
Developer Guide
Downloads


Ruediger Herrmann: Code Centric Trainings with the Samples Manager

$
0
0

I recently gave a training course on – you guess it – RAP/RWT.
And as it seems natural for a training targeted at developers it was very code centric and had many hands-on exercises.

For hands-on exercises I find it useful to give a starting point so that tedious steps like setting up a project and the like haven’t to be done with each exercise.
For any non-trivial exercise it makes also sense to provide the final solution. In case a training participant gets lost (s)he would certainly like to compare her/his current state with the final solution of the exercises.

All this and some more offers the Eclipse Samples Manager. Jean-Michel Lemieux and Jeff McAffer developed this Eclipse plug-in in 2007 for their Eclipse RCP book. It allows you to package and deploy code samples. The tool allows users to install a starting point, step between different iterations of samples, compare them, and reset when their changes don’t work.

If you haven’t seen the Samples Manager yet, try this short video. It will give you an overview of what the tool can be used for.

I found the Samples Manager a useful tool and thought it was worth sharing. If there is enough interest, I will publish a small how-to on creating, packaging, and deploying samples with the Samples Manager in the near future.

flattr this!

Cedric Brun: SysML Comparison and Contributions

$
0
0

Community and Ecosystem


The Juno release cycle has been very interesting for EMF Compare - as a project.

Discussions started through the  Modeling Platform working group lead to the sponsorship of a bunch of new features (we covered those before but in a nutshell :  UML dedicated support, UI enhancements, Graphical comparison support and Logical Model for EGit). 

Meanwhile we took a number of actions to make this project a more welcoming area for contributions and to ease adoption, some of these actions are technical (documentation, build, tests and continuous integration) and others are focused on community grow (transparency, communication, discussions with academic researchers).

We are not done yet and have several remaining actions but we can already see some results :

- new adopters appeared and contacted us through the bugzilla with use cases we had not envisionned, trying to keep the answering delay reasonable helped a lot in converging to a patch. Within Eclipse itself we've seen several new projects adopting the technology.
- new features contribution :  thanks to Arthur from Atos a dedicated support for SysML model just got integrated and is now built. In those cases where timeframe is obviously bigger than a simple patch, git helps a lot.
- discussions with academics helped us drafting powerful new features for 2.0 like fingerprints based matching (a complete blog post about this will come soon)

EclipseCon US will be a great place to share our experience, I if you're interested or would like to see a specific topic within this scope, feel free to add a comment.

More about SysML ...

The SysML contribution is built on top of the UML dedicated support, it just got integrated and built.
It never got released so it might be a bit rough, and we still have some issues we want to fix for 1.3 but if you feel adventurous, go get the bits here !(update site)

Chris Aniszczyk: EclipseDay at the Googleplex 2011

$
0
0

Yesterday, I had the opportunity to present at the EclipseDay at the Googleplex event which hosted around 100 eclipse enthusiasts. Shawn Pearce and I gave an update on the work going on in the EGit and JGit projects as we prepare for the 1.2 release later this month.

I’m very proud of the progress the two projects have made since we fought to have the projects move to eclipse.org and build a community there. It’s amazing to see JGit being used on Android via Agit and even have some crazy folks automagically port JGit to C# (NGit) to enable Git usage on the .NET platform. Shawn even talked about how JGit is being used within the walls of Google to power the android.googlesource.com git repositories by stuffing git objects into BigTable. Heck, there are some instances that JGit is even faster than native cgit.

In the end, it was nice to catch up with some old friends and even make some new ones this time around. A special thank you to the Google Open Source Program Office for hosting the event and providing some delicious birthday cake to commemorate ten years of the eclipse project.

Lars Vogel: vogella.de goes Creative Commons CC BY-NC-SA 3.0 licence

$
0
0

Recently I received lots of requests for translating my tutorials into other languages or if my tutorials can be used in Universitity classes. In general I’m fine with that as long as the usage is non-commercial and attribution is given.

I decided to select a official licence for usage of my content so that others have better information on how they can use it. As far as I can tell the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany (CC BY-NC-SA 3.0) looks like the right licence to me.

Therefore, unless otherwise stated in the tutorials, I put the tutorials on http://www.vogella.de under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany (CC BY-NC-SA 3.0) licence.

Attribution for a translation or reproduction which is available on the web would be a link to the original article as well as mentioning me as the original author. This attribution should be clearly visible at the beginning of the article.

If you use the material in a non-web form an attribution should be given in the same spirit. For example if you print the material for your university class you would include a page which states the original author as well as the link to the content on the web.

Neil Barlett suggested to clarify the non-commercial part. My understanding is that this means that you cannot earn money by replicating or translating the content, e.g. via advertisements, selling books, etc.

Also a big thanks to Jovan Kostovski and Kai Toedter at Google+ for lots of consulting and tips on the licence.

I hope this help other to translate my tutorials and to spread the word about Eclipse, Android and other Java related programming around the non perfectly english speaking world.

flattr this!

Anne Haugommard: Open Tests : manage test campaigns inside Eclipse

$
0
0
Open Tests is an Open Source Test management application available from Eclipse or from a Web client.

Open Tests can provide the following services :
- write a test library
- reference requirements inside tests
- import requirements from TOPCASED Requirement format
- define test campaigns
- write test execution results
- access all data through customizable queries
- generate reports (Excel / PDF) all along the process


How to use OpenTests from Web client ?
see Video

How to use OpenTests inside Eclipse?
see Video

For more information about OpenTests :
see Open Tests tutorial or gPM Installer

Contacts : eclipseatos@gmail.com
or anne.haugommard@atos.net

Tom Schindl: Slides from Google Talk

Aurelien Pupier: My EclipseCon Europe 2011 Feedback (Better late than never)

$
0
0

It was my second EclipseCon Europe. And the first difference that I encountered between the two conferences was during my trip

from Grenoble to Ludwigsburg. Last year, during the flight, the Swiss airline company offered me chocolates – this year the German airline gave me a camembert sandwich. (Which would you prefer?) OK, time to talk about #ECE2011 more seriously. I can’t cover all the great things so here is just a selection.

If it was just this…

My favorite talk was the blockbuster “Collaborative Modeling: The New Deal“. Effectively, there was some great stuff that really improves collaborative modeling. It covered all the way from real-time graphical collaborative modeling with Dawn, to better handling of conflict resolution for Graphical Modeling Framework, to task focused modeling with Mylyn bridge.

Tutorial dilemma

I faced a big dilemma: to choose which tutorial to attend. I would have loved to go to the Tycho or Git tutorial, but I ultimately decided to attend the Jubula Tutorial and I have no regrets. The tutorial was really well conducted. About the product itself, my impression is that Jubula is powerful but not intuitive. I would appreciate more usable User Interface.

Modeling Symposium

This year, the Modeling Symposium was hosted as a BoFs. There was a lot of good stuff presented. I’m happy about the announcement of the GMF-Tooling revival. If you want more details on the symposium, I invite you to see Mariot Chauvin‘s blogpost.

Keynote

I was very interested in the keynote about modeling by Bran Selic. He explained his vision of modeling through eyes that have already seen a lot of material on the subject. I admit that I agree with his vision that modeling is an evolution and a more and more useful concept when going to more and more complex systems.

My talk

This talk was in the top 10 most scheduled and was quite well attended. The main objective of my talk was to show that there are Eclipse tools that are easy to use to solve performance issues. So, I’m happy that some of the attendees came to me after the talk and said that they will try to use some tools that I presented. You can find a recording of the talk here (oops they cut off the beginning). Based on feedback, I proposed a talk for EclipseCon 2012 focused specifically on the Memory Analyzer Tool. Comments and votes for it are welcome :-)

I’m looking forward to next year’s EclipseCon Europe and also hope to attend my first EclipseCon North America next year too.


Marcel Bruch: How should code search work?

$
0
0
Hey all. As you probably all know, this is the Code Recommenders project blog we typically use to announce new features, releases or other noteworthy topics related to Code Recommenders. This blog post is a bit different than the others: It's our first "guest blog post" written by Tobias Boehm, a master student doing his master thesis in the scope of the Code Recommenders project.
This post is basically a brain dump how he thinks code search engines like Google Code Search, Krugle, or Koders *should* work and how we should be able to use them. He introduces an early prototype of a code search query language (which he will implement using Xtext) and a client tightly integrate into the Eclipse IDE. His work will be based on the previous code search engine and Eclipse client we already blogged about a few months ago here: "Why is Google Codesearch not google for code search?"


This blog post is a "heads-up! Your feedback is wanted!" post. So, please do not hesitate to ask tough questions or provide any other kind of feedback. All kind of feedback is appreciated and will help Tobias to catch idea bugs early! If you are interested in joining the work on code search engines, get in contact via the Code Recommenders forum. We are looking forward to your feedback. 


Thanks,
Marcel



How should code search work?
We all know that learning an API is hard. But we do it day by day by day...  When learning a new framework we often ask things like "Which classes should I extend?", "Which methods should I invoke on this object?", "How can I create an instance of this particular type?", "How does the code of others look like that is similar to mine?". Hopefully, some documentation is available that answers these kinds of questions. But how many frameworks do you know that have such excellent documentation? If you know a few: How many do you know which have not?

Let's assume that there is some documentation somewhere. Who wants to work through heaps of documents just to know how obtain an instance of the famous IStatusLineManager? In my opinion, the best possible documentation already exists. It's existing and tested code which is available in masses in code repositories where these API are actually used, the classes are extended, the methods called and the objects actually instantiated. The code is there, it just has to be found!

But searching for source code is still a tedious task. Although many search engines exists and even Google has a product targeted at code search - they are not too useful in certain situations. First it seems most of them treat source code the way web search engines treat websites they index - as plain text. While that might make sense for some code search use cases - it is not enough for most others. Moreover they are too generic to be useful. Most code search engines seem to identify the programming language the code is written in, yet they are not using the language-specific semantic that lies underneath.

And then there is "availability". For a developer to be able to search for source code this source code has to be indexed by the search engine. So the code available is always restricted to open source code publicly available in the web with all personal and company repositories being unused.

Lastly, there is no IDE integration. What that means is that every time we want to issue a query we are shifting focus away from our IDE to a website.

In this blog post, I describe may plans on how to implement a Code Search engine with Apache Lucene. I'll go through a set of sample queries and explain what get's indexed and how developers can query the index to solve common day-to-day tasks.

If you are interested in code search and are maybe seeking for good alternative to (almost closed) Google Code Search or want to build your own code search engine for your own company - please continue reading and don't hesitate to ask questions about it here or in the Code Recommenders forum.


Query
As said above, search query capabilities of todays code search engines are somewhat limited. Code Recommenders might come to rescue here. The heart of this prototype currently in development is a novel query language. This query language must be very simple to use. We want to create queries very easily. Yet it must be so powerful that we can express all the requests we might have to a code base. What might these requests be? Before we dig into the search criteria let's take a step back and think about what it is we would like to find. Are we interested in source files? Probably not. Java developers don't think in source files. At the bottom level we think in classes, methods and maybe even smaller blocks of code. Then these are probably the units of code we want to find. Now what questions might a developer have? She might for example want to find methods that have a certain name. The query will look like the following.

METHODS WHERE Name IS "set.*"

This query will return those methods with a name starting with "set". Let's say we are interested in methods that add something to a java.util.Set.

METHODS WHERE CalledMethods CONTAINS {java.util.Set.add}

By combining multiple search criteria and using negation the developer is able to refine the query to get exactly what she needs.

METHODS WHERE ReturnType IS {org.eclipse.jface.action.IStatusLineManager}
AND +IsPublic AND !IsStatic

A Query that will search for public, non-static methods that should return an instance of IStatusLineManager. When using the prefix "+" and "!" the developer can explicitly mark criteria as mandatory or non-occurring. If we omit the prefix the condition is optional and the results we get might not meet the criteria. In this particular example we would want the query to look like this.

METHODS WHERE ReturnType IS {+org.eclipse.jface.action.IStatusLineManager}
AND +IsPublic AND !IsStatic

This way we can be sure that the methods we find will return IStatusLineManager. What if we - for whatever reason - are interested in public methods that use an IStatusLineManager, are annotated with SuppressWarnings and that should be constructors? Here's the query for that.

METHODS WHERE IsConstructor
AND UsedTypes CONTAINS {+org.eclipse.jface.action.IStatusLineManager}
AND +IsPublic
AND ANNOTATED WITH {+java.lang.SuppressWarnings}

This is really just supposed to be an example of how detailed we can get. There are many more criteria available and they are not bound to just methods. Many of the criteria applicable to methods can be applied to classes too. We might as well search for classes with a certain name.

CLASSES WHERE Name IS "set.*"

With a more complex query for example we search for abstract classes that implement the interface ASTVisitor preferably using the type java.util.Set.

CLASSES WHERE +IsAbstract
AND ImplementedInterfaces CONTAINS {+org.eclipse.jdt.core.dom.ASTVisitor}
AND UsedTypes CONTAINS {java.util.Set}

Or how about classes that contain deprecated methods?

CLASSES WHERE
CONTAINS METHOD WERE ANNOTATED WITH {java.lang.Deprecated}

The list goes on. And we don't stop at classes and methods. Sometimes we would like to bring in more context information. For instance a typical question a developer sometimes asks is how other developers handled a certain exception. Did they close the stream afterwards or did others just log the exception?

CATCHBLOCKS WHERE CaughtType IS {+java.io.IOException}

What we can express here is a question many of us ask themselves over and over again. What have other developers done in my situation?

Repositories
The quality of the results is dependent mainly on the quality and the volume of the search index. The public index will consist of many open source types (http://eclipse.org/recommenders/documentation/completion/) that we can offer code examples from. A dilemma arises when we think about precious code that lies dormant in hundreds of types and thousands of methods in the developer's company repository. These sources are most likely not open source and hence can't be put into a public index. The solution is a private search index that is build and stored inside the company infrastructure. The query can then be performed on the public as well as the local search index.

IDE integration
Queries of this kind can then already be used easily from inside the Eclipse IDE. The editor assists with things such as the query grammar and resolving of types. The goal is to make it as efficient as possible to express a query that reflects what the developer searches for. While a query of this kind can easily be created by hand its full potential is still not exploited. In many use cases where the developer would like to find code examples, the query will consist of information that reflect the user's current code context. That might be the interfaces the current class implements, the overridden method we are in and the uninitialized type that we desperately need an instance for. Most of this information the query consists of are usually ones that the IDE could provide. So why shouldn't it? By abstracting further and bundling the search into a few easy to understand search types the query complexity is now hidden underneath plain proposals in the Eclipse content assist popup window. Let's consider the following situation.

IStatusLineManager slm = null;
|<^Space>

We just declared an IStatusLineManager and set it to null. One of the proposal would probably be a search for code that initializes this type in some way and might find code that for example creates an actual instance of IStatusLineManager or just a method that returns it. Do we now copy the whole method or even the whole class? Or do we just reuse an already existing method that we now knows exists? It's up to us the developer how to use the code examples that are found.

How does that sound. Like something that could make your life easier? Let us know.

Ian Skerrett: Eclipse.org Web Stats 2011 Edition

$
0
0

This week there were news items about browser market share, so it got me thinking about updating a blog post I did last year about the eclipse.org web stats.

For this update, I am comparing the exact same 30 day period, Sept. 20-Oct. 20, 2011 with the same days in 2010 and 2009.   For this period in 2011, eclipse.org had just over 2 million unique visitors and the most popular pages continue to be the download and home page.

1. Browser Stats  (2009 vs 2010 vs 2011)

Chrome is certainly growing and is now in solid second place passing IE.  Firefox is still the leading browser that visits eclipse.org.

Firefox: 49% vs 43% vs 39%

Chrome: 7.5% vs 21% vs 31%

IE:  31% vs 27% vs 21%

2. Operating Systems

Amazingly there is once again almost no change in operating systems visiting eclipse.org.  Similar to 2010,  Windows is 77%,  Linux 12.5% and Mac 9.6%.   I frankly find this surprising.

For mobile operating systems, Android is the most popular with a small 0.27%, iPad (0.17%) and iPhone (0.12%).

3. Languages

No surprise that English (45%) is still the dominant language setting in the browser.  China (7%) is now #2 but followed very closely by France (5%) and Germany.(4.5%)

4. Traffic Sources

Search engines continue to be the primary source of traffic, increasing to 59% in 2011 from 54% in 2010.    Google represents 93% of the search traffic, followed by baidu (3%) and bing (1.35%).   The main referring sites continue to be developer.android.com, stackoverflow.com, code.google.com, maven.apache.org, etc.

 

I think sharing statistics is very important for open source communities.   It is sometimes very hard to understand the changing dynamics, so I hope this helps the wider community.


Deepak Azad: CodingSpectator: Research study on Eclipse

$
0
0
These guys have been contributing to JDT by reporting a bunch of bugs based on their findings, so I thought I should talk about them :)
The aim of CodingSpectator project is to study how developers interact with the Eclipse IDE, by collecting and analyzing usage data. CodingSpectator has been developed at Ralph Johnson’s research group by the following graduate students: Mohsen Vakilian, Nicholas Chen, Stas Negara, Roshanak Zilouchian and Balaji Ambresh. Ralph is a co-author of the seminal book on design patterns (GoF) and his research group has a history of important contributions to IDEs. CodingSpectator monitors programming interactions non-intrusively in the background and periodically uploads it to a secure server at UIUC.
They have presented some of their findings in this technical report - Use, Disuse, and Misuse of Automated Refactorings. Based on the same report they have reported a number of insightful bugs against JDT and also provided suggestions on how some of the refactorings can be improved. A few bugs have already been fixed. In addition their technical report also improved my understanding of an average JDT user's behavior. Thanks guys! 

Probably the biggest challenge with a usage study is finding a good number of participants. They are looking for more participants in order to continue their research study. If you’re interested in helping the researchers out, you could install CodingSpectator

Eclipse Announcements: Eclipse 10th Birthday Parties: San Jose, Bangalore

$
0
0
The Eclipse community is celebrating 10 years of Eclipse with birthday parties around the world. Sign up now to attend or present.

Ian Skerrett: Selecting the EclipseCon Program

$
0
0

Last Friday the acceptance (and unfortunately the decline) letters were sent out to people who wanted to speak at EclipseCon.  As you might expect there were lots of happy people but some people who were disappointed.   We have close to 400 submissions for 120 speaking slots and 16 tutorials, so a lot of people had their talks declined.

     

In the spirit of transparency, I thought it might be useful to explain the framework the program committee (PC) used to select the program.  I was not on the PC but I attended their meetings.  This year, I am also the person at the Foundation who is responsible for the overall conference and helped define the framework.

The most significant aspect that influenced the program selection were the rough targets we set for the number of talks in each track.  The targets we set were as follows:  Eclipse 4/Eclipse SDK (10 talks), EclipseRT (10), OSGi DevCon (10), Modeling/DSL (20), Mobile/Embedded (10),  Tools/Cool Stuff/Community (20) and Agile ALM Connect (40).    By far the most competitive track was the Tools and Cool Stuff track, so if your talk was in that track you had to be very good.    Agile ALM Connect is something new this year at EclipseCon, so I will elaborate below.

The reason we did the rough allocation was to ensure we have enough critical mass in key areas to attract attendees.  We want to make sure conference attendees have enough learning opportunities in some key areas to justify the expenses of attending the conference.   This is why we have focused on these tracks.

Based on the allocations, the PC worked to identify the most compelling talks across all of the submissions and then within each track.  Each PC member voted for sessions across all tracks.  The key criteria was to select the best talks.   There was some balancing needed to make sure: 1) an individual did not have more than two talks, 2) new speakers were being allowed to talk, 3) a single topic/technology was not over represented and 4) there were case studies being presented.

I think the resulting program speaks for itself:  it is an amazing line-up of speakers and topics!  Doug Schaefer and the entire PC did an amazing job!

Each year, at least one person will claim the speaking selection is due to which company is a sponsor of the conference.   This is just not true.  I am not even sure the PC knew who are the sponsors.  Some conferences do select speaking slots based on sponsorship.  We do not do that at EclipseCon and in fact we lose potential sponsors due to this policy.  We do have sponsored talks at EclipseCon but those are identified as such and selected by the sponsor not the PC.

Agile ALM Connect was handled differently from the main EclipseCon PC.  Agile ALM Connect is a new sub-conference that we are organizing at EclipseCon to attract new and a different type of attendee.   Therefore, we had a seperate program committee that included people from outside the Eclipse community.   Since this is a new conference, we also invited a number of individuals to speak since we wanted to make sure we had the right people talking.  This is why we have people from IBMgithub and Atlassian talking about how they deliver software, leaders from the Puppet, Sonar, Selenium projects talking and some industry thinkers in the Agile ALM community.  The PC also selected some great sessions that is focused on Eclipse related content. Tthe results is something a returning EclipseCon attendee will find interesting but will also attract new attendees.  It truly is a unique program in the world of technology conferences.

One final point is the topic of PC feedback on the declined session proposals.  If anyone wants to have feedback on their proposal, please send an e-mail to speakers@eclipsecon.org.   There was just too many proposals to have the PC provide feedback on all of them.

One final rant, I noticed some session proposals being submitted by press relations firms.  In general, if your pr agency submitted the proposal for you, they did a bad job.  If you really want to talk at EclipseCon, my advice is you write the proposal yourself and submit it yourself.  Otherwise it comes across as boilerplate market-speak and not very compelling to the PC or the attendees.

Thank you to everyone that submitted a proposal.  The PC really did have a tough time due to the high quality of so many submissions.  I do hope you agree that result of their work is another great program for EclipseCon!


Chris Aniszczyk: The Personal Computer is Dead

$
0
0

Last week, I read an article entitled, “The personal computer is dead” by Jonathan Zitttrain.

The basic premise of the article is that there’s an unprecedented shift of power from end users and software developers to operating system vendors on the other. If you’re a software developer, this shouldn’t be a surprise since if you have been developing mobile applications, you should have noticed the walled gardens popping up around you. To distribute applications, you have to go through a vendor like Apple and use their App Store… each individual application has to be vetted and meet a set of standards that isn’t fully transparent. Your application gets a distribution channel and Apple gets to take a cut of your profits. This model was extremely successful for Apple and has now “boomeranged back to the PC.”

There’s now an App Store for the Mac to match that of the iPhone and it carries the same restrictions essentially. I’m almost 100% sure that Microsoft will replicate this model in their next operating system. As the article states, “today’s developers are writing code with the notion not just of consumer acceptance, but also vendor acceptance.”

I theorize that these typed of wall gardens will slowly start taking advantage of what is going on in the development tooling space. With the advent and eventual maturity of online development tools (see Ace or Eclipse Orion), I envision companies forcing you to write software with tools hosted on their server and then finding a way to “tax” you for the usage. Imagine Google Chrome becoming the worlds most popular browser. Google starts integrating “apps” more prominently in their browser and the way the apps are written are fully online using their web-based tool-chain. To get an app in the browser, you have to go through some control point Google sets up.

Imagine writing software for say the blackfin processor, fully hosted on their infrastructure since that’s the way Analog Devices likes it. The company gets a new control point and potentially another revenue stream. In the end, the tools may even be more convenient for developers but what path are we heading down…?

I’m not sure if the trend is good or bad yet, but there’s definitely a shift of power from end users and software developers to vendors. I feel there’s a definitive trend in the software industry to build walled gardens. Will we start losing the power to tinker and use our own tools to do development? Will I start having nightmares that involve RMS screaming at me (while wearing some crazy costume) about free software and saying he was correct all along?

To end my diatribe, here’s a final quote from the article to mull over, “… if we allow ourselves to be lulled into satisfaction with walled gardens, we’ll miss out on innovations to which the gardeners object, and we’ll set ourselves up for censorship of code and content that was previously impossible. We need some angry nerds.”

Maybe I should have had more coffee this morning, thoughts?

Ian Bull: Where is the evidence?

$
0
0

Does TDD actually improve software quality?  Are good software developers an order of magnitude better than poor ones?  Do multiple code reviews reduce the number of bugs in the software?  Does your choice of language improve productivity? Do distributed version control systems increase the number of contributions?

Many software developers (myself included) have strong beliefs about many of these questions.  In fact, order a round of beers at EclipseCon and bring up any one of these topics and see what happens. Unfortunately, many of us base our arguments on our own experiences or anecdotes.  Occasionally we will quote some self proclaimed expert in the field and assume our argument is ‘proven’.  Is this evidence?

As tool developers — building the Best Integrated Development Environment icon smile Where is the evidence? — we need to hold ourselves to higher standards. We cannot be designing future IDEs based solely on what works well for me. If you have a few minutes, please watch the following video by Greg Wilson on Software Carpentry: Software Engineering Empirical Results. http://software-carpentry.org/4_0/softeng/ebse. I had the good fortune of meeting Greg a few years ago through the Canadian Consortium for Software Engineering. A much longer version of the talk is available (embedded below): http://vimeo.com/9270320.

Greg Wilson – What We Actually Know About Software Development, and Why We Believe It’s True from CUSEC on Vimeo.

I prefer the longer one as I think he makes a much stronger point about questioning beliefs.


Annamalai Chockalingam: Happy Birthday Eclipse ! Join the Celebration

$
0
0
Eclipse Demo Camp 2011, Bangalore Edition.
On the occasion of Eclipse's 10th Birthday, Bangalore also decides to join the celebration.The event starts with Eclipse Birthday Cake Cutting @ 6pm.Followed by that would be the series of Presentations by our Eclipse Experts in Town.Snacks and Drinks will be served during the event and post Presentations we would start with the Dinner.

Presenters

If you would like to present at this event, please add your name below.

  • Key Note Address :: Sri Guha.V, BOSCH - TBD
  • Niranjan Babu, BOSCH - Introduction to Sphinx
  • Saurav Sarkar, SAP Labs India- Collaborative modeling through CDO and Mylyn Context
  • Nidhi Rajshree/Srikanth Tamilselvam, IBM Research India - Cockpit Modelling ToolKit, An Eclipse and BPMN based toolkit for Citizen centric Service Design
  • Prof.Dinesha, IIIT, Bangalore - Our Experience in Introducing Eclipse in IIITB.
Be there to join the Celebration. For more details please visit
http://wiki.eclipse.org/Eclipse_DemoCamps_November_2011/Bangalore

Lars Vogel: How to remove the //TODO comments from auto-generated code

$
0
0

Eclipse Code Templates are great. Unfortunately they add lots of comments for stuff I don’t like:

public class MainTest {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub

    }

}

If you also don’t like the TODO comments you can change the templates via: Window -> Preferences -> Java -> Code Style -> Code Templates.

In the code tree you have the templates. Select for example Code → Method Body and press “Edit” to edit this template and to remove the todo comment.

I hope this helps. I also added this to my Eclipse IDE tutorial in the Eclipse templates section.

You find me also on Twitter. My Google+ profile can be found Lars Vogels Profile.

flattr this!

Martin Taal: EMFT Texo: different from EMF code generation?

$
0
0

Texo is an EMF variant which provides real pojo/JPA entity generation from ecore/xsd models.

The main difference with EMF is that the generated code does not contain any framework specific constructs. The code can be serialized, persisted etc. in standard frameworks (EclipseLink, Hibernate, GWT) without additional layers. This in contrast to EMF which for example requires a solution like Teneo at runtime to take care of persistence in Hibernate.

Still, eventhough Texo follows a different solution path than EMF, much of the same functionality is supported:

Different from EMF, Texo supports this functionality by externalizing the framework specific constructs in separate generated (optional) classes. The generated entities are not ‘polluted’ with framework constructs.

In addition to the above Texo also adds new features not provided by EMF:

Texo is targeted at the server side of web server/service environments. The current development focuses on extending the Texo runtime with generated REST XML/XMI webservices.

Thanks for reading and if you are interested feel free to give feedback or ask questions on the EMFT newsgroup or forum.

gr. Martin


Cedric Brun: Eclipse Day Paris 2011

$
0
0


Eclipse Day Paris took place a few weeks ago, every year it is scheduled the week after Eclipse Con Europe. I had the chance to attend the 2011 edition and it was a real pleasure for several reasons.



1 - Organization rocked

The event was perfectly organized. Proxiad and Zenika did a great job, timing was perfect for the presentations, the content was interesting and the french touch for food and wine have been highly appreciated !

Proxiad and Zenika are fairly original service providers : highly technical and active in open source communities, it's always a pleasure to collaborate with them. Congrats to the organizers !

2 - Diverse content

The talks were very diverse, from Ralph and the Eclipse Foundation to UI testing going through modeling, OSGi, Scout, BI and industrial feedback. A nice combination.

3 - Wide and Diverse audience

The event was free and attracted a wide and diverse audience. That was perfect for me as I was there as "Eclipse Modeling Evangelist", helping people understand what kind of technologies we are building in this project and how they could benefit from it with a very low cost or risk.

Slides (in english) are available here.














The room was crowded and actively listening. I had many interactions after the talk. The Eclipse Modeling project is very hard to understand from the outside, it is highly fragmented and poorly publicized. I'll try to give more talks of this kind in the future.





4 - Hands on

Afternoon we had an "hands on" session with Obeo Designer, timing was short but all the attendees managed to build a DSL and a graphical modeler during the session.


It's always enlightening for us to interact directly with users trying the technology. It helps us identify very small things which are making a huge difference at the end. Obeo Designer 6.0 will bring a lot of good stuff in this regard, stay tuned !






In a nutshell I really liked this event which is a good complement to other Eclipse events like democamps or eclipse conferences. I'm looking forward to it for next year and can only advice you to book the dates !

Deepak Azad: Annotation based null analysis with JDT

$
0
0
Eclipse Juno M4 includes support for annotation based null analysis. To take advantage of the feature enable the preference shown below and start using the default annotations mentioned in the text fields.


You will also notice that all the null analysis related options have moved to a new group on the preference page.

As usual feedback is extremely welcome especially in form of bug reports :-)

UPDATE: JDT provides default annotations which are shipped in org.eclipse.jdt.annotation bundle with the Eclipse SDK. However you are free to use your own annotation types, just specify the custom annotations in the preferences.
Viewing all 6595 articles
Browse latest View live




Latest Images