Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

JSP Documentation...

Posted on 2004-04-22
11
Medium Priority
?
354 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 

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 1920 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know there are services out there that can turn an Instagram feed into an RSS feed? I found some interesting exclusive Instagram content which I wanted to follow without signing up for yet another social media account. RSS to the rescue!
Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

824 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