Support variable OUTLET attribute in template def -------------------------------------------------
Key: CORE-99 URL: http://jira.andromda.org/browse/CORE-99 Project: AndroMDA Core Type: Improvement Versions: 3.2 RC2 Reporter: Joel Kozikowski Assigned to: Chad Brandon Currently in a <template> definition in cartridge.xml, the "outputPattern" attribute supports using a template variable to determine the name of the resulting file. This allows the template itself to do some processing and programatically determine the name of the file. This same functionality would be beneficial for the "outlet" attribute. Currently, an "outlet" must be "hard coded" in the <template> definition. By allowing the template to modify the outlet, the template could programatically determine where the resulting file should be written. Use Case #1: if generating a project for a non web-based application, many of the configuration files need to be placed in a different directory than the current outlets selected. Use Case #2: A template file's outlet could be changed from one version of AndroMDA to another with the introduction of a new outlet, but for backward compatibility, if the new outlet is not defined in andromda.xml, the old outlet could be the default. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click