Is adding in the header the license type enough to say: "my code is licensed"?

Posted by silverfox on Programmers See other posts from Programmers or by silverfox
Published on 2012-11-17T15:23:40Z Indexed on 2012/11/17 23:21 UTC
Read the original article Hit count: 190

Filed under:
|

I read on various sites about licenses.

I did just put the license type in the header file (in my case a javascript file, open-source):

/*
 * "codeName" "version"
 * http://officialsite.com/
 *
 * Copyright 2012 "codeName"
 * Released under the "LICENSE NAME" license
 * http://officialsite.com/LICENSE NAME
 */

 javascript code
 ...

In the same folder I leave a copy of the license. The listing of the folder looks like this:

* codeName.js
* LICENSE

In the file LICENSE is the full text of the license my code uses.

What I cannot find anywhere that says is this is enough to say my code is licensed (the case of open-source). Is something more required?

© Programmers or respective owner

Related posts about open-source

Related posts about licensing