Antonio Goncalves created FORGE-1744:
----------------------------------------
Summary: Cannot install AngularJS addon
Key: FORGE-1744
URL:
https://issues.jboss.org/browse/FORGE-1744
Project: Forge
Issue Type: Bug
Components: Addon Development
Affects Versions: 2.4.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
I install the AngularJS from git as follow and I get an error :
{code}
[test]$ addon-git-install --url
https://github.com/forge/angularjs-addon.git
***INFO*** Installing git addon [0/4] ...
***INFO*** Installing git addon:Cloning repository in
/var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1396716320262-0 [0/4] ...
***INFO*** Installing git addon:Installing project into local repository [1/4] ...
***ERROR*** Unable to execute project build
[test]$
{code}
In the logs I get the following, which sounds like a Roaster version problem :
{code}
no suitable method found for
getJavaResource(org.jboss.forge.roaster.model.source.JavaClassSource)
method
org.jboss.forge.addon.parser.java.facets.JavaSourceFacet.getJavaResource(org.jboss.forge.parser.java.JavaSource<?>)
is not applicable
(actual argument org.jboss.forge.roaster.model.source.JavaClassSource cannot be
converted to org.jboss.forge.parser.java.JavaSource<?> by method invocation
conversion)
method
org.jboss.forge.addon.parser.java.facets.JavaSourceFacet.getJavaResource(java.lang.String)
is not applicable
(actual argument org.jboss.forge.roaster.model.source.JavaClassSource cannot be
converted to java.lang.String by method invocation conversion)
18:45:40,908 SEVERE [org.apache.maven.plugin.compiler.CompilerMojo] (AeshProcess: 4)
/var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1396716320262-0/src/main/java/org/jboss/forge/addon/angularjs/ScaffoldableEntitySelectionWizard.java:[91,14]
no suitable method found for
setValueChoices(java.util.List<org.jboss.forge.parser.java.JavaClass>)
method
org.jboss.forge.addon.ui.input.SelectComponent.setValueChoices(java.util.concurrent.Callable<java.lang.Iterable<org.jboss.forge.roaster.model.source.JavaClassSource>>)
is not applicable
(actual argument java.util.List<org.jboss.forge.parser.java.JavaClass> cannot
be converted to
java.util.concurrent.Callable<java.lang.Iterable<org.jboss.forge.roaster.model.source.JavaClassSource>>
by method invocation conversion)
method
org.jboss.forge.addon.ui.input.SelectComponent.setValueChoices(java.lang.Iterable<org.jboss.forge.roaster.model.source.JavaClassSource>)
is not applicable
(actual argument java.util.List<org.jboss.forge.parser.java.JavaClass> cannot
be converted to
java.lang.Iterable<org.jboss.forge.roaster.model.source.JavaClassSource> by method
invocation conversion)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira