Expand my Community achievements bar.

SOLVED

Adobe Copyright text in the code

Avatar

Level 2

Hello,

There is usually a copyright text that is contained in many core components files and clientlibs js.txt and css.txt classes like below :

<!--/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  ~ Copyright 2016 Adobe Systems Incorporated

  ~

  ~ Licensed under the Apache License, Version 2.0 (the "License");

  ~ you may not use this file except in compliance with the License.

  ~ You may obtain a copy of the License at

  ~

  ~     http://www.apache.org/licenses/LICENSE-2.0

  ~

  ~ Unless required by applicable law or agreed to in writing, software

  ~ distributed under the License is distributed on an "AS IS" BASIS,

  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  ~ See the License for the specific language governing permissions and

  ~ limitations under the License.

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/-->

Should we keep the copyrights if we are overriding, overlaying or maybe copying some parts of code for one of our clients.

One concrete use-case is :

I am developing a proxy image component for a client 'x', where I am referring the core components image component located at

/apps/core/wcm/components/image/v2/image

As part of development, i want to override the image.html of the core component, so should i also put the copyright text in this file

/apps/x/components/content/image/image.html

I was somewhat confused because I was reading the Apache License 2.0 and i read that we should keep the copyright and add comments to the copyright text on what was added

Also, for the js.txt and css.txt files in the clientlib we always have a copyright, even the we retail implementation has that. Are we supposed to have that copyright text even if we create a new clientlib for a new custom component ?

Regards,

Karan Sharma

1 Accepted Solution

Avatar

Correct answer by
Level 10

Best practice would be to keep the copyright when you override code.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Best practice would be to keep the copyright when you override code.