Build failed in Jenkins: Errai #948
by ci-builds@redhat.com
See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/948/changes>
Changes:
[christian.sadilek] Fixed ERRAI-506: Support for NaN, positive and negative infinity for Double and Float values
------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rhts-stacks1 in workspace <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/>
Checkout:Errai / <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/> - hudson.remoting.Channel@2b750119:rhts-stacks1
Using strategy: Default
Last Built Revision: Revision 58f62a9ce3c2a05b11a52f4fc528e73eee965ae6 (origin/master)
Cloning the remote Git repository
Cloning repository git://github.com/errai/errai.git
git --version
git version 1.7.10.1
Fetching upstream changes from git://github.com/errai/errai.git
Commencing build of Revision b32450b0827b33c8563c4a2cab75d3a383872e94 (origin/master)
Checking out Revision b32450b0827b33c8563c4a2cab75d3a383872e94 (origin/master)
Parsing POMs
[Errai] $ /qa/tools/opt/amd64/jdk1.6.0_last/bin/java -server -Xmx1200m -XX:MaxPermSize=256M -cp /tmp/maven3-agent.jar:/qa/tools/opt/maven3-latest/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /qa/tools/opt/maven3-latest /qa/services/hudson/hudson_release/WEB-INF/slave.jar /tmp/maven3-interceptor.jar 37293
Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/agent/Maven3Main
Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.agent.Maven3Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.jvnet.hudson.maven3.agent.Maven3Main. Program will exit.
ERROR: Failed to launch Maven. Exit code = 1
11 years, 9 months
Build failed in Jenkins: Errai » Errai::IOC #949
by ci-builds@redhat.com
See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>
------------------------------------------
[...truncated 795 lines...]
[INFO] org/jboss/errai/ioc/client/api/LoadAsync.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ProviderException.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ReplyTo.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ContextualTypeProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/AnnotationComparator.java already added, skipping
[INFO] org/jboss/errai/ioc/client/IOCClientTestCase.java already added, skipping
[INFO] org/jboss/errai/ioc/client/BootstrapperInjectionContext.java already added, skipping
[INFO] org/jboss/errai/ioc/client/ContextualProviderContext.java already added, skipping
[INFO] org/jboss/errai/ioc/client/QualifierEqualityFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/client/Bootstrapper.java already added, skipping
[INFO] org/jboss/errai/ioc/client/Container.java already added, skipping
[INFO] org/jboss/errai/ioc/client/QualifierEqualityFactoryProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/QualifierUtil.java already added, skipping
[INFO] org/jboss/errai/ioc/Container.gwt.xml already added, skipping
[INFO] org/jboss/errai/ioc/util/MessageCallbackWrapper.java already added, skipping
[INFO] org/jboss/errai/ioc/util/RunAsyncWrapper.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/test/harness/IOCSimulatedTestRunner.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/test/harness/MockIOCGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCProcessingContext.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCBootstrapGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/QualifierEqualityFactoryGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCProcessorFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/ProxySortUnit.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/Dependency.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/GraphBuilder.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/GraphSort.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/SortUnit.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/QualifyingMetadata.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/QualifyingMetadataFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/JSR330QualifyingMetadataFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/JSR330QualifyingMetadata.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedField.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/InjectionFailure.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedMethod.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedDependency.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedDependenciesException.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedDependencies.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedParameter.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/TypeInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectionContext.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/ConstructionStrategy.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectionTask.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/TypeDiscoveryListener.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectableInstance.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectionPoint.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/RenderingHook.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/DecoratorTask.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/WiringElementType.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectorRegistrationListener.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/ConstructionStatusCallback.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/RegistrationHook.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/TaskType.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/AbstractInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ProxyInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/Injector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ProviderInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ContextualProviderInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/InjectUtil.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ProducerInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/QualifiedTypeInjectorDelegate.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/IOCDecoratorExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/ProvidedClassAnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/Rule.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/IOCExtensionConfigurator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/DependencyControl.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/AnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/JSR330AnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/RelativeOrder.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/JSR330ProvidedClassAnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/RuleDef.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/builtin/AfterInitializationExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/builtin/ServiceIOCExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/compat/javax/inject/Provider.java already added, skipping
[INFO] org/jboss/errai/ioc/compat/README.eclipse already added, skipping
[INFO] ErraiApp.properties already added, skipping
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>
[INFO] org already added, skipping
[INFO] org/jboss already added, skipping
[INFO] org/jboss/errai already added, skipping
[INFO] org/jboss/errai/ioc already added, skipping
[INFO] org/jboss/errai/ioc/client already added, skipping
[INFO] org/jboss/errai/ioc/client/container already added, skipping
[INFO] org/jboss/errai/ioc/client/test already added, skipping
[INFO] org/jboss/errai/ioc/client/api already added, skipping
[INFO] org/jboss/errai/ioc/client/api/qualifiers already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin already added, skipping
[INFO] org/jboss/errai/ioc/util already added, skipping
[INFO] org/jboss/errai/ioc/rebind already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/test already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/test/harness already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/builtin already added, skipping
[INFO] org/jboss/errai/ioc/compat already added, skipping
[INFO] org/jboss/errai/ioc/compat/javax already added, skipping
[INFO] org/jboss/errai/ioc/compat/javax/inject already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOCSingletonBean.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/AbstractIOCBean.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/BeanRef.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOCBeanManager.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/Tuple.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOCBeanManagerLifecycle.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOC.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/CreationalCallback.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/CreationalContext.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOCBeanDef.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/InitializationCallback.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOCResolutionException.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/IOCDependentBean.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/ProxyResolver.java already added, skipping
[INFO] org/jboss/errai/ioc/client/container/DestructionCallback.java already added, skipping
[INFO] org/jboss/errai/ioc/client/test/AbstractErraiIOCTest.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/TestOnly.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/CodeDecorator.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/CreatePanel.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/InitBallot.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/qualifiers/BuiltInQualifiers.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ToSubject.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/TypeProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/Sender.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/EntryPoint.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/Disposer.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/IOCBootstrapTask.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/IOCProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/TestMock.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/PackageTarget.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/Callback.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/AfterInitialization.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/InjectPanel.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/IOCExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/TaskOrder.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/Caller.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/RequestDispatcherProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/CallerProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/RootPanelProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/DisposerProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/ErraiMessageSender.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/MessageBusProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/SenderProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/InitBallotProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/builtin/IOCBeanManagerProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/InjectionException.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/LoadAsync.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ProviderException.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ReplyTo.java already added, skipping
[INFO] org/jboss/errai/ioc/client/api/ContextualTypeProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/AnnotationComparator.java already added, skipping
[INFO] org/jboss/errai/ioc/client/IOCClientTestCase.java already added, skipping
[INFO] org/jboss/errai/ioc/client/BootstrapperInjectionContext.java already added, skipping
[INFO] org/jboss/errai/ioc/client/ContextualProviderContext.java already added, skipping
[INFO] org/jboss/errai/ioc/client/QualifierEqualityFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/client/Bootstrapper.java already added, skipping
[INFO] org/jboss/errai/ioc/client/Container.java already added, skipping
[INFO] org/jboss/errai/ioc/client/QualifierEqualityFactoryProvider.java already added, skipping
[INFO] org/jboss/errai/ioc/client/QualifierUtil.java already added, skipping
[INFO] org/jboss/errai/ioc/Container.gwt.xml already added, skipping
[INFO] org/jboss/errai/ioc/util/MessageCallbackWrapper.java already added, skipping
[INFO] org/jboss/errai/ioc/util/RunAsyncWrapper.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/test/harness/IOCSimulatedTestRunner.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/test/harness/MockIOCGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCProcessingContext.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCBootstrapGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/QualifierEqualityFactoryGenerator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCProcessorFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/ProxySortUnit.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/Dependency.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/GraphBuilder.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/GraphSort.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/graph/SortUnit.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/QualifyingMetadata.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/QualifyingMetadataFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/JSR330QualifyingMetadataFactory.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/metadata/JSR330QualifyingMetadata.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedField.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/InjectionFailure.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedMethod.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedDependency.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedDependenciesException.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedDependencies.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/exception/UnsatisfiedParameter.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/TypeInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectionContext.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/ConstructionStrategy.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectionTask.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/TypeDiscoveryListener.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectableInstance.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectionPoint.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/RenderingHook.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/DecoratorTask.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/WiringElementType.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/InjectorRegistrationListener.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/ConstructionStatusCallback.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/RegistrationHook.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/api/TaskType.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/AbstractInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ProxyInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/Injector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ProviderInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ContextualProviderInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/InjectUtil.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/ProducerInjector.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/injector/QualifiedTypeInjectorDelegate.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/IOCDecoratorExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/ProvidedClassAnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/Rule.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/IOCExtensionConfigurator.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/DependencyControl.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/AnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/JSR330AnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/RelativeOrder.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/JSR330ProvidedClassAnnotationHandler.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/extension/RuleDef.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/builtin/AfterInitializationExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/rebind/ioc/builtin/ServiceIOCExtension.java already added, skipping
[INFO] org/jboss/errai/ioc/compat/javax/inject/Provider.java already added, skipping
[INFO] org/jboss/errai/ioc/compat/README.eclipse already added, skipping
[INFO] ErraiApp.properties already added, skipping
mojoSucceeded org.apache.maven.plugins:maven-source-plugin:2.1.2(attach-sources)
mojoStarted org.apache.maven.plugins:maven-install-plugin:2.3(default-install)
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ errai-ioc ---
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...> to /home/hudson/.m2/repository/org/jboss/errai/errai-ioc/2.2.1-SNAPSHOT/errai-ioc-2.2.1-SNAPSHOT.jar
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...> to /home/hudson/.m2/repository/org/jboss/errai/errai-ioc/2.2.1-SNAPSHOT/errai-ioc-2.2.1-SNAPSHOT.pom
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...> to /home/hudson/.m2/repository/org/jboss/errai/errai-ioc/2.2.1-SNAPSHOT/errai-ioc-2.2.1-SNAPSHOT-sources.jar
mojoSucceeded org.apache.maven.plugins:maven-install-plugin:2.3(default-install)
mojoStarted org.apache.maven.plugins:maven-deploy-plugin:2.5(default-deploy)
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ errai-ioc ---
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (992 B at 1.8 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (399 KB at 254.8 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (7 KB at 1.3 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (816 B at 1.8 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (992 B at 0.2 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
mojoFailed org.apache.maven.plugins:maven-deploy-plugin:2.5(default-deploy)
projectFailed org.jboss.errai:errai-ioc:2.2.1-SNAPSHOT
11 years, 9 months
Errai UI and i18n
by Eric Wittmann
Hello everyone. I'm finally putting hands to keyboard on this, and am
making some progress figuring out how a lot of the code generation works
in Errai. It's a bit slow going for me, but it gets easier every...hour. :)
Anyway, the first aspect of this that I'm tackling is the creation and
inclusion of the message bundle file. We tentatively decided to use the
standard resource loading mechanism in GWT (the same thing the template
system uses) to load the message bundle. I'm hoping that we'll
eventually have something that will work either statically or
dynamically (giving devs that option). But for now I'm sticking with
static loading of the bundle file.
Here are some initial decisions:
1) You active i18n support in your module by annotating your @EntryPoint
with @Bundle, providing the name of the bundle resource in the @Bundle
annotation.
2) Each GWT module has at most one i18n message bundle.
3) The bundle resource is a JSON formatted file. No one likes
Properties files, and browsers are pretty darn good at processing JSON I
imagine. That said, I'm certainly open to changing this.
4) The bundle file can have any name, as long as it has a .json extension.
5) Localized versions of the bundle file look like this:
* MyAppBundle.json
* MyAppBundle_en_US.json
* MyAppBundle_de_DE.json
* MyAppBundle_zh_CN.json
Some questions:
A) How do I locate the translation files at compile time? Logically the
package containing MyAppBundle.json should be scanned for all resources
matching MyAppBundle_*_*.json. Any thoughts on the best way to actually
accomplish that?
I thought I had more questions than that... :)
Thinking ahead (not planning on this in the short term) there's a way to
hold up app initialization until async data is pulled down, right? I
saw a voting system in there. For the optional "I want to pull down
translation files asyncronously" feature, can the EntryPoint vote "no"
to the initialization until it's done pulling down the bundle?
-Eric
11 years, 9 months
ErraiUI and i18n
by Jonathan Fuerth
Hi all,
Eric Wittmann has volunteered to implement proof-of-concept internationalization features in ErraiUI. To get things going, he asked me to sum up the conversation we had on a GitHub pull request[1]. Here's my summary, as I understand it.
Goals:
* Must not compromise on 'designer templates:' the template must be 100% valid HTML5 and render properly in a browser as-is.
* Aim for least possible amount of boilerplate in the common case: if I18N is invisible on 80% of the fields it affects (both Java side and HTML side) then we're winning.
* At compile time, we'll generate reports on the state of each translation: for each language, which translations are missing and which are orphaned? If this is summarized numerically in a .properties file, it's trivially easy to track in Jenkins with the Plot plugin[2].
* Must be able to substitute different images based on user's language
* Ability to translate both text within an element as well as attribute values in tags
* Should accommodate simple HTML markup within messages (eg. anything SafeHtml would allow)
* Support user selection of language independent of what the accept-language header says
Non-Goals:
* We're not attempting to define something that works outside of Errai UI templates and @Templated classes
* We're not considering the ability to define structurally different page layouts based on locale (Android can do this with its resources system)
* We're not talking about reacting to anything except the user's language preference (again, Android's resource system supports varying resources based on screen size, resolution, language, country, and lots more besides)
Open Questions:
* Should we use GWT's message resource file format?
* When/if we specify a key, should it be in the template file (eg, as a data-i18n="message.key" attrbute) or in the Java class (as an @I18n("message.key") annotation on the @DataField)? ewittmann originally proposed the attribute-in-template approach, and okrasz and w0mbat expressed a preference for that too.
* How will we handle interpolation into messages (for example Hello {name}. Pleased to meet you!)? Most importantly, where do the values come from?
* (How) do we handle special numeric formatting like $0.00 in the USA vs. 0,00€ in Europe? It seems we may need a mechanism to call out to GWT's number formatting classes
Based on all that, here's a strawman proposal to get us started (lifted from Eric's comment):
Java:
@Templated
public class MyPage extends Composite {
@Inject @DataField("field1")
private Label contentBecomesKey;
@Inject @DataField("field2") @I18n("mypage.description")
private Label keySpecifiedInAnnotation;
@Inject @DataField("field3") @I18n(value="mypage.input", attributes={"placeholder", "title"})
private Text inputBoxWithTranslatedTooltipAndPlaceholder;
// I don't think this will actually work well. It's just here for the sake of argument.
@I18nParams
private Map<String, SafeHtml> messageKeys;
}
Template:
<div data-field="templateId">
<div data-field="field1">MyHeader</div>
<div data-field="field2">This is a lengthy description that I don't want becoming an i18n key.</div>
<input data-field="field3" type="text" name="field3" placeholder="Enter a value here" title="Use this data entry field to enter a valid value..." />
<div>Innocent Bystander</div>
<div data-field="field3">{name}, you owe {amountOwing}.</div>
</div>
Bundle for Piglatin translation:
MyHeader=yHeaderMay
mypage.description=Lorem ipsum dolor sit amet, consectetur adipiscing elit.
mypage.input.placeholder=Value here, you must enter
mypage.input.title=This data entry field, use you must...
Innocent\ Bystander=Innocentay Ystanderbay
So, thoughts?
-Jonathan
[1]: https://github.com/errai/errai/pull/24
[2]: https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin
11 years, 9 months
Declarative API for PropertyChangeHandlers in DataBinding
by Mike Brock
While I was playing tonight I had a few ideas I wanted to bounce off everyone. What about a higher level API for handling change events?
Consider the following:
====HelloWorld.java=========================================
@EntryPoint
@Templated("#root")
public class HelloWorld extends Composite {
@Inject @AutoBound private DataBinder<MyModel> model;
@Inject @NeedsData @Bound @DataField private TextBox name;
@Inject @DataField private Button button;
@EventHandler("button")
private void onClick(ClickEvent e) {
messageBox.setText("Hello there, " + model.getModel().getName());
}
@OnModelChange
public void onMyModelChange(@OldModel MyModel model,
@NewModel MyModel newModel,
@Property String propertyName,
@Source Object source) {
// react to change
}
}
----------------------------------------------------------------------------------------------------
====ChangeEvents.java======================================
@Singleton
public class ChangeEvents [
@OnGlobalModelChange
public void onMyModelChange(@OldModel MyModel model,
@NewModel MyModel newModel,
@Property String propertyName,
@Source Object source) {
// react to change
}
}
----------------------------------------------------------------------------------------------------
Note: the idea is that each of the specified attributes are optional with the exception you must specify *at least* @OldModel or @NewModel. So in practice you might just do something like this:
public void onMyModelChange(@NewModel MyModel updatedModel) {
// do something with updatedModel
}
The general idea is that the @ OnGlobalModelChange would match all *managed* (read: injected automatically by the container such as @AutoBound) DataBinders that match MyModel. Where-as the @OnModelChange in the HelloWorld class would be scoped just to that one ErraiUI bean.
----
This is just something I brainstormed in about 15 minutes. I am not fixed on this particular approach. But I found myself wanting a declarative way of listening for changes tonight that didn't involve me adding a @PostConstruct and manually adding a PropertyChangeHandler to the DataBinder.
11 years, 9 months
RuntimeException: error loading marshalling extension: org.jboss.errai.enterprise.rebind.ObserversMarshallingExtension
by xybrek
Hi,
I have this *weird* error that I get when trying to compile my app:
Mar 12, 2013 3:55:17 AM
org.jboss.errai.marshalling.rebind.MarshallerGeneratorFactory generate
INFO: generating marshalling class...
java.lang.RuntimeException: error loading marshalling extension:
org.jboss.errai.enterprise.rebind.ObserversMarshallingExtension
at
org.jboss.errai.marshalling.rebind.MarshallerGeneratorFactory._generate(MarshallerGeneratorFactory.java:213)
at
org.jboss.errai.marshalling.rebind.MarshallerGeneratorFactory.generate(MarshallerGeneratorFactory.java:142)
at
org.jboss.errai.marshalling.rebind.MarshallersGenerator._generate(MarshallersGenerator.java:272)
at
org.jboss.errai.marshalling.rebind.MarshallersGenerator.generateMarshallerBootstrapper(MarshallersGenerator.java:250)
at
org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:235)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
However my app works fine when I run it with DevMode. What could be the
solution for this?
Cheers.
11 years, 9 months
Errai 3 and JBoss 7 (packaging)
by Eric Wittmann
Greetings.
Do you guys have any docs or examples illustrating which of the myriad
of JARs in Errai (and transitives) need to be included in the WAR when
packaging for JBoss 7? I'd like to slim down the WAR if I can - for
example: which of the Errai JARs are client-side only?
Also, when I start up my app in JBoss 7 (on both my Windows and Linux
machines), I get a bunch of exceptions on startup that look like this:
https://gist.github.com/EricWittmann/cfdfbc8aa0865b4ab9fb
This doesn't happen for all JARs in the WAR. Perhaps only the ones with
an ErraiApp.properties file? Here's the full list of JARs that cause
the exception:
https://gist.github.com/EricWittmann/d9dc538aeb8e039dd7a8
Interestingly, everything seems to still work.
Help on both issues appreciated. :)
-Eric
11 years, 9 months
Build failed in Jenkins: Errai #934
by ci-builds@redhat.com
See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/934/changes>
Changes:
[jfuerth] Added the maven-enforcer-plugin to the root pom and fixed the ensuing breakage
------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rhts-stacks1 in workspace <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/>
Checkout:Errai / <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/> - hudson.remoting.Channel@3d6cd4f4:rhts-stacks1
Using strategy: Default
Last Built Revision: Revision d4fac12319b584b588d055d4b8a81ef332047e9a (origin/master)
Cloning the remote Git repository
Cloning repository git://github.com/errai/errai.git
git --version
git version 1.7.10.1
Fetching upstream changes from git://github.com/errai/errai.git
Commencing build of Revision 9b30fb181e3822f4352f5ac9a4c95b61050a92cd (origin/master)
Checking out Revision 9b30fb181e3822f4352f5ac9a4c95b61050a92cd (origin/master)
Parsing POMs
Modules changed, recalculating dependency graph
[Errai] $ /qa/tools/opt/amd64/jdk1.6.0_last/bin/java -server -Xmx1200m -XX:MaxPermSize=256M -cp /tmp/maven3-agent.jar:/qa/tools/opt/maven3-latest/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /qa/tools/opt/maven3-latest /qa/services/hudson/hudson_release/WEB-INF/slave.jar /tmp/maven3-interceptor.jar 37269
Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/agent/Maven3Main
Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.agent.Maven3Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.jvnet.hudson.maven3.agent.Maven3Main. Program will exit.
ERROR: Failed to launch Maven. Exit code = 1
11 years, 9 months