Project

General

Profile

Actions

Bug #4388

closed

remove the ptII module

Added by Christopher Brooks over 15 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
09/15/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4388

Description

Now that the copy of Top.java has been removed, the ptII module should
be removed as it contains no .java files and adds no apparent functionality.

In addition, the name of the module (ptII) is confusing as we also have
a "ptolemy" module. I would expect the ptII module to use the ptII svn
repository, but instead the ptII module is all but empty and the ptolemy
repository is what uses the ptII module.

I'm marking that as being in have a 2.0.0 target milestone as 2.0 should not
ship with unused functionality.

Actions #1

Updated by Chad Berkley over 15 years ago

The ptII module actually does provide functionality. It contains the metadata needed to build ptolemy successfully. If we can put the module-info directory in the ptolemy svn tree, then we can remove the ptII module. If you think there is a better place for that information, I'm up for suggestions.

Actions #2

Updated by Christopher Brooks over 15 years ago

Ah, right, the module-info directory.
This could go in ptII/adm/kepler/module-info.
adm is not shipped as part of the public releases.
Or, ptII/util/kepler/module-info would work, though I'd prefer adm.

I'd like to see this in a kepler subdirectory in the ptII tree to
make it obvious that this is kepler stuff. A little README.txt would
help also.

I'm all for removing complexity, so if adding a directory like this
to the ptII repository would help remove the ptII module, then I'm all for it!

Actions #3

Updated by Chad Berkley over 15 years ago

I think ptII/adm/kepler/module-info would work fine. I'll have to take a look at the build system to see how to change it so it looks in a non-default location for that info for ptolemy. Shouldn't be too hard. I can write a readme describing what the dir is for. I'll get to that after I fix the nightly build again.

Actions #4

Updated by David Welker over 15 years ago

Why can't we just create module-info as a top level directory in Ptolemy?

Otherwise, I object to deleting the ptII directory. I do not think we should complicate the build system code so that module-info can be in an unexpected location. I think either ptolemy should conform to us, or we leave the ptII directory in place.

Actions #5

Updated by Timothy McPhillips over 15 years ago

I'm sorry, but I'm a little confused. I thought ptII was a suite meant to enable Kepler developers to run Ptolemy from the Kepler build system. I frequently do 'ant change-to -Dsuite=ptII' so that I can run Ptolemy from the build system. How will I do that if the ptII suite is removed from the repository?

Actions #6

Updated by Sean Riddle over 15 years ago

I think that would now be "ant change-to -Dsuite=ptolemy". Putting the module-info directory in a non-standard location, though, would require special code just to handle the ptolemy module, right? I know it wouldn't be the first time we had to do things a different way with it, notably since the source code isn't in src/ like in a standard module, but it seems like it would be nice to minimize that. Aren't there other modules that exist only as suite definitions with no source code?

Actions #7

Updated by Timothy McPhillips over 15 years ago

Yes, ppod is a "module" with no source code (what I call a "suite"), just a description.txt and a modules.txt in module-info. I was confused because I didn't see reference to this usage of the ptII suite. Maintaining the ptII suite as a level of indirection such that the build system doesn't have to be made more complex seems like a worthwhile tradeoff to consider.

Actions #8

Updated by David Welker almost 15 years ago

There is no good way to remove the ptII suite without changes to the ptolemy module. This is not currently in the cards. Closing this bug.

Actions #9

Updated by Christopher Brooks almost 15 years ago

Reopening this bug because the ptII kepler module should be removed.
I'm all for putting kepler module info into the Ptolemy ptII svn repository,
but the location can't be at the top level.

This sort of thing is likely to come up in the future.

If the build system can't be used with the ptII repository, then it
can't be used with all repositories that do not have precisely the
kepler layout.

I'm leaving this as targetted to 2.0.0, but it could be retargeted 2.X.Y.
However, it would be good to make changes like this before 2.0.0.

Actions #10

Updated by Chad Berkley almost 15 years ago

I've added the module-info to ptolemy. The build system now knows where to look for it so the ptII module is no longer needed. The ptolemy module-info directory is in ptolemy/util/kepler.

Actions #11

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4388

Actions

Also available in: Atom PDF