Git Product home page Git Product logo

box / mojito Goto Github PK

View Code? Open in Web Editor NEW
358.0 25.0 71.0 19.87 MB

An automation platform that enables continuous localization.

Home Page: https://www.mojito.global/

License: Apache License 2.0

Java 87.76% JavaScript 11.57% HTML 0.09% Shell 0.05% Dockerfile 0.02% TypeScript 0.04% SCSS 0.32% Python 0.16%
l10n localization translation language i18n localization-tool internationalization translation-management continuous-localization properties

mojito's Introduction

Mojito

Join the chat at https://gitter.im/box/mojito Project Status Build Status

Mojito is a continuous localization platform. Rely on continuous integration to collect all of your software strings in one place. Check what products need localization in real time. Create and import translation packages with a single click. Search and edit translations across all products and languages! And if you have a small dedicated translation team, they can work directly in mojito.

Features:

  • Extract (push) strings from your repository to be translated
  • Generates localized files from translated strings (pull)
  • Includes quality checks of the translated content (placeholder validation, etc)
  • Uses previous translations to support refactoring (basic leveraging - no fuzzy)
  • Generates XLIFFs - files that translators know how to use

For instruction to jump start

For full documentation, examples, and other information.

Support

Need to contact us directly?

Team

  • Hanna Kanabiajeuskaja (@hkanabiajeuskaja)
  • Jean Aurambault (@aurambaj)
  • Jee Yi (@jeeyi)
  • Adrien Loison (@adrilo)
  • Will Yau (@willyau)

Copyright and License

Copyright 2016 Box, Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

mojito's People

Contributors

aurambaj avatar baktaypin avatar baz8080 avatar boxmoji avatar chidinmae avatar comunacho avatar dependabot[bot] avatar dragosv avatar ehoogerbeets avatar garionpin avatar geoarion avatar gitter-badger avatar hylstonnb avatar jeeyi avatar maallen avatar magezil avatar mensinda avatar montedonio-pinterest avatar montedonioluiz avatar pperozo avatar sergeydemyanenko avatar srizvibox avatar willyau avatar xiayewang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mojito's Issues

Nginx - Too Large Request URI

When i save text translation (react-client requesting to "/api/textunits/check"), Nginx says: "414 Request URI Too Large", because method of save its GET. All string just send as query param. Its bad, because i can't save large strings and strings in which characters are escaped. String size is 8211 bytes. I up my request URI limit in Nginx config to 8kb (not recommend in Nginx docs), but server (tomcat - Yours) send me result 400 with empty response. Any thoughts on that? I think, POST method with JSON body can resolve this problem.

image

image

Crash on start mojito-webapp

I try to start mojito web app using:

brew cask install java
brew tap box/mojito
brew install mojito-cli
brew install mojito-webapp
mojito-webapp

than I receive:

marco@genesi ~  → mojito-webapp
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0



             ????   ????     ???????          ???    ???    ?????????     ???????
             ????? ?????    ?????????         ???    ???    ?????????    ?????????
             ???????????    ???   ???         ???    ???       ???       ???   ???
             ???????????    ???   ???    ??   ???    ???       ???       ???   ???
             ??? ??? ???    ?????????    ????????    ???       ???       ?????????
             ???     ???     ???????      ??????     ???       ???        ???????


2018-03-28 10:07:27.820  INFO 61206 --- [           main] com.box.l10n.mojito.Application          : Starting Application v0.83 on genesi with PID 61206 (/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar started by marco in /Users/marco)
2018-03-28 10:07:27.834  INFO 61206 --- [           main] com.box.l10n.mojito.Application          : No active profile set, falling back to default profiles: default
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass$3$1 (jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/groovy-2.4.6.jar!/) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass$3$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2018-03-28 10:07:28.094  INFO 61206 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@31af515: startup date [Wed Mar 28 10:07:28 CEST 2018]; root of context hierarchy
2018-03-28 10:07:29.508  INFO 61206 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'org.springframework.context.config.internalBeanConfigurerAspect' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.context.annotation.aspectj.SpringConfiguredConfiguration; factoryMethodName=beanConfigurerAspect; initMethodName=null; destroyMethodName=(inferred); defined in class org.springframework.context.annotation.aspectj.SpringConfiguredConfiguration] with [Root bean: class [org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=aspectOf; initMethodName=null; destroyMethodName=null]
2018-03-28 10:07:30.016  INFO 61206 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'objectMapper' with a different definition: replacing [Generic bean: class [com.box.l10n.mojito.json.ObjectMapper]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/com/box/l10n/mojito/json/ObjectMapper.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestMvcConfiguration; factoryMethodName=objectMapper; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/data/rest/SpringBootRepositoryRestMvcConfiguration.class]]
2018-03-28 10:07:30.075  INFO 61206 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'managementServletContext' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration; factoryMethodName=managementServletContext; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration; factoryMethodName=managementServletContext; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.class]]
2018-03-28 10:07:30.685  WARN 61206 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
2018-03-28 10:07:30.698 ERROR 61206 --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:133)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
	at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
	at com.box.l10n.mojito.Application.main(Application.java:41)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory(EmbeddedWebApplicationContext.java:195)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:158)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:130)
	... 12 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:534)
	at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1170)
	at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.getCustomizers(EmbeddedServletContainerCustomizerBeanPostProcessor.java:77)
	at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.postProcessBeforeInitialization(EmbeddedServletContainerCustomizerBeanPostProcessor.java:67)
	at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.postProcessBeforeInitialization(EmbeddedServletContainerCustomizerBeanPostProcessor.java:54)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
	... 20 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
	... 44 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
	... 46 common frames omitted
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:129)
	at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:96)
	at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31)
	at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
	at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$LocalValidatorFactory.run(ConfigurationPropertiesBindingPostProcessor.java:441)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.getValidator(ConfigurationPropertiesBindingPostProcessor.java:375)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.determineValidator(ConfigurationPropertiesBindingPostProcessor.java:358)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:317)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:289)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
	... 55 common frames omitted
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
	at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:178)
	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
	... 68 common frames omitted

2018-03-28 10:07:30.703  INFO 61206 --- [           main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-web-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-autoconfigure-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/snakeyaml-1.16.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-tomcat-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/tomcat-embed-core-8.0.33.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/tomcat-embed-el-8.0.33.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/tomcat-embed-logging-juli-8.0.33.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/tomcat-embed-websocket-8.0.33.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-validation-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jackson-databind-2.6.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-web-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-webmvc-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-expression-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-mustache-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jmustache-1.11.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-aop-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-aop-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/aopalliance-1.0.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/aspectjweaver-1.8.9.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-actuator-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-actuator-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-data-jpa-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-jdbc-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/tomcat-jdbc-8.0.33.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/tomcat-juli-8.0.33.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-jdbc-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hibernate-entitymanager-4.3.11.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/dom4j-1.6.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/xml-apis-1.0.b2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hibernate-commons-annotations-4.0.5.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/javassist-3.18.1-GA.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/javax.transaction-api-1.2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-data-jpa-1.9.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-data-commons-1.11.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-orm-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-thymeleaf-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/thymeleaf-spring4-2.1.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/thymeleaf-2.1.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/ognl-3.0.8.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/unbescape-1.1.0.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/thymeleaf-layout-dialect-1.3.3.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/groovy-2.4.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-security-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-security-config-4.0.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-security-web-4.0.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-context-support-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-beans-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-context-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-core-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-aspects-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-tx-4.2.6.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-data-rest-webmvc-2.4.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-data-rest-core-2.4.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-plugin-core-1.2.0.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/evo-inflector-1.2.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jackson-annotations-2.6.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/json-patch-1.7.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jackson-coreutils-1.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/msg-simple-1.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/btf-1.2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jsr305-2.0.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/slf4j-api-1.7.21.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jcl-over-slf4j-1.7.21.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-hateoas-0.19.0.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-security-ldap-4.0.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-ldap-core-2.0.2.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-security-core-4.0.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-security-aspects-4.0.4.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/reactor-stream-2.0.8.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/reactor-core-2.0.8.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/reactive-streams-1.0.0.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-server-jndi-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-protocol-ldap-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/shared-asn1-codec-0.9.15.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/mina-core-2.0.0-M6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-kerberos-shared-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-core-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-xdbm-search-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-xdbm-tools-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-schema-bootstrap-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-jdbm-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-core-entry-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-schema-registries-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-core-shared-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-core-constants-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-utils-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-jdbm-store-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-core-avl-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-xdbm-base-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-bootstrap-extract-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/shared-cursor-0.9.15.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-bootstrap-partition-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-schema-extras-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-protocol-shared-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/apacheds-core-jndi-1.5.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/shared-ldap-0.9.15.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-collections-3.2.2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/shared-asn1-0.9.15.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/shared-ldap-constants-0.9.15.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/antlr-2.7.7.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hsqldb-2.3.3.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/mysql-connector-java-5.1.38.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hibernate-envers-4.3.11.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jboss-logging-3.3.0.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hibernate-core-4.3.11.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jandex-1.1.0.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/nativeCriteria-core-2.0.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/flyway-core-3.2.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/quartz-2.2.3.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/c3p0-0.9.1.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/ehcache-core-2.6.11.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/box-java-sdk-2.1.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/minimal-json-0.9.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/bcprov-jdk15on-1.52.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/bcpkix-jdk15on-1.52.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jose4j-0.4.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/icu4j-57.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/langdetect-1.1-20120112.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jsonic-1.2.7.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/junit-4.12.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hamcrest-core-1.3.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/hibernate-validator-5.2.4.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/validation-api-1.1.0.Final.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/classmate-1.1.0.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-io-2.5.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/joda-time-2.8.2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/joda-time-hibernate-1.3.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jackson-datatype-joda-2.6.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jackson-core-2.6.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/usertype.core-3.2.0.GA.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/usertype.spi-3.2.0.GA.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-core-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-table-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-plaintext-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-lib-extra-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-xliff-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/woodstox-core-lgpl-4.4.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/stax-api-1.0-2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/stax2-api-3.1.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-po-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-properties-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-abstractmarkup-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jericho-html-3.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-html-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-regex-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-filter-its-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/htmlparser-1.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-step-common-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-step-qualitycheck-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-lib-verification-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-lib-terminology-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-connector-google-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/okapi-lib-translation-0.32.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-csv-1.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/json-simple-1.1.1.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-codec-1.10.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-lang-2.6.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/httpclient-4.5.2.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/httpcore-4.4.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/Intl.js-1.0.0.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/webjars-locator-0.28.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/webjars-locator-core-0.27.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-compress-1.9.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/commons-lang3-3.4.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/validate.js-0.8.0.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/spring-boot-starter-logging-1.3.5.RELEASE.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/logback-classic-1.1.7.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/logback-core-1.1.7.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/jul-to-slf4j-1.7.21.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/log4j-over-slf4j-1.7.21.jar!/, jar:file:/usr/local/Cellar/mojito-webapp/0.83/libexec/mojito-webapp-0.83.jar!/lib/guava-19.0.jar!/]
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
	... 1 more
Caused by: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:133)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
	at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
	at com.box.l10n.mojito.Application.main(Application.java:41)
	... 6 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory(EmbeddedWebApplicationContext.java:195)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:158)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:130)
	... 12 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:534)
	at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1170)
	at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.getCustomizers(EmbeddedServletContainerCustomizerBeanPostProcessor.java:77)
	at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.postProcessBeforeInitialization(EmbeddedServletContainerCustomizerBeanPostProcessor.java:67)
	at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.postProcessBeforeInitialization(EmbeddedServletContainerCustomizerBeanPostProcessor.java:54)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
	... 20 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
	... 44 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
	... 46 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
	at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:129)
	at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:96)
	at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31)
	at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
	at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$LocalValidatorFactory.run(ConfigurationPropertiesBindingPostProcessor.java:441)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.getValidator(ConfigurationPropertiesBindingPostProcessor.java:375)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.determineValidator(ConfigurationPropertiesBindingPostProcessor.java:358)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:317)
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:289)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
	... 55 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
	at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:178)
	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
	... 68 more
marco@genesi ~  →

I suppose is related to Java version (currently cask provide Java 10):

marco@genesi ~  → java -version
java version "10" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

My current OS version:

marco@genesi ~  → uname -a
Darwin genesi 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

let me know if there are some more info that I can provide.

Ctrl key disabled in text area?

Hi, it appears that the Ctrl key is explicitly disabled in the translation textarea of the web app which has the negatove side effect that pasting with Ctrl-v doesn't work, nor attempting to tyle any of the symbols from the numer row, e.g. "{" which is quite handy for parameter placeholders etc.

Is this really by design, or is there a particular use-case being served by disabling it?

Unexpected behaviour with mapped locales and using the same source and target folder.

Hi,

I'm not sure if the following is necessarily a bug or a quirk of this particular set of circumstances, but mojito didn't do what I expected it would so I'll jot down the details.

We are storing the source resource files in properties files without a locale, e.g. Example.properties, and using only language locales for the translations, e.g. -lm "de:de-DE,en:en-GB" resulting in Example_en.properties, Example_de.properties.

If the source and target directories are the same folder then during the second sync with mojito the translated resource file which matches the source locale, e.g. Example_en.properties is picked up as a second source resource and a set of duplicate localized files are created, e.g. Example_en_en.properties

(I've copied in a series of commands which recreates the problem below which hopefully shows what is going on.)

There are a couple of workarounds:

  • Use separate source and target folders.
  • Use the -sr option to filter out filenames with an underscore when pushing to mojito, e.g. -sr "^[^_]*\.properties$" (but this is quite brittle).
  • Specify a source local (-sl) parameter which won't be picked up (we're using -sl xx).

I guess the correct solution would be some way to tell mojito that the files with no locale are the source resource files (-sl '' or -nsl perhaps?)

I'm not necessarily pushing for a fix, but it might be worth a mention in the documentation what the actual behaviour in this situation is.

Cheers.


$ java -jar mojito-cli-0.73.jar push -r myrepo -s test

  Push assets to repository: myrepo

   - Uploading: Example.properties
   --> asset id: 1941

  Running, task id: 12460
  Asset content has not changed (12460) Done

  Delete assets from repository: [1937, 1938]


  Finished


$ java -jar mojito-cli-0.73.jar pull -r myrepo -s test -t test -lm "de:de-DE,en:en-GB"

  Pull localized asset from repository: myrepo

  Localizing: Example.properties
   - Processing locale: de-DE --> test\Example_de.properties
   - Processing locale: en-GB --> test\Example_en.properties

  Finished

$ java -jar mojito-cli-0.73.jar push -r myrepo -s test

  Push assets to repository: myrepo

   - Uploading: Example.properties
   --> asset id: 1941
   - Uploading: Example_en.properties
   --> asset id: 1942

  Running, task id: 12461
  Asset content has not changed (12461) Done
  Asset content has not changed (12462) Done

  Finished


$ java -jar mojito-cli-0.73.jar pull -r myrepo -s test -t test -lm "de:de-DE,en:en-GB"

  Pull localized asset from repository: myrepo

  Localizing: Example.properties
   - Processing locale: de-DE --> test\Example_de.properties
   - Processing locale: en-GB --> test\Example_en.properties
  Localizing: Example_en.properties
   - Processing locale: de-DE --> test\Example_en_de.properties
   - Processing locale: en-GB --> test\Example_en_en.properties

  Finished

Wrong format for the empty Android string file

Hi there!

as a followup for #546, after using the flag --inheritance-mode REMOVE_UNTRANSLATED during pulling the string, I'm getting the following file (string.xml) if the strings are not translated:

<?xml version="1.0" encoding="utf-8"?>


</resources>

Problem is here that opening tag <resource> is missing.

Also, we need to have a copyright statement on the top of the file, is there any possibility to define a template for the pull?

Many thanks in advance!

Please support more current JAVA RTEs (11 and higher)

Hi,

thanks for your work on Mojito! I am currently evaluating it for internationalizing a JAVA desktop application.

I ran into trouble trying to use a JAVA 12 RTE.

...
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:436)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
        at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:178)
        at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 83 more

According to Oracle javax.xml.bind was deprecated in JAVA 9 and finally removed in JAVA11
https://docs.oracle.com/javase/10/docs/api/java.xml.bind-summary.html#packages.summary

Do you have any plans to support JAVA 11+ ?

Greetings from Germany
Markus

Uncaught TypeError when trying to access the workbench

Hi
got a really strange error while trying to access the translations in the workbench.

workbench

if I'm downloading the jar's from your latest release directly from your github repository everything is working as expected, whereas when I build the fork locally I get the above error. Obviously setting my head to the 0.73 version tag before building.
Any help is highly appreciated.

I changed admin password and now?

Hey everyone,

I changed admin password and now I can't use mojito-cli anymore. I think there should be a setting in application.properties for mojito-cli to set the new password.

Could you help me please?

Add option to leveraging-copy-tm to prevent overwriting existing translation

Whenever leveraging happens, we copy over translations as well as their comments and add one more comment for the leveraging operation. This can grow the number of comments for each translation very quickly.

Current implementation leverages everything from source repo and overwrites target repo's translations. I think there should be an option to leveraging command to skip already translated strings to prevent such overwriting. Then only untranslated strings get translated with leveraging and there would be just one leveraging comment for each translation.

Pushing pre-existing translations?

Hi

This is more of a question I guess, but I'll raise it as an issue. I don't seem to be able to find a way to push existing translations. If I have file a.properties and a_de-DE.properties which I push to a repository I would expect the existing translations in a_de-DE.properties to already be uploaded as part of that asset. Is this functionality supported and I am doing something wrong, or is it expected that all translations will occur in mojito and are fed downstream?

Thanks in advance.

Cant write in my cmd

Im starting mojito via cmd and after its run i cant write any commands into console, no letters appear.
tyjt

Mojito-App Doesn't work as Background Process?

I had been testing mojito for a while,and i was trying to run the app as Daemon process using Tmux as well as screen. But somehow, the app shuts down after 5-6 hours.
Is this in design? or some one has ever experienced that?

Errors while building the project

While trying to build locally I encountered a lot of errors that were not present before. This is also happening on travis, but somehow the errors are ignored

[ERROR] 14% building modules 36/88 modules 52 active ...in/resources/properties/en.properties## There is an issue with node-fibers ##
[ERROR] /home/username/mojito/webapp/node_modules/fibers/bin/linux-x64-57/fibers.node is missing.
[ERROR]
[ERROR] Try running this to fix the issue: /home/username/mojito/webapp/node/node /home/username/dev/java/m

INFO] Installed in /home/username/mojito/webapp/node_modules/fibers/bin/linux-x64-57/fibers.node
[INFO]
[INFO] > [email protected] install /home/username/mojito/webapp/node_modules/grunt-sass/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
[INFO] Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-57_binding.node
[ERROR] Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-57_binding.node":
[ERROR]
[ERROR] HTTP error 404 Not Found
[ERROR]
[ERROR] Hint: If github.com is not accessible in your location
[ERROR] try setting a proxy via HTTP_PROXY, e.g.
[ERROR]
[ERROR] export HTTP_PROXY=http://example.com:1234
[ERROR]
[ERROR] or configure npm proxy via
[ERROR]
[
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]prebuild: [email protected]
6 info lifecycle [email protected]
build: [email protected]
7 verbose lifecycle [email protected]build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
build: PATH: /home/username/mojito/webapp/node/node_modules/npm/bin/node-gyp-9 verbose lifecycle [email protected]build: CWD: /home/username/mojito/webapp
10 silly lifecycle [email protected]
build: Args: [ '-c',
10 silly lifecycle 'webpack --config webpack.config.js --progress --env.production' ]
11 silly lifecycle [email protected]build: Returned: code: 2 signal: null
12 info lifecycle [email protected]
build: Failed to exec build script
13 verbose stack Error: [email protected] build: webpack --config webpack.config.js --progress --env.production

More build problems on JDK 10

I'm trying to do "mvn package" with the latest in master, and I'm getting these errors from the spring framework stuff:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatedRestTemplateTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplateTest.authenticatedRestTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatedRestTemplate': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.ResttemplateConfig com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate.resttemplateConfig; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resttemplateConfig' defined in file [/Users/ehoogerbeets/src/mojito/restclient/target/classes/com/box/l10n/mojito/rest/resttemplate/ResttemplateConfig.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) ~[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) ~[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
        at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]

Any ideas? I just cloned and did "mvn package" ... is there something else I should do instead?

pushed POT file doesn't show in web frontend

I've create a new repository and pushed an example POT file. The push worked well but the strings don't show up in the frontend.

 - Uploading: source.pot
 --> asset id: 2

Running, task id: 12 
Creating asset: source.pot (13) Done
Process asset: 3 (14) Done
  Extracting text units from asset (15) Done
  Mapping AssetTextUnit to TMTextUnit (16) Done

Finished

I even tried to restart the frontend server but that doesn't help. What I'm doing wrong ?

rest client double encodes uri parameters

Hi

I think I came across a problem whereby path uri params are being double encoded in the rest client. My call via the cli was similar to the following (via cygwin):

java -jar mojito-cli-0.67.jar pull -r MyRepository -s T:/workspace/myproject/src/main/resources/i18n

Which resulted in an error message:

Asset with path [abc\def\Example.properties] was not found in repo [MyRepository]

I tracked down the problem and came up with a potential fix here: garyhodgson@f477396

In short the getForObject method uses getURIForResource which encodes the parameters as a URI String, but then the restTemplate encodes it again later on. E.g. "/api/assets?path=abc%5Cdef" is actually sent as "/api/assets?path=abc%255Cdef" which mojito can then not find. I attempted a crude unit test which shows the problem: garyhodgson@f477396#diff-c8652fa74e390a8c272cab005f7ba9f9R79

My initial attempt at a fix was to use the alternative getForObject method which accepts uriVariables - but this didn't work for some reason. Perhaps someone with a better understanding of Spring Rest could get it to work as it's a probably the better solution. My fix is simply to pass an instance of a URI as the parameter, which the rest template recognises and does not try and encode again.

Hope this helps. I can create a Pull request if you wish.

XLIFF import cannot handle newlines in source string

Hello, I am trying out mojito for my company's iOS app. I've been impressed so far, but one significant issue I have noticed is that upon pushing an XLIFF source file, mojito appears to convert newlines in source strings into spaces.

In a few places in our app we are using explicit newlines for user-facing strings so this is not ideal (e.g. a pre-formatted email body for sending a message to support). We could break these up into multiple strings but that complicates things.

Is there a way to get mojito to preserve the newlines in source strings so translators respect the whitespace we've provided?

Thanks!

Example:

Original XLIFF entry (newline present in source)

      <trans-unit id="Lesson.HasSound">
        <source>This content has sound.
Connect your headphones.</source>
        <note>Text informing user this screen has sounds and to connect headphones (line break intentional - two sentences separated by line break)</note>

Pulled translation (newline converted to space in source)

      <trans-unit id="Lesson.HasSound">
        <source>This content has sound. Connect your headphones.</source>
        <target xml:lang="zh-Hans">此内容包含声音。 请连接耳机。</target>
<note>Text informing user this screen has sounds and to connect headphones (line break intentional - two sentences separated by line break)</note>

Mismatch warning on Xcode import

--- xcodebuild: WARNING: Source/en.lproj/Localizable.strings: Incoming development string "This content has sound. Connect your headphones." does not match "This content has sound.
Connect your headphones." (Key: "Lesson.HasSound")

docker-compose app gives error while using cli

I started mojito with default docker-compose. Can login, looks ok. But as soon as I run mojito repo-create -n Repo it gives me
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commandHelper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.client.RepositoryClient com.box.l10n.mojito.cli.command.CommandHelper.repositoryClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryClient': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate com.box.l10n.mojito.rest.client.BaseClient.authenticatedRestTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticatedRestTemplate': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.box.l10n.mojito.rest.resttemplate.ResttemplateConfig com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate.resttemplateConfig; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resttemplateConfig' defined in URL [jar:file:/usr/local/Cellar/mojito-cli/0.86/libexec/mojito-cli-0.86.jar!/lib/mojito-restclient-0.86.jar!/com/box/l10n/mojito/rest/resttemplate/ResttemplateConfig.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException

User roles and repo access

Hi!
I was wondering if there are any plans on adding some sort of repo access control, might be very useful for localization agencies to run a single instance of Mojito and grant access to different repos to different users/groups. Right now the only way is to keep an instance per client since everybody has access to everything, which is very inconvenient.

P.S. Is this a correct place fo a feature request? :)

Malformed xml in Android strings.xml

There is good news and there is bad news. The good news is that the "one" and "other" problem has gone away with Jean's latest changes and the translations are being shared again.

The bad news is that now the xml that comes out for our Android app is malformed. It has extra opening tags for plurals and some odd name attributes. Here is a sample from our values-en-rGB/strings.xml:

    <string description="feed item title for file with new comments event from an unknown user" name="feed_item_title_file_commented_on_unknown">Someone commented on this file</string>
    <string description="feed item title for file with new comments event" name="feed_item_title_file_commented_on_one">%1$s commented on this file</string>
    <string description="feed item title for file with new comments event" name="feed_item_title_file_commented_on_two">%1$s and %2$s commented on this file</string>
    <string description="feed item title for file with new comments event when the second user is unknown" name="feed_item_title_file_commented_on_second_unknown">%1$s and one other person commented on this file</string>
    <plurals name="feed_item_title_file_commented_on_many">
        <item description="Feed item title when there is more than 2 users activity. The second parameter is the number of users that commented the file. E.g.: Mike and 5 others commented on this file. The string is used because we stop at 9, and show 9+ when more" quantity="one">%1$s and %2$s others commented on this file</item>
    <plurals name="feed_item_title_file_commented_on_many">
        <item description="Feed item title when there is more than 2 users activity. The second parameter is the number of users that commented the file. E.g.: Mike and 5 others commented on this file. The string is used because we stop at 9, and show 9+ when more" quantity="other">%1$s and %2$s others commented on this file</item>
    </plurals>

Other locales have similarly malformed xml.

Zombie task detected: Maximum execution time exceeded

Every time I push on an Ubuntu box I get. This happens with client 0.83

ERROR 20616 [main] --- c.b.l.mojito.cli.command.L10nJCommander  : Exit with error for command: push

com.box.l10n.mojito.cli.command.CommandException: Zombie task detected: Maximum execution time exceeded.
	at com.box.l10n.mojito.cli.command.CommandHelper.waitForPollableTask(CommandHelper.java:228)
	at com.box.l10n.mojito.cli.command.PushCommand.execute(PushCommand.java:115)
	at com.box.l10n.mojito.cli.command.Command.run(Command.java:37)
	at com.box.l10n.mojito.cli.command.L10nJCommander.run(L10nJCommander.java:130)
	at com.box.l10n.mojito.cli.App.run(App.java:38)
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:806)
	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:790)
	at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:777)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
	at com.box.l10n.mojito.cli.App.main(App.java:33)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
	at java.lang.Thread.run(Thread.java:748)

Dropbox support

For now the only provider outside of filesystem is Box. Would like to have Dropbox as an option as well. Willing to work on it.

Android Strings unwanted character escape

Whenever I pull resources with Mojito with tags inside the string, tags are being escaped.
For example "<annotation" becomes "<annotation" but I need it to stay unchanged. Is there any way to disable escaping?
Thank you for an amazing product!

docker image

Hello everyone,

this is merely a suggestion to offer mojito as a docker image on docker hub to make testing/evaluation easier.

Version command

Would like to be able to have the command version that will print the current cli version
Something like
mojito version

Support for reverse proxies using URL prefix

Hi,

I tried to run mojito-webapp behind a reverse proxy via subpath, so that http://example.com/mojito hits my running mojito server on port 8080 on the same machine. Setting the server.context-path to "/mojito" in the application.properties didn't do the trick for me, because it seems that the routes for react also need to be adjusted for the changed baseurl.

Is it possible to configure the application to accomplish what I'm trying to do?

push fails

I thought branch was optional :(

I just created a repo for testing and tried to push my local file to that repo and got this error.

Stack trace:

2018-12-06 15:10:30.941 INFO 88752 [main] --- com.box.l10n.mojito.cli.application : Unexpected error, see logs for more information
2018-12-06 15:10:30.943 ERROR 88752 [main] --- c.b.l.mojito.cli.command.L10nJCommander : Unexpected error

java.lang.ArrayIndexOutOfBoundsException: 0
at java.util.Arrays$ArrayList.get(Arrays.java:3841)
at com.box.l10n.mojito.rest.client.RepositoryClient.getBranch(RepositoryClient.java:219)
at com.box.l10n.mojito.cli.command.PushCommand.execute(PushCommand.java:126)
at com.box.l10n.mojito.cli.command.Command.run(Command.java:43)
at com.box.l10n.mojito.cli.command.L10nJCommander.run(L10nJCommander.java:132)
at com.box.l10n.mojito.cli.App.run(App.java:38)
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:806)
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:790)
at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:777)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
at com.box.l10n.mojito.cli.App.main(App.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
at java.lang.Thread.run(Thread.java:748)

Make Java 8 required to run Mojito

The main reason is to be able to move to Spring 2.x (doesn't support Java 7). It would also be nice to be able to use java new features. Also Spring 1.x doesn't support new Java version (9 & 10) so moving forward we want to upgrade.

@jeeyi @ehoogerbeets Last time we talked about it, the blocker was that Mojito is deployed on Java 7 at Box. Please let me know if you could upgrade? Thanks!!

unit test failure

In the plain unmodified master, I see this when I run all the unit tests in web app:

Results :

Failed tests: 
com.box.l10n.mojito.service.branch.notification.BranchNotificationServiceTest.allNotfication(com.box.l10n.mojito.service.branch.notification.BranchNotificationServiceTest)
  Run 1: BranchNotificationServiceTest.allNotfication:80->WSTestBase.waitForCondition:134 Branch2 translated notification must be sent
  Run 2: BranchNotificationServiceTest.allNotfication:80->WSTestBase.waitForCondition:134 Branch2 translated notification must be sent


Tests run: 605, Failures: 1, Errors: 0, Skipped: 28

Anyone know what this is?

Long keys for MySQL older than 5.7

The table creation process fails on MySQL 5.5.52 with the following error:

Migration V1__Initial_Setup.sql failed

SQL State : 42000
Error Code : 1071
Message : Specified key was too long; max key length is 767 bytes
Location : db/migration/V1__Initial_Setup.sql (/usr/local/bin/file:/usr/local/bin/mojito-webapp-0.57.jar!/db/migration/V1__Initial_Setup.sql)
Line : 32
Statement : alter table asset add constraint UK__ASSET__REPOSITORY_ID__PATH unique (repository_id, path)

As fas as I can see, the "asset" table column "path" is 255 characters long, which would already exceed the 767 bytes key limit, since utf8mb4 is 4 bytes per character.

A possible workaround might be turning "innodb_large_prefix" on, but still doesnt' help on my Ubuntu 14.04 and MySQL 5.5.52

Import drop non-interactive

In order to automate usage of mojito drop import I need to be able to just import the last drop if it exists, without any interaction. Something like -y or --force would be my idea.

Willing to take on this, any suggestion/guidance?

Mojito is not re-using existing translations for Android plurals

We found a situation where the old mojito (version 0.81) is generating the correct translations for plurals in an android app, but the latest mojito is not. (Version 0.84 and also the head of the master branch)

What is happening is that the latest mojito is generating all of the plural classes for various languages. This is a good thing because some of those classes were missing before. It is producing those strings with the English text because the translations are not there, which is also good. The part that is wrong is that the old mojito generated the strings for the "one" and "other" classes with the correct translations in them, but the new mojito only generates the string for the "one" class with the correct translation. The "other" string is in English, even though the translation is available.

I have distilled it down to a minimal set of files which I tarred up and put on my Box account publically: https://app.box.com/s/u9o7d0jg8hspe2p6h6yl4i1v02ose2na

The "bug.sh" script shows the commands I used to repro the problem. The source/res/values/strings.xml is the source file with just a single plural array in it. The tm/*.xliff are the translation memory files with the translations for Arabic, Polish, Russian, and Chinese. The localized/res/*/strings.xml files are the output files from running that script with mojito 0.84. You can see that the "other" classes are missing the translations that exist in the TMs for each of those locales.

Creating new user: "Invalid username or password"

Hey there!
I just installed Mojito and deleted the admin user and wanted to create a new user. I used the following command:

java -jar mojito-cli-0.99.jar user-create  --username CRUGG --surname CRUGG --given-name CRUGG --common-name CRUGG --role ADMIN --password

and then entered my password (only letters and numbers). When I do that, it says "Invalid username or password". Can somebody help?

Can't pull from repository

When i tried to pull from repository, "pull" process just said "Finished" and do - nothing.

My command:
java -jar mojito-cli-0.94.jar pull -r REPONAME -t TARGET_DIR -ft MAC_STRING

Error creating a new project request

Exporting XLIFF files fails with following error on Windows PC (should also check on Mac).
"java.nio.file.InvalidPathException: Illegal char <:> at index 110: C:\Users\BEKARE~1\AppData\Local\Temp\fileSystemDropExporter\TestRepo\Week 40 (╤З╨╡╤В╨▓╨╡╤А╨│) - 29 ╤Б╨╡╨╜╤В╤П╨▒╤А╤П 2016 - 21:45:13\Source Files\ru-RU_09-29-16.xliff"

The weirdly encoded symbols in the filename should be cyrillic, it should say: "Week 40 (четверг) - 29 сентября 2016 - 21:45:13" (which is "Week 40 (Thursday) - 29 September 2016 - 21:45:13")

Can't pull to a different file type

I pushed a .properties file, everythings works well.

But I can't pull to a XLIFF file.

This is what I did :

mojito push -r MyRepo -ft PROPERTIES -sr messages.fr.properties
mojito pull -r MyRepo -ft XLIFF

This is the message returned :

Pull localized asset from repository: MyRepo

Finished

And there are no files in output.

creating demo project doesn't work

After experiencing a problem when pushing new strings to mojito (see #400) I've tried to create a demo project using the command "demo-create". Unfortunately that doesn't work.


Create demo repository: Demo Project

Add resource bundle: Demo Project/demo.properties

Import translation memory: 
 - locale: da-DK
 - locale: de-DE
 - locale: en-GB
 - locale: en-CA
 - locale: en-AU
 - locale: es-ES
 - locale: fi-FI
 - locale: fr-FR
 - locale: fr-CA
 - locale: it-IT
 - locale: ja-JP

Error importing file [Demo-1_ja-JP.xliff]

The log shows:

2019-02-18 14:10:29.355  INFO 1 --- [nio-8080-exec-7] c.b.l.m.rest.repository.RepositoryWS     : Creating repository
2019-02-18 14:10:30.052  INFO 1 --- [nio-8080-exec-8] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:30.985  INFO 1 --- [eduler_Worker-1] c.b.l.m.s.r.s.RepositoryStatisticsJob    : Update statistic for repositoryId: 4
2019-02-18 14:10:31.414  INFO 1 --- [io-8080-exec-10] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:32.144  INFO 1 --- [nio-8080-exec-1] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:32.343  INFO 1 --- [eduler_Worker-2] c.b.l.m.s.r.s.RepositoryStatisticsJob    : Update statistic for repositoryId: 4
2019-02-18 14:10:32.639  INFO 1 --- [nio-8080-exec-2] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:32.723  INFO 1 --- [nio-8080-exec-4] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:32.789  INFO 1 --- [nio-8080-exec-4] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:32.847  INFO 1 --- [nio-8080-exec-5] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:33.267  INFO 1 --- [nio-8080-exec-6] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:33.493  INFO 1 --- [eduler_Worker-3] c.b.l.m.s.r.s.RepositoryStatisticsJob    : Update statistic for repositoryId: 4
2019-02-18 14:10:33.724  INFO 1 --- [nio-8080-exec-7] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:34.064  INFO 1 --- [nio-8080-exec-8] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:34.117  INFO 1 --- [nio-8080-exec-9] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:34.495  INFO 1 --- [io-8080-exec-10] c.b.l.m.rest.repository.RepositoryWS     : Importing for repo: [4]
2019-02-18 14:10:34.543  INFO 1 --- [eduler_Worker-4] c.b.l.m.s.r.s.RepositoryStatisticsJob    : Update statistic for repositoryId: 4
2019-02-18 14:10:34.549  WARN 1 --- [io-8080-exec-10] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 1366, SQLState: HY000
2019-02-18 14:10:34.549 ERROR 1 --- [io-8080-exec-10] o.h.engine.jdbc.spi.SqlExceptionHelper   : Incorrect string value: '\xE3\x83\xA1\xE3\x83\xBC...' for column 'content' at row 1
2019-02-18 14:10:34.569  WARN 1 --- [io-8080-exec-10] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Warning Code: 1366, SQLState: HY000
2019-02-18 14:10:34.569  WARN 1 --- [io-8080-exec-10] o.h.engine.jdbc.spi.SqlExceptionHelper   : Incorrect string value: '\xE3\x83\xA1\xE3\x83\xBC...' for column 'content' at row 1

I'm using the latest version with a MySQL 5.7.

Caching support for push/pull

Need to be able to only send the files that have changed, as if someone pushes 1000+ files daily, but most have not changed the push takes too long. Also this need to be a parameter on the CLI (--use-cache or similar). Should also support retrieving only the files that have changed as well.

Currently (0.83) the push will only import changed translations. Would like to extend this to the import process, as for proper Serge.io (https://serge.io) integrations the updated translations also need to be reimported every time.

For pull, would take a look into the approach Zanata took (storing a cache database).

Support Documents Translation Upload

Does this software support document or multiple documents translation and upload then documents translated can be downloaded in different format or translation displayed for each document on a section

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.