[
https://issues.apache.org/jira/browse/JSPWIKI-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751847#action_12751847
]
Harry Metske commented on JSPWIKI-597:
--------------------------------------
Both, and I thought they were related.
The build error also occurs on JSPWiki 2.8, could it have something to do with
the Java version I'm running :
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11)
OpenJDK Server VM (build 14.0-b08, mixed mode)
> RuntimeException in
> com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber
> --------------------------------------------------------------------------------------------
>
> Key: JSPWIKI-597
> URL: https://issues.apache.org/jira/browse/JSPWIKI-597
> Project: JSPWiki
> Issue Type: Bug
> Components: Default template
> Affects Versions: 3.0
> Environment: JSPWiki v3.0.0-svn-150
> Tomcat 6.0.20
> Java 6
> Linux
> FF 3.5
> Reporter: Harry Metske
>
> I think JavaScript is completely broken at the moment.
> Looking at the FireFox Error console, it tells me :
> {noformat}
> Error: missing ; before statement
> Source File: http://localhost:8080/JSPWiki/scripts/prettify.js
> Line: 1, Column: 13
> Source Code:
> Exception in thread "main" java.lang.RuntimeException
> {noformat}
> Double clicking it, tells me some more:
> {noformat}
> Exception in thread "main" java.lang.RuntimeException
> at
> com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:289)
> at
> com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:325)
> at
> com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:522)
> at
> com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:120)
> {noformat}
> Which reminds me of some error messages when building the project , those
> might be relate ? :
> {noformat}
> .........
> compressedjs:
> [java] Java Result: 1
> [java] Java Result: 1
> [java] Java Result: 1
> [java] Java Result: 1
> [java] Java Result: 1
> war:
> [delete] Deleting: /home/metskem/workspace/JSPWiki/build/JSPWiki.war
> ......
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.