Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006014 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Tools] openbravo2po | major | always | 2008-11-18 13:02 | 2014-04-02 15:51 | |||
Reporter | gforcada | View Status | public | |||||
Assigned To | pheenan | |||||||
Priority | normal | Resolution | fixed | |||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 271 | |||
Projection | none | ETA | none | |||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Review Assigned To | ||||||||
Summary | 0006014: Can't runTemplateMerge with specific files as template and base | |||||||
Description | The actual arguments that runTemplateMerge doesn't allow to specify which file do you want to be the Template and which one will be the base file (it allows to specify the destination directory which is fine). | |||||||
Proposed Solution | Change (or add) a couple of parameters to runTemplateMerge so it's able to get a specific xml file as Template and another one as base xml file. | |||||||
Tags | commsup_sprint6 | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0012290) gforcada (reporter) 2009-01-19 09:52 |
Phil, this is fixed in openbravo2po-valuetrl branch, right? |
(0013369) svnbot (reporter) 2009-02-11 19:01 |
Repository: localization Revision: 271 Author: pheenan Date: 2009-02-11 19:01:28 +0100 (Wed, 11 Feb 2009) Fixed 6014. Added two arguments to the template merge task. Task now takes a combination of templateFolder, baseFolder, templateFile, baseFile. If the templateFolder and baseFolder are empty then only the file args will be used. If both are used then they should combine to show the path to the files. If the file args are empty then the folders will be parsed and all files contained in those folders will be merged. Updated other test cases to use the new argument pattern. Added test files used in the test cases. --- U tools/openbravo2po/branches/openbravo2po-valuetrl/build.xml U tools/openbravo2po/branches/openbravo2po-valuetrl/src/org/openbravo/xmlpo/objects/TaskProcess.java U tools/openbravo2po/branches/openbravo2po-valuetrl/src/org/openbravo/xmlpo/templateMerge/TemplateMerge.java U tools/openbravo2po/branches/openbravo2po-valuetrl/src/org/openbravo/xmlpo/templateMerge/TemplateProcessor.java U tools/openbravo2po/branches/openbravo2po-valuetrl/src/org/openbravo/xmlpo/utils/XMLFileBuilder.java A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/ A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/baseFolder/ A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/baseFolder/AD_MENU_TRL_it_IT.xml A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/baseFolder/AD_TASK_TRL_it_IT.xml A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/outputFolder/ A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/outputSingleFileWithFolder/ A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/templateFolder/ A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/templateFolder/AD_MENU_TRL_en_US.xml A tools/openbravo2po/branches/openbravo2po-valuetrl/tests/resources/templateMerge/folderTest/templateFolder/AD_TASK_TRL_en_US.xml U tools/openbravo2po/branches/openbravo2po-valuetrl/tests/src/org/openbravo/xmlpo/templateMerge/TestTemplateMerge.java U tools/openbravo2po/branches/openbravo2po-valuetrl/tests/src/org/openbravo/xmlpo/utils/TestMergeXMLFiles.java --- https://dev.openbravo.com/websvn/localization/?rev=271&sc=1 [^] |
(0066090) dmitry_mezentsev (developer) 2014-04-02 15:51 |
Old issues |
Issue History | |||
Date Modified | Username | Field | Change |
2008-11-18 13:02 | gforcada | New Issue | |
2009-01-19 09:52 | gforcada | Note Added: 0012290 | |
2009-01-27 12:06 | pheenan | Status | new => scheduled |
2009-01-27 12:06 | pheenan | Assigned To | => pheenan |
2009-01-27 12:06 | pheenan | fix_in_branch | => trunk |
2009-01-27 12:26 | pheenan | Tag Attached: comsup_sprint5 | |
2009-02-11 16:45 | pheenan | Tag Detached: comsup_sprint5 | |
2009-02-11 16:45 | pheenan | Tag Attached: commsup_sprint6 | |
2009-02-11 19:01 | svnbot | Checkin | |
2009-02-11 19:01 | svnbot | Note Added: 0013369 | |
2009-02-11 19:01 | svnbot | Status | scheduled => resolved |
2009-02-11 19:01 | svnbot | Resolution | open => fixed |
2009-02-11 19:01 | svnbot | svn_revision | => 271 |
2014-04-02 15:51 | dmitry_mezentsev | Note Added: 0066090 | |
2014-04-02 15:51 | dmitry_mezentsev | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |