[ 
https://issues.apache.org/jira/browse/GROOVY-7166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427717#comment-15427717
 ] 

Jochen Theodorou commented on GROOVY-7166:
------------------------------------------

but the only action we would be able to take then is to fail compilation

> Can't build Groovy project due to too long file name
> ----------------------------------------------------
>
>                 Key: GROOVY-7166
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7166
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.3.7
>            Reporter: Marcin Grzejszczak
>            Priority: Minor
>
> When I clone groovy-core and execute 
> {noformat}
> ./gradlew clean test
> {noformat}
> I get:
> {noformat}
> :compileTestGroovy
> warning: [options] bootstrap class path not set in conjunction with -source 
> 1.6
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 warning
> startup failed:
> /home/marcin/repo/groovy-fork/target/test-classes/org/codehaus/groovy/ast/builder/AstBuilderFromSpecificationTest$_testSwitchAndCaseAndBreakStatements_closure31_closure120_closure124_closure128_closure129_closure130_closure131.class
>  (File name too long)
> /home/marcin/repo/groovy-fork/target/test-classes/org/codehaus/groovy/ast/builder/AstBuilderFromSpecificationTest$_testForStatementAndClosureListExpression_closure36_closure154_closure156_closure160_closure161_closure162.class
>  (File name too long)
> {noformat}
> Executed with JDK7 and JDK8. On Linux Mint.
> _uname -a_ execution result:
> {noformat}                                                                    
>                  
> Linux someName 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 
> x86_64 x86_64 x86_64 GNU/Linux
> {noformat}
> A workaround is to move the repository to another folder to shorten the path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to