Has anyone figured out a way to create an ant task to dynamically create jar files for your BOF modules?
This is an example of what I have:
<jar destfile="${jars}/DocumentSBOImpl.jar"> <fileset dir="bin" excludes="gov/nasa/msfc/repository/sbo/,gov/nasa/msfc/repository/sbo/impl/*.class,gov/nasa/msfc/repository/sbo/objects/*.class" /> <fileset dir="bin" includes="gov/nasa/msfc/repository/sbo/impl/DocumentSBOImpl.class,gov/nasa/msfc/repository/sbo/objects/DQLQueryObject.class" /></jar><jar destfile="${jars}/IDocumentSBO.jar"> <fileset dir="bin" excludes="gov/nasa/msfc/repository/sbo/*.class,gov/nasa/msfc/repository/sbo/impl/,gov/nasa/msfc/repository/sbo/objects/" /> <fileset dir="bin" includes="gov/nasa/msfc/repository/sbo/IDocumentSBO.class" /> </jar>
This works well but I have to keep it up-to-date. I'd like to not have to update this file for every new SBO that gets created. I've considered just creating one monlithic SBO jar file and using it in every module configuration but I don't even know if that would work though I do know it would be an ugly workaround even if it did.