Author: jpepin Date: 2010-06-30 19:10:09 +0200 (Wed, 30 Jun 2010) New Revision: 2955 Url: http://chorem.org/repositories/revision/lima/2955 Log: Export du plan comptable. Ajout cl?\195?\169 m?\195?\169tier sur account number. Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/ImportExportForm.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/util/FileChooseView.jaxx Removed: trunk/lima-swing/src/main/java/org/chorem/lima/ui/FileChooseView.jaxx Modified: trunk/lima-business/pom.xml trunk/lima-business/src/main/java/org/chorem/lima/business/ImportExportService.java trunk/lima-business/src/main/java/org/chorem/lima/business/LimaConfig.java trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/ImportExportServiceImpl.java trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/csv/CSVExport.java trunk/lima-callao/src/main/xmi/accounting.properties trunk/lima-swing/src/main/java/org/chorem/lima/LimaConfig.java trunk/lima-swing/src/main/java/org/chorem/lima/service/LimaServiceFactory.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountView.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java trunk/lima-swing/src/main/resources/i18n/lima-swing-en_GB.properties trunk/lima-swing/src/main/resources/i18n/lima-swing-fr_FR.properties trunk/pom.xml Modified: trunk/lima-business/pom.xml =================================================================== --- trunk/lima-business/pom.xml 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-business/pom.xml 2010-06-30 17:10:09 UTC (rev 2955) @@ -25,6 +25,10 @@ <artifactId>jdom</artifactId> </dependency> <dependency> + <groupId>net.sf.opencsv</groupId> + <artifactId>opencsv</artifactId> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ImportExportService.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/ImportExportService.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/ImportExportService.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -84,4 +84,44 @@ * @throws LimaException */ void importAsEbpCSV(byte[] data) throws LimaException; + + /** + * Import data as Sage Maestria export. + * + * @param data + * @throws LimaException + */ + void importAsSage(byte[] data) throws LimaException; + + /** + * Import data as Ciel Compta export. + * + * @param data + * @throws LimaException + */ + void importAsCiel(byte[] data) throws LimaException; + + /** + * export accounts chart as CSV. + * + * @param data + * @throws LimaException + */ + void exportAccountsChartAsCSV(String path) throws LimaException; + + /** + * export entrybook chart as CSV. + * + * @param data + * @throws LimaException + */ + void exportEntryBookChartAsCSV(byte[] data) throws LimaException; + + /** + * export financialstatement chart as CSV. + * + * @param data + * @throws LimaException + */ + void exportFinancialStatementChartAsCSV(byte[] data) throws LimaException; } Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/LimaConfig.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/LimaConfig.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/LimaConfig.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -119,10 +119,10 @@ public final String key; public final String description; - public final String defaultValue; + public String defaultValue; public final Class<?> type; - public final boolean _transient; - public final boolean _final; + public boolean _transient; + public boolean _final; private Option(String key, String description, String defaultValue, Class<?> type, boolean _transient, boolean _final) { @@ -138,16 +138,31 @@ public boolean isFinal() { return _final; } + + @Override + public void setFinal(boolean _final){ + this._final=_final; + } @Override public boolean isTransient() { return _transient; } + + @Override + public void setTransient(boolean _transient) { + this._transient=_transient; + } @Override public String getDefaultValue() { return defaultValue; } + + @Override + public void setDefaultValue(String defaultValue) { + this.defaultValue=defaultValue; + } @Override public String getDescription() { Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/ImportExportServiceImpl.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/ImportExportServiceImpl.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/ImportExportServiceImpl.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -20,18 +20,30 @@ package org.chorem.lima.business.ejb; import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileWriter; import java.io.IOException; import java.io.OutputStream; - +import java.util.List; import javax.ejb.Stateless; - import org.apache.commons.io.IOUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.chorem.lima.business.ImportExportService; import org.chorem.lima.business.ImportExportServiceLocal; +import org.chorem.lima.business.LimaBusinessException; +import org.chorem.lima.business.LimaConfig; import org.chorem.lima.business.LimaException; +import org.chorem.lima.entity.Account; +import org.chorem.lima.entity.AccountDAO; +import org.chorem.lima.entity.LimaCallaoDAOHelper; +import org.nuiton.topia.TopiaContext; +import org.nuiton.topia.TopiaContextFactory; +import org.nuiton.topia.TopiaException; +import org.nuiton.topia.TopiaNotFoundException; +import au.com.bytecode.opencsv.CSVWriter; + /** * XML and CSV import export service. * @@ -44,10 +56,23 @@ * By : $Author$ */ @Stateless -public class ImportExportServiceImpl implements ImportExportService, ImportExportServiceLocal { +public class ImportExportServiceImpl extends AbstractLimaService implements ImportExportService, ImportExportServiceLocal { private static final Log log = LogFactory.getLog(ImportExportServiceImpl.class); + + private TopiaContext rootContext; + public ImportExportServiceImpl() { + LimaConfig config = LimaConfig.getInstance(); + try { + rootContext = TopiaContextFactory.getContext(config.getOptions()); + } catch (TopiaNotFoundException ex) { + if (log.isErrorEnabled()) { + log.error("Can't init topia context", ex); + } + } + } + /* * @see org.chorem.lima.business.ImportExportService#exportAsXML() */ @@ -118,4 +143,82 @@ public void importAsEbpCSV(byte[] data) throws LimaException { } + + @Override + public void importAsCiel(byte[] data) throws LimaException { + // TODO Auto-generated method stub + + } + + @Override + public void importAsSage(byte[] data) throws LimaException { + // TODO Auto-generated method stub + + } + + @Override + public void exportAccountsChartAsCSV(String path) throws LimaException { + File f = new File(path); + TopiaContext topiaContext = null; + try { + topiaContext = beginTransaction(); + CSVWriter csvWriter = new CSVWriter(new FileWriter(f), ';'); + String[] nextLine = new String[5]; + // Récupère tous les comptes + AccountDAO accountDAO = LimaCallaoDAOHelper.getAccountDAO(topiaContext); + List<Account> listAccount = accountDAO.findAll(); + nextLine[0] = "lima.accountschart"; + csvWriter.writeNext(nextLine); + // Pour tous les comptes + for (Account account : listAccount) { + nextLine[0] = account.getAccountNumber(); + nextLine[1] = account.getLabel(); + nextLine[2] = account.getThirdParty(); + Account masterAccount = account.getMasterAccount(); + Account generalLedger = account.getGeneralLedger(); + if (masterAccount != null){ + nextLine[3] = masterAccount.getAccountNumber(); + } + if (generalLedger != null){ + nextLine[4] = generalLedger.getAccountNumber(); + } + // Ajoute la ligne au fichier + csvWriter.writeNext(nextLine); + } + // Write cache in file + csvWriter.flush(); + csvWriter.close(); + } + catch (TopiaException eeeTE){ + doCatch(topiaContext, eeeTE, log); + } + catch (IOException eeeIO) { + log.debug("Can't create new CSV Writer with file"+f+eeeIO); + } + finally { + doFinally(topiaContext, log); + } + } + + @Override + public void exportEntryBookChartAsCSV(byte[] data) throws LimaException { + // TODO Auto-generated method stub + + } + + @Override + public void exportFinancialStatementChartAsCSV(byte[] data) + throws LimaException { + // TODO Auto-generated method stub + + } + + protected TopiaContext beginTransaction() throws TopiaException { + // basic check done, make check in database + // TODO move it into JTA + TopiaContext topiaTransaction; + topiaTransaction = rootContext.beginTransaction(); + log.trace("beginTransaction"+topiaTransaction); + return topiaTransaction; + } } Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/csv/CSVExport.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/csv/CSVExport.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/csv/CSVExport.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -23,11 +23,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.chorem.lima.LimaContext; -import org.chorem.lima.dto.AccountDTO; -import org.chorem.lima.dto.EntryDTO; -import org.chorem.lima.dto.JournalDTO; -import org.chorem.lima.dto.PeriodDTO; -import org.chorem.lima.dto.TransactionDTO; + import org.chorem.lima.util.Util; import org.chorem.lima.service.util.ServiceHelper; Modified: trunk/lima-callao/src/main/xmi/accounting.properties =================================================================== --- trunk/lima-callao/src/main/xmi/accounting.properties 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-callao/src/main/xmi/accounting.properties 2010-06-30 17:10:09 UTC (rev 2955) @@ -1,5 +1,10 @@ # Precise l'entete de l'ensemble des fichiers generes model.tagvalue.copyright=/*\n Copyright (C) 2009-2010 Lima Callao\n */ + +org.chorem.lima.entity.Account.class.tagvalue.naturalIdMutable=false +org.chorem.lima.entity.Account.attribute.accountNumber.tagvalue.naturalId=true +org.chorem.lima.entity.Account.attribute.accountNumber.tagvalue.notNull=true + org.chorem.lima.entity.Account.attribute.subAccounts.tagvalue.lazy=false org.chorem.lima.entity.Account.attribute.subLedgers.tagvalue.lazy=false org.chorem.lima.entity.FinancialTransaction.attribute.financialPeriod.tagvalue.lazy=false @@ -8,6 +13,5 @@ org.chorem.lima.entity.FinancialStatement.attribute.masterFinancialStatement.tagvalue.lazy=false - #model.tagvalue.dbSchema=Callao model.tagvalue.String=text \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/LimaConfig.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/LimaConfig.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/java/org/chorem/lima/LimaConfig.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -249,10 +249,10 @@ public final String key; public final String description; - public final String defaultValue; + public String defaultValue; public final Class<?> type; - public final boolean _transient; - public final boolean _final; + public boolean _transient; + public boolean _final; private Option(String key, String description, String defaultValue, Class<?> type, boolean _transient, boolean _final) { @@ -268,11 +268,21 @@ public boolean isFinal() { return _final; } - + @Override + public void setFinal(boolean _final){ + this._final=_final; + } + + @Override public boolean isTransient() { return _transient; } + + @Override + public void setTransient(boolean _transient) { + this._transient=_transient; + } @Override public String getDefaultValue() { @@ -280,6 +290,11 @@ } @Override + public void setDefaultValue(String defaultValue) { + this.defaultValue=defaultValue; + } + + @Override public String getDescription() { return description; } Modified: trunk/lima-swing/src/main/java/org/chorem/lima/service/LimaServiceFactory.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/service/LimaServiceFactory.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/java/org/chorem/lima/service/LimaServiceFactory.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -36,6 +36,7 @@ import org.chorem.lima.business.FinancialPeriodService; import org.chorem.lima.business.FinancialStatementService; import org.chorem.lima.business.FiscalPeriodService; +import org.chorem.lima.business.ImportExportService; import org.chorem.lima.business.RecordService; import org.chorem.lima.business.FinancialTransactionService; import org.chorem.lima.business.ReportService; @@ -274,6 +275,24 @@ } /** + * Get financial statement service. + * + */ + public ImportExportService getImportExportService() { + + String lookupName = "ImportExportServiceImplRemote"; + ImportExportService ejbHome = null; + try { + ejbHome = (ImportExportService)ctx.lookup(lookupName); + } catch (NamingException eee) { + if (log.isErrorEnabled()) { + log.error("Can't lookup for service : " + lookupName, eee); + } + } + return ejbHome; + } + + /** * Get record service. * * @return record service proxy Deleted: trunk/lima-swing/src/main/java/org/chorem/lima/ui/FileChooseView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/FileChooseView.jaxx 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/FileChooseView.jaxx 2010-06-30 17:10:09 UTC (rev 2955) @@ -1,3 +0,0 @@ -<JFrame title="lima.export"> - <JFileChooser id="chooser" width="620" height="400"/> -</JFrame> \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountView.jaxx 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountView.jaxx 2010-06-30 17:10:09 UTC (rev 2955) @@ -27,7 +27,7 @@ </script> <row> - <cell fill="both" weightx="1" weighty="1" rows='4'> + <cell fill="both" weightx="1" weighty="1" rows='5'> <JScrollPane> <org.jdesktop.swingx.JXTreeTable id="accountsTreeTable" selectionMode="{ListSelectionModel.SINGLE_SELECTION}" @@ -64,4 +64,10 @@ enabled="{isSelectedRow()}"/> </cell> </row> + <row> + <cell fill="horizontal"> + <JButton id="importexportButton" text="lima.common.importexport" + onActionPerformed="getHandler().importexportAccount()"/> + </cell> + </row> </Table> \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -19,21 +19,23 @@ package org.chorem.lima.ui.account; import static org.nuiton.i18n.I18n._; - +import javax.swing.JFileChooser; import javax.swing.JOptionPane; import javax.swing.tree.TreePath; - import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.chorem.lima.business.ImportExportService; import org.chorem.lima.business.LimaBusinessException; import org.chorem.lima.business.LimaException; import org.chorem.lima.entity.Account; import org.chorem.lima.entity.AccountImpl; +import org.chorem.lima.service.LimaServiceFactory; import org.chorem.lima.ui.account.AccountForm; import org.chorem.lima.ui.account.AccountView; import org.chorem.lima.ui.account.SubLedgerForm; import org.chorem.lima.util.DialogHelper; import org.chorem.lima.util.ErrorHelper; +import org.chorem.lima.util.FileChooseView; import org.jdesktop.swingx.JXTreeTable; /** @@ -52,8 +54,12 @@ protected AccountView view; + protected ImportExportService importExportService; + protected AccountViewHandler(AccountView view) { this.view = view; + // Gets factory service + importExportService = LimaServiceFactory.getInstance().getImportExportService(); } /** @@ -239,4 +245,40 @@ } }; + public void importexportAccount(){ + ImportExportForm importExportForm = new ImportExportForm(view); + importExportForm.setLocationRelativeTo(view); + importExportForm.setVisible(true); + + Object value = importExportForm.getRadioButtons().getSelectedValue(); + log.debug(value); + // if action confirmed + if (value != null){ + String mode = (String) value; + FileChooseView fileChooseView = new FileChooseView(view); + + JFileChooser chooser = fileChooseView.getChooser(); + if (mode.equals("import") || mode.equals("update")){ + chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); + } + else { + chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); + if (chooser.showOpenDialog(view) == JFileChooser.APPROVE_OPTION) { + String filePath = chooser.getSelectedFile().getAbsolutePath(); + log.debug(filePath); + try { + importExportService.exportAccountsChartAsCSV(filePath); + } catch (LimaException eee) { + if (log.isErrorEnabled()){ + log.error("Can't export this file", eee); + } + DialogHelper.showMessageDialog(eee.getMessage()); + } + } + } + + } + + } + } Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/ImportExportForm.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/ImportExportForm.jaxx (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/ImportExportForm.jaxx 2010-06-30 17:10:09 UTC (rev 2955) @@ -0,0 +1,56 @@ +<!-- ##% Lima Swing + Copyright (C) 2008 - 2010 CodeLutin + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + ##% --> + +<JDialog modal="true"> + + <org.chorem.lima.entity.Account id="account" javaBean='null'/> + <jaxx.runtime.swing.JAXXButtonGroup id="radioButtons" javaBean='new JAXXButtonGroup()'/> + <Boolean id="addState" javaBean='true'/> + + <script> + <![CDATA[ + protected void performCancel() { + getRadioButtons().setSelectedValue(null); + dispose(); + } + ]]> + </script> + + <Table> + <row> + <cell> + <JRadioButton text='lima.importexport.export' value='export' buttonGroup="{getRadioButtons()}" + selected='true'/> + </cell> + <cell> + <JRadioButton text='lima.importexport.import' value='import' buttonGroup="{getRadioButtons()}" + selected='true'/> + </cell> + <cell> + <JRadioButton text='lima.importexport.update' value='update' buttonGroup="{getRadioButtons()}" + selected='true'/> + </cell> + + <cell fill="none"> + <JButton text="lima.common.ok" onActionPerformed="dispose()"/> + </cell> + <cell fill="none"> + <JButton text="lima.common.cancel" onActionPerformed="performCancel()"/> + </cell> + </row> + </Table> +</JDialog> \ No newline at end of file Property changes on: trunk/lima-swing/src/main/java/org/chorem/lima/ui/account/ImportExportForm.jaxx ___________________________________________________________________ Added: svn:executable + * Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java 2010-06-30 17:10:09 UTC (rev 2955) @@ -81,6 +81,7 @@ // Validate editing with enter key if ( e.getKeyChar() == KeyEvent.VK_ENTER ) { + stopCellEditing(); } } Added: trunk/lima-swing/src/main/java/org/chorem/lima/util/FileChooseView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/util/FileChooseView.jaxx (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/util/FileChooseView.jaxx 2010-06-30 17:10:09 UTC (rev 2955) @@ -0,0 +1,3 @@ +<JFrame title="lima.export"> + <JFileChooser id="chooser" width="620" height="400"/> +</JFrame> \ No newline at end of file Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing-en_GB.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing-en_GB.properties 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing-en_GB.properties 2010-06-30 17:10:09 UTC (rev 2955) @@ -4,7 +4,9 @@ Global\ lima\ exception= LIMA= Loading\ accounting...= +export= hello\ world= +import= lima.about.message= lima.account=Account lima.account.label=Label @@ -31,6 +33,7 @@ lima.common.add= lima.common.addSubLedger= lima.common.cancel= +lima.common.importexport= lima.common.ok= lima.common.print= lima.common.quit= @@ -90,6 +93,9 @@ lima.import.all.csv=Import all datas (CSV) lima.import.all.csv.ebp=Import all datas (EBP) lima.import.journal=Import journal +lima.importexport.export= +lima.importexport.import= +lima.importexport.update= lima.init.closed=Lima closed at %1$s lima.init.errorclosing= lima.lettering.add= @@ -183,3 +189,4 @@ limahome.fiscalperiodopened= limahome.transactionbalanced= limahome.transactionunbalanced= +update= Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing-fr_FR.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing-fr_FR.properties 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing-fr_FR.properties 2010-06-30 17:10:09 UTC (rev 2955) @@ -4,7 +4,9 @@ Global\ lima\ exception= LIMA= Loading\ accounting...= +export= hello\ world= +import= lima.about.message=\u00C0 propos de Lima lima.account=Compte lima.account.label= @@ -31,6 +33,7 @@ lima.common.add=Ajout Compte G\u00E9n\u00E9ral lima.common.addSubLedger=Ajouter Compte Tiers lima.common.cancel=Annuler +lima.common.importexport= lima.common.ok=OK lima.common.print= lima.common.quit=Quitter @@ -90,6 +93,9 @@ lima.import.all.csv=Importer une nouvelle base (CSV) lima.import.all.csv.ebp=Importer des donn\u00E9es de EBP lima.import.journal=Importer le journal +lima.importexport.export= +lima.importexport.import= +lima.importexport.update= lima.init.closed=Lima ferm\u00E9 \u00E0 %1$s lima.init.errorclosing= lima.lettering.add=Ajouter une lettre @@ -182,3 +188,4 @@ limahome.fiscalperiodopened=exercices ouverts limahome.transactionbalanced=Toutes les entr\u00E9es sont \u00E9quilibr\u00E9es limahome.transactionunbalanced=ne sont pas \u00E9quilibr\u00E9e \! +update= Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-06-30 09:01:22 UTC (rev 2954) +++ trunk/pom.xml 2010-06-30 17:10:09 UTC (rev 2955) @@ -249,6 +249,7 @@ <platform>chorem.org</platform> <projectId>lima</projectId> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- customized libs version --> <nuiton-utils.version>1.3.2-SNAPSHOT</nuiton-utils.version>