[OAI-implementers] Rebuild the project

Young,Jeff (OR) jyoung at oclc.org
Mon Jun 23 11:08:19 EDT 2008


Ming,

The OAICat implementation is getting "long in the tooth". At one time an
Ant build was available via CVS, but for various (mostly security)
reasons it hasn't been kept up-to-date. The distribution files, though,
should be fairly current.

In the spirit of open-source I realize that an Ant build of OAICat
should be made available, but I wonder why anyone would ever want to
build it on their own. The source and pre-built oaicat.jar are readily
available along with a demo war file to get people started.

More often than not, the answer seems to be that people want to tweak
the OAICat source code and build their own custom oaicat.jar file.
Creating forks like this is a very bad idea because it makes
synchronization difficult if I update the same source files. If
customization is really necessary it would be much better to extend the
OAICat classes and add them to the classpath in a separate jar or
directly under the classes directory.

I admit that there may be situations where clients need to build OAICat
from scratch, but they are hard for me to imagine. If you really have a
need, let me know and we can work something out.

Jeff

> -----Original Message-----
> From: oai-implementers-bounces at openarchives.org
[mailto:oai-implementers-
> bounces at openarchives.org] On Behalf Of Mingqiang Yu
> Sent: Saturday, June 21, 2008 12:44 PM
> To: oai-implementers at openarchives.org
> Subject: [OAI-implementers] Rebuild the project
> 
> Hi,
> 
> Sorry if this question sounds too silly but I just started to use it
and
> am very new to it.
> 
> In the README.txt file in the untarred folder oaicat-1.5.46, it says
that
> if I need to rebuild the project, I need to do the following:
> 
> To create a new distribution set, issue the command:
> 
> ant dist
> 
> But there isn't a build.xml file there, how can I use "ant dist"?
> 
> Should I make one myself or someone has one that can share?
> 
> Thanks a lot!
> 
> Ming
> 
> _______________________________________________
> OAI-implementers mailing list
> List information, archives, preferences and to unsubscribe:
> http://www.openarchives.org/mailman/listinfo/oai-implementers
> 





More information about the OAI-implementers mailing list