cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS + CHECKSTYLE / CHECKLIPSE

Former Member
0 Kudos

Hi All,

Is there any specific forum in sdn for Netweaver Development Studio (NWDS) Quries? I want to know wether Checkstyle/Checklipse can be integrated with NWDS?

Any links, suggestions will be appreciated.

Thanx

Bhardwaj.

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Bhardwaj,

> specific forum in sdn for Netweaver Development Studio

No.

> Checkstyle/Checklipse can be integrated with NWDS

Yes, but be aware that only the corresponding Eclipse version will be supported, means that if you have a NWDS built on Eclipse 2.1.x basis (and that's what's delivered at least for NW04), you normally only can use plugins for 2.1.x Eclipse, for the plugin architecture has changed with Eclipse 3.

Because most plugins are not develope against 2.1 basis any more, you will have to look out for "old" versions...

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

Good to see u again.

I think,CheckStyle can be plugged in on eclipse version 3.x.x and above. But we have NWDS build on eclipse version 2.x.x. So we can not use checkstyle. Is there any older version of it?

Any good links, documents, litreature, how to configure <b>NWDS with CHECKSTYLE</b> for supported plugins?

Thanx

Bhardwaj

Message was edited by: Saurabh Bhardwaj

detlev_beutner
Active Contributor
0 Kudos

Hi Bhardwaj,

check put http://eclipse-cs.sourceforge.net/release_notes.html ==>

"Release 3.5.0

Updated to Checkstyle 3.5.

Note: This is likely to be the last release supported on Eclipse 2.x. "

3.5 can be downloaded here: http://prdownloads.sourceforge.net/eclipse-cs/com.atlassw.tools.eclipse.checkstyle_3.5.0-bin.zip?dow...

Hope it helps

Detlev

PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

Former Member
0 Kudos

Hi Detlev,

Thanx for the info, But how do i find out which version of eclipse is my NWDS built on?

Also, I would be greatful if you can explain me this eclipse-NWDS-checkstyle interlinking, what i mean to say is that, in the link that u gave me <a href="http://eclipse-cs.sourceforge.net/release_notes.html">http://eclipse-cs.sourceforge.net/release_notes.html</a>, u already mentioned about Release 3.5.0 in ur post, and that is why, i was able to easily go to that Release in that page,but had u not not me, i would have not been able to figure out which release is approprate because there are so many releases w.r.t checkstyle in that page.

I mean , i still have not been able to figure out which one is the most appropriate, for example why only <b>Release 3.5.0</b> and why not any one of the following :

<b>Release 4.0.0a4

Plugin now uses plain checkstyle configuration files</b>

or

<b>

Release 4.0.0b1

Uses checkstyle-4.0-beta2</b>

or

<b>Release 4.0.0b3

Uses Checkstyle 4.0 beta3</b>

or

<b>Release 4.0.0b4

Updated to Checkstyle 4.0 beta4</b>

or

<b>Release 4.0.0 final

Updated to use Checkstyle 4.0 final.</b>

Thanx and regards

Bhardwaj

PS ; Ur points.

detlev_beutner
Active Contributor
0 Kudos

Hi Bhardwaj,

> which version of eclipse is my NWDS

Help - About SAP NetWeaver Developer Studio - Eclipse-Picture - check the version of the Eclipse Platform; for NWDS 2.0.15 it is 2.1.2.

> why only Release 3.5.0

Because the plugin mechanism / architecture has changed a lot from Eclipse 2.x to Eclipse 3.x; therefore most plugins working for Eclipse 2.x won't work for Eclipse 3.x

> eclipse-NWDS-checkstyle interlinking

Eclipse is the basis. SAP removed some features / plugins and added a lot of others, renaming the result to "NWDS". The technical basis stays Eclipse 2.1.2 (in fact, at SAP, also Eclipse 3 is used, but it's only internally). Checkstyle is independent from Eclipse, but the Checkstyle Eclipse plugin, what is what you would like to use, is dependent on the correct plugin-level.

Hope it helps

Detlev

Former Member
0 Kudos

Hi,

A very Helpful answer. Thanx.

One more thing. Is checkstyle very commonly used with NWDS across projects? what is the percentage that checkstyle is used among developers? Any Limitations of checkstyle?

Links will be appreciable.

Thanx,

Bhardwaj

detlev_beutner
Active Contributor
0 Kudos

Hi Bhardwaj,

> Is checkstyle very commonly used

> with NWDS across projects

To answer this, you would have to ask around 1.000 developers to get a good statistical answer

Anyhow, I know of noone using it, probably due to the 2.1.x-thing. When we developed two years ago with Eclipse + portal plugins (no NWDS) and Eclipse 2.1.x was current, we for example used CheckStyle.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

Can you refer me to some links where i can find out more about checkstyle, like how to use it, drawbacks, limitations etc? Also, if there is, then what would be an alternate for checkstyle?

Thanx

Bhardwaj

Message was edited by: Saurabh Bhardwaj

detlev_beutner
Active Contributor
0 Kudos

Hi Bhardwaj,

it is almost two years ago that I did a comparison of different tools. CheckStyle and PMD have been the best tools. CheckStyle was triggered even if switched off, I raised a bug message and it was stated as closed some months later.

Just look out on google for "checkstyle pmd eclipse static code" for example to get an overview.

How to use it etc: Check out the Checkstyle homepage. Anyhow, it's relatively easy.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Bhardwaj,

I am personally using findbugs. If you want to see a list of such tools and features, here is a nice starting point :

http://java-source.net/open-source/code-analyzers

Btw, if you are considering usage of CheckStyle in a big project, have a look at that link :

http://qalab.sourceforge.net/

that should be able to launch several tools (PMD, Checkstyle,etc.) and provide a chart and analysis of the trends.

Hope it helps

Best Regards

Peter

Former Member
0 Kudos

Hi Peter,

Thanx for the links. This is regarding QALAB. For QALAB to function do need to already have QA Tools like checkstyle, pmd, findbugs and simian implemented in my system? from what i gather is that QALABS is basically meant for comparing all the tools mentioned above. Correct me if im wrong.

I have still not been able to figue out what exactly is it meant for. Can please help me with that.

Regards

Bhardwaj

Former Member
0 Kudos

Hi,

I did not get Checkstyle 3.5 download at anywhere. Is there any tool which can be integrated with NWDS to automate the testing of 'Naming conventions' etc.? Is there any other way to serve this purpose?

Regards,

Vishal