[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

JSP Documentation...

Hallo Experts,

I found a nice tutorial for JSP documentation(which generates similar to javadoc) in

http://opensource.yourdecor.ca/jspdoc/

but unfortunately i could not get an idea of how to do it. I am using Tomcat 5.0 Webserver, j2sdk1.4.2...in that link they just gave to build documentation from ANT.

Can anyone use the link and tell me how i can proceed further... i think it will just take some minutes for experts(not for me!)...i tried my best but because i am a learner i could not  do it.

Experts please give a brief introduction of how i can generate JSP Documentation from the above link application.

PS: I was able to compile all the given files (by changing (in the DirTree.java file) the source directory of JSP files and Destination directory of HTML generated files according to my programs). I am getting NoClassDefError when i try to run it...even i set the classpath correctly.


Anticipating your reply,

Best Regards,
Jagdeesh.
0
jaggybala2
Asked:
jaggybala2
  • 7
  • 3
1 Solution
 
TimYatesCommented:
Isn't it just a case of downloading the required software:

    *  Jakarta Ant. This is needed if you want to build the docs from an Ant Task. Ant can be found here. I'm currently using version 1.4.1.
    * GNU Regexp. This is the GNU project java regular expression package that is needed to assist in the parsing of the JSP pages. GNU Regexp can be found here. I'm currently using version 1.1.4.

and then following the documentation here:

http://opensource.yourdecor.ca/jspdoc/#install

?

What's the probelme with it?
0
 
jaggybala2Author Commented:
The installation is a problem for me:

1. I dont know how to include the build file in ant. ( I am new for ANT)...Can i just use their code in Tomcat and try to execute, run their code!?...If so, please tell me how.

2. Or, please suggest me step-by-step(because i am just a learner) of how i can integrate the software with ANT, GNU Regexp and how i can compile and run according to my JSP files.(or with their SAMPLE JSP Pages, at first).

Thanx for ur help.

- Jagdeesh.
0
 
jaggybala2Author Commented:
> Can i just use their code in Tomcat and try to execute, run their code!?...If so, please tell me
> how.

i am sorry...can i use the JSPDOC software without using ANT..

the instllation notes given in the site is not clear for me. I dont know even what is GNURegexp and what for ANT is used !
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
jaggybala2Author Commented:

Any help/suggestions experts...Please help me out.

Thanks,
jaggybala.
0
 
jaggybala2Author Commented:


!!!!!!!!!??????????

Please do help me out experts.....or some suggestion of installing the JSPDOC software ASAP.

Eagerly anticipating your reply...

- jaggybala.
0
 
jaggybala2Author Commented:


--- Experts.....pls give me a hint ...

Thanx,
jaggybala.
0
 
jaggybala2Author Commented:
Hallo Expeerts,

Finally, i tried and got the result. If anyone has doubts in doing JSP Documentation, u can contact me...

- jaggybala.
0
 
TimYatesCommented:
Did you have to install Ant and GnuRegexp?
0
 
jaggybalaCommented:

No need to install ant...but we have to install GnuRegExp(has to be in the classpath).

BTW, i suceeded with 14-october-2003 version of jspdoc.

JSPDOC main files:

jsppage.java  --> Describes what things to be documented(Parameters, pages included, etc..)
DirTree.java --> Decribes which JSP files and which directories to be documented.

- jaggybala.
0
 
TimYatesCommented:
You are only allowed one account in Experts-exchange, and accepting your own answer is definately not allowed

You should have posted a question in Community Support:

http://www.experts-exchange.com/Community_Support/

Asking for this question to be closed...
0
 
jaggybala2Author Commented:
hallo,

i dont know this rule....in such case u can cancel my other account...

thank u...
-jaggybala.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 7
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now