[jbosstools-issues] [JBoss JIRA] (JBDS-3044) Align installation default path with installer filename (and add version string too?)

Nick Boldt (JIRA) issues at jboss.org
Wed Jun 4 09:52:15 EDT 2014


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

Nick Boldt commented on JBDS-3044:
----------------------------------

{quote}
When using an API to create a directory, the specified path cannot be so long that you cannot append an 8.3 file name (that is, the directory name cannot exceed MAX_PATH minus 12).
{quote}
-- http://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath

If this is accurate then the effective MAX_PATH is 260-12 = *248 chars* (which is LESS than _studio/configuration/org.eclipse.osgi/949/data/c7ff8a0a591e0e90fe36069138e75f68/1012-1401176993555/org.springframework.ide.eclipse.core.java.ProjectClassLoaderCache$SourceAndOutputLocationResourceChangeListener$SourceAndOutputLocationResourceVisitor_, at 249 chars) ... unless we somehow manage to use \\?\ prefix in the jbdevstudio.bat (or, if renamed, in jboss-devstudio.bat) to work around that path length limit.

> Align installation default path with installer filename (and add version string too?)
> -------------------------------------------------------------------------------------
>
>                 Key: JBDS-3044
>                 URL: https://issues.jboss.org/browse/JBDS-3044
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: installer
>    Affects Versions: 8.0.0.Beta2
>            Reporter: Martin Malina
>            Assignee: Denis Golovin
>            Priority: Blocker
>              Labels: discuss
>             Fix For: 8.0.0.Beta3
>
>
> Now that Nick changed the installer filenames to jboss-devstudio in JBIDE-16871 (was jbdevstudio), shouldn't the default install path be changed similarly? Because it just went out of sync.
> This question is open for discussion. Nick pointed out some reasons against this suggestion:
> {quote}
> Martin Malina Re: changing the installation folder, I'll hold off on that change for the moment for a few reasons:
> a) Max is AFK, and will want to vet/veto this idea
> b) long paths for Windows users (80% of our user base) = bad news, especially considering how long some file paths can get already within Eclipse workspaces
> c) short paths for Windows (c:\jbdevstudio) & long paths for everyone else ~/jboss-devstudio) would be ill-advised from a documentation and cross-platform user experience
> So, either we stick w/ jbdevstudio, or we shorten to devstudio (losing the "jb" branding fragment). If we move to "jboss-devstudio" we increase the path by only 4 characters.
> Max Rydahl Andersen WDYT?
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list