How to allow configuration of a SonarJ license file?

4 messages Options
Embed this post
Permalink
Alexander von Zitzewitz () How to allow configuration of a SonarJ license file?
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
How to allow configuration of a SonarJ license file? Hi !

Is there any predefined API to allow the user to enter the location of the license file for SonarJ? You do it for clover...

Regards

Alexander von Zitzewitz



www.hello2morrow.com

SonarJ Elevator Pitch: http://www.hello2morrow.com/videos/benefits

+1 (877) 294-6327



Olivier Gaudin () Re: How to allow configuration of a SonarJ license file?
Reply Threaded More More options
Print post
Permalink
Hello Alexander,

You can define a @Properties annotation in your plugin extension, this will define a updatable property.

ex : http://svn.codehaus.org/sonar-plugins/trunk/security-rules/src/main/java/org/sonar/plugins/secrules/SecurityRulesPlugin.java

Olivier



On Fri, Oct 9, 2009 at 5:55 PM, Alexander von Zitzewitz <[hidden email]> wrote:
Hi !

Is there any predefined API to allow the user to enter the location of the license file for SonarJ? You do it for clover...

Regards

Alexander von Zitzewitz



www.hello2morrow.com

SonarJ Elevator Pitch: http://www.hello2morrow.com/videos/benefits

+1 (877) 294-6327




Alexander von Zitzewitz () Re: How to allow configuration of a SonarJ license file?
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Re: [sonar-dev] How to allow configuration of a SonarJ license file? Hi Olivier !

That is neat, but how do I get the value of the property? I need it to configure the execution of the SonarJ Maven plugin.

Best regards

Alexander


On 10/9/09 4:58 PM, "Olivier Gaudin" <olivier.gaudin@...> wrote:

Hello Alexander,

You can define a @Properties annotation in your plugin extension, this will define a updatable property.

ex : http://svn.codehaus.org/sonar-plugins/trunk/security-rules/src/main/java/org/sonar/plugins/secrules/SecurityRulesPlugin.java

Olivier



On Fri, Oct 9, 2009 at 5:55 PM, Alexander von Zitzewitz <a.zitzewitz@...> wrote:
Hi !

Is there any predefined API to allow the user to enter the location of the license file for SonarJ? You do it for clover...

Regards

Alexander von Zitzewitz



www.hello2morrow.com <http://www.hello2morrow.com>

SonarJ Elevator Pitch: http://www.hello2morrow.com/videos/benefits

+1 (877) 294-6327





Alexander von Zitzewitz



www.hello2morrow.com

SonarJ Elevator Pitch: http://www.hello2morrow.com/videos/benefits

+1 (877) 294-6327




Simon Brandhof () Re: How to allow configuration of a SonarJ license file?
Reply Threaded More More options
Print post
Permalink
You can have a look to the new section "Configuration" in the plugins guide.