[
https://issues.jboss.org/browse/FORGE-2035?page=com.atlassian.jira.plugin...
]
Ståle Pedersen edited comment on FORGE-2035 at 10/17/14 9:54 AM:
-----------------------------------------------------------------
hi, so æsh is not automatically changing this to the "proper" path. atm its up
to each command to do this by using the PathResolver class provided in æsh.
æsh is using a Resource type for handling files and it have a method called resolve(..)
that will try to resolve the path given the correct cwd.
we might change æsh to always call this method on Resource types before populating them.
sounds ok?
was (Author: stalep):
hi, so æsh is not automatically changing this to the "proper" path. atm its up
to each command to do this by using the PathResolver class provided in æsh.
æsh is using a Resource type for handling files, but default its using java.io.File. i
know that forge is using their custom file type, but to solve this better in æsh we could
add a method to the Resource api to resolve the path while its being populated.
then forge can use either æsh's impl of the PathResolver or their own impl if thats
not compatible.
sounds ok?
Forge does not resolve the tilde slash (~/) denoting a user home
directory correctly
------------------------------------------------------------------------------------
Key: FORGE-2035
URL:
https://issues.jboss.org/browse/FORGE-2035
Project: Forge
Issue Type: Bug
Reporter: Sande Gilda
Priority: Critical
When specifying the `~/` (tilde slash) in a path, the Linux "shortcut" to
denote a user's home directory, Forge treats it as a character and creates a directory
named '' relative to the directory where you run the 'forge' command.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)