Mark Diggory wrote:
> 
> On Apr 16, 2008, at 12:11 PM, Gary McGath wrote:
> 
>> It's embarrassing that I should have to ask how to make a simple  change
>> to a makefile, but I'm finding Maven to be one of the most  bewildering,
>> overly complex pieces of software I've run into.
> 
> 
> Well, it is different than most "Make" or "Ant" tools out there  because 
> it is both a build tool and a distribution management tool,  much like 
> Yum/RPM, Gentoo/Emerge, Perl/CPAN, or R/CRAN.  If you can  wrap your 
> head around that, it will save you some frustration.  It is  just a 
> different model.
> 
>> I've added some Java code within dspace-api, in our own package.
> 
> 
> We've moved away from suggesting that you add code to dspace-api or  
> alter code there, this is one of the reasons we aopted MAven, was to  
> modularize the codebase and free the end user from having to alter  this 
> code directly and worry about "merging changes" all the time.
> 
>> Maven sees that, with no problem, and tries to compile it. But for  it to
>> compile successfully, it needs to use a couple of .jar files which we
>> have previously developed here.
> 
> 
> Tell me a little about those tools you've developed? How are they  
> managed, is there a release cycle... I can direct you on how to  install 
> them into Maven and adjust the build dependencies so they are  included.

The starting point of what I'm doing is replacing HandleManager.java in 
place with our own code -- ugly but necessary, since it consists 
entirely of static methods. To make it generate real persistent 
identifiers, it's necessary to add a couple of supporting classes, which 
I've put in an edu.harvard.hul.ois package, and these in turn require 
some jar files.

Should I be creating a new subproject for this code (other than 
HandleManager)? Thanks for any help you can offer.

-- 
Gary McGath
Digital Library Software Engineer
Harvard University Libraries, Office for Information Systems

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to