Hi Sergio,
You're free to put your customizations wherever works best for you.
I find that making customization directly to dspace-api, dspace-jspui to be
very efficient, especially since I have a solid version control system
behind it all. So for me to see what I've changed since the last release,
its a simple git diff dspace-1.6.2. Also if I make a customization which I
would like to share with the community, you don't send in a patch against
module-overlay, you send a patch against the regular code structure. Also, I
haven't had good outcomes using module-overlay to make customizations to
dspace-api, as I wasn't always certain that my customizations were in
effect.
Additionally, you can look at all of your customizations through a graphical
diff tool, such as Meld, and you'll be able to spot all of your changes.
Especially since Meld has three-way directory diffs. So you can compare a
directory that is 1.6.2-clean checkout, against your current 1.6.2-custom.
And if you're doing an upgrade to 1.7, you could have the three way diff
open, and every customization you have between 1.6.2-clean and 1.6.2-custom,
you can apply to 1.7.
And, if you're really clever in managing your code in git, then the upgrade
could be as simple as:
git checkout dspace-1.7
git merge dspace-1.6-custom
git mergetool (To visually inspect and correct any conflicts, it
opens meld as a three-way diff resolver)
git commit
--
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries
On Fri, Jan 14, 2011 at 1:14 PM, Thornton, Susan M. (LARC-B702)[LITES] <
[email protected]> wrote:
> It's also nice sometimes if you have problems to be able to compare your
> version with the original version. Of course you could always download it
> again, but it's easier to do if it's already there. J
>
> Sue
>
>
>
>
>
>
>
> Sue Walker-Thornton
>
> Software Developer/Database Administrator
>
> NASA Langley Research Center|LITES Contract
>
> (757) 224-4074
>
>
>
>
>
>
>
> -----Original Message-----
> From: Wally Grotophorst [mailto:[email protected]]
> Sent: Friday, January 14, 2011 8:57 AM
> To: [email protected]
> Subject: Re: [Dspace-tech] JSPUI Customization
>
>
>
> Sergio,
>
>
>
> I'll give you the reason I prefer to make mods using the process that
> Claudia
>
> outlined: when you get a new release, it's nice to know that all your local
> mods
>
> are in one place. Makes it much easier to update those modified files.
>
> Otherwise, you face wading thru the spaghetti of the DSpace source code,
> trying
>
> to figure out whether you tweaked this file or that file...
>
>
>
> - Wally
>
>
>
> Wally Grotophorst
>
> Associate University Librarian
>
> Digital Programs and Systems
>
> University Libraries
>
> George Mason University
>
> Fairfax, Virginia 22030
>
> (703) 993-9005
>
>
>
>
>
>
>
> Sergio Belkin wrote:
>
> > 2010/11/22 Claudia Jürgen<[email protected]>:
>
> >> Hello Shaun,
>
> >>
>
> >> the directory structure after webapp is identical to the one in
>
> >> [dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/
>
> >>
>
> >> So if you want to overlay the feedback acknowledge you got
>
> >> to copy
>
> >>
>
> >>
> [dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/feedback/acknowledge.jsp
>
> >>
>
> >> to
>
> >>
>
> >>
> [dspace-source]/dspace/modules/jspui/src/main/webapp/feedback/acknowledge.jsp
>
> >>
>
> >> After your customization you got to rebuild and redeploy your
> application.
>
> >>
>
> >> Hope that helps
>
> >>
>
> >> Claudia Jürgen
>
> >
>
> >
>
> > Hi Claudia,
>
> >
>
> > I've read this thread and my question is somewhat silly: Why should
>
> > not I edit directly the header-default-jsp?
>
> >
>
> > Please don't want to kill me because of my question :)
>
> >
>
> > Thanks in advance
>
> >
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> Protect Your Site and Customers from Malware Attacks
>
> Learn about various malware tactics and how to avoid them. Understand
>
> malware threats, the impact they can have on your business, and how you
>
> can protect your company and customers by using code signing.
>
> http://p.sf.net/sfu/oracle-sfdevnl
>
> _______________________________________________
>
> DSpace-tech mailing list
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech