View Single Post
Old 10-11-2012, 01:57 AM   #3879
sherman
Addict
sherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animals
 
Posts: 265
Karma: 6566
Join Date: Aug 2008
Location: New Plymouth - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
Help!!

I'm trying to build the latest version of PRS+ 2.1 to my 650.

I got as far as running "ant" in the build folder, but then got a whole lot of errors. Can anyone help?

Code:
C:\PRSPlus-Latest\hg\build>ant
Buildfile: C:\PRSPlus-Latest\hg\build\build.xml

buildAll:

clear:
   [delete] Deleting directory C:\PRSPlus-Latest\hg\build\tmp

build.lang:
   [script] Readme
   [script] PRS_
   [script] Found 624 rows

buildCore:
    [mkdir] Created dir: C:\PRSPlus-Latest\hg\build\tmp\core\lang
    [mkdir] Created dir: C:\PRSPlus-Latest\hg\build\tmp\core\compat
     [echo] Combine core files
    [mkdir] Created dir: C:\PRSPlus-Latest\hg\build\tmp\core1
     [echo] Copying compat/bootstrap & prsp.js
     [copy] Copying 8 files to C:\PRSPlus-Latest\hg\build\tmp\core
     [echo] Optimizing combined core & compat with yui
     [echo] Optimizing files in folder tmp/core with yui

BUILD FAILED
C:\PRSPlus-Latest\hg\build\build.xml:120: The following error occurred while executing this line:
C:\PRSPlus-Latest\hg\build\build.xml:218: The following error occurred while executing this line:
C:\PRSPlus-Latest\hg\build\build.xml:481: java.lang.StringIndexOutOfBoundsException: String index out of range: 3161
        at java.lang.String.substring(String.java:1955)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceString(JavaScriptCompressor.java:267)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:330)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
        at net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask.createJavaScriptCompressor(YuiCompressorTask.java:166)
        at net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask.compressFile(YuiCompressorTask.java:146)
        at net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask.execute(YuiCompressorTask.java:100)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:392)
        at org.apache.tools.ant.Target.performTasks(Target.java:413)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:392)
        at org.apache.tools.ant.Target.performTasks(Target.java:413)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:811)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 6 seconds

C:\PRSPlus-Latest\hg\build>
Alternatively, is somebody able to provide me with a pre-built version for my PRS-650?

Thank you.
sherman is offline   Reply With Quote