Faxtomail-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
May 2014
- 3 participants
- 78 discussions
02 Jun '14
See <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/39/changes>
Changes:
[kmorin] fix swing session new exception thrown
[kmorin] add validator on the range table
[echatellier] refs #4662: Begin ldap job to update database
[echatellier] refs #4662: Amelioration de l'interface (ajout/suppression/fioritures)
[echatellier] Disable ldap if not configured
[echatellier] Refactoring de l'interface de configuration/folder/input
[kmorin] use configuration for the email max size and search columns
[kmorin] fix bug of search to group when there is a search in the context
[kmorin] fixes #5154 Bug à l'ajout d'une pièce jointe dans une réponse à un message
[kmorin] fixes #5157 Dans l'arborescence des éléments, le clic sur une partie vide de la liste des messages entraine une exception
fixes #5158 Un message archivé peut être déplacé
[echatellier] refs #4662: Display ldap groups
[kmorin] fixes #5150 NPE au clic sur un noeud de l'arborescence
------------------------------------------
[...truncated 899 lines...]
[INFO] Copying THIRD-PARTY.properties to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/target/colle…>
[INFO] Copying faxtomail-0.1-SNAPSHOT-sources.jar to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/target/colle…>
[INFO] Copying faxtomail-0.1-SNAPSHOT-javadoc.jar to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/target/colle…>
[INFO]
[INFO] --- helper-maven-plugin:2.1:collect-files (collect-build-attachements) @ faxtomail-ui-web ---
[INFO] Copying faxtomail-0.1-SNAPSHOT.war to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/target/colle…>
[INFO]
[INFO] --- maven-gpg-plugin:1.5:sign (sign-artifacts) @ faxtomail-ui-web ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:analyze-only (analyze) @ faxtomail-ui-web ---
[INFO] Used declared dependencies found:
[INFO] com.franciaflex.faxtomail:faxtomail-persistence:jar:0.1-SNAPSHOT:compile
[INFO] com.franciaflex.faxtomail:faxtomail-service:jar:0.1-SNAPSHOT:compile
[INFO] org.nuiton.topia:topia-persistence:jar:3.0-SNAPSHOT:compile
[INFO] org.nuiton:nuiton-utils:jar:3.0-SNAPSHOT:compile
[INFO] org.nuiton.jaxx:jaxx-application-api:jar:2.8.6-SNAPSHOT:compile
[INFO] commons-logging:commons-logging:jar:1.1.3:compile
[INFO] commons-io:commons-io:jar:2.4:compile
[INFO] org.nuiton.i18n:nuiton-i18n:jar:3.1:compile
[INFO] org.nuiton:nuiton-decorator:jar:3.0-alpha-3:compile
[INFO] com.google.guava:guava:jar:17.0:compile
[INFO] org.apache.struts:struts2-core:jar:2.3.16.3:compile
[INFO] org.apache.struts.xwork:xwork-core:jar:2.3.16.3:compile
[INFO] org.apache.commons:commons-collections4:jar:4.0:compile
[INFO] javax.servlet:servlet-api:jar:2.5:provided
[INFO] org.apache.struts:struts2-convention-plugin:jar:2.3.16.3:compile
[INFO] com.google.code.gson:gson:jar:2.2.4:compile
[INFO] log4j:log4j:jar:1.2.17:compile
[INFO] org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[INFO] org.quartz-scheduler:quartz:jar:2.2.1:compile
[INFO] javax.mail:mail:jar:1.4.7:compile
[INFO] javax.activation:activation:jar:1.1.1:compile
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ faxtomail-ui-web ---
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT.war
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT.pom
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT-third-party.properties
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT-sources.jar
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT-javadoc.jar
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT.war.asc
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT.pom.asc
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT-third-party.properties.asc
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT-sources.jar.asc
[INFO] Installing <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> to /var/local/forge/data/codelutin.com/maven/repository/com/franciaflex/faxtomail/faxtomail-ui-web/0.1-SNAPSHOT/faxtomail-ui-web-0.1-SNAPSHOT-javadoc.jar.asc
[JENKINS] Archiving disabled
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FaxToMail :: UI 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 28.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 28.0 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 31.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 30.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 73.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 66.9 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 60.7 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 61.1 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.6 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/nuiton…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ faxtomail-ui-swing ---
[INFO] Deleting <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ faxtomail-ui-swing ---
[INFO] Exporting server [redmine-forge.codelutin.com] privateKey in ${redmine.apiKey}
[INFO]
[INFO] --- jaxx-maven-plugin:2.8.6-SNAPSHOT:generate (default) @ faxtomail-ui-swing ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 58.4 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 51.9 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 63.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.2 KB/sec)
[INFO] use project compile scope class-path
[INFO] Detects 26 modified jaxx file(s).
[INFO] Generated 26 file(s) in 4.623s
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserJava (scan-sources) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserValidation (scan-sources) @ faxtomail-ui-swing ---
[INFO] Load rules file validation.rules
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:get (get) @ faxtomail-ui-swing ---
[INFO] Copying faxtomail-ui-swing.properties to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 27/289 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:collect-i18n-artifacts (collect-i18n-artifacts) @ faxtomail-ui-swing ---
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/2…
[INFO] collected 10 i18n artifacts for locale fr_FR stored in <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 62/536 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] --- license-maven-plugin:1.7:update-project-license (attach-licenses) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- license-maven-plugin:1.7:add-third-party (attach-licenses) @ faxtomail-ui-swing ---
[INFO] Load missing file <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] Missing file <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…> is up-to-date.
[INFO] Writing third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] Writing bundled third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] Will attach third party file from <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO]
[INFO] --- license-maven-plugin:1.7:update-file-header (update-file-header-on-pom) @ faxtomail-ui-swing ---
[INFO] Will search files to update from root <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] Scan 1 file header done in 7.657ms.
[INFO] All files are up-to-date.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ faxtomail-ui-swing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 45 resources
[INFO] Copying 3 resources
[INFO] Copying 4 resources
[INFO]
[INFO] --- license-maven-plugin:1.7:update-file-header (update-file-header) @ faxtomail-ui-swing ---
[INFO] Will search files to update from root <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] Will search files to update from root <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] Scan 171 files header done in 597.173ms.
[INFO]
* uptodate header on 143 files.
* add header on 28 files.
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ faxtomail-ui-swing ---
[INFO] Compiling 107 source files to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>: Some input files use unchecked or unsafe operations.
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>:[173,39] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] FaxToMail ......................................... SUCCESS [ 8.203 s]
[INFO] FaxToMail :: Persistence .......................... SUCCESS [ 22.817 s]
[INFO] FaxToMail :: Service .............................. SUCCESS [ 13.186 s]
[INFO] FaxToMail :: Web .................................. SUCCESS [ 9.331 s]
[INFO] FaxToMail :: UI ................................... FAILURE [ 12.126 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:07 min
[INFO] Finished at: 2014-05-31T01:16:28+01:00
[INFO] Final Memory: 97M/912M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project faxtomail-ui-swing: Compilation failure
[ERROR] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>:[173,39] unreported exception java.io.IOException; must be caught or declared to be thrown
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project faxtomail-ui-swing: Compilation failure
<http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>:[173,39] unreported exception java.io.IOException; must be caught or declared to be thrown
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
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:745)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
<http://ci.codelutin.com/jenkins/job/faxtomail-nightly/ws/trunk/faxtomail-ui…>:[173,39] unreported exception java.io.IOException; must be caught or declared to be thrown
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :faxtomail-ui-swing
Sending e-mails to: faxtomail-commits(a)list.forge.codelutin.com chatellier(a)codelutin.com morin(a)codelutin.com
Sending e-mails to: faxtomail-commits(a)list.forge.codelutin.com morin(a)codelutin.com
channel stopped
Skipping sonar analysis due to bad build status FAILURE
1
2
Jenkins build became unstable: faxtomail-nightly » FaxToMail :: Service #39
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
02 Jun '14
Build failed in Jenkins: faxtomail-nightly » FaxToMail :: UI #39
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
02 Jun '14
See <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
Changes:
[kmorin] fix swing session new exception thrown
[kmorin] add validator on the range table
[kmorin] use configuration for the email max size and search columns
[kmorin] fix bug of search to group when there is a search in the context
[kmorin] fixes #5154 Bug à l'ajout d'une pièce jointe dans une réponse à un message
[kmorin] fixes #5157 Dans l'arborescence des éléments, le clic sur une partie vide de la liste des messages entraine une exception
fixes #5158 Un message archivé peut être déplacé
[kmorin] fixes #5150 NPE au clic sur un noeud de l'arborescence
------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FaxToMail :: UI 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 28.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 28.0 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 31.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 30.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 73.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 66.9 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 60.7 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 61.1 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.6 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/nuiton…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ faxtomail-ui-swing ---
[INFO] Deleting <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ faxtomail-ui-swing ---
[INFO] Exporting server [redmine-forge.codelutin.com] privateKey in ${redmine.apiKey}
[INFO]
[INFO] --- jaxx-maven-plugin:2.8.6-SNAPSHOT:generate (default) @ faxtomail-ui-swing ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 58.4 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 51.9 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 63.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.2 KB/sec)
[INFO] use project compile scope class-path
[INFO] Detects 26 modified jaxx file(s).
[INFO] Generated 26 file(s) in 4.623s
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserJava (scan-sources) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserValidation (scan-sources) @ faxtomail-ui-swing ---
[INFO] Load rules file validation.rules
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:get (get) @ faxtomail-ui-swing ---
[INFO] Copying faxtomail-ui-swing.properties to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 27/289 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:collect-i18n-artifacts (collect-i18n-artifacts) @ faxtomail-ui-swing ---
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/2…
[INFO] collected 10 i18n artifacts for locale fr_FR stored in <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 62/536 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] --- license-maven-plugin:1.7:update-project-license (attach-licenses) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- license-maven-plugin:1.7:add-third-party (attach-licenses) @ faxtomail-ui-swing ---
[INFO] Load missing file <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] Missing file <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…> is up-to-date.
[INFO] Writing third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] Writing bundled third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] Will attach third party file from <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO]
[INFO] --- license-maven-plugin:1.7:update-file-header (update-file-header-on-pom) @ faxtomail-ui-swing ---
[INFO] Will search files to update from root <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] Scan 1 file header done in 7.657ms.
[INFO] All files are up-to-date.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ faxtomail-ui-swing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 45 resources
[INFO] Copying 3 resources
[INFO] Copying 4 resources
[INFO]
[INFO] --- license-maven-plugin:1.7:update-file-header (update-file-header) @ faxtomail-ui-swing ---
[INFO] Will search files to update from root <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] Will search files to update from root <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] Scan 171 files header done in 597.173ms.
[INFO]
* uptodate header on 143 files.
* add header on 28 files.
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ faxtomail-ui-swing ---
[INFO] Compiling 107 source files to <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>: Some input files use unchecked or unsafe operations.
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://ci.codelutin.com/jenkins/job/faxtomail-nightly/com.franciaflex.faxto…>:[173,39] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
1
2
Jenkins build became unstable: faxtomail-ci » FaxToMail :: Service #91
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
02 Jun '14
02 Jun '14
See <http://ci.codelutin.com/jenkins/job/faxtomail-ci/87/changes>
Changes:
[echatellier] Refactoring de l'interface de configuration/folder/input
------------------------------------------
[...truncated 502 lines...]
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ faxtomail-ui-web ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ faxtomail-ui-web ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ faxtomail-ui-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [faxtomail-ui-web] in [<http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-web/…]>
[INFO] Processing war project
[INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-web/…]> to [<http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-web/…]>
[INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-web/…]>
[INFO] Webapp assembled in [104 msecs]
[INFO] Building war: <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-web/…>
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ faxtomail-ui-web ---
[JENKINS] Archiving disabled
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FaxToMail :: UI 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 50.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 46.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (7 KB at 248.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (7 KB at 302.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (57 KB at 1483.9 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 53.7 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 51.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (4 KB at 139.4 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (4 KB at 139.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 73.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 69.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (5 KB at 213.4 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (5 KB at 213.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 66.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 60.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (5 KB at 230.0 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (5 KB at 219.5 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 63.9 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.6 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (6 KB at 236.3 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (6 KB at 216.6 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/nuiton…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (73 KB at 1545.1 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (96 KB at 1425.8 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (385 KB at 3886.8 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (505 KB at 4271.6 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ faxtomail-ui-swing ---
[INFO] Deleting <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- jaxx-maven-plugin:2.8.6-SNAPSHOT:generate (default) @ faxtomail-ui-swing ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 51.9 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 50.1 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (4 KB at 160.5 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (4 KB at 168.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 63.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 60.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (5 KB at 194.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (5 KB at 194.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (401 KB at 4218.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (493 KB at 4978.5 KB/sec)
[INFO] use project compile scope class-path
[INFO] Detects 26 modified jaxx file(s).
[INFO] Generated 26 file(s) in 3.558s
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserJava (scan-sources) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserValidation (scan-sources) @ faxtomail-ui-swing ---
[INFO] Load rules file validation.rules
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:get (get) @ faxtomail-ui-swing ---
[INFO] Copying faxtomail-ui-swing.properties to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 27/287 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:collect-i18n-artifacts (collect-i18n-artifacts) @ faxtomail-ui-swing ---
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/2…
[INFO] collected 10 i18n artifacts for locale fr_FR stored in <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 62/534 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] --- license-maven-plugin:1.7:update-project-license (attach-licenses) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- license-maven-plugin:1.7:add-third-party (attach-licenses) @ faxtomail-ui-swing ---
[INFO] Load missing file <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO] Missing file <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…> is up-to-date.
[INFO] Writing third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO] Writing bundled third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO] Will attach third party file from <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ faxtomail-ui-swing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 45 resources
[INFO] Copying 3 resources
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ faxtomail-ui-swing ---
[INFO] Compiling 107 source files to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>: Some input files use unchecked or unsafe operations.
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>:[272,29] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] FaxToMail ......................................... SUCCESS [ 1.896 s]
[INFO] FaxToMail :: Persistence .......................... SUCCESS [ 10.281 s]
[INFO] FaxToMail :: Service .............................. SUCCESS [ 7.547 s]
[INFO] FaxToMail :: Web .................................. SUCCESS [ 3.641 s]
[INFO] FaxToMail :: UI ................................... FAILURE [ 10.644 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.908 s
[INFO] Finished at: 2014-05-30T13:25:49+01:00
[INFO] Final Memory: 88M/1471M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project faxtomail-ui-swing: Compilation failure
[ERROR] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>:[272,29] unreported exception java.io.IOException; must be caught or declared to be thrown
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project faxtomail-ui-swing: Compilation failure
<http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>:[272,29] unreported exception java.io.IOException; must be caught or declared to be thrown
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
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:745)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
<http://ci.codelutin.com/jenkins/job/faxtomail-ci/ws/trunk/faxtomail-ui-swin…>:[272,29] unreported exception java.io.IOException; must be caught or declared to be thrown
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :faxtomail-ui-swing
Sending e-mails to: faxtomail-commits(a)list.forge.codelutin.com
channel stopped
1
13
Build failed in Jenkins: faxtomail-ci » FaxToMail :: UI #87
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
by admin+ci-codelutin.com@codelutin.com 02 Jun '14
02 Jun '14
See <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FaxToMail :: UI 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 50.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 46.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (7 KB at 248.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (7 KB at 302.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (57 KB at 1483.9 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 53.7 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 51.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (4 KB at 139.4 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (4 KB at 139.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 73.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 69.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (5 KB at 213.4 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (5 KB at 213.4 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 66.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 60.7 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (5 KB at 230.0 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (5 KB at 219.5 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 63.9 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 58.6 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (6 KB at 236.3 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (6 KB at 216.6 KB/sec)
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/nuiton…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/j…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (73 KB at 1545.1 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (96 KB at 1425.8 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (385 KB at 3886.8 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (505 KB at 4271.6 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ faxtomail-ui-swing ---
[INFO] Deleting <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- jaxx-maven-plugin:2.8.6-SNAPSHOT:generate (default) @ faxtomail-ui-swing ---
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 51.9 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 50.1 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (4 KB at 160.5 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (4 KB at 168.2 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (2 KB at 63.5 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (2 KB at 60.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (5 KB at 194.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/faxtomail-group/org/nuiton/jax… (5 KB at 194.8 KB/sec)
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax…
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (401 KB at 4218.0 KB/sec)
[INFO] Downloaded: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/nuiton/jax… (493 KB at 4978.5 KB/sec)
[INFO] use project compile scope class-path
[INFO] Detects 26 modified jaxx file(s).
[INFO] Generated 26 file(s) in 3.558s
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserJava (scan-sources) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- i18n-maven-plugin:3.1:parserValidation (scan-sources) @ faxtomail-ui-swing ---
[INFO] Load rules file validation.rules
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:get (get) @ faxtomail-ui-swing ---
[INFO] Copying faxtomail-ui-swing.properties to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:gen (scan-sources) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 27/287 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] >>> i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing >>>
[INFO]
[INFO] --- i18n-maven-plugin:3.1:collect-i18n-artifacts (collect-i18n-artifacts) @ faxtomail-ui-swing ---
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/topia/…
[INFO] Downloading: http://repository.springsource.com/maven/bundles/external/org/nuiton/jaxx/2…
[INFO] collected 10 i18n artifacts for locale fr_FR stored in <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO]
[INFO] <<< i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing <<<
[INFO]
[INFO] --- i18n-maven-plugin:3.1:bundle (make-bundle) @ faxtomail-ui-swing ---
[WARNING] bundle fr_FR contains 62/534 empty entries! (use -Di18n.showEmpty to see these entries)
[INFO]
[INFO] --- license-maven-plugin:1.7:update-project-license (attach-licenses) @ faxtomail-ui-swing ---
[INFO]
[INFO] --- license-maven-plugin:1.7:add-third-party (attach-licenses) @ faxtomail-ui-swing ---
[INFO] Load missing file <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO] Missing file <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…> is up-to-date.
[INFO] Writing third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO] Writing bundled third-party file to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO] Will attach third party file from <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ faxtomail-ui-swing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 45 resources
[INFO] Copying 3 resources
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ faxtomail-ui-swing ---
[INFO] Compiling 107 source files to <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>: Some input files use unchecked or unsafe operations.
[WARNING] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://ci.codelutin.com/jenkins/job/faxtomail-ci/com.franciaflex.faxtomail$…>:[272,29] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
1
8
r117 - trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing
by kmorin@users.forge.codelutin.com 30 May '14
by kmorin@users.forge.codelutin.com 30 May '14
30 May '14
Author: kmorin
Date: 2014-05-30 23:01:38 +0200 (Fri, 30 May 2014)
New Revision: 117
Url: http://forge.codelutin.com/projects/faxtomail/repository/revisions/117
Log:
fix swing session new exception thrown
Modified:
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/FaxToMailUIContext.java
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/FaxToMailUIContext.java
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/FaxToMailUIContext.java 2014-05-30 20:43:45 UTC (rev 116)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/FaxToMailUIContext.java 2014-05-30 21:01:38 UTC (rev 117)
@@ -77,6 +77,7 @@
import java.beans.PropertyChangeListener;
import java.io.Closeable;
import java.io.File;
+import java.io.IOException;
import java.util.ArrayList;
import java.util.Locale;
import java.util.Map;
@@ -269,7 +270,7 @@
Map<Class, State> additionalStates = Maps.newHashMap();
additionalStates.put(BeanFilterableComboBox.class, new BeanFilterableComboBoxState());
additionalStates.put(BeanDoubleList.class, new BeanDoubleListState());
- this.swingSession = new SwingSession(getConfig().getUIConfigFile(), false, additionalStates);
+ this.swingSession = SwingSession.newSession(getConfig().getUIConfigFile(), false, additionalStates);
this.errorHelper = new ApplicationErrorHelper(this) {
1
0
r116 - in trunk: faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande faxtomail-ui-swing/src/main/resources/com/franciaflex/faxtomail/ui/swing/content/demande faxtomail-ui-swing/src/main/resources/i18n
by kmorin@users.forge.codelutin.com 30 May '14
by kmorin@users.forge.codelutin.com 30 May '14
30 May '14
Author: kmorin
Date: 2014-05-30 22:43:45 +0200 (Fri, 30 May 2014)
New Revision: 116
Url: http://forge.codelutin.com/projects/faxtomail/repository/revisions/116
Log:
add validator on the range table
Modified:
trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailService.java
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/SaveDemandeAction.java
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.css
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.jaxx
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel.java
trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/RangeRowModel.java
trunk/faxtomail-ui-swing/src/main/resources/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel-error-validation.xml
trunk/faxtomail-ui-swing/src/main/resources/i18n/faxtomail-ui-swing_fr_FR.properties
Modified: trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailService.java
===================================================================
--- trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailService.java 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailService.java 2014-05-30 20:43:45 UTC (rev 116)
@@ -128,14 +128,15 @@
HistoryTopiaDao historyDao = getPersistenceContext().getHistoryDao();
// if client code is null, do not manage client at all
- if (clientCode != null) {
- Client client = clientDao.forCodeEquals(clientCode).findAnyOrNull();
+ Client client = null;
+ if (StringUtils.isNotBlank(clientCode)) {
+ client = clientDao.forCodeEquals(clientCode).findAnyOrNull();
if (client == null) {
String message = t("faxtomail.service.email.save.clientCode.error", clientCode);
throw new InvalidClientException(message);
}
- email.setClient(client);
}
+ email.setClient(client);
if (attachments != null) {
Collection<Attachment> currentAttachments = CollectionUtils.emptyIfNull(email.getAttachment());
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/SaveDemandeAction.java
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/SaveDemandeAction.java 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/SaveDemandeAction.java 2014-05-30 20:43:45 UTC (rev 116)
@@ -26,7 +26,6 @@
import java.util.ArrayList;
import java.util.Collection;
-import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
@@ -44,7 +43,6 @@
import com.franciaflex.faxtomail.ui.swing.content.demande.DemandeUIHandler;
import com.franciaflex.faxtomail.ui.swing.content.demande.DemandeUIModel;
import com.franciaflex.faxtomail.ui.swing.content.demande.RangeRowModel;
-import com.franciaflex.faxtomail.ui.swing.content.demande.RangeTableModel;
import com.google.common.collect.Maps;
import static org.nuiton.i18n.I18n.t;
@@ -73,8 +71,7 @@
persistedEmail = new EmailImpl();
}
- RangeTableModel rtm = (RangeTableModel) getUI().getRangeTable().getModel();
- List<RangeRowModel> rows = rtm.getRows();
+ Collection<RangeRowModel> rows = model.getValidRangeRowModels();
Collection<RangeRow> rangeRows = model.getRangeRow();
if (rangeRows == null) {
rangeRows = new ArrayList<>();
@@ -82,14 +79,13 @@
Map<String, RangeRow> rangeRowsById = Maps.uniqueIndex(rangeRows, TopiaEntities.getTopiaIdFunction());
+ model.setRangeRow(new ArrayList<RangeRow>());
for (RangeRowModel rangeRowModel : rows) {
- if (rangeRowModel.isValid()) {
- RangeRow rangeRow = rangeRowsById.get(rangeRowModel.getTopiaId());
- if (rangeRow == null) {
- model.addRangeRow(rangeRowModel.toEntity());
- } else {
- rangeRowModel.toEntity(rangeRow);
- }
+ RangeRow rangeRow = rangeRowsById.get(rangeRowModel.getTopiaId());
+ if (rangeRow == null) {
+ model.addRangeRow(rangeRowModel.toEntity());
+ } else {
+ model.addRangeRow(rangeRowModel.toEntity(rangeRow));
}
}
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.css
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.css 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.css 2014-05-30 20:43:45 UTC (rev 116)
@@ -279,6 +279,7 @@
#rangePanel {
visible: { model.isRangePanelVisible() };
+ _validatorLabel: { t("faxtomail.demande.rangeRow.label") };
}
#ediCodeNumberLabel {
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.jaxx
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.jaxx 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUI.jaxx 2014-05-30 20:43:45 UTC (rev 116)
@@ -71,6 +71,7 @@
<field name='object' component='objectField'/>
<field name='demandType' component='docTypeComboBox'/>
<field name='projectReference' component='projectReferenceField'/>
+ <field name='validRangeRowModels' component='rangePanel'/>
</BeanValidator>
<JToolBar id='topToolBar'>
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java 2014-05-30 20:43:45 UTC (rev 116)
@@ -100,7 +100,7 @@
initUI(ui);
- DemandeUIModel model = getModel();
+ final DemandeUIModel model = getModel();
Set<String> propertiesToIgnore = getPropertiesToIgnore();
monitor = new BeanMonitor(true, propertiesToIgnore.toArray(new String[propertiesToIgnore.size()]));
monitor.setBean(model);
@@ -182,8 +182,8 @@
for (RangeRow rangeRow : rangeRows) {
RangeRowModel rangeRowModel = new RangeRowModel();
rangeRowModel.fromEntity(rangeRow);
- rangeRowModel.setValid(isRangeRowValid(rangeRowModel));
rangeRowModels.add(rangeRowModel);
+ model.getValidRangeRowModels().add(rangeRowModel);
}
}
rangeTableModel.setRows(rangeRowModels);
@@ -199,11 +199,19 @@
protected PropertyChangeListener listener = new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
+ DemandeUIModel model = getModel();
+ String propertyName = evt.getPropertyName();
- RangeRowModel row = (RangeRowModel) evt.getSource();
- row.setValid(isRangeRowValid(row));
+ if (RangeRowModel.PROPERTY_VALID.equals(propertyName)) {
+ RangeRowModel row = (RangeRowModel) evt.getSource();
+ Boolean valid = (Boolean) evt.getNewValue();
+ if (Boolean.TRUE.equals(valid)) {
+ model.addValidRangeRow(row);
+ } else {
+ model.removeValidRangeRow(row);
+ }
+ }
- String propertyName = evt.getPropertyName();
if (RangeRowModel.PROPERTY_VALID.equals(propertyName)
|| RangeRow.PROPERTY_QUOTATION_QUANTITY.equals(propertyName)
|| RangeRow.PROPERTY_PRODUCT_QUANTITY.equals(propertyName)
@@ -211,7 +219,6 @@
List<RangeRowModel> rangeRows = rangeTableModel.getRows();
Map<String, Integer> quantities = FaxToMailUIUtil.computeQuantities(rangeRows);
- DemandeUIModel model = getModel();
model.setQuotationNb(quantities.get(DemandeUIModel.PROPERTY_QUOTATION_NB));
model.setPfNb(quantities.get(DemandeUIModel.PROPERTY_PF_NB));
model.setSavNb(quantities.get(DemandeUIModel.PROPERTY_SAV_NB));
@@ -421,10 +428,6 @@
return monitor;
}
- protected boolean isRangeRowValid(RangeRowModel rangeRow) {
- return rangeRow.getRange() != null;
- }
-
@Override
public boolean onHideTab(int currentIndex, int newIndex) {
closeButtonPopups();
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel.java
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel.java 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel.java 2014-05-30 20:43:45 UTC (rev 116)
@@ -92,6 +92,7 @@
public static final String PROPERTY_EDITABLE = "editable";
public static final String PROPERTY_LAST_ATTACHMENT_OPENING_IN_THIS_FOLDER_USER = "lastAttachmentOpeningInThisFolderUser";
public static final String PROPERTY_GROUPED_DEMANDES = "groupedDemandes";
+ public static final String PROPERTY_VALID_RANGE_ROW_MODELS = "validRangeRowModels";
protected final Email editObject = new EmailImpl();
@@ -99,6 +100,8 @@
protected final Collection<DemandeUIModel> groupedDemandes = new ArrayList<DemandeUIModel>();
+ protected final Collection<RangeRowModel> validRangeRowModels = new ArrayList<RangeRowModel>();
+
protected History firstOpeningHistory;
protected History lastModificationHistory;
@@ -388,7 +391,7 @@
public boolean isRangePanelVisible() {
DemandType demandType = getDemandType();
- return demandType != null && Boolean.TRUE.equals(demandType.getRangeNeeded());
+ return demandType != null && demandType.isRangeNeeded();
}
public DemandStatus getDemandStatus() {
@@ -814,6 +817,30 @@
return editObject.sizeReplies();
}
+
+ public Collection<RangeRowModel> getValidRangeRowModels() {
+ return validRangeRowModels;
+ }
+
+ public void setValidRangeRowModels(Collection<RangeRowModel> validRangeRowModels) {
+ Object oldValue = new ArrayList<RangeRowModel>(validRangeRowModels);
+ this.validRangeRowModels.clear();
+ this.validRangeRowModels.addAll(validRangeRowModels);
+ firePropertyChanged(PROPERTY_VALID_RANGE_ROW_MODELS, oldValue, validRangeRowModels);
+ }
+
+ public void addValidRangeRow(RangeRowModel row) {
+ Object oldValue = new ArrayList<RangeRowModel>(validRangeRowModels);
+ validRangeRowModels.add(row);
+ firePropertyChanged(PROPERTY_VALID_RANGE_ROW_MODELS, oldValue, validRangeRowModels);
+ }
+
+ public void removeValidRangeRow(RangeRowModel row) {
+ Object oldValue = new ArrayList<RangeRowModel>(validRangeRowModels);
+ validRangeRowModels.remove(row);
+ firePropertyChanged(PROPERTY_VALID_RANGE_ROW_MODELS, oldValue, validRangeRowModels);
+ }
+
@Override
protected Email newEntity() {
return new EmailImpl();
Modified: trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/RangeRowModel.java
===================================================================
--- trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/RangeRowModel.java 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/RangeRowModel.java 2014-05-30 20:43:45 UTC (rev 116)
@@ -107,6 +107,7 @@
Object oldValue = getRange();
editObject.setRange(range);
firePropertyChange(RangeRow.PROPERTY_RANGE, oldValue, range);
+ setValid(range != null);
}
public Range getRange() {
Modified: trunk/faxtomail-ui-swing/src/main/resources/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel-error-validation.xml
===================================================================
--- trunk/faxtomail-ui-swing/src/main/resources/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel-error-validation.xml 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/resources/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIModel-error-validation.xml 2014-05-30 20:43:45 UTC (rev 116)
@@ -30,6 +30,12 @@
<validators>
+ <field name="object">
+ <field-validator type="requiredstring" short-circuit="true">
+ <message>faxtomail.validator.error.email.object.required</message>
+ </field-validator>
+ </field>
+
<field name="clientCode">
<field-validator type="requiredstring" short-circuit="true">
<message>faxtomail.validator.error.email.clientCode.required</message>
@@ -48,4 +54,11 @@
</field-validator>
</field>
+ <field name="validRangeRowModels">
+ <field-validator type="fieldexpression" short-circuit="true">
+ <param name="expression"><![CDATA[ !isRangePanelVisible() || validRangeRowModels != null && !validRangeRowModels.isEmpty() ]]></param>
+ <message>faxtomail.validator.error.email.rangeRow.required</message>
+ </field-validator>
+ </field>
+
</validators>
Modified: trunk/faxtomail-ui-swing/src/main/resources/i18n/faxtomail-ui-swing_fr_FR.properties
===================================================================
--- trunk/faxtomail-ui-swing/src/main/resources/i18n/faxtomail-ui-swing_fr_FR.properties 2014-05-30 16:32:40 UTC (rev 115)
+++ trunk/faxtomail-ui-swing/src/main/resources/i18n/faxtomail-ui-swing_fr_FR.properties 2014-05-30 20:43:45 UTC (rev 116)
@@ -276,7 +276,9 @@
faxtomail.systemUser=Système
faxtomail.validator.error.email.clientCode.required=Code client requis
faxtomail.validator.error.email.demandType.required=Type de demande requis
+faxtomail.validator.error.email.object.required=Objet requis
faxtomail.validator.error.email.projectReference.required=Référence chantier requise
+faxtomail.validator.error.email.rangeRow.required=Tableau des gammes requis
faxtomail.validator.error.reply.from.required=
faxtomail.validator.error.reply.to.required=
jaxx.application.error.cannot.print=
1
0
r115 - in trunk: faxtomail-persistence/src/main/xmi faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin
by echatellier@users.forge.codelutin.com 30 May '14
by echatellier@users.forge.codelutin.com 30 May '14
30 May '14
Author: echatellier
Date: 2014-05-30 18:32:40 +0200 (Fri, 30 May 2014)
New Revision: 115
Url: http://forge.codelutin.com/projects/faxtomail/repository/revisions/115
Log:
refs #4662: Begin ldap job to update database
Added:
trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapService.java
trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap/
trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap/LdapUser.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/AbstractFaxToMailJob.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/LdapJob.java
Modified:
trunk/faxtomail-persistence/src/main/xmi/faxtomail.zargo
trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ConfigurationService.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailApplicationListener.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/ConfigurationAction.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/UserFolderAction.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/EDIManagementJob.java
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java
trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp
Modified: trunk/faxtomail-persistence/src/main/xmi/faxtomail.zargo
===================================================================
(Binary files differ)
Modified: trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ConfigurationService.java
===================================================================
--- trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ConfigurationService.java 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ConfigurationService.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -24,27 +24,27 @@
* #L%
*/
-import java.util.ArrayList;
-import java.util.Collection;
+import java.util.HashMap;
import java.util.List;
+import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.nuiton.topia.persistence.TopiaEntities;
+import org.nuiton.util.beans.Binder;
+import org.nuiton.util.beans.BinderFactory;
import com.franciaflex.faxtomail.persistence.entities.Configuration;
import com.franciaflex.faxtomail.persistence.entities.ConfigurationImpl;
import com.franciaflex.faxtomail.persistence.entities.ConfigurationTopiaDao;
import com.franciaflex.faxtomail.persistence.entities.EmailAccount;
+import com.franciaflex.faxtomail.persistence.entities.EmailAccountImpl;
import com.franciaflex.faxtomail.persistence.entities.EmailAccountTopiaDao;
import com.franciaflex.faxtomail.persistence.entities.MailFilter;
import com.franciaflex.faxtomail.persistence.entities.MailFilterTopiaDao;
import com.franciaflex.faxtomail.services.FaxToMailServiceSupport;
-import com.unboundid.ldap.sdk.LDAPConnection;
-import com.unboundid.ldap.sdk.LDAPException;
-import com.unboundid.ldap.sdk.SearchResult;
-import com.unboundid.ldap.sdk.SearchResultEntry;
-import com.unboundid.ldap.sdk.SearchScope;
+import com.google.common.collect.Maps;
/**
* @author kmorin <kmorin(a)codelutin.com>
@@ -138,45 +138,35 @@
/**
*
- * @param emailAccounts
+ * @param newEmailAccounts new email account list to save
*/
- public void saveEmailAccounts(List<EmailAccount> emailAccounts) {
-
- }
+ public void saveEmailAccounts(List<EmailAccount> newEmailAccounts) {
+ List<EmailAccount> emailAccounts = getEmailAccounts();
+ Map<String, EmailAccount> emailAccountMap = new HashMap<>(Maps.uniqueIndex(emailAccounts, TopiaEntities.getTopiaIdFunction()));
+ Binder<EmailAccount, EmailAccount> binder = BinderFactory.newBinder(EmailAccount.class);
+ EmailAccountTopiaDao emailAccountTopiaDao = getPersistenceContext().getEmailAccountDao();
- /**
- * Get ldap connection.
- *
- * @return
- * @throws LDAPException
- */
- protected LDAPConnection getLDAPConnection() throws LDAPException {
- // host, port, username and password
- return new LDAPConnection(getApplicationConfig().getLdapHost(),
- getApplicationConfig().getLdapPort(),
- getApplicationConfig().getLdapUser(),
- getApplicationConfig().getLdapPassword());
- }
-
- public List<String> getAllGroups() throws LDAPException {
- List<String> results = new ArrayList<>();
-
- if (StringUtils.isNotBlank(getApplicationConfig().getLdapHost())) {
- // ldapsearch -h ldap.codelutin.home -b "ou=Group,DC=codelutin,DC=home" "objectClass=posixGroup"
- String baseDN = "ou=Group,DC=codelutin,DC=home";
- String filter = "(objectClass=posixGroup)";
-
- LDAPConnection connection = getLDAPConnection();
- if (connection.isConnected()) {
- SearchResult searchResult = connection.search(baseDN, SearchScope.ONE, filter);
-
- List<SearchResultEntry> searchEntries = searchResult.getSearchEntries();
- for (SearchResultEntry searchEntry : searchEntries) {
- results.add(searchEntry.getAttributeValue("cn"));
- }
+ for (EmailAccount newEmailAccount : newEmailAccounts) {
+ EmailAccount emailAccount;
+ if (StringUtils.isNotBlank(newEmailAccount.getTopiaId())) {
+ emailAccount = emailAccountMap.remove(newEmailAccount.getTopiaId());
+ } else {
+ emailAccount = new EmailAccountImpl();
}
+
+ binder.copyExcluding(newEmailAccount, emailAccount,
+ EmailAccount.PROPERTY_TOPIA_ID,
+ EmailAccount.PROPERTY_TOPIA_CREATE_DATE,
+ EmailAccount.PROPERTY_TOPIA_VERSION);
+
+ if (emailAccount.isPersisted()) {
+ emailAccountTopiaDao.update(emailAccount);
+ } else {
+ emailAccountTopiaDao.create(emailAccount);
+ }
}
-
- return results;
+
+ emailAccountTopiaDao.deleteAll(emailAccountMap.values());
+ getPersistenceContext().commit();
}
}
Added: trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapService.java
===================================================================
--- trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapService.java (rev 0)
+++ trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapService.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -0,0 +1,89 @@
+package com.franciaflex.faxtomail.services.service;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import com.franciaflex.faxtomail.services.FaxToMailServiceSupport;
+import com.franciaflex.faxtomail.services.service.ldap.LdapUser;
+import com.unboundid.ldap.sdk.LDAPConnection;
+import com.unboundid.ldap.sdk.LDAPException;
+import com.unboundid.ldap.sdk.SearchResult;
+import com.unboundid.ldap.sdk.SearchResultEntry;
+import com.unboundid.ldap.sdk.SearchScope;
+
+public class LdapService extends FaxToMailServiceSupport {
+
+ private static final Log log = LogFactory.getLog(LdapService.class);
+
+ /**
+ * Get ldap connection.
+ *
+ * @return
+ * @throws LDAPException
+ */
+ protected LDAPConnection getLDAPConnection() throws LDAPException {
+ // host, port, username and password
+ return new LDAPConnection(getApplicationConfig().getLdapHost(),
+ getApplicationConfig().getLdapPort(),
+ getApplicationConfig().getLdapUser(),
+ getApplicationConfig().getLdapPassword());
+ }
+
+ /**
+ * Get all user from ldap.
+ *
+ * @return ldap users with group infos
+ * @throws LDAPException
+ */
+ protected Collection<LdapUser> getAllLdapUsers() throws LDAPException {
+ Collection<LdapUser> results = new ArrayList<>();
+
+ // ldapsearch -h ldap.codelutin.home -b "ou=People,DC=codelutin,DC=home" "objectClass=posixGroup"
+ // ldapsearch -h ldap.codelutin.home -b "ou=People,DC=codelutin,DC=home" "objectClass=account"
+ String baseDN = "ou=People,DC=codelutin,DC=home";
+ String filter = "(objectClass=account)";
+
+ LDAPConnection connection = null;
+ try {
+ connection = getLDAPConnection();
+ if (connection.isConnected()) {
+ SearchResult searchResult = connection.search(baseDN, SearchScope.ONE, filter);
+
+ List<SearchResultEntry> searchEntries = searchResult.getSearchEntries();
+ for (SearchResultEntry searchEntry : searchEntries) {
+ LdapUser user = new LdapUser();
+ user.setLogin(searchEntry.getAttributeValue("uid"));
+ user.setLogin(searchEntry.getAttributeValue("uid"));
+ user.setLogin(searchEntry.getAttributeValue("uid"));
+
+ results.add(user);
+ }
+ }
+ } finally {
+ if (connection != null) {
+ connection.close();
+ }
+ }
+
+
+ return results;
+ }
+
+ /**
+ * Recupere les utilisateurs/groupes du ldap et met à jour la base locale.
+ */
+ public void updateLdapData() {
+ if (StringUtils.isBlank(getApplicationConfig().getLdapHost())) {
+ if (log.isDebugEnabled()) {
+ log.debug("Ldap service not configured !");
+ }
+ }
+
+
+ }
+}
Property changes on: trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapService.java
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision HeadURL
Added: svn:eol-style
+ native
Added: trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap/LdapUser.java
===================================================================
--- trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap/LdapUser.java (rev 0)
+++ trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap/LdapUser.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -0,0 +1,23 @@
+package com.franciaflex.faxtomail.services.service.ldap;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import com.franciaflex.faxtomail.persistence.entities.FaxToMailUserImpl;
+
+public class LdapUser extends FaxToMailUserImpl {
+
+ protected Collection<String> groups = new ArrayList<>();
+
+ public Collection<String> getGroups() {
+ return groups;
+ }
+
+ public void setGroups(Collection<String> groups) {
+ this.groups = groups;
+ }
+
+ public void addGroup(String group) {
+ this.groups.add(group);
+ }
+}
Property changes on: trunk/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/ldap/LdapUser.java
___________________________________________________________________
Added: svn:eol-style
+ native
Added: svn:keywords
+ Author Date Id Revision HeadURL
Modified: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailApplicationListener.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailApplicationListener.java 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailApplicationListener.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -88,11 +88,17 @@
.withIdentity("faxToMailJobs", "ediManagementJob")
.build();
+ JobDetail ldapJob = JobBuilder.newJob(EDIManagementJob.class)
+ .usingJobData(data)
+ .withIdentity("faxToMailJobs", "ldapJob")
+ .build();
+
try {
+
+ // schedule mail job (toutes les 20 minutes)
Trigger trigger = TriggerBuilder
.newTrigger()
.withIdentity("mailFiltering", "mailFilteringTrigger")
-// .withSchedule(CronScheduleBuilder.cronSchedule("* 0/1 * * * ?"))
.withSchedule(CronScheduleBuilder.cronSchedule("0/20 * * * * ?"))
.build();
@@ -100,6 +106,7 @@
scheduler.start();
scheduler.scheduleJob(mailFilteringJob, trigger);
+ // schedule EDI job (toutes les 5 heures)s
trigger = TriggerBuilder
.newTrigger()
.withIdentity("ediManagement", "ediManagementTrigger")
@@ -110,6 +117,17 @@
scheduler.start();
scheduler.scheduleJob(ediManagementJob, trigger);
+ // schedule ldap job (toutes les heures à 0 minute)
+ trigger = TriggerBuilder
+ .newTrigger()
+ .withIdentity("ldapManagement", "ldapManagementTrigger")
+ .withSchedule(CronScheduleBuilder.cronSchedule("0 * * * * ?"))
+ .build();
+
+ scheduler = new StdSchedulerFactory().getScheduler();
+ scheduler.start();
+ scheduler.scheduleJob(ldapJob, trigger);
+
log.debug("schedulers launched");
} catch (SchedulerException e) {
Modified: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/ConfigurationAction.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/ConfigurationAction.java 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/ConfigurationAction.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -25,6 +25,7 @@
*/
import java.lang.reflect.Type;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
@@ -83,7 +84,7 @@
public String input() throws Exception {
etatAttentes = referentielService.getAllEtatAttente();
mailFolders = mailFolderService.getRootMailFolders();
- groupNames = configurationService.getAllGroups();
+ groupNames = Collections.emptyList(); //FIXME: configurationService.getAllGroups();
emailAccounts = configurationService.getEmailAccounts();
mailFilters = configurationService.getMailFilters();
return INPUT;
@@ -99,6 +100,7 @@
referentielService.saveEtatAttente(etatAttentes);
mailFolderService.saveMailFolders(mailFolders);
configurationService.saveMailFilters(mailFilters);
+ configurationService.saveEmailAccounts(emailAccounts);
return result;
}
Modified: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/UserFolderAction.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/UserFolderAction.java 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/UserFolderAction.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -27,6 +27,7 @@
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
+import java.util.Collections;
import java.util.List;
import org.apache.commons.logging.Log;
@@ -63,7 +64,7 @@
@org.apache.struts2.convention.annotation.Action("user-folder-input")
public String input() throws Exception {
mailFolders = mailFolderService.getAllMailFolders();
- groupNames = configurationService.getAllGroups();
+ groupNames = Collections.emptyList(); //FIXME: configurationService.getAllGroups();
return INPUT;
}
Added: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/AbstractFaxToMailJob.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/AbstractFaxToMailJob.java (rev 0)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/AbstractFaxToMailJob.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -0,0 +1,16 @@
+package com.franciaflex.faxtomail.web.job;
+
+import org.quartz.Job;
+import org.quartz.JobExecutionContext;
+
+import com.franciaflex.faxtomail.services.FaxToMailServiceContext;
+
+public abstract class AbstractFaxToMailJob implements Job {
+
+ public static final String SERVICE_CONTEXT = "serviceContext";
+
+ protected FaxToMailServiceContext getServiceContext(JobExecutionContext jobExecutionContext) {
+ FaxToMailServiceContext serviceContext = (FaxToMailServiceContext) jobExecutionContext.getMergedJobDataMap().get(SERVICE_CONTEXT);
+ return serviceContext;
+ }
+}
Property changes on: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/AbstractFaxToMailJob.java
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision HeadURL
Added: svn:eol-style
+ native
Modified: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/EDIManagementJob.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/EDIManagementJob.java 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/EDIManagementJob.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -36,17 +36,15 @@
* @author Kevin Morin (Code Lutin)
* @since x.x
*/
-public class EDIManagementJob implements Job {
+public class EDIManagementJob extends AbstractFaxToMailJob {
private static final Log log = LogFactory.getLog(EDIManagementJob.class);
- public static final String SERVICE_CONTEXT = "serviceContext";
-
protected FaxToMailServiceContext serviceContext;
@Override
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
- serviceContext = (FaxToMailServiceContext) jobExecutionContext.getMergedJobDataMap().get(SERVICE_CONTEXT);
+ serviceContext = getServiceContext(jobExecutionContext);
EmailService emailService = serviceContext.newService(EmailService.class);
emailService.transmitPendingDemandsToEdi();
Added: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/LdapJob.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/LdapJob.java (rev 0)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/LdapJob.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -0,0 +1,28 @@
+package com.franciaflex.faxtomail.web.job;
+
+import org.quartz.JobExecutionContext;
+import org.quartz.JobExecutionException;
+
+import com.franciaflex.faxtomail.services.FaxToMailServiceContext;
+import com.franciaflex.faxtomail.services.service.LdapService;
+
+/**
+ * Ce job interroge périodiquement l'annuaire ldap pour mettre à jour la liste
+ * des comptes et des utilisateurs directement dans la base de données faxtomail.
+ *
+ * @author Eric Chatellier
+ */
+public class LdapJob extends AbstractFaxToMailJob {
+
+ protected FaxToMailServiceContext serviceContext;
+
+ @Override
+ public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
+ serviceContext = getServiceContext(jobExecutionContext);
+
+ LdapService ldapService = serviceContext.newService(LdapService.class);
+ ldapService.updateLdapData();
+
+ }
+
+}
Property changes on: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/LdapJob.java
___________________________________________________________________
Added: svn:eol-style
+ native
Added: svn:keywords
+ Author Date Id Revision HeadURL
Modified: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java 2014-05-30 16:32:40 UTC (rev 115)
@@ -61,7 +61,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuiton.decorator.Decorator;
-import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
@@ -83,18 +82,16 @@
* @author Kevin Morin (Code Lutin)
* @since x.x
*/
-public class MailFilterJob implements Job {
+public class MailFilterJob extends AbstractFaxToMailJob {
private static final Log log = LogFactory.getLog(MailFilterJob.class);
- public static final String SERVICE_CONTEXT = "serviceContext";
-
protected FaxToMailServiceContext serviceContext;
//TODO kmorin 20140414 handle imap protocol
@Override
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
- serviceContext = (FaxToMailServiceContext) jobExecutionContext.getMergedJobDataMap().get(SERVICE_CONTEXT);
+ serviceContext = getServiceContext(jobExecutionContext);
ConfigurationService configurationService = serviceContext.newService(ConfigurationService.class);
Collection<EmailAccount> emailAccounts = configurationService.getEmailAccounts();
Modified: trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp
===================================================================
--- trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp 2014-05-30 15:20:22 UTC (rev 114)
+++ trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp 2014-05-30 16:32:40 UTC (rev 115)
@@ -464,6 +464,8 @@
</div>
<div id="tabs-mailaccounts" class="tab-pane" ng-controller="ConfigurationEmailAccountsController">
+ <input type="hidden" name="emailAccountsJson" value="{{emailAccounts}}" />
+
<table id='table-snapshot' class="table table-bordered">
<thead>
<tr>
1
0
r114 - in trunk/faxtomail-ui-web/src/main: java/com/franciaflex/faxtomail/web webapp/WEB-INF/content/admin webapp/css webapp/js
by echatellier@users.forge.codelutin.com 30 May '14
by echatellier@users.forge.codelutin.com 30 May '14
30 May '14
Author: echatellier
Date: 2014-05-30 17:20:22 +0200 (Fri, 30 May 2014)
New Revision: 114
Url: http://forge.codelutin.com/projects/faxtomail/repository/revisions/114
Log:
refs #4662: Amelioration de l'interface (ajout/suppression/fioritures)
Modified:
trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailActionSupport.java
trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp
trunk/faxtomail-ui-web/src/main/webapp/css/faxtomail.css
trunk/faxtomail-ui-web/src/main/webapp/js/configuration.js
trunk/faxtomail-ui-web/src/main/webapp/js/faxtomail.js
Modified: trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailActionSupport.java
===================================================================
--- trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailActionSupport.java 2014-05-30 13:52:41 UTC (rev 113)
+++ trunk/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/FaxToMailActionSupport.java 2014-05-30 15:20:22 UTC (rev 114)
@@ -130,7 +130,6 @@
// exclusion
final Multimap<Class<?>, String> gsonExclusions = HashMultimap.create();
gsonExclusions.put(MailFolderAbstract.class, MailFolder.PROPERTY_PARENT);
- gsonExclusions.put(MailFilterAbstract.class, MailFilter.PROPERTY_MAIL_FOLDER);
builder.addSerializationExclusionStrategy(new ExclusionStrategy() {
@Override
public boolean shouldSkipField(FieldAttributes f) {
Modified: trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp
===================================================================
--- trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp 2014-05-30 13:52:41 UTC (rev 113)
+++ trunk/faxtomail-ui-web/src/main/webapp/WEB-INF/content/admin/configuration-input.jsp 2014-05-30 15:20:22 UTC (rev 114)
@@ -82,20 +82,17 @@
<div id="tabs-general" class="tab-pane active">
<!-- Général -->
- <s:checkbox name="configuration.sendAknowledgement"
- label="Envoyer directement l'accusé de réception si demandé par l'expéditeur"/>
-
- <s:checkbox name="configuration.rejectUnknownSender"
- label="Refuser les mails dont l'email est inconnu de la base client"
- cssClass="margin-bottom25"/>
-
<s:textfield name="configuration.convertToPdfCommand"
- label="Ligne de commande de conversion de fichier X en pdf"
- cssClass="span12"/>
+ label="Ligne de commande de conversion de fichier X en pdf"/>
<s:textfield name="configuration.openAttachmentCommand"
- label="Ligne de commande d'ouverture de fichier non TXT, TIFF, JPEG, PDF"
- cssClass="span12"/>
+ label="Ligne de commande d'ouverture de fichier non TXT, TIFF, JPEG, PDF"/>
+
+ <s:textfield name="configuration.emailMaxSize"
+ label="Taille maximale des email (en bits)"/>
+
+ <s:checkbox name="configuration.rejectUnknownSender"
+ label="Refuser les mails dont l'email est inconnu de la base client"/>
<!-- Il faut pouvoir configurer le dossier par défaut de déplacement en fonction des champs saisis sur la fiche (configuration sur statut, type de fiche, ...).
Ce dossier n'est qu'une proposition que l'utilisateur peut modifier)-->
@@ -107,12 +104,8 @@
<div class="row">
<div class="col-md-4">
+ <h3>États d'attente <input type="button" class="btn btn-success btn-xs pull-right" value="Nouveau" ng-click="newEtatAttente()" /></h3>
<table class="table table-hover">
- <thead>
- <tr>
- <th>État d'attente</th>
- </tr>
- </thead>
<tbody>
<tr ng-repeat="etatAttente in etatAttentes"
ng-class="{'info' : etatAttente == selectedEtatAttente}"
@@ -124,12 +117,13 @@
</div>
<div class="col-md-7" ng-if="selectedEtatAttente">
- Champs obligatoires pour l'état d'attente <strong>{{selectedEtatAttente.label}}</strong>:
+ <h3>Édition de l'état d'attente {{selectedEtatAttente.label}}</h3>
+ Champs obligatoires pour l'état d'attente :
<label class="checkbox" ng-repeat="(etatAttenteField,label) in etatAttenteFields">
<input type="checkbox" ng-checked="selectedEtatAttente.fields.indexOf(etatAttenteField) != -1"
ng-click="changeEtatAttenteField(etatAttenteField)"> {{label}}
</label>
- Actions autorisées pour l'état d'attente <strong>{{selectedEtatAttente.label}}</strong>:
+ Actions autorisées pour l'état d'attente :
<label class="checkbox" ng-repeat="(etatAttenteAction,label) in etatAttenteActions">
<input type="checkbox" ng-checked="selectedEtatAttente.actions.indexOf(etatAttenteAction) != -1"
ng-click="changeEtatAttenteAction(etatAttenteAction)"> {{label}}
@@ -147,8 +141,9 @@
<div class="row">
<div class="col-md-4">
+ <h3>Dossiers <a class="btn btn-xs btn-success pull-right" ng-click="newRoot()">Nouveau</a></h3>
<script type="text/ng-template" id="nodes_renderer.html">
- <div ui-tree-handle ng-click="editMailFolder(mailFolder)" ng-class="{'bg-warning' : mailFolder == selectedMailFolder}">
+ <div ui-tree-handle ng-click="editMailFolder(mailFolder)" ng-class="{'bg-success' : mailFolder == selectedMailFolder}">
<a class="btn btn-success btn-xs" data-nodrag ng-click="toggle(this)" ng-disabled="!mailFolder.children || mailFolder.children.length == 0">
<span class="glyphicon" ng-class="{'glyphicon-chevron-right': !collapsed, 'glyphicon-chevron-down': collapsed}"></span>
</a>
@@ -169,6 +164,7 @@
</div>
<div class="col-md-8" ng-show="selectedMailFolder">
+ <h3>Édition du dossier {{selectedMailFolder.name}}</h3>
<div class="panel-group" id="accordion">
<!-- Liste des chargés de clientèle -->
@@ -216,7 +212,7 @@
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse2">
- liste des emails expéditeur
+ Liste des emails expéditeur
</a>
</h4>
</div>
@@ -256,7 +252,7 @@
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse3">
- sélection des états d'attentes possibles pour ce dossier
+ Sélection des états d'attentes possibles pour ce dossier
</a>
</h4>
</div>
@@ -275,7 +271,7 @@
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse4">
- groupes/personnes ayant droit d'écriture sur le dossier
+ Groupes/personnes ayant droit d'écriture sur le dossier
</a>
</h4>
</div>
@@ -319,7 +315,7 @@
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse5">
- actions possibles du menu contextuel pour ce dossier
+ Actions possibles du menu contextuel pour ce dossier
</a>
</h4>
</div>
@@ -338,7 +334,7 @@
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse6">
- configuration des colonnes a afficher
+ Configuration des colonnes a afficher
</a>
</h4>
</div>
@@ -366,19 +362,41 @@
</div>
</div>
</div>
-
- <div class="checkbox">
- <label for="printActionEqualTakeActionField">action imprimer est-elle équivalente à "prendre"</label>
- <input type="checkbox" id="printActionEqualTakeActionField" ng-model="selectedMailFolder.printActionEqualTakeAction">
+
+ <div class="form-group">
+ <label class="control-label">L'action imprimer est-elle équivalente à "prendre"</label><br />
+ <label class="radio-inline">
+ <input type="radio" name="printActionEqualTakeActionField"
+ ng-model="selectedMailFolder.printActionEqualTakeAction" ng-value="true"> oui
+ </label>
+ <label class="radio-inline">
+ <input type="radio" name="printActionEqualTakeActionField"
+ ng-model="selectedMailFolder.printActionEqualTakeAction" ng-value="false"> non
+ </label>
+ <label class="radio-inline">
+ <input type="radio" name="printActionEqualTakeActionField"
+ ng-model="selectedMailFolder.printActionEqualTakeAction" ng-value="undefined"> valeur du noeud parent
+ </label>
</div>
- <div class="checkbox">
- <label for="openAttachmentReportNoTakenField">ouvrir une pièce jointe sans prendre, met-il la ligne en orange ou non</label>
- <input type="checkbox" id="openAttachmentReportNoTakenField" ng-model="selectedMailFolder.openAttachmentReportNoTaken">
+ <div class="form-group">
+ <label class="control-label">Ouvrir une pièce jointe sans prendre, met-il la ligne en orange ?</label><br />
+ <label class="radio-inline">
+ <input type="radio" name="openAttachmentReportNoTakenField"
+ ng-model="selectedMailFolder.openAttachmentReportNoTaken" ng-value="true"> oui
+ </label>
+ <label class="radio-inline">
+ <input type="radio" name="openAttachmentReportNoTakenField"
+ ng-model="selectedMailFolder.openAttachmentReportNoTaken" ng-value="false"> non
+ </label>
+ <label class="radio-inline">
+ <input type="radio" name="openAttachmentReportNoTakenField"
+ ng-model="selectedMailFolder.openAttachmentReportNoTaken" ng-value="undefined"> valeur du noeud parent
+ </label>
</div>
<div class="form-group">
- <label for="ediFolderField">dossier (FS) de dépôt des demandes EDI</label>
+ <label for="ediFolderField">Dossier (FS) de dépôt des demandes EDI</label>
<input type="text" class="form-control" id="ediFolderField" ng-model="selectedMailFolder.ediFolder">
</div>
</div>
@@ -393,12 +411,16 @@
<tr>
<th>Filtre</th>
<th>Dossier</th>
+ <th/>
</tr>
</thead>
<tbody ui-sortable ng-model="mailFilters">
<tr ng-repeat="mailFilter in mailFilters">
<td>{{mailFilter.expression}}</td>
<td>{{mailFilter.mailFolder.name}}</td>
+ <td><a class="btn btn-danger btn-xs" ng-click="removeFilter($index)">
+ <span class="glyphicon glyphicon-remove"></span>
+ </a></td>
</tr>
</tbody>
</table>
@@ -406,15 +428,15 @@
<div role="form">
<div class="form-group">
<label for="filterField">Filtre</label>
- <input type="text" class="form-control" id="folderField" ng-model="selectedFilter">
+ <input type="text" class="form-control" id="folderField" ng-model="newFilter.expression">
</div>
<div class="form-group">
<label for="folderField">Dossier</label>
- <select class="form-control" ng-model="selectedFolder" ng-options="mailFolder.name for mailFolder in flatMailFolders()"></select>
+ <select class="form-control" ng-model="newFilter.mailFolder" ng-options="mailFolder.name for mailFolder in flatMailFolders()"></select>
</div>
</div>
- <button type="button" class="btn btn-success" ng-disabled="!selectedFilter || !selectedFolder" ng-click="addNewFilter()">
- <i class="glyphicon glyphicon-plus"></i>Ajouter
+ <button type="button" class="btn btn-success" ng-disabled="!newFilter.expression || !newFilter.mailFolder" ng-click="addNewFilter()">
+ <i class="glyphicon glyphicon-plus"></i> Ajouter
</button>
</div>
@@ -449,15 +471,46 @@
<th>Serveur</th>
<th>Utilisateur</th>
<th>Mot de passe</th>
+ <th/>
</tr>
</thead>
- <tbody ng-repeat="emailAccount in emailAccounts">
- <td>{{emailAccount.protocol}}</td>
- <td>{{emailAccount.host}}</td>
- <td>{{emailAccount.login}}</td>
- <td>{{emailAccount.password}}</td>
+ <tbody>
+ <tr ng-repeat="emailAccount in emailAccounts">
+ <td>{{emailAccount.protocol}}</td>
+ <td>{{emailAccount.host}}</td>
+ <td>{{emailAccount.login}}</td>
+ <td>{{emailAccount.password}}</td>
+ <td>
+ <a class="btn btn-danger btn-xs" ng-click="removeEmailAccount($index)">
+ <span class="glyphicon glyphicon-remove"></span>
+ </a></td>
+ </tr>
</tbody>
</table>
+
+ <div class="form" role="form">
+ <div class="form-group">
+ <label>Protocole:
+ <input type="text" class="form-control" ng-model="newAccount.protocol"></label>
+ </div>
+ <div class="form-group">
+ <label>Serveur:
+ <input type="text" class="form-control" ng-model="newAccount.host"></label>
+ </div>
+ <div class="form-group">
+ <label>Utilisateur:
+ <input type="text" class="form-control" ng-model="newAccount.login"></label>
+ </div>
+ <div class="form-group">
+ <label>Mot de passe:
+ <input type="text" class="form-control" ng-model="newAccount.password"></label>
+ </div>
+ <div class="form-group">
+ <button type="button" class="btn btn-success" ng-disabled="!newAccount.protocol || !newAccount.host" ng-click="addEmailAccount()">
+ <i class="glyphicon glyphicon-plus"></i> Ajouter
+ </button>
+ </div>
+ </div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom">
Modified: trunk/faxtomail-ui-web/src/main/webapp/css/faxtomail.css
===================================================================
--- trunk/faxtomail-ui-web/src/main/webapp/css/faxtomail.css 2014-05-30 13:52:41 UTC (rev 113)
+++ trunk/faxtomail-ui-web/src/main/webapp/css/faxtomail.css 2014-05-30 15:20:22 UTC (rev 114)
@@ -46,18 +46,17 @@
width: 100%;
}
-.angular-ui-tree-handle.bg-warning {
- background: #fcf8e3;
-}
-
.angular-ui-tree-handle:hover {
color: #438eb9;
background: #f4f6f7;
border-color: #dce2e8;
}
-.angular-ui-tree-handle.bg-warning:hover {
- background: #fcf8e3;
+.angular-ui-tree-handle.bg-success {
+ background-color: #dff0d8;
}
+.angular-ui-tree-handle.bg-success:hover {
+ background-color: #dff0d8;
+}
.ui-sortable {
cursor:move;
Modified: trunk/faxtomail-ui-web/src/main/webapp/js/configuration.js
===================================================================
--- trunk/faxtomail-ui-web/src/main/webapp/js/configuration.js 2014-05-30 13:52:41 UTC (rev 113)
+++ trunk/faxtomail-ui-web/src/main/webapp/js/configuration.js 2014-05-30 15:20:22 UTC (rev 114)
@@ -67,8 +67,8 @@
/**
* Etat attente tab controller.
*/
-FaxToMailModule.controller('ConfigurationWaitController', ['$scope', '$http', 'ConfigurationData',
- function($scope, $http, ConfigurationData) {
+FaxToMailModule.controller('ConfigurationWaitController', ['$scope', '$http', '$window', 'ConfigurationData',
+ function($scope, $http, $window, ConfigurationData) {
//{Object} etat d'attente selectionné
$scope.selectedEtatAttente;
@@ -86,6 +86,22 @@
}
};
+ // ajout d'un nouvel etat d'attente
+ $scope.newEtatAttente = function() {
+ var label = $window.prompt("Nom du nouvel état d'attente ?");
+ if (label) {
+ // auto select new etat
+ var newEtatAttente = {
+ topiaId : "new_" + guid(),
+ label: label
+ };
+ $scope.etatAttentes.push(newEtatAttente);
+
+ // auto select
+ $scope.editEtatAttente(newEtatAttente);
+ }
+ };
+
// selection/deselection d'une action
$scope.changeEtatAttenteAction = function(etatAttenteAction) {
@@ -123,16 +139,21 @@
// {Array} Colonnes selectionnées pour le dossier courant
$scope.folderTableColumns;
- // collapse all subnodes (called by init)
- $scope.collapseAll = function(scope) {
- scope.collapseAll();
+ // creation d'un nouveau noeud racine
+ $scope.newRoot = function() {
+ var name = $window.prompt("Nom du nouveau dossier racine ?");
+ if (name) {
+ var newRoot = {
+ topiaId: "new_" + guid(),
+ name: name
+ };
+ $scope.mailFolders.push(newRoot);
+
+ // edition automatique
+ $scope.editMailFolder(newRoot);
+ };
};
- // toggle node (expand or collapse)
- $scope.toggle = function(scope) {
- scope.toggle();
- };
-
// edit mail folder
$scope.editMailFolder = function(mailFolder) {
$scope.selectedMailFolder = mailFolder;
@@ -245,23 +266,21 @@
function($scope, $http, ConfigurationData) {
//{Array} Current mail filter list
$scope.mailFilters = ConfigurationData.mailFilters;
- //{String} input filter in add form
- $scope.selectedFilter;
- //{Object} selected folder in add form
- $scope.selectedFolder;
+ //{Object} New accout empty filter
+ $scope.newFilter = {};
// add new filter action
$scope.addNewFilter = function() {
- var filter = {
- expression: $scope.selectedFilter,
- mailFolder: $scope.selectedFolder
- };
- $scope.mailFilters.push(filter);
+ $scope.mailFilters.push($scope.newFilter);
// clear form
- delete $scope.selectedFilter;
- delete $scope.selectedFolder;
+ $scope.newFilter = {};
};
+
+ // remove filter
+ $scope.removeFilter = function(index) {
+ $scope.mailFilters.splice(index, 1);
+ };
}]);
@@ -300,4 +319,17 @@
function($scope, $http, ConfigurationData) {
//{Array} Email accounts
$scope.emailAccounts = ConfigurationData.emailAccounts;
+ //{Object} New accout empty object
+ $scope.newAccount = {};
+
+ // ajout d'un nouveau compte
+ $scope.addEmailAccount = function() {
+ $scope.emailAccounts.push($scope.newAccount);
+ $scope.newAccount = {};
+ };
+
+ // suppression d'un compte
+ $scope.removeEmailAccount = function(index) {
+ $scope.emailAccounts.splice(index, 1);
+ };
}]);
Modified: trunk/faxtomail-ui-web/src/main/webapp/js/faxtomail.js
===================================================================
--- trunk/faxtomail-ui-web/src/main/webapp/js/faxtomail.js 2014-05-30 13:52:41 UTC (rev 113)
+++ trunk/faxtomail-ui-web/src/main/webapp/js/faxtomail.js 2014-05-30 15:20:22 UTC (rev 114)
@@ -22,4 +22,20 @@
* #L%
*/
+/**
+ * Generates a GUID string, according to RFC4122 standards.
+ * @returns {String} The generated GUID.
+ * @example af8a8416-6e18-a307-bd9c-f2c947bbb3aa
+ * @author Slavik Meltser (slavik(a)meltser.info)
+ * @link http://slavik.meltser.info/?p=142
+ */
+function guid() {
+ function _p8(s) {
+ var p = (Math.random().toString(16)+"000000000").substr(2,8);
+ return s ? "-" + p.substr(0,4) + "-" + p.substr(4,4) : p ;
+ }
+ return _p8() + _p8(true) + _p8(true) + _p8();
+}
+
+/** Mail faxtomail application module. */
var FaxToMailModule = angular.module('FaxToMail', []);
1
0