[forge-issues] [JBoss JIRA] (FORGE-2170) Forge addon-build-and-install doesn't work with wildcards "." "~"

Daniel Cunha (JIRA) issues at jboss.org
Sun Dec 21 07:34:29 EST 2014


    [ https://issues.jboss.org/browse/FORGE-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029164#comment-13029164 ] 

Daniel Cunha commented on FORGE-2170:
-------------------------------------

My initial change:
https://github.com/danielsoro/core/commit/49be9df7d06dec55f525c133cca324e878e281a4

But I have a problem here:
The second parameter of the constructor is the current dir and I passed null because I don't have the current dir.

In ResourcePathResolver I need to pass the current dir and I don't have the context to get the current dir. For fix the "." wildcard I need the context to fix it.

I know that this issue should be fixed in aesh. Aesh should resolve the inputs and pass the complete path to Forge. IMO.
For now, we're working in aesh, but forge can fix it for now with this Resolver. :)
The next update of the aesh we'll have fixed. Working in progress.

> Forge addon-build-and-install doesn't work with wildcards "." "~" 
> ------------------------------------------------------------------
>
>                 Key: FORGE-2170
>                 URL: https://issues.jboss.org/browse/FORGE-2170
>             Project: Forge
>          Issue Type: Bug
>          Components: Addon Manager
>    Affects Versions: 2.13.1.Final
>            Reporter: Daniel Cunha
>            Assignee: Daniel Cunha
>
> [addon-arquillian]$ pwd
> /home/soro/Tools/workspace/addon-arquillian
> [addon-arquillian]$ addon-build-and-install --projectRoot .
> ***ERROR*** No project found in root /home/soro/.m2/repository/org/jboss/forge/forge-distribution/2.13.1-SNAPSHOT/.
> [addon-arquillian]$ addon-build-and-install --projectRoot ~/Tools/workspace/addon-arquillian
> ***ERROR*** No project found in root /home/soro/.m2/repository/org/jboss/forge/forge-distribution/2.13.1-SNAPSHOT/.
> [addon-arquillian]$



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list