[kepler-dev] [Bug 4091] - Make it so the build system can use a "blessed" version of Ptolemy.

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu May 28 17:44:48 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4091





------- Comment #8 from welker4kepler at gmail.com  2009-05-28 17:44 -------
Hi Christopher,

Good comments.

Actually, the command ant use-ptolemy-head and ant use-stable-ptolemy have been
both removed. There is a new command in their place, called ant update-ptolemy.
This command can be used in one of two ways:

ant update-ptolemy -Drev=head
ant update-ptolemy -Drev=stable

If one of these isn't specified, the command fails.

You have suggested using the update command and having a parameter. Adding that
as an option would probably be a good idea. However, I want a separate command
just to update-ptolemy, because just because you want to use the head of
ptolemy that doesn't mean you want to use the head of everything else.

Of course, there is actually another way to specify that you only want to
update ptolemy, and that is by using the -Dinclude option in an update. So, for
example, to update just ptolemy, you could type:

ant update -Dinclude=ptolemy

If we combined this with your idea of specifying the "head" as a revision, then
we could just type 

ant update -Dinclude=ptolemy -Drev=head

Alternatively, you could switch back to using a stable version of ptolemy with:

ant update -Dinclude=ptolemy -Drev=stable

This is generally applicable functionality. So, for example, if you just wanted
to update the core module, you could type:

ant update -Dinclude=ptolemy -Drev=head

However, I think switching between using the head of ptolemy and the stable
version is common enough that it deserves its own separate, slighly easier to
type command in addition to the ability to work with it in this more generic
way. So, I think I want to keep the "ant update-ptolemy" command. But, if you
prefer, I could remove this command and we could use "ant update" for
everything.


More information about the Kepler-dev mailing list