Sunday, July 28, 2013

Re: gwt-site doesn't build?

yuk. PegDown processor is non-deterministic!? Turns out my laptop and linux server are too slow to compile gwt-site.

Sorry for wasting your time Thomas. I was reading the error message in order and thought "[ERROR] org.pegdown.ParsingTimeoutException" must be spurious.

I've patched my local version so it compiles. Maybe a note in docs about this error or a ticket to possibly change the code?

Sorry again for not posting the important error message. Using a timeout like this is new to me.

Sam

On Sunday, July 28, 2013 1:35:08 PM UTC+1, Thomas Broyer wrote:
Could it be because the <a> is wrapped on several lines? (src/main/markdown/doc/latest/DevGuideI18nMessages.md, line 118)
Given your environments, it could be JDK-dependent then. Maybe you could try with a recent one? (OpenJDK or Oracle JDK; 6 or 7)
(I quickly looked at pegdown, the markdown parser, and it looks for CR, LF and CRLF as line endings, so I doubt it'd be the issue; particularly as you have the same issue on Linux too)

On Sunday, July 28, 2013 1:47:32 PM UTC+2, salk31 wrote:
I'm changing line endings now on the XP machine but...

Same issue on linux:
sam@ellen:~/psrc/gwt-site$ mvn -version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.
Java home: /opt/jdk1.6.0_21/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-amd64", arch: "i386", family: "unix"


On XP:
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: c:\opt\apache-maven-3.0.4
Java version: 1.6.0_32, vendor: Sun Microsystems Inc.
Java home: c:\Program Files\Java\jdk1.6.0_32\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

Seem like normal unix style files on linux:
sam@ellen:~/psrc/gwt-site$ file pom.xml
pom.xml: exported SGML document, UTF-8 Unicode text
sam@ellen:~/psrc/gwt-site$ ls
pom.xml  README.md  src  target
sam@ellen:~/psrc/gwt-site$ file README.md
README.md: ASCII text





On Sunday, July 28, 2013 12:10:40 PM UTC+1, Thomas Broyer wrote:


On Sunday, July 28, 2013 1:04:44 PM UTC+2, salk31 wrote:
Thanks Mr Broyer (somebody else called you that and I like the sound of it),

I'm on XP (ancient laptop)... My work laptop (Win 7 64) wouldn't build due to corrupt pom.

I'll fiddle with git setting for line endings (not pretty) and try on linux.

Trying to understand the issue here: are the files' eol CRLF or LF in your working directory? 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment