RiverHendriksen / bes

The BES framework, which forms the basis for the Hyrax server
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Implement Config and Makefile for covjson Module #2

Closed RiverHendriksen closed 6 years ago

RiverHendriksen commented 6 years ago

Since besCreateModule is no longer supported we cannot use it to have the besframework point to our new module. As such we need to figure out where the config & make file is in BES so as to have it point to our coverageJSON directory.

rrimer07 commented 6 years ago

I think we need to change this file to include the make files in the new modules directory. https://github.com/RiverHendriksen/bes/blob/master/configure.ac Then run autoconf with it to create the configuration.

beyond that I think we need to change this makefile to include the new module also https://github.com/RiverHendriksen/bes/blob/master/modules/Makefile.am Not entirely sure though, ill try messing with it tomorrow if no one else has by then.

RiverHendriksen commented 6 years ago

This looks correct, we should test it

On Feb 17, 2018 6:21 PM, "Riley Rimer" notifications@github.com wrote:

https://github.com/RiverHendriksen/bes/blob/master/modules/Makefile.am

in here filout_json is add as a subdirectory, Im assuming we will need to do the same for fileout_covjson

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/RiverHendriksen/bes/issues/2#issuecomment-366487374, or mute the thread https://github.com/notifications/unsubscribe-auth/AQRMz8lF43BT7dWihgCwZf41JDquUXJyks5tV4kugaJpZM4SHzZA .

rrimer07 commented 6 years ago

Found this which seems useful. https://stackoverflow.com/questions/26832264/confused-about-configure-script-and-makefile-in

I made the changes mentioned above but it runs into errors saying it cant find the makefile.in, I will mess with it some more

rrimer07 commented 6 years ago

I get errors like this even on master when I try doing autoreconf for the bes

modules/Makefile.am:9: warning: SUBDIRS multiply defined in condition TRUE ... modules/Makefile.am:7: ... 'SUBDIRS' previously defined here autoreconf: automake failed with exit status: 1

rrimer07 commented 6 years ago

This seems to be working now in this branch. It is untested though. We need to find a way to test out the module now that it was able to be created through automake. Best way would probably through calling the bes with the command line but I cant recall how.

rrimer07 commented 6 years ago

This seems to be completed now, needs to be tested by making changes to the olfs so we can call the module.

The changes will be in the form of replicating some of these files found at the following link: https://github.com/RiverHendriksen/olfs/search?utf8=%E2%9C%93&q=ijsn&type=

This will allow us to call the mudule through something like "DATASETURL.covjson" like the current implementation of "DATASETURL.json"

Once this is done we can try calling the module to make sure it was built correctly.

RiverHendriksen commented 6 years ago

This has been pulled to master