See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
Changes:
[mbarkley] Re-implement RequiresRole and RequiresAuthentication for RPC interception.
Modules compile and demo is runnable.
[mbarkley] Update demos using errai-security.
------------------------------------------
projectStarted org.jboss.errai:errai-security-demo:3.0-SNAPSHOT
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Errai Security::Demo 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
mojoStarted org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean)[INFO]
Deleting
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ errai-security-demo ---
[INFO] Deleting
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
[INFO] Deleting
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
(includes = [src/main/webapp/WEB-INF/deploy/, src/main/webapp/WEB-INF/lib/,
**/gwt-unitCache/**, .errai/, src/main/webapp/app/], excludes = [])
mojoSucceeded org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean)
[debug] execute contextualize
mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)[INFO]
Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 19 resources
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ errai-security-demo
---
[INFO] Copying 6 resources
mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)
mojoStarted org.apache.maven.plugins:maven-dependency-plugin:2.8(unpack)
[INFO]
[INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ errai-security-demo ---
[INFO] Configured Artifact: org.jboss.as:jboss-as-dist:7.1.1.Final:zip
[INFO] Unpacking
/home/hudson/.m2/repository/org/jboss/as/jboss-as-dist/7.1.1.Final/jboss-as-dist-7.1.1.Final.zip
to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
with includes "" and excludes ""
mojoSucceeded org.apache.maven.plugins:maven-dependency-plugin:2.8(unpack)
mojoStarted org.codehaus.mojo:gwt-maven-plugin:2.5.0(default)
[INFO]
[INFO] --- gwt-maven-plugin:2.5.0:resources (default) @ errai-security-demo ---
[INFO] auto discovered modules [org.jboss.errai.security.demo.App]
[INFO] 9 source files from GWT module org.jboss.errai.security.demo.App
mojoSucceeded org.codehaus.mojo:gwt-maven-plugin:2.5.0(default)
[INFO] Compiling 11 source files to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
mojoStarted org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ errai-security-demo
---
mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
mojoStarted
org.apache.maven.plugins:maven-resources-plugin:2.5(default-testResources)[INFO] skip non
existing resourceDirectory
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
errai-security-demo ---
mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.5(default-testResources)
[INFO] No sources to compile
mojoStarted org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
errai-security-demo ---
mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)
[INFO] No tests to run.
[INFO] Surefire report directory:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...
mojoStarted org.apache.maven.plugins:maven-surefire-plugin:2.10(default-test)
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ errai-security-demo ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
mojoSucceeded org.apache.maven.plugins:maven-surefire-plugin:2.10(default-test)
[JENKINS] Recording test results[INFO] auto discovered modules
[org.jboss.errai.security.demo.App]
mojoStarted org.codehaus.mojo:gwt-maven-plugin:2.5.0(default)
[INFO]
[INFO] --- gwt-maven-plugin:2.5.0:compile (default) @ errai-security-demo ---
[INFO] Compiling module org.jboss.errai.security.demo.App
[ERROR] Feb 18, 2014 11:06:29 PM java.util.prefs.FileSystemPreferences syncWorld
[ERROR] WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException:
Couldn't get file lock.
[ERROR] Feb 18, 2014 11:06:58 PM java.util.prefs.FileSystemPreferences syncWorld
[ERROR] WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException:
Couldn't get file lock.
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.RuntimeException: Unexpected IOException on in-memory stream
[INFO] at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:324)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:672)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:985)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:530)
[INFO] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:621)
[INFO] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO] Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.ast.JDeclaredType;
local class incompatible: stream classdesc serialVersionUID = -8155793964565947646, local
class serialVersionUID = -1052417216019896795
[INFO] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560)
[INFO] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1599)
[INFO] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1494)
[INFO] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1599)
[INFO] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1494)
[INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1748)
[INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
[INFO] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
[INFO] at java.util.ArrayList.readObject(ArrayList.java:593)
[INFO] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
[INFO] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
[INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775)
[INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
[INFO] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
[INFO] at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:203)
[INFO] at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:322)
[INFO] ... 14 more
mojoFailed org.codehaus.mojo:gwt-maven-plugin:2.5.0(default)
projectFailed org.jboss.errai:errai-security-demo:3.0-SNAPSHOT