Solved

JSP Documentation...

Posted on 2004-04-22
11
347 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
jersey maven project error 7 142
Retrieving file from bytes array in spring mvc 8 62
countXY challenge 28 161
thymeleaf natural templating vs JSP 2 138
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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