Does eclipse have an auto info feature?[SOLVEd]

I googled it, btw ;D, so don’t say lmgtfy.

Anyways, as my game making becomes more of a job than hobby, I want to make my source code look a bit more professional. I want to add in this to all of my code, after imports (or where ever, It would be great if it was after imports):


package wml.jgo.games;

import java.crap.stop.dontgointhispackage.youwerentsupposedtoseethis;

/*
Author: Wessles
Website: www.wessles.com
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. For more information on this license, go to http://creativecommons.org/licenses/by-sa/3.0/deed.en_US
*/

class crap {
// You are lucky I am giving this for free. You aren't even worthy of my mad coding skillz.
}

I want to have that commented out part with licensing and information. Can eclipse do this automatically?

yep :slight_smile:

Creative Commons is not designed for software.

Just saying.

For opensource, use GPL v3.

I like this licence:

http://opensource.org/licenses/MIT

To confuse you more here is the third: Apache.

I use the 3-clause BSD license: http://opensource.org/licenses/BSD-3-Clause

Is there a link anywhere to a page containing a description of all of the popular open source licenses, a quick summary of what they do, and what makes them different?

I am not good at this but I think that’s Apache (plus you’re freed from sue of any disaster caused by your program).

Here, try this site.

Thanks for the links, I had Googled it but I was wondering if there was some site that was super highly suggested. I’ll just do my research soon.

I found the best website that simply asks you questions to narrow down which license is best for you: http://www.oss-watch.ac.uk/_site/apps/licdiff/

Was just about to post this.

:o Thank you very much! I will definitely use that!

Interestingly, no popular license describes enhanced attribution.

Here’s the top licences.

My selection

[icode]
/*----------------------------------------------------------

  1. Popular and widely used : Yes
  2. Licence type : Strong copyleft
  3. Jurisdiction : Don’t care
    4.a Grants patent rights : Don’t care
    4.b Patent retaliation clause : Don’t care
  4. Specifies enhanced attribution : Yes
  5. Addresses privacy loophole : Don’t care
  6. Includes ‘no promotion’ feature : Yes

----------------------------------------------------------*/
[/icode]

Good find, ra4king!

Strong copyleft?!? Why?

I don’t want others to sell my code by dual-licencing it with a commercial licence. But LGPL is an exception for this.

Right but strong copyleft requires the ENTIRE project of whoever is using your code to be open source. If anyone makes a closed-source program, say a game, and monetizes it, they cannot use your code/library anymore. Essentially, you’ve limited your code to only open-source use.

Personally I would prefer weak copyleft: do whatever you want with my code as long as you keep my license on my code.