[
https://issues.jboss.org/browse/JBIDE-13112?page=com.atlassian.jira.plugi...
]
Vlado Pakan edited comment on JBIDE-13112 at 11/20/12 8:32 AM:
---------------------------------------------------------------
Yes shortening path for jenkins jobs workspace works. It will work unless longer path is
added to git repo(s).
It's not nice for users which wanna clone our repo to directory with longer absolute
path to get this error. I think length of path to source file/directory within our repos
should be resonable what i think is not case for string
"dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean"
used as name for subdirectory. It's 92 characters long. And what is worse it's not
clear immediately when git clone command fails that reason is long absolute path. Error
message from git clone command it's not saying it clearly and user needs some time to
find out what went wrong.
Probably developers and QE would have to take care to use paths short enought. I don't
know about any way how to ensure this using some tools.
It happened on MS Windows 7 64 bit.
was (Author: vpakan):
Yes shortening path for jenkins jobs workspace works. It will work unless longer path
is added to git repo(s).
It's not nice for users which wanna clone our repo to directory with longer absolute
path to get this error. I think length of path to source file/directory within our repos
should be resonable what i think is not case for string
"dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean"
used as name for subdirectory. It's 92 characters long. And what is worse it's not
clear immediately when git clone command fails that reason is long absolute path. Error
message from git clone command it's not saying it clearly and user needs some time to
find out what went wrong.
Probably developers and QE would have to take care to use paths short enought. I don't
know about any way how to ensure this using some tools.
It happened on MS Windows XP 64 bit.
Paths in repository are to long for MS Windows
----------------------------------------------
Key: JBIDE-13112
URL:
https://issues.jboss.org/browse/JBIDE-13112
Project: Tools (JBoss Tools)
Issue Type: Bug
Reporter: Vlado Pakan
Assignee: Alexey Kazakov
Absolute paths to our sources are too long for MS Windows.
When running build on Jenkins git clone command is failing because git is not able to
extract source files to MS Windows file system because absolute path to extracted
file/directory is longer than 256 characters.
For example:
- extracted file:
{code}
https://github.com/jbosstools/jbosstools-javaee/tree/master/cdi/tests/org...
{code}
- path to extract to on MS Windows:
{code}
C:\hudson\workspace\jbosstools-trunk.jsf.bot.tests.codecoverage\modules/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/context/passivating/broken/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean
{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