generating documentation from annotated brightscript sources - jsdoc

I am starting working on roku, and I am searching for a tool that is able to parse annotations/comments and automatically build documentation from sources.
basically what I want is a doxygen/javadoc/jsdoc -like tool for brightscript.
Is there something available?

You can use jsdocs paired with the brighterscript-jsdocs plugin: https://www.npmjs.com/package/brighterscript-jsdocs-plugin
Setup instructions can be found on the project website.

Related

How to use Jenkins Build Keeper Plugin

I would like to use the Jenkins 'Build Keeper Plugin' but I don't know how. The plugin site doesn't describe how to use it. Plugin Site
On this page I found the extension points which I would like to use, e.g. the org.jenkins_ci.plugins.build_keeper.KeepFirstFailedPolicy
But in the configuration part of my project, I can't find any place to configure it to use that policy. So where do I have to add it?
Jenkins version is 1.544
Have you tried to open Job configuration page and look for settings ?
For example it is another plugin but it is very similar : Build Discard plugin, may be you will use it for your purposes:
Build discard old build settings
You can configure it in the job under the section Build Environment.
For screenshots see also https://issues.jenkins-ci.org/browse/JENKINS-25293
If used from within a pipeline, it is enough to write
'currentBuild.rawBuild.keepLog(true)'
That is unfortunately not an interface to the plugin, just a jobs setting, but can solve it when You want to keep all builds, or decide within the build if to keep it.

Need help finding documentation on authoring command links

I am writing online help for my Eclipse plug-in. I want to create live help with command links to provide quick access to the Help->Install New Software in Eclipse. The 'Embedding commands in help' page in the Platform Plug-in Developer Guide suggests there are "a large number of useful commands already defined in the workbench".
Unfortunately, after a some search I seem to be unable to find documentation on the available commands I can use as parameters to executeCommand() in my link.
Can you please tell me what parameter to use to create a link to Help->Install New Software in Eclipse and also point me to the documentation of other available commands if such exists at all.
Kind regards
The command id for Install New Software is org.eclipse.equinox.p2.ui.sdk.install
I found this using the Eclipse Search / Plug-in Search and searching for the org.eclipse.ui.commands extension point (which is used to define commands). I then looked at the search results until I found the correct command.

Step by Step guide for Sonar Plugin Development

I have gone through the http://docs.codehaus.org/display/SONAR/Developing+Plugins but unfortunately it does not give detailed steps.
Can some one help me understand how I need to call a code review tool that uses ANTLR for parsing the code files and then capture the output into Sonar
As well how do I start maintaining the rules based on XPATH for my code analysis tool on Sonar as it is done for Java/Javascript?
A good starting point is to have a look at the code of existing plugins:
http://github.com/sonarqubecommunity
I suggest that you use the sonar dev mailing list : dev at sonar dot codehaus dot org.
Developing a Sonar plugin can't simply covered by a "guide"...

NQunit.NUnit getting started guide

does anybody know of a good tutorial for getting started with NQUnit.NUnit.
I've installed it to my test project via nuget and am unsure what the blank.js and async.js files are all about, should I rename these to match my files under test or do I just add my asyncronous and syncronous tests to the respective files.
ta!
Find the answer in the following link:
NQUnit: JavaScript testing within .NET / CI

Convert Scala-Files into a Dll

I have some scala code I've written using IntelliJ with the SBT-Plugin and want to provide me code as an DLL for C++.
I already tried to use 'ikvmc': I packed all my classes via 'package' in one jar. Afterwards I manually set up one jar which contains all the dependencies I use (scala-library,scama,jamtio,jama). Unfortunately i obtain a lot of warnings:'IKVMC0119', "Emitted java.lang.VerificationError' and 'IKVMC0104' (analogously to the example below)!
Then i tried to convert a simple scala-class (no dependencies) using the method described above : package with sbt, add the scala-library.jar and try to convert it via ikvmc -target:library simpleClass.jar . I obtain the same warnings/errors as you see below...
I would be very happy if someone could give me a step-by-step explanation how to provide my Scala-code as an DLL.
Thanks a lot in advance!
Which IKVM version do you use?
If you already use 7.1 then it sounds like a bug in IKVM. Contact the mailing list or the bug list with a sample for reproduction.
If you use an older version then you should update.
After converting the hello.jar with the previous version of IKVM ('7.0.4335.0') i could use the dll in c# (even though i obtained warning from ikvmc). It also worked for my Scala code: converting the sbt-packaged jar with its dependencies delivered a dll. Afterwards i could use the classes in c#!