https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362010-07-07T01:29:20ZEcoinformatics RedmineKepler - Bug #5076: Minimize the number of files downloaded from the Ptolemy repository.https://projects.ecoinformatics.org/ecoinfo/issues/5076?journal_id=175662010-07-07T01:29:20ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>Ptolemy currently is deployable as a number of jar files that do not<br />include the source code.</p>
<p>The Ptolemy project has a proposal to get funding to use OSGi to componentize<br />Ptolemy. This funding is likely, but until it is a done deal, the work<br />will not happen. This work is scheduled to begin in late Summer, 2011, but<br />could happen earlier.</p>
<p>The short term solution would be to use the current Ptolemy makefile<br />infrastructure to generate the list of jars:</p>
<p>svn co <a class="external" href="https://source.eecs.berkeley.edu/svn/chess/ptII/trunk">https://source.eecs.berkeley.edu/svn/chess/ptII/trunk</a> ptII<br />cd ptII<br />export PTII=`pwd`<br />./configure<br />make >& make.out <br />make install jar_dist >& install.out &<br />make echo_jars JARS=PTINY_KEPLER_JNLP_JARS | grep .jar | awk -F \" '{print $2}'</p>
<p>The last rule produces the following jar files:<br />../../jar_dist/ptolemy/actor/gui/jnlp/PtinyKeplerApplication.jar<br />../../jar_dist/doc/docConfig.jar<br />../../jar_dist/lib/diva.jar<br />../../jar_dist/lib/kieler.jar<br />../../jar_dist/ptolemy/ptsupport.jar<br />../../jar_dist/ptolemy/vergil/vergil.jar<br />../../jar_dist/ptolemy/domains/domains.jar<br />../../jar_dist/ptolemy/actor/parameters/demo/demo.jar<br />../../jar_dist/ptolemy/matlab/matlab.jar<br />../../jar_dist/ptolemy/matlab/demo/demo.jar<br />../../jar_dist/lib/matlab.jar<br />../../jar_dist/doc/codeDoc.jar<br />../../jar_dist/doc/design/usingVergil/usingVergil.jar<br />../../jar_dist/lib/jython.jar<br />../../jar_dist/lib/ptcolt.jar<br />../../jar_dist/ptolemy/actor/lib/colt/colt.jar<br />../../jar_dist/ptolemy/actor/lib/colt/demo/demo.jar<br />../../jar_dist/ptolemy/actor/lib/comm/demo/demo.jar<br />../../jar_dist/ptolemy/actor/lib/hoc/demo/demo.jar<br />../../jar_dist/ptolemy/actor/lib/javasound/demo/demo.jar<br />../../jar_dist/ptolemy/actor/lib/jni/demo/demo.jar<br />../../jar_dist/ptolemy/actor/lib/python/python.jar<br />../../jar_dist/ptolemy/actor/lib/python/demo/demo.jar<br />../../jar_dist/ptolemy/actor/lib/security/demo/demo.jar<br />../../jar_dist/ptolemy/actor/ptalon/antlr/antlr.jar<br />../../jar_dist/ptolemy/actor/ptalon/demo/demo.jar<br />../../jar_dist/ptolemy/actor/ptalon/ptalon.jar<br />../../jar_dist/ptolemy/domains/continuous/demo/demo.jar<br />../../jar_dist/ptolemy/domains/continuous/doc/doc.jar<br />../../jar_dist/ptolemy/domains/ct/demo/demo.jar<br />../../jar_dist/ptolemy/domains/ct/doc/doc.jar<br />../../jar_dist/ptolemy/domains/fsm/doc/doc.jar<br />../../jar_dist/ptolemy/domains/fsm/demo/demo.jar<br />../../jar_dist/ptolemy/domains/modal/doc/doc.jar<br />../../jar_dist/ptolemy/domains/modal/demo/demo.jar<br />../../jar_dist/ptolemy/domains/sdf/demo/demo.jar<br />../../jar_dist/ptolemy/domains/sdf/doc/doc.jar<br />../../jar_dist/ptolemy/data/type/demo/demo.jar<br />../../jar_dist/ptolemy/data/unit/demo/demo.jar<br />../../jar_dist/ptolemy/domains/ddf/demo/demo.jar<br />../../jar_dist/ptolemy/domains/ddf/doc/doc.jar<br />../../jar_dist/ptolemy/domains/de/demo/demo.jar<br />../../jar_dist/ptolemy/domains/de/doc/doc.jar<br />../../jar_dist/ptolemy/domains/hdf/demo/demo.jar<br />../../jar_dist/ptolemy/domains/hdf/doc/doc.jar<br />../../jar_dist/ptolemy/domains/pn/demo/demo.jar<br />../../jar_dist/ptolemy/domains/pn/doc/doc.jar<br />../../jar_dist/ptolemy/domains/rendezvous/demo/demo.jar<br />../../jar_dist/ptolemy/domains/rendezvous/doc/doc.jar<br />../../jar_dist/ptolemy/domains/sr/demo/demo.jar<br />../../jar_dist/ptolemy/domains/sr/doc/doc.jar<br />../../jar_dist/ptolemy/moml/demo/demo.jar<br />../../jar_dist/ptolemy/vergil/kernel/attributes/demo/demo.jar</p>
<p>This is 106 jar files. 106 modules seems like too many. See<br /><a class="external" href="https://kepler-project.org/developers/reference/ptolemy-package-dependencies">https://kepler-project.org/developers/reference/ptolemy-package-dependencies</a><br />for a list of possible modules.</p>
<p>I'm strongly opposed to creating a copy of the Ptolemy tree because it<br />makes updating a nightmare. For example, the ptolemy/module-info/revision.txt<br />has not been updated in almost a month, see bug 4324. This means that<br />any bug fixes or changes in functionality in Ptolemy are not present<br />in the Kepler devel tree.</p>
<p>It seems like a good interim solution would be to use ant to invoke the<br />Ptolemy makefile build system to create the jars and then group the jars<br />into a module. This would take less time, probably around 32 hrs.<br />I'd be willing to hack up some rules that would build a few jar files<br />that would match the module dependencies in <br /><a class="external" href="https://kepler-project.org/developers/reference/ptolemy-package-dependencies">https://kepler-project.org/developers/reference/ptolemy-package-dependencies</a></p>
<p>The OSGi solution would take a few months and is scheduled for next year so <br />would probably not happen for Kepler-2.1</p> Kepler - Bug #5076: Minimize the number of files downloaded from the Ptolemy repository.https://projects.ecoinformatics.org/ecoinfo/issues/5076?journal_id=175672010-07-07T17:37:30ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>As per Kepler leadership discussion, moving this to 2.X.Y. Note that<br />we will have Kepler devel telcon to discuss 2.1, so I'm leaving this as<br />blocking 5064.</p> Kepler - Bug #5076: Minimize the number of files downloaded from the Ptolemy repository.https://projects.ecoinformatics.org/ecoinfo/issues/5076?journal_id=175682013-03-27T21:29:08ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 5076</p>