Changelog

Release History

VersionDateDescription
1.12010-07-28 
1.22012-02-16 
1.2.12012-02-28 
1.2.22012-03-05 
1.2.32012-04-01 
1.2.42012-05-23 

Release 1.1 - 2010-07-28

TypeChangesBy

add

Added a location attribute to the @XmlSchema annotation of the org.jomc.tools.model package. Added a @XmlNs annotation to the @XmlSchema annotation of the org.jomc.tools.model package.schulte2005

fix

Corrected a NullPointerException thrown when committing, validating or transforming nonexistent class files.schulte2005

fix

Corrected a ClassCastException thrown when transforming class files using illegal transformations.schulte2005

update

Moved the default templates from the jomc-tools artifact to a separate artifact with classifier templates.schulte2005

update

Updated classes org.jomc.tools.ResourceFileProcessor and org.jomc.tools.SourceFileProcessor to throw an IOException when passed a nonexistent sourcesDirectory or resourcesDirectory instead of creating the directory.schulte2005

Release 1.2 - 2012-02-16

TypeChangesBy

add

Added a META-INF/sun-jaxb.episode file.schulte2005

add

Added property templateParameters to class org.jomc.tools.JomcTool and updated method getVelocityContext to add the parameters to new context instances.schulte2005

add

Added property templateLocation to class org.jomc.tools.JomcTool and updated method getVelocityEngine to setup an URLResourceLoader to search for templates at that location in addition to searching the class path.schulte2005

add

Added property locale to class org.jomc.tools.JomcTool and updated templates to use the value of that property when producing documentation.schulte2005

add

Added head-comment and tail-comment attributes to the SourceFileType complex type of the jomc-tools-1.2.xsd schema and updated class org.jomc.tools.SourceFileProcessor to support those attributes.schulte2005

add

Added ToolsType complex type to the jomc-tools-1.2.xsd schema and updated all complex types to extend that base type.schulte2005

add

Added attributes final and override to the SourceFilesType and SourceFileType complex types of the jomc-tools-1.2.xsd schema and updated classes org.jomc.tools.model.SourceFilesType and org.jomc.tools.model.SourceFileType to implement interface org.jomc.model.Inheritable.schulte2005

add

Added classes org.jomc.tools.modlet.ToolsModelProvider, org.jomc.tools.modlet.ToolsModelProcessor and org.jomc.tools.modlet.ToolsModelValidator.schulte2005

fix

Corrected method getModules of class org.jomc.tools.JomcTool to initialize the modules of the instance if the model of the instance does not hold modules.schulte2005

fix

Corrected method getVelocityContext of class org.jomc.tools.JomcTool to provide a copy of the model of the instance.schulte2005

fix

Corrected method manageSourceFiles(Specification,File) of class org.jomc.tools.SourceFileProcessor to correctly manage implementations based on flag classDeclaration instead of attribute identifier.schulte2005

fix

Corrected methods manageSourceFiles of class org.jomc.tools.SourceFileProcessor to truncate files when editing content.schulte2005

update

Updated method getVelocityEngine of class org.jomc.tools.JomcTool to not initialize new engine instances adding support for on-demand initialization and to to set velocity runtime property runtime.strict.mathschulte2005

update

Updated class org.jomc.tools.SourceFileProcessor to support multiple source files per specification and implementation. See the CLIRR report.schulte2005

update

Updated the location attribute of the SourceFileType complex type of the jomc-tools-1.0.xsd schema from required to optional.schulte2005

update

Added the jomc-tools-1.2.xsd schema deprecating the jomc-tools-1.0.xsd schema.schulte2005

update

Updated templates to produce documentation using classes of the Javadoc stylesheet.schulte2005

update

Updated method getResourceBundleDefaultLocale of class org.jomc.tools.ResourceBundleDefaultLocale to default to the english locale, rather than to the system's default locale.schulte2005

update

Updated getSourceFileType methods of class org.jomc.tools.SourceFileProcessor to no longer create default source file models.schulte2005

update

Updated methods manageSourceFiles of class org.jomc.tools.SourceFileProcessor to use file locking.schulte2005

remove

Removed abstract modifier of class org.jomc.tools.JomcTool.schulte2005

remove

Removed abstract modifier of method onLog of class org.jomc.tools.JomcTool.Listener.schulte2005

Release 1.2.1 - 2012-02-28

TypeChangesBy

fix

Updated method getVelocityContext of class org.jomc.tools.JomcTool to correctly parse template profile property values ending in | to support adding objects to the context created using the public default constructor.schulte2005

fix

Updated methods edit(Specification,SourceFileType,File) and edit(Implementation,SourceFileType,File) of class org.jomc.tools.SourceFileProcessor.SourceFileEditor to provide a single VelocityContext instance to all templates involved in rendering a source code file.schulte2005

fix

Updated class org.jomc.tools.modlet.ToolsModelProvider to add missing support for overwriting source file models of specifications.schulte2005

fix

Updated the implementation-messages.vm template of the jomc-java-bundles template profile to correct a java.lang.StringIndexOutOfBoundsException: String index out of range: -1 exception thrown for empty messages.schulte2005

Release 1.2.2 - 2012-03-05

TypeChangesBy

fix

Corrected method getJavaIdentifier(String,boolean) of class org.jomc.tools.JomcTool to return the first character lower-cased when given a string having the first character upper-cased.schulte2005

fix

Corrected methods getJavaMethodParameterName of class org.jomc.tools.JomcTool to prepend a _ character to parameter names equal to Java keywords.schulte2005

Release 1.2.3 - 2012-04-01

TypeChangesBy

fix

Corrected methods getJavaIdentifier(String,boolean) and getJavaMethodParameterName(String) of class org.jomc.tools.JomcTool to convert case using the locale of the instance.schulte2005

fix

Updated the version of the jomc-modlet dependency from 1.2 to 1.2.1. See the Changes report.schulte2005

fix

Updated the version of the jomc-model dependency from 1.2 to 1.2.3. See the Changes report.schulte2005

Release 1.2.4 - 2012-05-23

TypeChangesBy

fix

Updated method getIndentation(int) of class org.jomc.tools.JomcTool to correct a concurrency issue.schulte2005

fix

Updated method getVelocityContext of class org.jomc.tools.JomcTool to correct a concurrency issue.schulte2005

fix

Updated method getListeners of class org.jomc.tools.JomcTool to correct a concurrency issue.schulte2005

fix

Updated method getTemplateParameters of class org.jomc.tools.JomcTool to correct a concurrency issue.schulte2005

fix

Updated method setTemplateLocation of class org.jomc.tools.JomcTool to reset the default velocity engine of the instance.schulte2005

fix

Updated method getVelocityContext of class org.jomc.tools.JomcTool to honour template locations specified using method setTemplateLocation(java.net.URL) when searching for context.properties resources.schulte2005

fix

Updated the version of the jomc-model dependency from 1.2.3 to 1.2.4. See the Changes report.schulte2005