Hmmm, are we required to have license text in JS and HTML files? We should minimize the size of these files whenever possible. Maybe there is a Maven build option or script that can remove comments from code before deploying?
Ethan On Fri, Aug 27, 2010 at 3:54 PM, <[email protected]> wrote: > Author: rhirsch > Date: Fri Aug 27 13:54:35 2010 > New Revision: 990152 > > URL: http://svn.apache.org/viewvc?rev=990152&view=rev > Log: > fixed licensing issues on js files > based on rat results > > Modified: > > incubator/esme/trunk/server/src/main/scala/org/apache/esme/liftwebext/SHtml.scala > incubator/esme/trunk/server/src/main/webapp/scripts/dialog_action.js > incubator/esme/trunk/server/src/main/webapp/scripts/dialog_pool.js > incubator/esme/trunk/server/src/main/webapp/scripts/dialog_token.js > incubator/esme/trunk/server/src/main/webapp/scripts/dialog_track.js > incubator/esme/trunk/server/src/main/webapp/scripts/esme_streams.js > > Modified: > incubator/esme/trunk/server/src/main/scala/org/apache/esme/liftwebext/SHtml.scala > URL: > http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/liftwebext/SHtml.scala?rev=990152&r1=990151&r2=990152&view=diff > ============================================================================== > --- > incubator/esme/trunk/server/src/main/scala/org/apache/esme/liftwebext/SHtml.scala > (original) > +++ > incubator/esme/trunk/server/src/main/scala/org/apache/esme/liftwebext/SHtml.scala > Fri Aug 27 13:54:35 2010 > @@ -1,4 +1,23 @@ > -package org.apache.esme.liftwebext > +/** > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you 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. > + */ > + > + package org.apache.esme.liftwebext > > import _root_.net.liftweb._ > import http._ > @@ -13,13 +32,6 @@ import JE._ > import JsCmds._ > import _root_.scala.xml._ > > -/** > - * Created by IntelliJ IDEA. > - * User: imtiaz > - * Date: Jun 27, 2010 > - * Time: 11:40:19 AM > - * To change this template use File | Settings | File Templates. > - */ > > object SHtml { > import net.liftweb.http.js.JsCmds.JsCrVar > > Modified: incubator/esme/trunk/server/src/main/webapp/scripts/dialog_action.js > URL: > http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/scripts/dialog_action.js?rev=990152&r1=990151&r2=990152&view=diff > ============================================================================== > --- incubator/esme/trunk/server/src/main/webapp/scripts/dialog_action.js > (original) > +++ incubator/esme/trunk/server/src/main/webapp/scripts/dialog_action.js Fri > Aug 27 13:54:35 2010 > @@ -1,3 +1,22 @@ > +/* > + Licensed to the Apache Software Foundation (ASF) under one * > + or more contributor license agreements. See the NOTICE file * > + distributed with this work for additional information * > + regarding copyright ownership. The ASF licenses this file * > + to you 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. * > +*/ > + > // <