remove bash scripts from properties generation

Bug #867335 reported by Sorin Marian Nasoi
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Sorin Marian Nasoi

Bug Description

Reimplementing the scripts that generate the options for the Zorba cmd with the same concept used for the runtime generation.

Description:
To be more specific I'm referring to 'scripts/gen_all_props and 'scripts/gen_po_props'.
When someone wants to add an option in the zorbacmd he has to:
- change the 'bin/zorbacmdproperties.txt'
- run the scripts in order to generate the 'bin/zorbacmdproperties_base.h' with the new vales from 'bin/zorbacmdproperties.txt'

Instead we could we could generate the properties automatically (like we do with the runtime iterators) and remove the bash scripts.

Changed in zorba:
assignee: nobody (nobody-users) → Sorin Marian Nasoi (sorin.marian.nasoi)
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

My proposal for fixing this issue is to:

- rewrite gen_all_props and gen_po_props scripts in XQuery

- rewrite src/system/zorba_properties.txt and src/store/naive/store_properties.txt as XML files

- run the 2 XQuery scripts in CMake every time something changed in the scripts or the XML files

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Also in order to make sure the Documentation for the Zorba command line is kept in sync with the changes in the Zorba command line, we could also update the doc/zorba/commandline.dox every time the src/system/zorba_properties.h changes.

Chris Hillery (ceejatec)
tags: removed: command-line-client
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.