Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
onevoisses
Visitor

Re: Eclipse Plugin for Brightscript

I am using Linux and I install the The Eclipse BrightScript Plugin however I notice that when the new brightscript project wizard is activate that I do not have the templates.I am using 3.7 (aka Indigo).

I notice that under windows -->perference--->brightscript--->editors----->templates is empty

why is this
Channel: Goaheadmission
O/S : Linux
Home media: MYTHROKUPLAYER With Homerun
0 Kudos
malloys
Visitor

Re: Eclipse Plugin for Brightscript

"onevoisses" wrote:
I am using Linux and I install the The Eclipse BrightScript Plugin however I notice that when the new brightscript project wizard is activate that I do not have the templates.I am using 3.7 (aka Indigo).

I notice that under windows -->perference--->brightscript--->editors----->templates is empty

why is this


It hasn't officially been tested under linux (it's been tested under Win7 home premium, WinXP pro sp3, and OSX snow leopard).
Having said that, it should just work since there's no O/S specific code in the plugin.
(Note, the templates preferences page you mention is unrelated to the project templates in the new project wizard. When the "new" button is finally fixed, that prefs page will be for code fragment templates).

Which flavor/version of linux are you using?
0 Kudos
onevoisses
Visitor

Re: Eclipse Plugin for Brightscript

I am using Debian 6.I used this to write and troubleshoot apps for my media center.The brightscript installed okay but I just do not see like the templates for the simplevideoplayer .I do not own a windows 0S.I long since move from that operating system some 5 years ago (when I was an adminstrator and IT manager for a company).Just wanted an easier way to test like the videoplayer and to modify it and other brs script
Channel: Goaheadmission
O/S : Linux
Home media: MYTHROKUPLAYER With Homerun
0 Kudos
malloys
Visitor

Re: Eclipse Plugin for Brightscript

"onevoisses" wrote:
I am using Debian 6.I used this to write and troubleshoot apps for my media center.The brightscript installed okay but I just do not see like the templates for the simplevideoplayer .I do not own a windows 0S.I long since move from that operating system some 5 years ago (when I was an adminstrator and IT manager for a company).Just wanted an easier way to test like the videoplayer and to modify it and other brs script


FWIW, you should be aware that Debian is not one of the linux flavors that the Eclipse project itself currently tests against.
The platforms they did explicitly test against for Eclipse 3.7.1 are listed here: http://www.eclipse.org/eclipse/development/readme_eclipse_3.7.1.html
Ubuntu, which is a Debian derivative, was tested against by the Eclipse guys... but details do matter, and Ubuntu these days is different from Debian in a few notable ways.
You could be running into an Eclipse or BrightScript plugin bug that is specific to Debian or something related to your specific configuration of Debian.
Note, the Eclipse release notes mention that GCJ has been known to have issues in relation to Eclipse. Are you using GCJ for your java runtime?

In any case, I'll install a copy of Debian 6 inside a VM (I won't be able to get to it for a day or two) and try it out myself and let you know what I find.

Cheers
0 Kudos
onevoisses
Visitor

Re: Eclipse Plugin for Brightscript

Yes on this machine I am running the JRE but on a local test server which I have wowza,I run the JDK with the JRE.
I might try the JDK install just Never wanted to have anything to do with two versions install.but I will try UBUNTU in VM also
Channel: Goaheadmission
O/S : Linux
Home media: MYTHROKUPLAYER With Homerun
0 Kudos
malloys
Visitor

Re: Eclipse Plugin for Brightscript

"onevoisses" wrote:
Yes on this machine I am running the JRE but on a local test server which I have wowza,I run the JDK with the JRE.


I think you misunderstood my comment & question about which java you are using...

The question wasn't JRE vs JDK (a JRE is sufficient for general use of Eclipse, and specifically for the BrightScript plugin, but a JDK would also work).
The question was: Which java implementation are you using (and more specifically, are you using GCJ)?
There are several java implementations available on Debian: OpenJDK, Sun, Or GCJ.

Cheers
0 Kudos
onevoisses
Visitor

Re: Eclipse Plugin for Brightscript

too much coffee(caffine) bursting my head on videoplayer

I use the OpenJDK on the desktop
and Sun on the Server it has Wowza on this server
Channel: Goaheadmission
O/S : Linux
Home media: MYTHROKUPLAYER With Homerun
0 Kudos
malloys
Visitor

Re: Eclipse Plugin for Brightscript

"onevoisses" wrote:
too much coffee(caffine) bursting my head on videoplayer

I use the OpenJDK on the desktop
and Sun on the Server it has Wowza on this server


OK, I've done a test of the BrightScript Project wizard on a fresh installation of Debian 6 + OpenJDK 6 + Eclipse 3.7.1 Java IDE + BrightScript Plugin (+ the underlying DLTK libs) and it works as expected.
The expected list of project templates is there, and I can create new projects based on those templates with no problems.

So, you're experiencing something related to your specific installation/configuration of Eclipse, OpenJDK, or Debian.

Are you seeing anything relevant in the "Problems" or "Error Log" views?
0 Kudos
stormerider
Visitor

Re: Eclipse Plugin for Brightscript

I'm unable to install this, because I've got PDT configured for PHP development. PDT links against DLTK 3.0 and apparently you can only have one version of DTLK configured at a time...

Cannot complete the install because of a conflicting dependency.
Software being installed: BrightScript Core 1.0.0.201110271644 (com.roku.brightscript.ide.eclipse.core.feature.group 1.0.0.201110271644)
Software currently installed: PHP Development Tools (PDT) SDK Feature 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O (org.eclipse.php.sdk.feature.group 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O)
Only one of the following can be installed at once:
Dynamic Languages Toolkit Core 2.0.0.v20100603-0936 (org.eclipse.dltk.core 2.0.0.v20100603-0936)
Dynamic Languages Toolkit Core (Incubation) 0.95.1.v20080920-R0951 (org.eclipse.dltk.core 0.95.1.v20080920-R0951)
Dynamic Languages Toolkit Core 3.0.1.v20110823 (org.eclipse.dltk.core 3.0.1.v20110823)
Dynamic Languages Toolkit Core 2.0.0.v20091130-1621 (org.eclipse.dltk.core 2.0.0.v20091130-1621)
Dynamic Languages Toolkit Core 3.0.0.v20110609-1525 (org.eclipse.dltk.core 3.0.0.v20110609-1525)
Dynamic Languages Toolkit Core 1.0.0.v20090617-1157 (org.eclipse.dltk.core 1.0.0.v20090617-1157)
Dynamic Languages Toolkit Core (Incubation) 0.9.0.v20070620 (org.eclipse.dltk.core 0.9.0.v20070620)
Dynamic Languages Toolkit Core (Incubation) 0.95.0.v20080616-1933 (org.eclipse.dltk.core 0.95.0.v20080616-1933)
Dynamic Languages Toolkit Core (Incubation) 0.9.2.v20080226-1047 (org.eclipse.dltk.core 0.9.2.v20080226-1047)
Dynamic Languages Toolkit Core (Incubation) 0.9.1.r09_v20070927a (org.eclipse.dltk.core 0.9.1.r09_v20070927a)
Cannot satisfy dependency:
From: BrightScript Core 1.0.0.201110271644 (com.roku.brightscript.ide.eclipse.core.feature.group 1.0.0.201110271644)
To: com.roku.brightscript.plugin [1.0.0.201110271644]
Cannot satisfy dependency:
From: BrightScript Plugin 1.0.0.201110271644 (com.roku.brightscript.plugin 1.0.0.201110271644)
To: bundle org.eclipse.dltk.core [2.0.0,2.1.0]
Cannot satisfy dependency:
From: PHP Development Tools (PDT) Runtime Feature 3.0.0.v20110516-1100-7V--F8NcJTTK4UE9TTJJ (org.eclipse.php.feature.group 3.0.0.v20110516-1100-7V--F8NcJTTK4UE9TTJJ)
To: org.eclipse.php.server.ui [3.0.0.v20110516-1100]
Cannot satisfy dependency:
From: PHP Development Tools (PDT) SDK Feature 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O (org.eclipse.php.sdk.feature.group 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O)
To: org.eclipse.php.feature.group [3.0.0.v20110516-1100-7V--F8NcJTTK4UE9TTJJ]
Cannot satisfy dependency:
From: PDT Server UI Plug-in 3.0.0.v20110516-1100 (org.eclipse.php.server.ui 3.0.0.v20110516-1100)
To: bundle org.eclipse.dltk.core 3.0.0


Pity, I'd really like to have this working. Are you guys working on upgrading it to DLTK 3.0?
0 Kudos
malloys
Visitor

Re: Eclipse Plugin for Brightscript

"stormerider" wrote:
I'm unable to install this, because I've got PDT configured for PHP development. PDT links against DLTK 3.0 and apparently you can only have one version of DTLK configured at a time...

<snip/>

Pity, I'd really like to have this working. Are you guys working on upgrading it to DLTK 3.0?


Yes, this is a known issue and mods to allow it to work with DLTK 3 are being worked on.

In the meantime, the workaround is to install another instance of eclipse (without the PDT or anything else that depends on DLTK 3).
Unlike most other applications, eclipse is designed to work seamlessly with multiple installation instances per machine (I've personally got 4 different instances of eclipse in different versions using different workspaces, with no issues)

Cheers
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.