Lima-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
February 2014
- 3 participants
- 15 discussions
See <http://ci.chorem.org/jenkins/job/lima-nightly/1/>
------------------------------------------
[...truncated 669 lines...]
AU lima-business/src/main/java/org/chorem/lima/business/LimaDaoHelper.java
AU lima-business/src/main/java/org/chorem/lima/business/ServiceListener.java
AU lima-business/src/main/java/org/chorem/lima/business/LimaConfig.java
A lima-business/src/main/java/org/chorem/lima/business/migration
AU lima-business/src/main/java/org/chorem/lima/business/migration/DatabaseMigrationClass.java
AU lima-business/src/main/java/org/chorem/lima/business/migration/MigrationV0_6.java
AU lima-business/src/main/java/org/chorem/lima/business/migration/MigrationV0V0_5.java
AU lima-business/src/main/java/org/chorem/lima/business/ServiceMonitorable.java
AU lima-business/src/main/java/org/chorem/lima/business/LimaBusinessException.java
A lima-business/src/main/resources
A lima-business/src/main/resources/i18n
AU lima-business/src/main/resources/i18n/lima-business_en_GB.properties
AU lima-business/src/main/resources/i18n/lima-business_fr_FR.properties
A lima-business/src/main/resources/META-INF
AU lima-business/src/main/resources/META-INF/ejb-jar.xml
AU lima-business/src/main/resources/save_callao.dtd
A lima-business/src/main/resources/images
AU lima-business/src/main/resources/images/puzzle_icon_mini.png
AU lima-business/src/main/resources/images/accounts.png
AU lima-business/src/main/resources/images/entrybooks.png
AU lima-business/src/main/resources/images/fiscalperiods.png
AU lima-business/src/main/resources/images/entries.png
AU lima-business/src/main/resources/images/identity.png
AU lima-business/src/main/resources/lima.properties
A lima-business/src/main/resources/reports
AU lima-business/src/main/resources/reports/vat_form_fr.pdf
A lima-business/src/site
AU lima-business/src/site/site_fr.xml
AU lima-business/pom.xml
AU lima-business/README.txt
A lima-callao
AU lima-callao/LICENSE.txt
AU lima-callao/changelog.txt
A lima-callao/src
A lima-callao/src/license
AU lima-callao/src/license/THIRD-PARTY.properties
A lima-callao/src/main
A lima-callao/src/main/java
A lima-callao/src/main/java/org
A lima-callao/src/main/java/org/chorem
A lima-callao/src/main/java/org/chorem/lima
AU lima-callao/src/main/java/org/chorem/lima/FinancialStatementWayEnum.java
A lima-callao/src/main/java/org/chorem/lima/Filter
AU lima-callao/src/main/java/org/chorem/lima/Filter/FinancialTransactionFilter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/AccountFilter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/EntryBookFilter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/Filter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/VisitorFilter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/EntryFilter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/AbstractFilter.java
AU lima-callao/src/main/java/org/chorem/lima/Filter/FilterGenerator.java
A lima-callao/src/main/java/org/chorem/lima/beans
AU lima-callao/src/main/java/org/chorem/lima/beans/AbstractStringCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/FinancialTransactionCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/AccountCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/LetteringCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/VisitorCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/AbstractBigDecimalCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/FiscalPeriodCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/CreditCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/VoucherCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/EntryBookCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/DateCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/Condition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/Labeled.java
AU lima-callao/src/main/java/org/chorem/lima/beans/DateIntervalCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/DescriptionCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/FinancialPeriodCondition.java
AU lima-callao/src/main/java/org/chorem/lima/beans/DebitCondition.java
A lima-callao/src/main/java/org/chorem/lima/Clause
AU lima-callao/src/main/java/org/chorem/lima/Clause/AndClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/StringClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/NumberClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/SetClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/DateClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/BooleanClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/Clause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/SubFilterClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/VisitorClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/NotClause.java
AU lima-callao/src/main/java/org/chorem/lima/Clause/OrClause.java
A lima-callao/src/main/java/org/chorem/lima/entity
AU lima-callao/src/main/java/org/chorem/lima/entity/FinancialStatementDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/FinancialTransactionDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/VatStatementImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/AccountDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/EntryImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/GeneratorHQuery.java
AU lima-callao/src/main/java/org/chorem/lima/entity/VatStatementDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/EntryDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/FiscalPeriodDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/ClosedPeriodicEntryBookDAOImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/FinancialStatementImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/FinancialTransactionImpl.java
AU lima-callao/src/main/java/org/chorem/lima/entity/FinancialPeriodDAOImpl.java
A lima-callao/src/main/resources
A lima-callao/src/main/resources/i18n
AU lima-callao/src/main/resources/i18n/lima-callao_en_GB.properties
AU lima-callao/src/main/resources/i18n/lima-callao_fr_FR.properties
A lima-callao/src/main/xmi
AU lima-callao/src/main/xmi/accounting.properties
AU lima-callao/src/main/xmi/accounting.zargo
A lima-callao/src/site
AU lima-callao/src/site/site_fr.xml
AU lima-callao/pom.xml
AU lima-callao/README.txt
A ofbizNeogia
A ofbizNeogia/servicedef
AU ofbizNeogia/servicedef/services.xml
A ofbizNeogia/src
A ofbizNeogia/src/org
A ofbizNeogia/src/org/ofbiz
A ofbizNeogia/src/org/ofbiz/lima
AU ofbizNeogia/src/org/ofbiz/lima/EntryService.java
AU ofbizNeogia/src/org/ofbiz/lima/PeriodService.java
AU ofbizNeogia/src/org/ofbiz/lima/StatusService.java
AU ofbizNeogia/src/org/ofbiz/lima/TransactionService.java
AU ofbizNeogia/src/org/ofbiz/lima/JournalService.java
AU ofbizNeogia/src/org/ofbiz/lima/AccountService.java
AU ofbizNeogia/ofbiz-component.xml
A ofbizNeogia/entitydef
AU ofbizNeogia/entitydef/entitygroup.xml
AU ofbizNeogia/entitydef/entitymodel.xml
AU ofbizNeogia/build.xml
U .
At revision 3746
Parsing POMs
Discovered a new module org.chorem:lima Lima
Discovered a new module org.chorem.lima:lima-callao Lima :: callao
Discovered a new module org.chorem.lima:lima-business-api Lima :: business API
Discovered a new module org.chorem.lima:lima-business Lima :: business
Discovered a new module org.chorem.lima:lima-swing Lima :: Swing
Modules changed, recalculating dependency graph
[trunk] $ /opt/jdk7/bin/java -Dsettings.security=/var/local/forge/data/chorem.org/maven/settings-security.xml -Djava.awt.headless=true -cp /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/opt/maven3/boot/plexus-classworlds-2.5.1.jar:/opt/maven3/conf/logging jenkins.maven3.agent.Maven31Main /opt/maven3 /var/local/forge/exec/tomcat-chorem.org/webapps/jenkins/WEB-INF/lib/remoting-2.33.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 50321
<===[JENKINS REMOTING CAPACITY]===> channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/lima-nightly/ws/trunk/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -DperformRelease
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Lima
[INFO] Lima :: callao
[INFO] Lima :: business API
[INFO] Lima :: business
[INFO] Lima :: Swing
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Lima 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lima ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ lima ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ lima ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ lima ---
[INFO] Exporting server [redmine-chorem.org] username in ${redmine.username}
[INFO] Exporting server [redmine-chorem.org] privateKey in ${redmine.apiKey}
[INFO]
[INFO] --- license-maven-plugin:1.5:update-project-license (attach-licenses) @ lima ---
[INFO] Will create or update license file [gpl_v3] to <http://ci.chorem.org/jenkins/job/lima-nightly/ws/trunk/LICENSE.txt>
[INFO]
[INFO] --- license-maven-plugin:1.5:add-third-party (attach-licenses) @ lima ---
[WARNING] The goal is skip due to packaging 'pom'
[INFO]
[INFO] --- license-maven-plugin:1.5:update-file-header (update-file-header) @ lima ---
[INFO] Will search files to update from root <http://ci.chorem.org/jenkins/job/lima-nightly/ws/trunk/src>
[INFO] Scan 25 files header done in 87.542ms.
[INFO] All files are up-to-date.
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ lima ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1
[INFO]
[INFO] --- jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) @ lima ---
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Lima .............................................. FAILURE [4.343s]
[INFO] Lima :: callao .................................... SKIPPED
[INFO] Lima :: business API .............................. SKIPPED
[INFO] Lima :: business .................................. SKIPPED
[INFO] Lima :: Swing ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.399s
[INFO] Finished at: Sat Feb 15 00:54:10 CET 2014
[INFO] Final Memory: 33M/433M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.nuiton.jredmine:jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) on project lima: the user 'hudson' could not be retrieve from redmine server. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.nuiton.jredmine:jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) on project lima: the user 'hudson' could not be retrieve from redmine server.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:134)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.maven.plugin.MojoExecutionException: the user 'hudson' could not be retrieve from redmine server.
at org.nuiton.jredmine.plugin.AbstractRedmineMojo.failIfSafe(AbstractRedmineMojo.java:396)
at org.nuiton.jredmine.plugin.AbstractRedmineMojoWithProject.init(AbstractRedmineMojoWithProject.java:114)
at org.nuiton.jredmine.plugin.AbstractRedmineMojoWithProjectAndVersion.init(AbstractRedmineMojoWithProjectAndVersion.java:101)
at org.nuiton.jredmine.plugin.GenerateChangesMojo.init(GenerateChangesMojo.java:348)
at org.nuiton.plugin.AbstractPlugin.execute(AbstractPlugin.java:106)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 30 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sending e-mails to: lima-commits(a)list.chorem.org
channel stopped
Skipping sonar analysis due to bad build status FAILURE
1
12
Build failed in Jenkins: lima-nightly » Lima :: Swing #5
by admin+ci-chorem.org@codelutin.com 11 Apr '14
by admin+ci-chorem.org@codelutin.com 11 Apr '14
11 Apr '14
See <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/5/…>
Changes:
[dcosse] fix missing dependency
------------------------------------------
[...truncated 222 lines...]
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lima-swing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 107 resources
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- license-maven-plugin:1.5:update-file-header (update-file-header) @ lima-swing ---
[INFO] Will search files to update from root <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] Will search files to update from root <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] - adding license header on file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] Scan 277 files header done in 486.359ms.
[INFO]
* update header on 1 file.
* uptodate header on 218 files.
* add header on 58 files.
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lima-swing ---
[INFO] Compiling 219 source files to <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[31,49] sun.swing.DefaultLookup is internal proprietary API and may be removed in a future release
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[91,26] sun.swing.DefaultLookup is internal proprietary API and may be removed in a future release
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[95,26] sun.swing.DefaultLookup is internal proprietary API and may be removed in a future release
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[104,29] sun.swing.DefaultLookup is internal proprietary API and may be removed in a future release
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[190,51] importAsPDF(java.lang.String,org.chorem.lima.business.utils.ImportExportEntityEnum,boolean) in org.chorem.lima.business.api.ImportService has been deprecated
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[94,76] getSelectedValues() in javax.swing.JList has been deprecated
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[95,79] getSelectedValues() in javax.swing.JList has been deprecated
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:[97,82] getSelectedValues() in javax.swing.JList has been deprecated
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>: Some input files use unchecked or unsafe operations.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ lima-swing ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/signa…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/signa… (1755 KB at 2607.4 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/signature/java16-sun/…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/signature/java16-sun/… (1755 KB at 6427.7 KB/sec)
[INFO]
[INFO] --- jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) @ lima-swing ---
[INFO] Skipping goal (runOnce flag is on, and was already executed).
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (generate-surefire-workdir) @ lima-swing ---
[INFO] Executing tasks
main:
[mkdir] Created dir: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ lima-swing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ lima-swing ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ lima-swing ---
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ lima-swing ---
[INFO] Building jar: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ lima-swing >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ lima-swing ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ lima-swing ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ lima-swing ---
[INFO] Skipping goal (runOnce flag is on and goal was already executed).
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ lima-swing <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ lima-swing ---
[INFO] Building jar: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ lima-swing ---
[INFO]
7 warnings
[WARNING] Javadoc Warnings
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:30: warning: DefaultLookup is internal proprietary API and may be removed in a future release
[WARNING] import sun.swing.DefaultLookup;
[WARNING] ^
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:100: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:117: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:285: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:355: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:77: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>:77: warning - @return tag cannot be used in method with void return type.
[INFO] Building jar: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-swing/ws…>
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-keystore) @ lima-swing ---
[INFO] Exporting server [codelutin-keystore] username in ${keyalias}
[INFO] Exporting server [codelutin-keystore] password in ${keystorepass}
[INFO] Exporting server [codelutin-keystore] passphrase in ${keypass}
[INFO] Exporting server [codelutin-keystore] privateKey in ${keystorepath}
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ lima-swing ---
[INFO]
[INFO] --- webstart-maven-plugin:1.0-beta-3:jnlp-inline (generate-jnlp) @ lima-swing ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst… (517 B at 9.9 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-api/…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-api/… (517 B at 10.1 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/maven/shared…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/maven/shared… (4 KB at 51.2 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-jarsigner…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-jarsigner… (4 KB at 122.5 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst… (2 KB at 42.4 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-impl…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-impl… (2 KB at 69.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant/1.7.…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant/1.7.… (10 KB at 173.3 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom (10 KB at 352.9 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant-pare…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant-pare… (5 KB at 147.4 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.7.0/ant-par…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.7.0/ant-par… (5 KB at 158.3 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant-laun…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant-laun… (3 KB at 70.5 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-l…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-l… (3 KB at 83.1 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto… (4 KB at 84.5 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api-1.6/1.1/k…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api-1.6/1.1/k… (4 KB at 131.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto… (6 KB at 128.8 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool/1.1/keytool-1…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool/1.1/keytool-1… (6 KB at 209.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto… (3 KB at 85.0 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api/1.1/keyto…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api/1.1/keyto… (3 KB at 94.5 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apa…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/cod…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/maven/shared…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/plexus/ple…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant/1.7.…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst… (4 KB at 103.9 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant-laun…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/webst… (15 KB at 418.6 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/maven/shared… (23 KB at 409.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant-laun… (12 KB at 409.2 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto… (7 KB at 216.6 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/plexus/ple… (200 KB at 2521.9 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/codehaus/mojo/keyto… (30 KB at 684.6 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/public/org/apache/ant/ant/1.7.… (1260 KB at 7116.2 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-api/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-jarsigner…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.4.9/…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-impl…
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-api/… (4 KB at 115.4 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-l…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-jarsigner… (23 KB at 478.8 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api-1.6/1.1/k…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/webstart-pack200-impl… (15 KB at 302.8 KB/sec)
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api/1.1/keyto…
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-l… (12 KB at 424.4 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api-1.6/1.1/k… (7 KB at 249.9 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/keytool-api/1.1/keyto… (30 KB at 774.7 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.4.9/… (200 KB at 1934.3 KB/sec)
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar (1260 KB at 6459.4 KB/sec)
[INFO] Jnlp extension output file name not specified. Using default output file name: jxlayer.jnlp.
[INFO] Jnlp extension output file name not specified. Using default output file name: jetty.jnlp.
[INFO] Jnlp extension output file name not specified. Using default output file name: pdf-renderer.jnlp.
[ERROR] pattern: org.swinglabs:pdf-renderer doesn't match any artifact.
[JENKINS] Archiving disabled
1
8
r3750 - in trunk/lima-swing/src/main: java/org/chorem/lima/ui/fiscalperiod resources/i18n
by sbavencoff@users.chorem.org 28 Feb '14
by sbavencoff@users.chorem.org 28 Feb '14
28 Feb '14
Author: sbavencoff
Date: 2014-02-28 16:18:09 +0100 (Fri, 28 Feb 2014)
New Revision: 3750
Url: http://chorem.org/projects/lima/repository/revisions/3750
Log:
fixes #768 : Report ?\195?\160 nouveau impossible ?\195?\160 ?\195?\169tablir
Added:
trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx
Modified:
trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.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
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java 2014-02-28 10:04:45 UTC (rev 3749)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java 2014-02-28 15:18:09 UTC (rev 3750)
@@ -25,6 +25,7 @@
package org.chorem.lima.ui.fiscalperiod;
+import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.time.DateUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -299,13 +300,13 @@
*/
public void blockFiscalPeriod() {
FiscalPeriodTable table = view.getFiscalPeriodTable();
- FiscalPeriodTableModel tableModel = view.getFiscalPeriodTableModel();
+ final FiscalPeriodTableModel tableModel = view.getFiscalPeriodTableModel();
- int selectedRow = table.getSelectedRow();
+ final int selectedRow = table.getSelectedRow();
if (selectedRow >= 0) {
- FiscalPeriod selectedFiscalPeriod = tableModel.get(selectedRow);
+ final FiscalPeriod selectedFiscalPeriod = tableModel.get(selectedRow);
if (!selectedFiscalPeriod.isLocked()) {
@@ -316,31 +317,38 @@
JOptionPane.WARNING_MESSAGE);
if (answerBlock == JOptionPane.YES_OPTION) {
- boolean retainedEarnings = false;
- EntryBook entryBook = null;
- // find next fiscal year
- FiscalPeriod lastFiscalPeriod = fiscalPeriodService.getLastFiscalPeriod();
- if (selectedFiscalPeriod.equals(lastFiscalPeriod)) {
+ //report if they are at least one transaction to be report
+ if (fiscalPeriodService.isRetainedEarnings(selectedFiscalPeriod)) {
- //check if the user wants to create a new fiscal year
- int answerCreate = JOptionPane.showConfirmDialog(view,
- _("lima.ui.fiscalperiod.block.newyear"),
- _("lima.ui.fiscalperiod.block.title"), JOptionPane.YES_NO_OPTION,
- JOptionPane.QUESTION_MESSAGE);
+ // find next fiscal year
+ FiscalPeriod lastFiscalPeriod = fiscalPeriodService.getLastFiscalPeriod();
+ if (selectedFiscalPeriod.equals(lastFiscalPeriod)) {
- // create a new fiscal year
- if (answerCreate == JOptionPane.YES_OPTION) {
- addFiscalPeriod();
+ //check if the user wants to create a new fiscal year
+ int answerCreate = JOptionPane.showConfirmDialog(view,
+ _("lima.ui.fiscalperiod.block.newyear"),
+ _("lima.ui.fiscalperiod.block.title"), JOptionPane.YES_NO_OPTION,
+ JOptionPane.QUESTION_MESSAGE);
+
+ // create a new fiscal year
+ if (answerCreate == JOptionPane.YES_OPTION) {
+ addFiscalPeriod();
+ }
}
- }
- // if next fiscal year exist
- if (selectedFiscalPeriod.equals(lastFiscalPeriod)) {
- //report if they are at least one transaction to be report
- if (fiscalPeriodService.isRetainedEarnings(selectedFiscalPeriod)) {
+ lastFiscalPeriod = fiscalPeriodService.getLastFiscalPeriod();
+ // check if next fiscal year don't exist
+ if (selectedFiscalPeriod.equals(lastFiscalPeriod)) {
+ JOptionPane.showMessageDialog(view,
+ _("lima.ui.fiscalperiod.block.cantBalanceIfNextPeriodNotExist"),
+ _("lima.ui.fiscalperiod.block.title"),
+ JOptionPane.ERROR_MESSAGE);
+
+ } else {
+
//check if the user wants to report datas
int answerRetainedEarnings = JOptionPane.showConfirmDialog(view,
_("lima.ui.fiscalperiod.block.addretainedearnings"),
@@ -348,8 +356,6 @@
JOptionPane.QUESTION_MESSAGE);
if (answerRetainedEarnings == JOptionPane.YES_OPTION) {
- retainedEarnings = true;
-
//Sets EntryBook
EntryBook newEntryBook = new EntryBookImpl();
RetainedEarningsEntryBookForm entryBookForm =
@@ -359,16 +365,58 @@
// jaxx constructor don't call super() ?
entryBookForm.setLocationRelativeTo(view);
entryBookForm.setVisible(true);
- entryBook = entryBookForm.getEntryBook();
+ final EntryBook entryBook = entryBookForm.getEntryBook();
+
+ if (entryBook != null && StringUtils.isNotBlank(entryBook.getCode())) {
+
+ final RetainedEarningsWait retainedEarningsWait = new RetainedEarningsWait(view);
+ retainedEarningsWait.setLocationRelativeTo(view);
+
+ new SwingWorker<FiscalPeriod, Void>() {
+ @Override
+ protected FiscalPeriod doInBackground() throws Exception {
+ FiscalPeriod fiscalPeriodBlocked = fiscalPeriodService.retainedEarningsAndBlockFiscalPeriod(selectedFiscalPeriod, entryBook, true);
+ tableModel.setValue(selectedRow, fiscalPeriodBlocked);
+
+ view.setBlockEnabled(false);
+ view.setDeleteEnabled(false);
+
+ return fiscalPeriodBlocked;
+ }
+
+ @Override
+ protected void done() {
+ retainedEarningsWait.setVisible(false);
+ }
+ }.execute();
+ retainedEarningsWait.setVisible(true);
+
+ } else {
+
+ JOptionPane.showMessageDialog(view,
+ _("lima.ui.fiscalperiod.block.cantBalanceNotBook"),
+ _("lima.ui.fiscalperiod.block.title"),
+ JOptionPane.ERROR_MESSAGE);
+ }
+
+ } else {
+
+ JOptionPane.showMessageDialog(view,
+ _("lima.ui.fiscalperiod.block.cantBlockNotBalance"),
+ _("lima.ui.fiscalperiod.block.title"),
+ JOptionPane.ERROR_MESSAGE);
}
}
- }
- FiscalPeriod fiscalPeriodBlocked = fiscalPeriodService.retainedEarningsAndBlockFiscalPeriod(selectedFiscalPeriod, entryBook, retainedEarnings);
- tableModel.setValue(selectedRow, fiscalPeriodBlocked);
+ } else {
- view.setBlockEnabled(false);
- view.setDeleteEnabled(false);
+ FiscalPeriod fiscalPeriodBlocked = fiscalPeriodService.blockFiscalPeriod(selectedFiscalPeriod);
+ tableModel.setValue(selectedRow, fiscalPeriodBlocked);
+
+ view.setBlockEnabled(false);
+ view.setDeleteEnabled(false);
+
+ }
}
}
}
Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx (rev 0)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx 2014-02-28 15:18:09 UTC (rev 3750)
@@ -0,0 +1,12 @@
+<JDialog modal="true" id="waitDialog" title="lima.ui.importexport.waittitle">
+ <Table>
+ <row>
+ <cell>
+ <org.jdesktop.swingx.JXBusyLabel id='busylabel' busy='true'/>
+ </cell>
+ <cell>
+ <JLabel text='lima.ui.retainedEarnings.wait'/>
+ </cell>
+ </row>
+ </Table>
+</JDialog>
\ 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 2014-02-28 10:04:45 UTC (rev 3749)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014-02-28 15:18:09 UTC (rev 3750)
@@ -353,6 +353,9 @@
lima.ui.fiscalperiod.addfiscalperiodtitle=
lima.ui.fiscalperiod.begin=
lima.ui.fiscalperiod.block.addretainedearnings=
+lima.ui.fiscalperiod.block.cantBalanceIfNextPeriodNotExist=
+lima.ui.fiscalperiod.block.cantBalanceNotBook=
+lima.ui.fiscalperiod.block.cantBlockNotBalance=
lima.ui.fiscalperiod.block.confirmation=
lima.ui.fiscalperiod.block.newyear=
lima.ui.fiscalperiod.block.retainedearningstitle=
@@ -452,6 +455,7 @@
lima.ui.opening.next=Next
lima.ui.opening.title=
lima.ui.opening.welcome=<html><center>Welcome to Lima<br/>this assistant help you to start your business accounting in the blink of an eye<br/>OR import instantanly your already existing save in CSV format<br/><br/><br/><br/></center></html>
+lima.ui.retainedEarnings.wait=
lima.ui.table.cell.colorSelectionFocus=
lima.ui.table.cell.comportmentEditingCell=
lima.ui.table.cell.selectAllEditingCell=
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 2014-02-28 10:04:45 UTC (rev 3749)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-02-28 15:18:09 UTC (rev 3750)
@@ -335,6 +335,9 @@
lima.ui.fiscalperiod.addfiscalperiodtitle=Nouvel exercice
lima.ui.fiscalperiod.begin=Début
lima.ui.fiscalperiod.block.addretainedearnings=Reporter à nouveau?
+lima.ui.fiscalperiod.block.cantBalanceIfNextPeriodNotExist=Impossible de créer le report à nouveaux. L'exercice fiscal suivant n'existe pas
+lima.ui.fiscalperiod.block.cantBalanceNotBook=Impossible de créer le report à nouveaux. aucun journal n'est selectioné.
+lima.ui.fiscalperiod.block.cantBlockNotBalance=Impossible de clôturer un exercice non equilibré
lima.ui.fiscalperiod.block.confirmation=Ètes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \!
lima.ui.fiscalperiod.block.newyear=Voulez vous créer un nouvel exercice?
lima.ui.fiscalperiod.block.retainedearningstitle=Report à nouveau
@@ -429,6 +432,7 @@
lima.ui.opening.next=Suivant
lima.ui.opening.title=Initialisation
lima.ui.opening.welcome=<html><center>Bienvenue dans Lima<br/>Laissez vous guider par cet assistant pour démarrer votre comptabilité en quelques instants
<br/>Ou bien importer directement une ancienne sauvegarde de LIMA au format CSV<br/><br/><br/><br/></center></html>
+lima.ui.retainedEarnings.wait=Report à nouveaux...
lima.vatreport.listerror=Erreur lors de la récupération des données de la liste
lima.vatstatement.accounts=Liste des comptes
lima.vatstatement.boxname=PDF BoxName
1
0
r3749 - in trunk: lima-business/src/main/java/org/chorem/lima/business/ejb lima-business-api/src/main/java/org/chorem/lima/business/api lima-callao/src/main/xmi lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod lima-swing/src/main/resources/i18n lima-swing/src/main/resources/icons
by sbavencoff@users.chorem.org 28 Feb '14
by sbavencoff@users.chorem.org 28 Feb '14
28 Feb '14
Author: sbavencoff
Date: 2014-02-28 11:04:45 +0100 (Fri, 28 Feb 2014)
New Revision: 3749
Url: http://chorem.org/projects/lima/repository/revisions/3749
Log:
fixes #667 : P?\195?\169riode d'exercice trop contraignante
Added:
trunk/lima-swing/src/main/resources/icons/action-fiscalPeriod-edit.png
Modified:
trunk/lima-business-api/src/main/java/org/chorem/lima/business/api/FiscalPeriodService.java
trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FiscalPeriodServiceImpl.java
trunk/lima-callao/src/main/xmi/accounting.properties
trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx
trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx
trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.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
Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FiscalPeriodServiceImpl.java
===================================================================
--- trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FiscalPeriodServiceImpl.java 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FiscalPeriodServiceImpl.java 2014-02-28 10:04:45 UTC (rev 3749)
@@ -25,22 +25,6 @@
package org.chorem.lima.business.ejb;
-import static org.nuiton.i18n.I18n._;
-
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Date;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.ejb.EJB;
-import javax.ejb.Remote;
-import javax.ejb.Stateless;
-import javax.ejb.TransactionAttribute;
-
import org.apache.commons.lang3.time.DateUtils;
import org.chorem.lima.beans.BalanceTrial;
import org.chorem.lima.beans.ReportsDatas;
@@ -69,6 +53,21 @@
import org.chorem.lima.entity.FiscalPeriodDAO;
import org.nuiton.topia.TopiaException;
+import javax.ejb.EJB;
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+import javax.ejb.TransactionAttribute;
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Date;
+import java.util.Iterator;
+import java.util.List;
+
+import static org.nuiton.i18n.I18n._;
+
/**
* Gestion des exercices.
* Un exercice ne peut être supprimé et débloqué après cloture.
@@ -277,6 +276,29 @@
}
@Override
+ public FiscalPeriod updateEndDate(FiscalPeriod fiscalPeriod) throws LimaException {
+
+ FiscalPeriod result;
+
+ try {
+ FiscalPeriodDAO fiscalPeriodDAO = getDaoHelper().getFiscalPeriodDAO();
+
+ String topiaId = fiscalPeriod.getTopiaId();
+ FiscalPeriod fiscalPeriodOld = fiscalPeriodDAO.findByTopiaId(topiaId);
+
+ Date endDate = fiscalPeriod.getEndDate();
+ fiscalPeriodOld.setEndDate(endDate);
+
+ result = fiscalPeriodDAO.update(fiscalPeriodOld);
+
+ } catch (TopiaException e) {
+ throw new LimaException("Can't update period", e);
+ }
+
+ return result;
+ }
+
+ @Override
public FiscalPeriod retainedEarningsAndBlockFiscalPeriod(FiscalPeriod fiscalPeriod, EntryBook entryBook,
boolean retainedEarnings) throws LimaException {
Modified: trunk/lima-business-api/src/main/java/org/chorem/lima/business/api/FiscalPeriodService.java
===================================================================
--- trunk/lima-business-api/src/main/java/org/chorem/lima/business/api/FiscalPeriodService.java 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-business-api/src/main/java/org/chorem/lima/business/api/FiscalPeriodService.java 2014-02-28 10:04:45 UTC (rev 3749)
@@ -25,12 +25,12 @@
package org.chorem.lima.business.api;
-import java.util.List;
-
import org.chorem.lima.business.LimaException;
import org.chorem.lima.entity.EntryBook;
import org.chorem.lima.entity.FiscalPeriod;
+import java.util.List;
+
/**
* Fiscal period service.
*
@@ -73,4 +73,6 @@
* @return true if retained earnings are possible
* */
boolean isRetainedEarnings(FiscalPeriod fiscalPeriod) throws LimaException;
+
+ FiscalPeriod updateEndDate(FiscalPeriod fiscalPeriod) throws LimaException;
}
Modified: trunk/lima-callao/src/main/xmi/accounting.properties
===================================================================
--- trunk/lima-callao/src/main/xmi/accounting.properties 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-callao/src/main/xmi/accounting.properties 2014-02-28 10:04:45 UTC (rev 3749)
@@ -40,7 +40,7 @@
org.chorem.lima.entity.FinancialPeriod.attribute.endDate.tagvalue.naturalId=true
org.chorem.lima.entity.FinancialPeriod.attribute.endDate.tagvalue.notNull=true
-org.chorem.lima.entity.FiscalPeriod.class.tagvalue.naturalIdMutable=false
+org.chorem.lima.entity.FiscalPeriod.class.tagvalue.naturalIdMutable=true
org.chorem.lima.entity.FiscalPeriod.attribute.beginDate.tagvalue.naturalId=true
org.chorem.lima.entity.FiscalPeriod.attribute.beginDate.tagvalue.notNull=true
org.chorem.lima.entity.FiscalPeriod.attribute.endDate.tagvalue.naturalId=true
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx 2014-02-28 10:04:45 UTC (rev 3749)
@@ -22,31 +22,25 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<JDialog title="lima.ui.fiscalperiod.addfiscalperiodtitle" modal="true"
+<JDialog modal="true"
defaultCloseOperation="{JDialog.DO_NOTHING_ON_CLOSE}"
onWindowClosing="performCancel();">
- <import>
- org.chorem.lima.entity.FiscalPeriod
- </import>
- <FiscalPeriodViewHandler id='handler' initializer='getContextValue(FiscalPeriodView.class,JAXXUtil.PARENT).getHandler()'/>
+ <Boolean id="modifyPeriod" javaBean="false"/>
- <FiscalPeriod id="period" javaBean="new org.chorem.lima.entity.FiscalPeriodImpl()"/>
+ <Boolean id="validate" javaBean="false"/>
<script>
<![CDATA[
- public void $afterCompleteSetup() {
- getHandler().init(this);
- }
+ getRootPane().setDefaultButton(okButton);
protected void performOk() {
- getPeriod().setBeginDate(beginDatePicker.getDate());
- getPeriod().setEndDate(endDatePicker.getDate());
+ setValidate(true);
dispose();
}
protected void performCancel() {
- setPeriod(null);
+ setValidate(false);
dispose();
}
]]></script>
@@ -57,7 +51,8 @@
<JLabel text="lima.common.begindate"/>
</cell>
<cell>
- <org.jdesktop.swingx.JXDatePicker id="beginDatePicker"/>
+ <org.jdesktop.swingx.JXDatePicker id="beginDatePicker"
+ enabled="{!isModifyPeriod()}"/>
</cell>
</row>
<row>
@@ -65,7 +60,7 @@
<JLabel text="lima.common.enddate"/>
</cell>
<cell>
- <org.jdesktop.swingx.JXDatePicker id="endDatePicker"/>
+ <org.jdesktop.swingx.JXDatePicker id="endDatePicker" />
</cell>
</row>
<row>
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx 2014-02-28 10:04:45 UTC (rev 3749)
@@ -51,6 +51,12 @@
actionIcon='fiscalPeriod-new'
onActionPerformed="handler.addFiscalPeriod()"/>
+ <JButton id="updateButton"
+ toolTipText="{ _("lima.charts.fiscalperiod.update") + " (Ctrl+M)"}"
+ actionIcon='fiscalPeriod-edit'
+ onActionPerformed="handler.updateFiscalPeriod()"
+ enabled="{isDeleteEnabled()}" />
+
<JButton id="blockButton"
toolTipText="{ _("lima.charts.fiscalperiod.block") + " (Ctrl+B)"}"
actionIcon='fiscalPeriod-close'
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java 2014-02-28 10:04:45 UTC (rev 3749)
@@ -36,6 +36,7 @@
import org.chorem.lima.entity.EntryBookImpl;
import org.chorem.lima.entity.FinancialTransaction;
import org.chorem.lima.entity.FiscalPeriod;
+import org.chorem.lima.entity.FiscalPeriodImpl;
import org.chorem.lima.service.LimaServiceFactory;
import org.nuiton.util.DateUtil;
@@ -98,6 +99,16 @@
}
});
+ // add action on Ctrl + M
+ binding = "update-FiscalPeriod";
+ inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_M, KeyEvent.CTRL_DOWN_MASK), binding);
+ actionMap.put(binding, new AbstractAction() {
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ updateFiscalPeriod();
+ }
+ });
+
// add action on Delete
binding = "remove-FiscalPeriod";
inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0), binding);
@@ -137,30 +148,112 @@
*/
public void addFiscalPeriod() {
- FiscalPeriodTable table = view.getFiscalPeriodTable();
FiscalPeriodTableModel tableModel = view.getFiscalPeriodTableModel();
+ // set begin date picker
+ Date beginDate = null;
+ Date endDate;
+ try {
+ FiscalPeriod result = fiscalPeriodService.getLastFiscalPeriod();
+ if (result != null){
+ beginDate = DateUtils.addDays(result.getEndDate(), 1);
+ }
+ }
+ catch (LimaException eee){
+ if(log.isDebugEnabled()){
+ log.debug("Can't get last fiscal period", eee);
+ }
+
+ }
+ if (beginDate == null) {
+ Calendar calendarBegin = Calendar.getInstance();
+ // set begindate to JAN 1 - 0:00.000 of this years
+ beginDate = calendarBegin.getTime();
+ beginDate = DateUtils.truncate(beginDate, Calendar.YEAR);
+ }
+
+ // get end date
+ endDate = DateUtils.addYears(beginDate, 1);
+ endDate = DateUtils.addDays(endDate, -1);
+
+
AddPeriod addPeriodDialog = new AddPeriod(view);
+ addPeriodDialog.setTitle(_("lima.ui.fiscalperiod.addfiscalperiodtitle"));
+ addPeriodDialog.getBeginDatePicker().setDate(beginDate);
+ addPeriodDialog.getEndDatePicker().setDate(endDate);
addPeriodDialog.setLocationRelativeTo(view);
addPeriodDialog.setVisible(true);
- FiscalPeriod fiscalPeriod = addPeriodDialog.getPeriod();
- if (fiscalPeriod != null) {
-
+ if (checkFiscalPeriod(addPeriodDialog)) {
+ FiscalPeriod fiscalPeriod = new FiscalPeriodImpl();
+ fiscalPeriod.setBeginDate(addPeriodDialog.getBeginDatePicker().getDate());
+ fiscalPeriod.setEndDate(addPeriodDialog.getEndDatePicker().getDate());
+ fiscalPeriod = fiscalPeriodService.createFiscalPeriod(fiscalPeriod);
+ tableModel.addValue(fiscalPeriod);
+ }
+ }
+
+ protected boolean checkFiscalPeriod(AddPeriod addPeriodDialog) {
+ Date beginDate = addPeriodDialog.getBeginDatePicker().getDate();
+ Date endDate = addPeriodDialog.getEndDatePicker().getDate();
+
+ String title = addPeriodDialog.getTitle();
+
+ if (!addPeriodDialog.isValidate()) {
+ return false;
+ } else if (endDate.before(beginDate)) {
+ JOptionPane.showMessageDialog(view,
+ _("lima.ui.fiscalperiod.addfiscalperiod.endAfterBegin"),
+ title,
+ JOptionPane.ERROR_MESSAGE);
+ return false;
+ } else {
//check if fiscalperiod have 12 months, ask a confirmation
- int nbMonth = DateUtil.getDifferenceInMonths(fiscalPeriod.getBeginDate(),
- fiscalPeriod.getEndDate());
+ int nbMonth = DateUtil.getDifferenceInMonths(beginDate, endDate);
int response = JOptionPane.YES_OPTION;
if (nbMonth != 12) {
response = JOptionPane.showConfirmDialog(view,
- _("lima.ui.fiscalperiod.addfiscalperiod.morethan12"),
- _("lima.ui.fiscalperiod.addfiscalperiodtitle"),
- JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
+ _("lima.ui.fiscalperiod.addfiscalperiod.morethan12"),
+ title,
+ JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
}
+ return (response == JOptionPane.YES_OPTION);
- if (response == JOptionPane.YES_OPTION) {
- fiscalPeriod = fiscalPeriodService.createFiscalPeriod(fiscalPeriod);
- tableModel.addValue(fiscalPeriod);
+
+ }
+
+
+ }
+
+ /**
+ * Display add period form and perform add.
+ */
+ public void updateFiscalPeriod() {
+
+ FiscalPeriodTable table = view.getFiscalPeriodTable();
+ FiscalPeriodTableModel tableModel = view.getFiscalPeriodTableModel();
+
+ int selectedRow = table.getSelectedRow();
+
+ if (selectedRow >=0 ) {
+
+ FiscalPeriod selectedFiscalPeriod = tableModel.get(selectedRow);
+
+ if (!selectedFiscalPeriod.isLocked()) {
+
+ AddPeriod addPeriodDialog = new AddPeriod(view);
+ addPeriodDialog.setTitle(_("lima.ui.fiscalperiod.modifyfiscalperiodtitle"));
+ addPeriodDialog.getBeginDatePicker().setDate(selectedFiscalPeriod.getBeginDate());
+ addPeriodDialog.getEndDatePicker().setDate(selectedFiscalPeriod.getEndDate());
+ addPeriodDialog.setModifyPeriod(true);
+ addPeriodDialog.setLocationRelativeTo(view);
+ addPeriodDialog.setVisible(true);
+
+ if (checkFiscalPeriod(addPeriodDialog)) {
+ selectedFiscalPeriod.setEndDate(addPeriodDialog.getEndDatePicker().getDate());
+ fiscalPeriodService.updateEndDate(selectedFiscalPeriod);
+ tableModel.fireTableRowsUpdated(selectedRow, selectedRow);
+ }
}
}
}
@@ -200,40 +293,6 @@
}
/**
- * Init add period view.
- *
- * @param addPeriod view to init
- */
- public void init(AddPeriod addPeriod) {
- addPeriod.getRootPane().setDefaultButton(addPeriod.getOkButton());
-
- // set begin date picker
- Date endDate = null;
- Calendar calendarBegin = Calendar.getInstance();
- // set begindate to JAN 1 - 0:00.000 of this years
- Date beginDate = calendarBegin.getTime();
- beginDate = DateUtils.truncate(beginDate, Calendar.DATE);
- try {
- FiscalPeriod result = fiscalPeriodService.getLastFiscalPeriod();
- if (result != null){
- beginDate = result.getEndDate();
- }
- }
- catch (LimaException eee){
- if(log.isDebugEnabled()){
- log.debug("Can't get last fiscal period", eee);
- }
- }
- beginDate = DateUtils.addDays(beginDate, 1);
- addPeriod.getBeginDatePicker().setDate(beginDate);
-
- // get end date
- endDate = DateUtils.addYears(beginDate, 1);
- endDate = DateUtils.addDays(endDate, -1);
- addPeriod.getEndDatePicker().setDate(endDate);
- }
-
- /**
* Block selected fiscal period,
* and make new fiscal period and retained earnings
* after user confirmations
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 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014-02-28 10:04:45 UTC (rev 3749)
@@ -40,6 +40,7 @@
lima.charts.fiscalperiod.block=Block fiscalperiod
lima.charts.fiscalperiod.create=Create fiscalperiod
lima.charts.fiscalperiod.delete=Delete fiscalperiod
+lima.charts.fiscalperiod.update=
lima.charts.fiscalyear=Fiscal Years
lima.charts.vatpdf=PDF structure
lima.charts.vatstatement=VAT statement chart
@@ -346,6 +347,8 @@
lima.ui.financialtransaction.voucher=
lima.ui.fiscalPeriod.buttonback=
lima.ui.fiscalPeriod.buttonnext=
+lima.ui.fiscalperiod.addfiscalperiod.addfiscalperiodtitle=
+lima.ui.fiscalperiod.addfiscalperiod.endAfterBegin=
lima.ui.fiscalperiod.addfiscalperiod.morethan12=
lima.ui.fiscalperiod.addfiscalperiodtitle=
lima.ui.fiscalperiod.begin=
@@ -366,6 +369,7 @@
lima.ui.fiscalperiod.fiscalperiod.begin=
lima.ui.fiscalperiod.fiscalperiod.end=
lima.ui.fiscalperiod.fiscalperiod.status=
+lima.ui.fiscalperiod.modifyfiscalperiodtitle=
lima.ui.fiscalperiod.open=
lima.ui.fiscalperiod.status=
lima.ui.fullscreen=
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 2014-02-19 09:14:15 UTC (rev 3748)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-02-28 10:04:45 UTC (rev 3749)
@@ -30,6 +30,7 @@
lima.charts.fiscalperiod.block=Cloturer un exercice
lima.charts.fiscalperiod.create=Choisissez la date de début et de fin du nouvel exercice
lima.charts.fiscalperiod.delete=Supprimer un exercice
+lima.charts.fiscalperiod.update=Modifier la date de fin de l'exercice
lima.charts.fiscalyear=Exercices
lima.charts.vatpdf=Import du pdf
lima.charts.vatstatement=Plan TVA
@@ -329,6 +330,7 @@
lima.ui.financialtransaction.voucher=Pièce comptable
lima.ui.fiscalPeriod.buttonback=
lima.ui.fiscalPeriod.buttonnext=
+lima.ui.fiscalperiod.addfiscalperiod.endAfterBegin=Le date de fin de l'exercice doit être postérieur à la date de début
lima.ui.fiscalperiod.addfiscalperiod.morethan12=La période sélectionnée n'est pas de 12 mois, voulez-vous continuer ?
lima.ui.fiscalperiod.addfiscalperiodtitle=Nouvel exercice
lima.ui.fiscalperiod.begin=Début
@@ -346,6 +348,7 @@
lima.ui.fiscalperiod.end=Fin
lima.ui.fiscalperiod.entrybooks.create=Création d'un nouveau journal
lima.ui.fiscalperiod.fiscalperiod=Exercice
+lima.ui.fiscalperiod.modifyfiscalperiodtitle=Modification de l'exercice
lima.ui.fiscalperiod.open=Ouvert
lima.ui.fiscalperiod.status=Statut
lima.ui.home.account=Plan comptable
Copied: trunk/lima-swing/src/main/resources/icons/action-fiscalPeriod-edit.png (from rev 3744, trunk/lima-swing/src/main/resources/icons/action-entryBook-edit.png)
===================================================================
(Binary files differ)
1
0
Jenkins build is unstable: lima-ci » Lima :: business #1
by admin+ci-chorem.org@codelutin.com 25 Feb '14
by admin+ci-chorem.org@codelutin.com 25 Feb '14
25 Feb '14
Build failed in Jenkins: lima-nightly » Lima :: business #2
by admin+ci-chorem.org@codelutin.com 19 Feb '14
by admin+ci-chorem.org@codelutin.com 19 Feb '14
19 Feb '14
See <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>
------------------------------------------
[...truncated 1776 lines...]
INFO - Jndi(name="java:global/lima/OptionsServiceImpl")
INFO - Jndi(name="java:global/lima/FinancialStatementServiceImpl!org.chorem.lima.business.api.FinancialStatementService")
INFO - Jndi(name="java:global/lima/FinancialStatementServiceImpl")
INFO - Jndi(name="java:global/lima/HttpServerServiceImpl!org.chorem.lima.business.api.HttpServerService")
INFO - Jndi(name="java:global/lima/HttpServerServiceImpl")
INFO - Jndi(name="java:global/lima/ClosedPeriodicEntryBookServiceImpl!org.chorem.lima.business.api.ClosedPeriodicEntryBookService")
INFO - Jndi(name="java:global/lima/ClosedPeriodicEntryBookServiceImpl")
INFO - Jndi(name="java:global/lima/IdentityServiceImpl!org.chorem.lima.business.api.IdentityService")
INFO - Jndi(name="java:global/lima/IdentityServiceImpl")
INFO - Jndi(name="java:global/lima/FinancialTransactionServiceImpl!org.chorem.lima.business.api.FinancialTransactionService")
INFO - Jndi(name="java:global/lima/FinancialTransactionServiceImpl")
INFO - Jndi(name="java:global/lima/EntryBookServiceImpl!org.chorem.lima.business.api.EntryBookService")
INFO - Jndi(name="java:global/lima/EntryBookServiceImpl")
INFO - Jndi(name="java:global/lima/DocumentServiceImpl!org.chorem.lima.business.api.DocumentService")
INFO - Jndi(name="java:global/lima/DocumentServiceImpl")
INFO - Jndi(name="java:global/lima/FiscalPeriodServiceImpl!org.chorem.lima.business.api.FiscalPeriodService")
INFO - Jndi(name="java:global/lima/FiscalPeriodServiceImpl")
INFO - Jndi(name="java:global/lima/EntryServiceImpl!org.chorem.lima.business.api.EntryService")
INFO - Jndi(name="java:global/lima/EntryServiceImpl")
INFO - Jndi(name="java:global/lima/VatStatementServiceImpl!org.chorem.lima.business.api.VatStatementService")
INFO - Jndi(name="java:global/lima/VatStatementServiceImpl")
INFO - Jndi(name="java:global/lima/FinancialPeriodServiceImpl!org.chorem.lima.business.api.FinancialPeriodService")
INFO - Jndi(name="java:global/lima/FinancialPeriodServiceImpl")
INFO - Jndi(name="java:global/lima/ReportServiceImpl!org.chorem.lima.business.api.ReportService")
INFO - Jndi(name="java:global/lima/ReportServiceImpl")
INFO - Jndi(name="java:global/lima/ClearServiceImpl!org.chorem.lima.business.ejb.ClearService")
INFO - Jndi(name="java:global/lima/ClearServiceImpl")
INFO - Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@396168f
INFO - OpenWebBeans Container is starting...
INFO - Adding OpenWebBeansPlugin : [CdiPlugin]
INFO - All injection points are validated successfully.
INFO - OpenWebBeans Container has started, it took 84 ms.
INFO - Created Ejb(deployment-id=EntryServiceImpl, ejb-name=EntryServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=IdentityServiceImpl, ejb-name=IdentityServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=LimaInterceptor, ejb-name=LimaInterceptor, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=VatStatementServiceImpl, ejb-name=VatStatementServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ExportServiceImpl, ejb-name=ExportServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=HttpServerServiceImpl, ejb-name=HttpServerServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=DocumentServiceImpl, ejb-name=DocumentServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=FiscalPeriodServiceImpl, ejb-name=FiscalPeriodServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ReportServiceImpl, ejb-name=ReportServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=FinancialStatementServiceImpl, ejb-name=FinancialStatementServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ImportServiceImpl, ejb-name=ImportServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=AccountServiceImpl, ejb-name=AccountServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=OptionsServiceImpl, ejb-name=OptionsServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=FinancialTransactionServiceImpl, ejb-name=FinancialTransactionServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=EntryBookServiceImpl, ejb-name=EntryBookServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=FinancialPeriodServiceImpl, ejb-name=FinancialPeriodServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ClosedPeriodicEntryBookServiceImpl, ejb-name=ClosedPeriodicEntryBookServiceImpl, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ClearServiceImpl, ejb-name=ClearServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=EntryServiceImpl, ejb-name=EntryServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=IdentityServiceImpl, ejb-name=IdentityServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=LimaInterceptor, ejb-name=LimaInterceptor, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=VatStatementServiceImpl, ejb-name=VatStatementServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=ExportServiceImpl, ejb-name=ExportServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=HttpServerServiceImpl, ejb-name=HttpServerServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=DocumentServiceImpl, ejb-name=DocumentServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=FiscalPeriodServiceImpl, ejb-name=FiscalPeriodServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=ReportServiceImpl, ejb-name=ReportServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=FinancialStatementServiceImpl, ejb-name=FinancialStatementServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=ImportServiceImpl, ejb-name=ImportServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=AccountServiceImpl, ejb-name=AccountServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=OptionsServiceImpl, ejb-name=OptionsServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=FinancialTransactionServiceImpl, ejb-name=FinancialTransactionServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=EntryBookServiceImpl, ejb-name=EntryBookServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=FinancialPeriodServiceImpl, ejb-name=FinancialPeriodServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=ClosedPeriodicEntryBookServiceImpl, ejb-name=ClosedPeriodicEntryBookServiceImpl, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=ClearServiceImpl, ejb-name=ClearServiceImpl, container=Default Stateless Container)
INFO - Deployed Application(path=<http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…)>
INFO [main] (LimaInterceptor.java:129) createShemaIfNeeded - Creating to schema in database
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.318 sec - in org.chorem.lima.business.EntryBookServiceImplTest
Running org.chorem.lima.business.FinancialTransactionServiceImplTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.059 sec - in org.chorem.lima.business.FinancialTransactionServiceImplTest
Running org.chorem.lima.business.FiscalPeriodServiceImplTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.006 sec - in org.chorem.lima.business.FiscalPeriodServiceImplTest
Running org.chorem.lima.business.ImportServiceImplTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 860 ms
INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 56 ms
INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 21 ms
INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 603 ms
INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 43 ms
INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 12 ms
INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 478 ms
INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 40 ms
INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 12 ms
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.311 sec - in org.chorem.lima.business.ImportServiceImplTest
Running org.chorem.lima.business.ReportServiceImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.chorem.lima.business.ReportServiceImplTest
Running org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
WARN [main] (FranceAccountingRules.java:72) createAccountRules - Account Number is not numeric : 10TEST
Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.203 sec <<< FAILURE! - in org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest
testCreateAccountWrongStart(org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest) Time elapsed: 0.227 sec <<< FAILURE!
java.lang.AssertionError: Expected exception: org.chorem.lima.business.LimaException
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:32)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Running org.chorem.lima.business.accountingrules.ReportServiceRuleFrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec - in org.chorem.lima.business.accountingrules.ReportServiceRuleFrTest
Running org.chorem.lima.business.accountingrules.FiscalPeriodServiceRuleFrTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.662 sec - in org.chorem.lima.business.accountingrules.FiscalPeriodServiceRuleFrTest
Running org.chorem.lima.business.accountingrules.FinancialPeriodServiceRuleFrTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.449 sec - in org.chorem.lima.business.accountingrules.FinancialPeriodServiceRuleFrTest
Running org.chorem.lima.business.accountingrules.ImportServiceRuleFrTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 568 ms
INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 41 ms
INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 13 ms
INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 667 ms
INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 47 ms
INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 12 ms
INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 532 ms
INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 49 ms
INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 11 ms
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.949 sec - in org.chorem.lima.business.accountingrules.ImportServiceRuleFrTest
Running org.chorem.lima.business.accountingrules.FinancialTransactionServiceRuleFrTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.646 sec - in org.chorem.lima.business.accountingrules.FinancialTransactionServiceRuleFrTest
Running org.chorem.lima.business.accountingrules.EntryBookServiceRuleFrTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.432 sec - in org.chorem.lima.business.accountingrules.EntryBookServiceRuleFrTest
Running org.chorem.lima.business.LimaMiscTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec - in org.chorem.lima.business.LimaMiscTest
Running org.chorem.lima.business.FinancialPeriodServiceImplTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 sec - in org.chorem.lima.business.FinancialPeriodServiceImplTest
Running org.chorem.lima.business.LetteringComparatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.chorem.lima.business.LetteringComparatorTest
Running org.chorem.lima.business.AccountServiceImplTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.622 sec - in org.chorem.lima.business.AccountServiceImplTest
Running org.chorem.lima.entity.AccountDAOTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec - in org.chorem.lima.entity.AccountDAOTest
Running org.chorem.lima.entity.FinancialTransactionDAOTest
INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec - in org.chorem.lima.entity.FinancialTransactionDAOTest
Results :
Failed tests:
AccountServiceRuleFrTest.testCreateAccountWrongStart Expected exception: org.chorem.lima.business.LimaException
Tests run: 79, Failures: 1, Errors: 0, Skipped: 2
[ERROR] There are test failures.
Please refer to <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…> for the individual test results.
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ lima-business ---
[INFO] Building jar: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ lima-business >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ lima-business ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ lima-business ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ lima-business ---
[INFO] Skipping goal (runOnce flag is on and goal was already executed).
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ lima-business <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ lima-business ---
[INFO] Building jar: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>
[INFO]
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ lima-business ---
[INFO]
7 warnings
[WARNING] Javadoc Warnings
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:221: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:331: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:769: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:799: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:857: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:915: warning - @return tag has no arguments.
[WARNING] <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>:140: warning - @return tag has no arguments.
[INFO] Building jar: <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…>
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ lima-business ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-pgp-passphrase) @ lima-business ---
[INFO] Exporting server [gpg-signer] username in ${gpg.keyname}
[INFO] Exporting server [gpg-signer] password in ${gpg.passphrase}
[INFO]
[INFO] --- helper-maven-plugin:2.1:collect-files (collect-build-artifacts) @ lima-business ---
[INFO] Loaded /var/local/forge/data/chorem.org/jenkins/workspace/lima-nightly/trunk/target/collect-artifacts.txt
[INFO] Copying lima-business-0.8-SNAPSHOT.jar to /var/local/forge/data/chorem.org/jenkins/workspace/lima-nightly/trunk/target/collect/org.chorem.lima--lima-business/lima-business-0.8-SNAPSHOT.jar
[INFO] Copying THIRD-PARTY.properties to /var/local/forge/data/chorem.org/jenkins/workspace/lima-nightly/trunk/target/collect/org.chorem.lima--lima-business/THIRD-PARTY.properties
[INFO] Copying lima-business-0.8-SNAPSHOT-sources.jar to /var/local/forge/data/chorem.org/jenkins/workspace/lima-nightly/trunk/target/collect/org.chorem.lima--lima-business/lima-business-0.8-SNAPSHOT-sources.jar
[INFO] Copying lima-business-0.8-SNAPSHOT-javadoc.jar to /var/local/forge/data/chorem.org/jenkins/workspace/lima-nightly/trunk/target/collect/org.chorem.lima--lima-business/lima-business-0.8-SNAPSHOT-javadoc.jar
[INFO]
[INFO] --- helper-maven-plugin:2.1:collect-files (collect-build-attachements) @ lima-business ---
[WARNING] skip unexisting file <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem.lima$lima-business…> (adding user file : )
[WARNING] Skipping goal (No file to collect).
[INFO]
[INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ lima-business ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:analyze-only (analyze) @ lima-business ---
[INFO] Used declared dependencies found:
[INFO] org.apache.openejb:javaee-api:jar:6.0-5:provided
[INFO] org.chorem.lima:lima-callao:jar:0.8-SNAPSHOT:compile
[INFO] org.chorem.lima:lima-business-api:jar:0.8-SNAPSHOT:compile
[INFO] net.sf.opencsv:opencsv:jar:2.3:compile
[INFO] org.apache.pdfbox:pdfbox:jar:1.8.2:compile
[INFO] org.apache.pdfbox:pdfbox-examples:jar:1.8.2:compile
[INFO] org.eclipse.jetty:jetty-servlet:jar:8.1.12.v20130726:compile
[INFO] org.eclipse.jetty:jetty-server:jar:8.1.12.v20130726:compile
[INFO] junit:junit:jar:4.11:test
[INFO] org.nuiton:nuiton-utils:jar:2.6.12:compile
[INFO] org.nuiton.i18n:nuiton-i18n:jar:2.5.1:compile
[INFO] org.nuiton.topia:topia-persistence:jar:2.7.1:compile
[INFO] org.nuiton.topia:topia-service-migration:jar:2.7.1:compile
[INFO] org.nuiton:nuiton-config:jar:3.0-alpha-1:compile
[INFO] org.hibernate:hibernate-core:jar:3.6.10.Final:compile
[INFO] org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] commons-logging:commons-logging:jar:1.1.3:compile
[INFO] commons-lang:commons-lang:jar:2.6:compile
[INFO] commons-io:commons-io:jar:2.4:compile
[INFO] org.apache.openejb:openejb-core:jar:4.5.2:compile
[INFO] com.google.guava:guava:jar:14.0.1:compile
[WARNING] Unused declared dependencies found:
[WARNING] com.lowagie:itext:jar:4.2.1:compile
[JENKINS] Archiving disabled
1
3
r3748 - in trunk: lima-business lima-business/src/main/java/org/chorem/lima/business/ejb lima-swing
by dcosse@users.chorem.org 19 Feb '14
by dcosse@users.chorem.org 19 Feb '14
19 Feb '14
Author: dcosse
Date: 2014-02-19 10:14:15 +0100 (Wed, 19 Feb 2014)
New Revision: 3748
Url: http://chorem.org/projects/lima/repository/revisions/3748
Log:
fix missing dependency
Modified:
trunk/lima-business/pom.xml
trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java
trunk/lima-swing/pom.xml
Modified: trunk/lima-business/pom.xml
===================================================================
--- trunk/lima-business/pom.xml 2014-02-17 08:41:35 UTC (rev 3747)
+++ trunk/lima-business/pom.xml 2014-02-19 09:14:15 UTC (rev 3748)
@@ -43,10 +43,6 @@
<artifactId>opencsv</artifactId>
</dependency>
<dependency>
- <groupId>com.lowagie</groupId>
- <artifactId>itext</artifactId>
- </dependency>
- <dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
</dependency>
Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java
===================================================================
--- trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java 2014-02-17 08:41:35 UTC (rev 3747)
+++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java 2014-02-19 09:14:15 UTC (rev 3748)
@@ -26,7 +26,6 @@
package org.chorem.lima.business.ejb;
import com.google.common.base.Strings;
-import com.lowagie.text.Font;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: trunk/lima-swing/pom.xml
===================================================================
--- trunk/lima-swing/pom.xml 2014-02-17 08:41:35 UTC (rev 3747)
+++ trunk/lima-swing/pom.xml 2014-02-19 09:14:15 UTC (rev 3748)
@@ -61,8 +61,11 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
-
<dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.nuiton.jaxx</groupId>
<artifactId>jaxx-runtime</artifactId>
<exclusions>
1
0
r3747 - trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules
by dcosse@users.chorem.org 17 Feb '14
by dcosse@users.chorem.org 17 Feb '14
17 Feb '14
Author: dcosse
Date: 2014-02-17 09:41:35 +0100 (Mon, 17 Feb 2014)
New Revision: 3747
Url: http://chorem.org/projects/lima/repository/revisions/3747
Log:
fix test
Modified:
trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java
Modified: trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java
===================================================================
--- trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java 2014-02-14 18:06:21 UTC (rev 3746)
+++ trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java 2014-02-17 08:41:35 UTC (rev 3747)
@@ -30,6 +30,7 @@
import org.chorem.lima.entity.AccountImpl;
import org.junit.Assert;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
/**
@@ -66,8 +67,11 @@
*
* @throws LimaException
*/
+ @Ignore
@Test(expected=LimaException.class)
public void testCreateAccountWrongStart() throws LimaException {
+ // TODO DCossé 17/02/14 this test is no more valid as count with account number with letters are now accepted
+ // there is just a warning about it
Account myAccount = new AccountImpl();
myAccount.setAccountNumber("10TEST");
accountService.createAccount(myAccount);
1
0
16 Feb '14
See <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem$lima/1/>
------------------------------------------
<===[JENKINS REMOTING CAPACITY]===> channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem$lima/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -DperformRelease
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Lima
[INFO] Lima :: callao
[INFO] Lima :: business API
[INFO] Lima :: business
[INFO] Lima :: Swing
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Lima 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lima ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ lima ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ lima ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ lima ---
[INFO] Exporting server [redmine-chorem.org] username in ${redmine.username}
[INFO] Exporting server [redmine-chorem.org] privateKey in ${redmine.apiKey}
[INFO]
[INFO] --- license-maven-plugin:1.5:update-project-license (attach-licenses) @ lima ---
[INFO] Will create or update license file [gpl_v3] to <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem$lima/ws/LICENSE.txt>
[INFO]
[INFO] --- license-maven-plugin:1.5:add-third-party (attach-licenses) @ lima ---
[WARNING] The goal is skip due to packaging 'pom'
[INFO]
[INFO] --- license-maven-plugin:1.5:update-file-header (update-file-header) @ lima ---
[INFO] Will search files to update from root <http://ci.chorem.org/jenkins/job/lima-nightly/org.chorem$lima/ws/src>
[INFO] Scan 25 files header done in 87.542ms.
[INFO] All files are up-to-date.
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ lima ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1
[INFO]
[INFO] --- jredmine-maven-plugin:1.6:generate-changes (jredmine-generate-changes) @ lima ---
[JENKINS] Archiving disabled
1
1