Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Does eclipse have an auto info feature?[SOLVEd]  (Read 1897 times)
0 Members and 1 Guest are viewing this topic.
Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Posted 2013-08-03 00:45:29 »

I googled it, btw  Grin, 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):
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
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?

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Offline moogie

JGO Knight


Medals: 11
Projects: 5
Exp: 10 years


Java games rock!


« Reply #1 - Posted 2013-08-03 01:29:49 »

yep Smiley

http://stackoverflow.com/questions/2604424/how-can-i-add-a-default-header-to-my-source-files-automatically-in-eclipse
Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #2 - Posted 2013-08-03 01:32:25 »

Thanks!

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline HeroesGraveDev

JGO Kernel


Medals: 212
Projects: 11
Exp: 2 years


If it wasn't Awesome, it wasn't me.


« Reply #3 - Posted 2013-08-03 02:16:35 »

Creative Commons is not designed for software.

Just saying.

Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #4 - Posted 2013-08-03 03:29:17 »

Eh?! Oh no! Well, what do I use

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Offline SHC
« Reply #5 - Posted 2013-08-03 03:33:30 »

For opensource, use GPL v3.

Offline drabla

Junior Member


Medals: 5



« Reply #6 - Posted 2013-08-03 03:33:53 »

I like this licence:

http://opensource.org/licenses/MIT
Offline ReBirth
« Reply #7 - Posted 2013-08-03 03:53:09 »

To confuse you more here is the third: Apache.

Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #8 - Posted 2013-08-03 03:58:41 »

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

Offline Sammidysam
« Reply #9 - Posted 2013-08-03 03:59:37 »

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?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #10 - Posted 2013-08-03 03:59:42 »

What will assure me that people can use it, and build off of it, but have to say it was me?

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Offline ReBirth
« Reply #11 - Posted 2013-08-03 04:01:01 »

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).

Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #12 - Posted 2013-08-03 04:01:42 »

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?
Here, try this site.

Offline SHC
« Reply #13 - Posted 2013-08-03 04:02:42 »

http://opensource.com/law/13/1/which-open-source-software-license-should-i-use

Offline Sammidysam
« Reply #14 - Posted 2013-08-03 04:04:01 »

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.
Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #15 - Posted 2013-08-03 04:13:06 »

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/

Offline HeroesGraveDev

JGO Kernel


Medals: 212
Projects: 11
Exp: 2 years


If it wasn't Awesome, it wasn't me.


« Reply #16 - Posted 2013-08-03 04:15:06 »

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.

Offline Sammidysam
« Reply #17 - Posted 2013-08-03 04:16:57 »

Shocked Thank you very much!  I will definitely use that!
Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #18 - Posted 2013-08-03 04:26:09 »

I decided to get the GNU. It's pretty nice. I like it!

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Offline ReBirth
« Reply #19 - Posted 2013-08-03 05:10:09 »

Interestingly, no popular license describes enhanced attribution.

Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #20 - Posted 2013-08-03 05:12:55 »

Yeah. I want one that means that:
1: I can't get sued.
2: I get attributed.

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Offline SHC
« Reply #21 - Posted 2013-08-03 05:25:37 »

Here's the top licences.



My selection

 /*----------------------------------------------------------

  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
  5.   Specifies enhanced attribution     : Yes
  6.   Addresses privacy loophole         : Don't care
  7.   Includes 'no promotion' feature    : Yes

 ----------------------------------------------------------*/


Good find, ra4king!

Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #22 - Posted 2013-08-03 07:03:54 »

Strong copyleft?!? Why?

Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #23 - Posted 2013-08-03 07:13:42 »

Wait, If I am correct, copyleft means that people can use my code for free and get money from it?!

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Offline SHC
« Reply #24 - Posted 2013-08-03 07:32:59 »

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.

Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #25 - Posted 2013-08-03 14:26:48 »

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.

Offline ReBirth
« Reply #26 - Posted 2013-08-03 16:09:55 »

Permissive is easier.

Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #27 - Posted 2013-08-03 17:17:16 »

Yeah in the end I side with permissive, therefore: 3-clause BSD license.

Offline SHC
« Reply #28 - Posted 2013-08-03 17:40:00 »

I've changed the licences of my libraries to LGPL v3. No "strong copyleft".

Offline wessles

JGO Ninja


Medals: 49
Projects: 4
Exp: 3 years


Coding with bad posture since 2011... Nonstop.


« Reply #29 - Posted 2013-08-04 01:51:52 »

Or this: http://www.wtfpl.net/

You don't know nerdiness yet; you haven't even met me!
www.wessles.com
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (64 views)
2014-04-15 18:08:23

BurntPizza (62 views)
2014-04-15 03:46:01

UprightPath (75 views)
2014-04-14 17:39:50

UprightPath (58 views)
2014-04-14 17:35:47

Porlus (76 views)
2014-04-14 15:48:38

tom_mai78101 (101 views)
2014-04-10 04:04:31

BurntPizza (161 views)
2014-04-08 23:06:04

tom_mai78101 (256 views)
2014-04-05 13:34:39

trollwarrior1 (209 views)
2014-04-04 12:06:45

CJLetsGame (216 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!