+1 for type specific subdirectories.
Susan
Eric Dalquist wrote:
Drew,
I just finished mering the Cernunnos import/export code into the pluto
branch where I've been working over the past month or so. I've made a
few changes to file locations and things that include the following:
-Merged import-export.xml into the main build.xml, I didn't really see
a need to have this core functionality in a seperate Ant script.
-Moved the entity XML files from
uportal-impl/src/main/resources/properties/db/entities to
uportal-impl/src/main/config/entities, I may revist this move since
I'm seeing possible future use for the entity files to exist in the
deployed portal.
-Renaming the numbered entities with better names. This is just
channels for now but we can look at doing other entity types as well
to make the appropriate files easier to find and edit by hand.
Also, I was wondering if it would make sense to have type specific
subdirectories under entities/ to help organize the large number of
files better?
-Eric
PS Here is what I ran in the entities directory to rename the .channel
files:
find . -name '*.channel' | xargs grep fname | sed
's/\.\/\([0-9]*\.channel\): <fname>\([^<]*\)<\/fname>.*/svn mv \1
\2.channel/' | sed 's/\//_/g' > fixChannels.sh
--
It's no use trying to be clever--we are all clever here; just try to be kind--a
little kind.
-- F.J. Foakes Jackson
--
You are currently subscribed to [email protected] as: [EMAIL
PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev