Forum Discussion

TAC's avatar
TAC
Channel Surfer
10 years ago

Eclipse Brightscript Deployment error

I am building a new Eclipse/Brightscript IDE on a new computer for channel upgrade and 4K development with the Roku 4, so I want the latest of everything. I am following the instructions for the BrightScript Plugin Update at:

https://sdkdocs.roku.com/display/sdkdoc ... ugin+Guide

I am running Java 8 update 92, the dltk available at:

http://download.eclipse.org/technology/ ... ev/latest/

I'm running windows 10 workstation pro, 64bit.

To test, I'm creating simple new Brightscript projects, but getting an error in deployment that seems to be tied to Eclipse not being able to build a zip file. I get a dialog box labeled "BrightScript Deployment Error"
it contains

Error during zip file creation
Reason:
(there is no reason shown)

The details button brings up:

org.eclipse.ui.internal.wizards.datatransfer.ZipFileExporter.<init>(Ljava/lang/String;Z)V

Clearing that dialog box brings up an identical dialog box where Reason: is listed as Unknown.

Eclipse does have access to a zip file creator, because I can export the project as a General->Archive file which produces a valid zip file with all the files in it.

Any idea what's wrong? We developed the existing channel using this IDE/Extensions so we really don't want to look for and learn another solution to update it.

5 Replies

  • Check your file permissions in the /out dir and delete the zip file there. Had the same problem a few months ago and that worked for me.
  • TAC's avatar
    TAC
    Channel Surfer
    "RobSMS" wrote:
    Check your file permissions in the /out dir and delete the zip file there. Had the same problem a few months ago and that worked for me.

    Thank you so much for responding. Unfortunately it didn't solve the problem (I'd previously tried similar things, but went back and tried them all again.)

    After your suggestion I even added Everyone to the file permissions for the out directory in the workspace project and to a directory I tried redirecting the zip output to on a SSD I often use for compiles, renders and transcodes. No luck.

    I also tried to take the Britescript Core plugin apart by adding the PDE plugin to Eclipse but my skill set isn't good enough to handle debugging Eclipse plugins.

    I'm guessing the problem happens when
    com->Roku->brightscript->ide->eclipse->core->wizards->deployment->BrightScriptZipFileExportOperation.class
    is called, but I can't get the PDE plugin to let me debug and breakpoint there.
  • Hmm.. did you try uninstalling Eclipse and re-installing it? Maybe something has gone corrupt.
  • "TAC" wrote:
    So I set out to try and duplicate the version that was probably on the developer's workstation at the time the new plugin was announced on the Roku Blog April 20, 2016. That would have been Eclipse Mars 2 (4.5.2) and DLTK 5.4.

    Congrats - great forensics/postmortem/plugin-developer-mind-reading!

    Something that shouldn't be required in the first place but time after time i see this plugin breaking with the smallest of changes of Eclipse versions. Is Eclipse really that fickle/fecal?
  • I was on day 2 of this error and none of this helped except rolling back to Eclipse 4.5.2

    Eclipse 4.6.0
    BrightScript Core 1.1.0.201604082017 com.roku.brightscript.ide.eclipse.core.feature.group Roku Inc.

    We've been working on this project for a few weeks with no issue. Now I can't build or deploy.

    Once I rolled back, it worked again.