esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ethan Jewett <esjew...@gmail.com>
Subject Re: svn commit: r990152 - in /incubator/esme/trunk/server/src/main: scala/org/apache/esme/liftwebext/ webapp/scripts/
Date Fri, 27 Aug 2010 15:26:33 GMT
Interesting! Ok, I'll look and see at some point if the maven
compression removes the comments. Sorry to doubt.

Ethan

On Fri, Aug 27, 2010 at 4:57 PM, Richard Hirsch <hirsch.dick@gmail.com> wrote:
> The apache license is required in all non-binary files that are not
> otherwise licensed (for example, the JQuery files running under a MIT
> license). During the build process under maven - the js files are
> compressed anyway.  Don't know if the HTML files are compressed - this
> is probably more of lift and / or server + browser issue.
>
> D.
>
>
> On Fri, Aug 27, 2010 at 4:53 PM, Ethan Jewett <esjewett@gmail.com> wrote:
>> 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,  <rhirsch@apache.org> 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.                                      
    *
>>> +*/
>>> +
>>>  // <![CDATA[
>>>  /*
>>>  * function to display action modal dialog
>>>
>>> Modified: incubator/esme/trunk/server/src/main/webapp/scripts/dialog_pool.js
>>> URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/scripts/dialog_pool.js?rev=990152&r1=990151&r2=990152&view=diff
>>> ==============================================================================
>>> --- incubator/esme/trunk/server/src/main/webapp/scripts/dialog_pool.js (original)
>>> +++ incubator/esme/trunk/server/src/main/webapp/scripts/dialog_pool.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.                                      
    *
>>> +*/
>>> +
>>>  // <![CDATA[
>>>  /*
>>>  * function to display new_pool modal dialog
>>>
>>> Modified: incubator/esme/trunk/server/src/main/webapp/scripts/dialog_token.js
>>> URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/scripts/dialog_token.js?rev=990152&r1=990151&r2=990152&view=diff
>>> ==============================================================================
>>> --- incubator/esme/trunk/server/src/main/webapp/scripts/dialog_token.js (original)
>>> +++ incubator/esme/trunk/server/src/main/webapp/scripts/dialog_token.js Fri Aug
27 13:54:35 2010
>>> @@ -1,3 +1,21 @@
>>> +/*
>>> + 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.                                      
    *
>>> +*/
>>>  // <![CDATA[
>>>  /*
>>>  * function to display token modal dialog
>>>
>>> Modified: incubator/esme/trunk/server/src/main/webapp/scripts/dialog_track.js
>>> URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/scripts/dialog_track.js?rev=990152&r1=990151&r2=990152&view=diff
>>> ==============================================================================
>>> --- incubator/esme/trunk/server/src/main/webapp/scripts/dialog_track.js (original)
>>> +++ incubator/esme/trunk/server/src/main/webapp/scripts/dialog_track.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.                                      
    *
>>> +*/
>>> +
>>>  // <![CDATA[
>>>  /*
>>>  * displayMessages called by lift:comet, type="Timeline" and type="PublicTimeline"
>>>
>>> Modified: incubator/esme/trunk/server/src/main/webapp/scripts/esme_streams.js
>>> URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/scripts/esme_streams.js?rev=990152&r1=990151&r2=990152&view=diff
>>> ==============================================================================
>>> --- incubator/esme/trunk/server/src/main/webapp/scripts/esme_streams.js (original)
>>> +++ incubator/esme/trunk/server/src/main/webapp/scripts/esme_streams.js Fri Aug
27 13:54:35 2010
>>> @@ -7,13 +7,7 @@
>>>  "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
>>> -
>>> -   $("#prob_test").bind('DOMSubtreeModified', function()
>>> -    {
>>> -       alert ('hi');
>>> -    }
>>> -);             *
>>> +   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  *
>>>
>>>
>>>
>>
>

Mime
View raw message