WordRider Home
Welcome! Log In Create A New Profile

Advanced

How to build/debug/develop FRD?

Posted by leverpusher 
How to build/debug/develop FRD?
January 23, 2012 09:20AM
Hi all, I've downloaded source code from svn (actually just directories [svn.wordrider.net] and [svn.wordrider.net]).

All I want is to modify/update existing plugin. First of all I'd like to "study" its behavior. I suppose I can open sources with Eclipse/NetBeans/IntelliJ and run FRD application in "debug" mode. I have Eclipse installed. My problem is that I don't see any "project" files, just build.xml (which is for ant).

Could you help me start debugging please?

I'm not very used to Java, but I understand C/C++/C#, I know RegEx's and I know how HTTP/HTML works so I think I can develop plugins. My only lack is that I don't know how to start smiling smiley

Thanks for responses.
Re: How to build/debug/develop FRD?
January 23, 2012 09:31AM
We have video tutorials for it:
[wordrider.net]

-------------------------------------

Re: How to build/debug/develop FRD?
January 23, 2012 09:33AM
We have some videos available here (login with forum account): [wordrider.net]

Basically, each plugin has its own TestApp class which is used for developing and testing the plugin. The "newplugin" Ant task creates the basic structure for a new plugin from templates.

If you have any more questions, don't hesitate to ask. smiling smiley
Re: How to build/debug/develop FRD?
January 23, 2012 10:36AM
Thank you for answers! I am trying to follow [wordrider.net]

I've downloaded IntelliJ, checked-out trunk of freerapid-plugins. IDE wants me to configure Java SDK, so I've set my installation of SDK:
[i.imgur.com] (right?)

Then I set that jpf.jar sources zip file:
[i.imgur.com] (right?)

I try to run TestApp for titulky.com plugin but I get errors, first one reads:
"package cz.vity.freerapid.plugins.dev does not exist"
[i.imgur.com]

Did I configure something wrong? IDE configuration part of video tutorial is very fast and I think I don't get it right :(
Re: How to build/debug/develop FRD?
January 23, 2012 10:39AM
You have to add "dev" folder among src folders.
Press ctrl+shift+alt+s , Sources tab, find dev folder and mark it for source codes.

-------------------------------------

Re: How to build/debug/develop FRD?
January 23, 2012 11:20AM
Added directory, marked as "sources" but problem still remains sad smiley
[i.imgur.com]
Re: How to build/debug/develop FRD?
January 23, 2012 11:28AM
In the modules, not in libraries.

-------------------------------------

Re: How to build/debug/develop FRD?
January 23, 2012 11:44AM
Added "dev" directory to "sources" tab... Still says "package cz.vity.freerapid.plugins.dev does not exist"
[i.imgur.com]

I tried to check checkbox on Dependencies tab:
[i.imgur.com]

And now I get 2 errors: "cannot find symbol class TitulkyServiceImpl" (trying to Compile TestApp for titulky.com plugin). Ach jo...
Re: How to build/debug/develop FRD?
January 23, 2012 11:51AM
Expand the src folder, highlight everything inside, and press the "Sources" button:

[oi43.tinypic.com]

You'll have to repeat this every time a new plugin is added, either with the ant task or by checking out from SVN.



Edited 1 time(s). Last edit at 01/23/2012 11:52AM by ntoskrnl.
Re: How to build/debug/develop FRD?
January 23, 2012 12:43PM
Sorry for bothering you, but IDE still cannot find package "cz.vity.freerapid.plugins.services", even if I did what ntoskrnl supposed to do:
[i.imgur.com]

Thank you for your quick and willing replies, but they seem to be wasted on me sad smiley
Sorry, only registered users may post in this forum.

Click here to login