[forge-dev] error in forge-shell-api

George Gastaldi ggastald at redhat.com
Fri Aug 24 12:53:30 EDT 2012


It takes about 40 min ~.
These errors are strange, I couldnt find it how to reproduce it and they randomly appear. There was an issue about that, see if you can figure out the root cause

Em 24/08/2012, às 12:23, JFlower <fiorenzino at gmail.com> escreveu:

> Hi George,
> 
> with latest sun jdk i resolved my first problem, but i have some test in failure condition:
> 
> Tests in error: 
>   testFacesConfig(org.jboss.forge.spec.jsf.FacesPluginTest): End of stream: No more queued input.
>   testServletSetupDoesNotInitiallyCreateWebXML(org.jboss.forge.spec.servlet.ServletPluginTest): End of stream: No more queued input.
>   testServletLazilyCreatesWebXMLOnSave(org.jboss.forge.spec.servlet.ServletPluginTest): End of stream: No more queued input.
> 
> 
> Some tricks about this?
> 
> how long it takes to finish the test on your computer?
> 
> This is the time spent on my computer:
> 
> INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Forge - Parent .................................... SUCCESS [0.643s]
> [INFO] Forge - Targeted Event Bus ........................ SUCCESS [6.074s]
> [INFO] Forge - Parser/Java API ........................... SUCCESS [2.389s]
> [INFO] Forge - Parser/XML ................................ SUCCESS [2.430s]
> [INFO] Forge - Shell API ................................. SUCCESS [1.103s]
> [INFO] Forge - Maven Integration APIs .................... SUCCESS [1.200s]
> [INFO] Forge - Git Integration ........................... SUCCESS [0.697s]
> [INFO] Forge - Test Harness .............................. SUCCESS [0.988s]
> [INFO] Forge - Maven Project Model ....................... SUCCESS [0.731s]
> [INFO] Forge - Parser/Java ............................... SUCCESS [4.605s]
> [INFO] Forge - Shell ..................................... SUCCESS [2:23.880s]
> [INFO] Forge - Git Integration Tests ..................... SUCCESS [1:32.533s]
> [INFO] Forge - Project Model Maven Tests ................. SKIPPED
> [INFO] Forge - Test Harness (Web) ........................ SUCCESS [1.068s]
> [INFO] Forge - Java EE APIs .............................. SUCCESS [0.887s]
> [INFO] Forge - Java EE Integration Impl & Plugins ........ FAILURE [5:03.874s]
> [INFO] Forge - Scaffolding APIs .......................... SUCCESS [1.558s]
> [INFO] Forge - Scaffolding Plugins ....................... SUCCESS [54.110s]
> [INFO] Forge - Dev Plugins ............................... SKIPPED
> [INFO] Forge - Scaffold Provider for Java Server Faces ... SKIPPED
> [INFO] Forge - Modular Plugin Loader ..................... SUCCESS [2.383s]
> [INFO] JBoss Forge - Distribution Build .................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7:44.647s (Wall Clock)
> 
> 
> 2012/8/24 JFlower <fiorenzino at gmail.com>
> thank's George,
> 
> i will try.
> 
> Fiorenzo
> 
> 
> 2012/8/24 George Gastaldi <ggastald at redhat.com>
> Try upgrading your JDK 6 to the latest build
> 
> Em 24/08/2012, às 09:43, JFlower <fiorenzino at gmail.com> escreveu:
> 
>> Hi,
>> 
>> i have this error with mvn clean package
>> 
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project forge-shell-api: Compilation failure
>> [ERROR] /home/fiorenzo/git/core/shell-api/src/main/java/org/jboss/forge/shell/util/ResourceUtil.java:[111,23] invalid inferred types for R; inferred type does not conform to declared bound(s)
>> [ERROR] inferred: java.util.Collection<E>
>> [ERROR] bound(s): java.util.Collection<org.jboss.forge.resources.Resource<?>>
>> [ERROR] -> [Help 1]
>> [ERROR] 
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR] 
>> [ERROR] For more information about the errors and possible solutions, please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> [ERROR] 
>> [ERROR] After correcting the problems, you can resume the build with the command
>> [ERROR]   mvn <goals> -rf :forge-shell-api
>> 
>> 
>> [ubuntu 12.04 - Apache Maven 3.0.4 - Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: it_IT, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-29-generic", arch: "amd64", family: "unix"]
>> 
>> Any help on this?
>> 
>> Fiorenzo
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
> 
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
> 
> 
> 
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120824/0e384113/attachment.html 


More information about the forge-dev mailing list