You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/04/18 00:13:24 UTC
[jira] [Commented] (TAP5-1722) It is not possible to build from
source if the directory contains a space in the name
[ https://issues.apache.org/jira/browse/TAP5-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973491#comment-13973491 ]
Howard M. Lewis Ship commented on TAP5-1722:
--------------------------------------------
Unable to reproduce; I created a folder on my local machine (Mac OS X) with a space in the path name:
{noformat}
Executing Antlr3 grammar generation:
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 -cp /Users/hlship/.gradle/caches/modules-2/files-2.1/org.antlr/antlr/3.3/8d5646c16b508272e02a064a1479056b72f3c887/antlr-3.3.jar:/Users/hlship/.gradle/caches/modules-2/files-2.1/org.antlr/antlr-runtime/3.4/8f011408269a8e42b8548687e137d8eeb56df4b4/antlr-runtime-3.4.jar:/Users/hlship/.gradle/caches/modules-2/files-2.1/org.antlr/stringtemplate/3.2.1/59ec8083721eae215c6f3caee944c410d2be34de/stringtemplate-3.2.1.jar:/Users/hlship/.gradle/caches/modules-2/files-2.1/antlr/antlr/2.7.7/83cd2cd674a217ade95a4bb83a8a14f351f48bd0/antlr-2.7.7.jar org.antlr.Tool -o src/main/generated/antlr/org/apache/tapestry5/internal/antlr /private/tmp/a space/tapestry-5/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g /private/tmp/a space/tapestry-5/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionParser.g
Starting process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java''. Working directory: /private/tmp/a space/tapestry-5/tapestry-core Command: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 -cp /Users/hlship/.gradle/caches/modules-2/files-2.1/org.antlr/antlr/3.3/8d5646c16b508272e02a064a1479056b72f3c887/antlr-3.3.jar:/Users/hlship/.gradle/caches/modules-2/files-2.1/org.antlr/antlr-runtime/3.4/8f011408269a8e42b8548687e137d8eeb56df4b4/antlr-runtime-3.4.jar:/Users/hlship/.gradle/caches/modules-2/files-2.1/org.antlr/stringtemplate/3.2.1/59ec8083721eae215c6f3caee944c410d2be34de/stringtemplate-3.2.1.jar:/Users/hlship/.gradle/caches/modules-2/files-2.1/antlr/antlr/2.7.7/83cd2cd674a217ade95a4bb83a8a14f351f48bd0/antlr-2.7.7.jar org.antlr.Tool -o src/main/generated/antlr/org/apache/tapestry5/internal/antlr /private/tmp/a space/tapestry-5/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g /private/tmp/a space/tapestry-5/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionParser.g
Successfully started process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java''
:tapestry-core:generateGrammarSource (Thread[main,5,main]) completed. Took 1.38 secs.
BUILD SUCCESSFUL
$ tree src/main/generated/
src/main/generated/
└── antlr
└── org
└── apache
└── tapestry5
└── internal
└── antlr
├── PropertyExpressionLexer.java
├── PropertyExpressionLexer.tokens
├── PropertyExpressionParser.java
└── PropertyExpressionParser.tokens
{noformat}
I don't currently have a Windows machine in any state to build on. I suspect this has been resolved by an upgrade to Gradle. Please re-open with a patch if this is still an issue on Windows.
> It is not possible to build from source if the directory contains a space in the name
> -------------------------------------------------------------------------------------
>
> Key: TAP5-1722
> URL: https://issues.apache.org/jira/browse/TAP5-1722
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Labels: gradle
>
> The Gradle hack used to process the ANTLR files into Java source only works when the current directory does not contain a space in the name; this is often not the case on windows.
> Workaround is to move the workspace to a directory without a space in the name.
--
This message was sent by Atlassian JIRA
(v6.2#6252)