Skip to content

The CodeExport component facilitates automatic export of all methods in the host database to text files on disk. If the host database is under revision control, these text files are suitable for committing to the repository, thus giving the developer to ability to track changes to methods over time. Most importantly, the CodeExport component is …

Notifications You must be signed in to change notification settings

jrussell-ivantage/CodeExport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeExport

Description

The CodeExport component facilitates automatic export of all methods in a 4D host database to text files on disk. If the host database is under revision control, these text files are suitable for committing to the repository, thus giving the developer to ability to track changes to methods over time. Most importantly, the CodeExport component is designed to have zero impact on the host database. There is no startup code to install and nothing to configure.

Contents

  • The components folder contains the interpreted component suitable for installation in any 4D v13 database.
  • The matrix folder contains the component source code.
  • The doc folder contains documentation about the component.

Usage

If you modify the matrix database, you should build a new component. To build a new component, execute the CE_BLD_Build method from the matrix database.

Known Issues

20120816 - Non-unique form object Object Names will cause METHOD GET CODE to fail with the error -9768, "Invalid object path: {path}". 4D does not allow non-unique Object Names in a given form, but this issue can occur via conversion from older versions. The solution is to make all of the Object Names unique (this can be automated). CodeExport should take this into account but I'm not sure how yet. Right now this errror disables the export, which is not good. But I don't want to ignore -9768 either because it is a legitimate error. I have filed a feature request for a unique error code in this situation.

About

The CodeExport component facilitates automatic export of all methods in the host database to text files on disk. If the host database is under revision control, these text files are suitable for committing to the repository, thus giving the developer to ability to track changes to methods over time. Most importantly, the CodeExport component is …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published