Recent Changes - Search:

edit SideBar

Osgi2-0Licensing

See Also

  • See Osgi2-0 for how to set up using the current set of OSGi branches
  • See osgi-2-0 -> Licensing for info about how to invoke ptolemy.actor.gui.GenerateCopyrights.generateHTML()

Licenses

$PTII/ptolemy/actor/gui/GenerateCopyrights.java contains a list of classes that are search for using reflection. If one of the classes is in the classpath, then a license file is included. Running the test in org.ptolemy.actor.gui.test displays the list of license files on stdout. Below is a description of what was found.

Ptolemy II

Below is the copyright and license that covers the bulk of the code:

Copyright (c) 1995-2014 The Regents of the University of California.
All rights reserved.

Permission is hereby granted, without written agreement and without
license or royalty fees, to use, copy, modify, and distribute this
software and its documentation for any purpose, provided that the above
copyright notice and the following two paragraphs appear in all copies
of this software.

IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
ENHANCEMENTS, OR MODIFICATIONS.

AElfred

AElfred is used by ptolemy.moml. The source is in $PTII/com/microstar/xml/*.java

AElfred is used as part of the Ptolemy MoMLChangeRequest system, which is how we modify models that have been loaded in.

It would be very difficult to use ptolemy.moml.MoMLParser and not use Aelfred.

In theory, Ptolemy can be used without ptolemy.moml.MoMLParser by invoking Java methods directly to instantiate and invoke models. However, this would need to be verified.

The license is at http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII10.0/ptII/com/microstar/xml/aelfred-license.htm

Version: $Id: README.txt 22987 2002-06-10 20:09:55Z cxh $
AElfred, Version 1.1
Microstar's Java-Based XML Parser
Copyright (c) 1997, 1998 by Microstar Software Ltd.
Home Page: http://www.microstar.com/XML/

AElfred is free for both commercial and non-commercial use and
redistribution, provided that Microstar's copyright and disclaimer are
retained intact. You are free to modify AElfred for your own use and
to redistribute AElfred with your modifications, provided that the
modifications are clearly documented.


DISCLAIMER
----------

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
merchantability or fitness for a particular purpose. Please use it AT
YOUR OWN RISK.

Graph

ptolemy.core uses classes in ptolemy/graph that have a BSD style copyright held by a former student of Edward Lee.

ptolemy.graph is used for type resolution. It would be difficult to execute models without this package.

http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII10.0/ptII/ptolemy/graph/graph-license.htm states:

Copyright for ptolemy.graph
Significant portions of the ptolemy.graph package were developed by Professor Shuvra S. Bhattacharyya and his group. The copyright for these files is reproduced below:

Copyright (c) 2001-2013 The University of Maryland
All rights reserved.
Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following two paragraphs appear in all copies of this software.

IN NO EVENT SHALL THE UNIVERSITY OF MARYLAND BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF MARYLAND HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE UNIVERSITY OF MARYLAND SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF MARYLAND HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

Double Utilities

ptolemy.util.DoubleUtilities is used by ptolemy.actor.util.Time to improve performance.

In theory this dependency could be removed, though performance would suffer.

DoubleUtilities is based on https://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/common/math/DoubleUtils.java which is a part of Guava and has the following license:

/*
* Copyright (C) 2011 The Guava Authors
*
* 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.
*/

Extension Filename Filter

ptolemy.gui uses $PTII/ptolemy/actor/gui/ExtensionFilenameFilter.java has a license held by Sun. The license is fairly open.

ptolemy/gui/ExtensionFileFilter.java is used by ptolemy/gui/PtolemyFrame.java and ptolemy/actor/gui/TableauFrame.java. This class is a copy of diva.gui.ExtensionFileFilter so that ptolemy.gui does not require diva.

This dependency could be removed by rewriting the code or using Eclipse widgets.

http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII10.0/ptII/ptolemy/gui/ExtensionFilenameFilter-license.htm says:

Note that as of Java 1.6, there is a FileNameExtensionFilter which replaces this class. See http://download.oracle.com/javase/6/docs/api/javax/swing/filechooser/FileNameExtensionFilter.html However, this class can be used with both java.awt.FileDialog and javax.swing.JFileChooser because it implements java.io.FilenameFilter and extends javax.swing.FilenameFilter.

ptolemy/gui/ExtensionFileFilter.java has the following license:

Copyright (c) 1998, 1999 by Sun Microsystems, Inc. All Rights Reserved.

Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, modify and redistribute this software in source and binary code form, provided that i) this copyright notice and license appear on all copies of the software; and ii) Licensee does not utilize the software in a manner which is disparaging to Sun.

This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

This software is not designed or intended for use in on-line control of aircraft, air traffic, aircraft navigation or aircraft communications; or in the design, construction, operation or maintenance of any nuclear facility. Licensee represents and warrants that it will not use or redistribute the Software for such purposes.

Next Steps

It would be helpful to scan the code in the osgi-2-0 branch with an open source scanner.

Fossology was run

  • identified the license in DoubleUtilities
  • false positives for GenerateCopyrights.java
  • Files in com/microstar/xml were identified as not having a license, though they link to the README
  • Files in ptolemy/data/expr were identified as not having a license. These files are generated by JavaCC

Open Source License Checker V.3 was run

  • The installer was from 2009, so the licenses could be out of date
  • The tool identified some minor typos in files where the line that lists the copyright holder differed slightly
  • The tool states that there is a conflict between Apache-2.0 and the "All Rights Reserved" statement in the BSD copyright that appears in most of the files.
Edit - History - Print - Recent Changes - Search
Page last modified on June 19, 2015, at 04:22 PM