Bug #5076

Minimize the number of files downloaded from the Ptolemy repository.

Added by David Welker over 8 years ago. Updated over 8 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


(12) Minimize the number of files downloaded from the Ptolemy repository.

Ptolemy is a very large project that consists of a large number of files. Many of these files are not useful to Kepler, but they nonetheless significantly slow down Eclipse and IDEA. It should be possible to design the build system so that it does not download a majority of the files that are not actually useful for Kepler. One approach would be to divide Ptolemy into modules. Another would be to divide the Ptolemy repository into parts and download those parts either into separate modules or one or more special modules.

Related issues

Blocked by Kepler - Bug #5064: Kepler 2.1 Tracking BugNew2010-06-30


#1 Updated by Christopher Brooks over 8 years ago

Ptolemy currently is deployable as a number of jar files that do not
include the source code.

The Ptolemy project has a proposal to get funding to use OSGi to componentize
Ptolemy. This funding is likely, but until it is a done deal, the work
will not happen. This work is scheduled to begin in late Summer, 2011, but
could happen earlier.

The short term solution would be to use the current Ptolemy makefile
infrastructure to generate the list of jars:

svn co ptII
cd ptII
export PTII=`pwd`
make >& make.out
make install jar_dist >& install.out &
make echo_jars JARS=PTINY_KEPLER_JNLP_JARS | grep .jar | awk -F \" '{print $2}'

The last rule produces the following jar files:

This is 106 jar files. 106 modules seems like too many. See
for a list of possible modules.

I'm strongly opposed to creating a copy of the Ptolemy tree because it
makes updating a nightmare. For example, the ptolemy/module-info/revision.txt
has not been updated in almost a month, see bug 4324. This means that
any bug fixes or changes in functionality in Ptolemy are not present
in the Kepler devel tree.

It seems like a good interim solution would be to use ant to invoke the
Ptolemy makefile build system to create the jars and then group the jars
into a module. This would take less time, probably around 32 hrs.
I'd be willing to hack up some rules that would build a few jar files
that would match the module dependencies in

The OSGi solution would take a few months and is scheduled for next year so
would probably not happen for Kepler-2.1

#2 Updated by Christopher Brooks over 8 years ago

As per Kepler leadership discussion, moving this to 2.X.Y. Note that
we will have Kepler devel telcon to discuss 2.1, so I'm leaving this as
blocking 5064.

#3 Updated by Redmine Admin almost 6 years ago

Original Bugzilla ID was 5076

Also available in: Atom PDF