[forge-dev] UIValidator

George Gastaldi ggastald at redhat.com
Sat Jan 3 07:35:46 EST 2015


Hi Ivan,

I guess $FORGE_VERSION is not being resolved in your case, thus making it an invalid coordinate.


> Em 03/01/2015, às 10:28, Ivan St. Ivanov <ivan.st.ivanov at gmail.com> escreveu:
> 
> Hi Soro,
> 
> I guess upon executing the addon install command (prior to the actual execution).
> 
> Did you also get an error when trying to run:
> 
> forge --install org.jboss.forge.addon:core,$FORGE_VERSION
> 
> This morning I got:
> 
> java.lang.IllegalArgumentException: Coordinates must be of the form 'name,version' or 'name,version,api-version
> 	at org.jboss.forge.furnace.addons.AddonId.fromCoordinates(AddonId.java:78)
> 	at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:311)
> 	at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:179)
> 	at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95)
> 
> However, I did not investigate much into it. I guess I have to change the `:core` part in my script to `,core`. 
> 
> Cheers,
> Ivan
> 
>> On Sat, Jan 3, 2015 at 2:19 PM, Daniel Cunha <danielsoro at gmail.com> wrote:
>> When this validation is called?
>> https://github.com/forge/core/blob/master/addon-manager/impl/src/main/java/org/jboss/forge/addon/manager/impl/ui/AddonInstallCommand.java#L88-L107
>> 
>> -- 
>> Daniel Cunha (soro)
>> 
>> _______________________________________________
>> 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/20150103/333d1f3f/attachment-0001.html 


More information about the forge-dev mailing list