Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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 2309 times)
0 Members and 1 Guest are viewing this topic.
Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Posted 2013-08-02 22: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?

Offline moogie

JGO Knight


Medals: 12
Projects: 6
Exp: 10 years


Java games rock!


« Reply #1 - Posted 2013-08-02 23: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 Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Reply #2 - Posted 2013-08-02 23:32:25 »

Thanks!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline HeroesGraveDev

JGO Kernel


Medals: 246
Projects: 11
Exp: 2 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


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

Creative Commons is not designed for software.

Just saying.

Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


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

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

Offline SHC
« Reply #5 - Posted 2013-08-03 01:33:30 »

For opensource, use GPL v3.

Offline drabla

Junior Member


Medals: 5



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

I like this licence:

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

To confuse you more here is the third: Apache.

Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


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

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

Offline Sammidysam
« Reply #9 - Posted 2013-08-03 01: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 Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


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

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

Offline ReBirth
« Reply #11 - Posted 2013-08-03 02: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: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #12 - Posted 2013-08-03 02: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 02:02:42 »

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

Offline Sammidysam
« Reply #14 - Posted 2013-08-03 02: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: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #15 - Posted 2013-08-03 02: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: 246
Projects: 11
Exp: 2 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #16 - Posted 2013-08-03 02: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 02:16:57 »

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

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


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

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

Offline ReBirth
« Reply #19 - Posted 2013-08-03 03:10:09 »

Interestingly, no popular license describes enhanced attribution.

Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


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

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

Offline SHC
« Reply #21 - Posted 2013-08-03 03: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: 345
Projects: 3
Exp: 5 years


I'm the King!


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

Strong copyleft?!? Why?

Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


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

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

Offline SHC
« Reply #24 - Posted 2013-08-03 05: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: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #25 - Posted 2013-08-03 12: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 14:09:55 »

Permissive is easier.

Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


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

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

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

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

Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Reply #29 - Posted 2013-08-03 23:51:52 »

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

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.

TehJavaDev (18 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (70 views)
2014-08-11 02:49:23

BurntPizza (46 views)
2014-08-09 21:09:32

BurntPizza (37 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!