V0 20110622
From DOC
This page provides information about the V0REL 20110622 repository snapshot of the Tolven plug-in catalog.
Contents |
Tolven V0REL_20110622 Release Notes
Extended Metadata
The XML01 column in the MenuData entity/table contains an XML representation of extended columns stored in a placeholder. The XML is stored as a LOB and managed by a class called org.tolven.app.entity.ExtendedMenuData. A new feature in this plug-in update allows this XML to be encrypted. Encryption is controlled by a new Tolven property named org.tolven.app.encrypt.xml01 with a value of true or false. If the property is not present, then XML01 is stored un-encrypted. This is to maintain backward compatibility.
Prior to this update, the XML was stored in plain text and should remain readable as such. In fact, regardless of the setting of the property described above, the data must remain readable. To accomplish this, encrypted XML01 content is now signified by a non-null secret key field (see below) that indicates that it is encrypted. An existing installation that has not set the property should not see any change to the values in the XML01 column.
When the value of the XML01 field is modified in any way, the new property will determine if the field should be encrypted or not. If true, it should be encrypted. Any other value, including null, means to not encrypt (and ensure that the new secretKey field is also null). When reading the XML01 field, if the secret key field is non-null, then decrypt, otherwise, process the field as plaintext.
The org.tolven.app.encrypt.xml01 property is set in the file server-default-config.properties, which is part of the org.tolven.appserverproperties plug-in. This plug-in, when executed using the tpf command (tpf -plugin org.tolven.appserverproperties -load), loads the properties from this file. These properties are accessible from within the Tolven application.
Plug-in Managers
- Allowed the plug-in manager to work with V2 by adding TOLVEN_REALM as an environment variable (defaulted to "tolven").
- Added sectionZipIncludes and sectionZipExcludes parameters. The sectionZipIncludes and sectionZipExcludes parameters are used to include or exclude patterns of files for each section from being zipped into the main plugin.zip file. This is useful when those files already appear in a jar file, which is also included in the zip file. If sectionZipIncludes is undefined for a given section, then */ is assumed for both the build/section and build/section/classes. If sectionZipExcludes is undefined for a given section, then **/source is assumed for build/section (because source files appear in devLib.jar). For example:
<antcall target="buildSection"> <param name="section" value="app"/> <!-- Uncomment to include just class files from the main plugin zip --> <!-<param name="sectionZipIncludes" value="*/.class" />-> <!-- Uncomment to exclude just class files from the main plugin zip --> <!-<param name="sectionZipExcludes" value="*/.class" />-> </antcall>
Tolven V0_20110622 Plug-in Changes
The following plug-ins changed:
- org.tolven.component.tolvenejb 0.0.82
- org.tolven.appserverproperties 0.0.11
- org.tolven.source.ant.plugin 0.0.12
Tolven V0_20110622 Documentation
Edit plugins.xml for Tolven V0_20110622
To use the Tolven V0_20110609 snapshot, edit your tolven-config/plugins.xml file as follows:
<property name="repositoryLibraryURL" value="http://tolven.org/download/snapshots/V0_20110622,
file:///#{globalProperty['config.dir']}/repositoryLocal" />
</property>

