Solved

JSP Documentation...

Posted on 2004-04-22
11
344 Views
Last Modified: 2012-08-14
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
Comment
Question by:jaggybala2
  • 7
  • 3
11 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 10887552
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
 

Author Comment

by:jaggybala2
ID: 10887578
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
 

Author Comment

by:jaggybala2
ID: 10887637
> 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
 

Author Comment

by:jaggybala2
ID: 10893333

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

Thanks,
jaggybala.
0
 

Author Comment

by:jaggybala2
ID: 10901431


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

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

Eagerly anticipating your reply...

- jaggybala.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:jaggybala2
ID: 10907171


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

Thanx,
jaggybala.
0
 

Author Comment

by:jaggybala2
ID: 10910340
Hallo Expeerts,

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

- jaggybala.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 10916108
Did you have to install Ant and GnuRegexp?
0
 

Accepted Solution

by:
jaggybala earned 480 total points
ID: 10916554

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
 
LVL 35

Expert Comment

by:TimYates
ID: 10916579
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
 

Author Comment

by:jaggybala2
ID: 10917336
hallo,

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

thank u...
-jaggybala.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now