[SDM-SPA] Re: [kepler-dev] moving edu.ncsu to org.sdm.spa
altintas at sdsc.edu
Tue Apr 6 19:24:24 PDT 2004
I understand we want the spa to be the top src folder in the
spa cvs and we have decided to have the util under it.
But I believe it would be a better structure if we have it like
|_ util (SPA actor-specific utility files)
|_ util (Generic utility files)
This will also make the synch with Kepler easier. We can copy
the generic util files we need from Kepler into the top directory.
Copying all the geon folder just for using a geon util file
doesn't make very much sense to me. I thought this was what
we wanted to avoid in spa cvs. Did I misunderstand something?
Also for Kepler, it might be a better organization to keep
the project-related/actor-specific util files in project
folders and the generic util files in one top directory under
source (***as it is now) IMHO. It is easier to look for what's
already available in the top folder, etc. and some of these
files would be even not belonging to a kepler project but
anonymous code that is being used by some of the actors.
(e.g. UUIDGen.java is a universal id generator is an open-source
(see author info in the file) java code that is used to create
unique temporary file names for temporary storage.)
There might be other ways of doing this. This is just an
idea that seemed reasonable to me.
From: kepler-dev-admin at ecoinformatics.org
[mailto:kepler-dev-admin at ecoinformatics.org]On Behalf Of Xiaowen Xin
Sent: Tuesday, April 06, 2004 4:46 PM
To: Ilkay Altintas; efrat at sdsc.edu
Cc: sdm-dev at sdsc.edu; kepler-dev at ecoinformatics.org
Subject: RE: [SDM-SPA] Re: [kepler-dev] moving edu.ncsu to org.sdm.spa
Another thing is we agreed a few weeks ago that we would have a
org/sdm/spa/util directory for utility files. So what's currently in
kepler/src/util would ideally go there. This switch wouldn't be as easy
to make since there's a GEON file that apparently uses both files that
are currently in util/.
Efrat: you're listed as the author for
src/org/geon/OpenDBConnection.java, which is the only non-spa file I
could find that uses the code in util/. Would it be okay for me to move
what's now in src/util into org/sdm/spa/util/? Alternatively, we could
move those two files into org/geon/util/.
The reason for this is that since we're already dividing up most of the
source files by organization, we should just divide it all up by
organization. I think the reason people wanted a util/ directory is so
that it would be a place to put code that would be useful for all
projects. However, this criteria is hard to determine because most of
the code from one project could potentially be useful in the other
projects. So I think having a util/ directory as a subdirectory of the
projects makes more sense. If SPA needed to use something from GEON, we
could import org.geon.*; or org.geon.util.* as an example. The
distinction here between org.sdm.spa.* and org.sdm.spa.util.* is that
util.* contains non-actor utility code, while all the actors go into
I hope that made sense :)
kepler-dev mailing list
kepler-dev at ecoinformatics.org
More information about the Kepler-dev