tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Tribes
Date Mon, 17 Aug 2009 13:46:21 GMT

add these properties to properties,classpath and target for apache-tomcat-6.0.20-src build.xml

  <property name="commons-logging.jar" value="C:/commons-logging/commons-logging-1.0.4/commons-logging.jar"/>
  <property name="tools-ant.jar" value="C:/ANT/apache-ant-1.7.1/lib/ant_jar/org/apache/tools/ant/ant.jar"/>
  <property name="log4j.jar" value="C:/Log4J/apache-log4j-1.2.15/log4j-1.2.15.jar"/>
  <property name="eclipse.jar" value="C:/Eclipse/eclipse/plugins"/>
  <property name="jaxrpc.jar" value="C:/JAXRPC/jaxrpc.jar"/>
  <property name="wsdl4j.jar" value="C:/AXIS/axis2-1.5/stagingRepo/axis2-1.5/lib/wsdl4j-1.6.2.jar"/>
  <property name="puretls.jar" value="C:/TOMCAT/apache-tomcat-6.0.14-src/output/build/puretls.jar"/>
    <!-- Classpath -->
    <path id="tomcat.classpath">
      <pathelement location="${puretls.jar}"/>
      <pathelement location="${ant.jar}"/>
      <pathelement location="${jdt.jar}"/>
      <pathelement location="${log4j.jar}"/>
      <pathelement location="${tools-ant.jar}"/>
      <pathelement location="${commons-logging.jar}"/>
      <pathelement location="${eclipse.jar}"/>    
      <pathelement location="${jaxrpc.jar}"/>
      <pathelement location="${wsdl4j.jar}"/>
  </path>
  
<!-- MCG new target for Javadoc-->
  <target name="javadoc" depends="compile">
    <javadoc
             destdir="webapps/docs/api"
             author="true"
             version="true"
             use="true"
             windowtitle="TOMCAT API"
             sourcepath="java"
             classpathref="tomcat.classpath">
  
      <packageset dir="java" defaultexcludes="no">
        <include name="javax/annotation/**"/>
        <include name="javax/ejb/**"/>
        <include name="javax/el/**"/>
        <include name="javax/mail/**"/>
        <include name="javax/persistence/**"/>
        <include name="javax/servlet/**"/>
        <include name="javax/xml/**"/>
        <include name="org/apache/**"/>
      </packageset>
  
      <doctitle><![CDATA[<h1>TitleGoesHere</h1>]]></doctitle>
      <bottom><![CDATA[<i>Copyright &#169; 2009 Tomcat cats. All Rights
Reserved.</i>]]></bottom>
      <tag name="todo" scope="all" description="To do:"/>
      <group title="Annotation Packages" packages="javax.annotation.*"/>
      <group title="EJB Packages" packages="javax.ejb.*"/>
      <group title="Base EL Packages" packages="javax.el.*"/>
      <group title="Mail Packages" packages="javax.mail.*"/>
      <group title="Persistence Packages" packages="javax.persistence.*"/>
      <group title="Servlet Packages" packages="javax.servlet.*"/>
      <group title="Catalina Packages" packages="org.apache.catalina.*"/>
      <group title="Coyote Packages" packages="org.apache.coyote.*"/>
      <group title="Apache EL Packages" packages="org.apache.el.*" />
      <group title="Apache Jasper packages" packages="org.apache.jasper.*"/>
      <group title="Apache JK packages" packages="org.apache.jk.*"/>
      <group title="Apache Juli packages" packages="org.apache.juli.*"/>
      <group title="Apache naming packages" packages="org.apache.naming.*" />
      <group title="Apache tomcat core packages" packages="org.apache.tomcat.*" />
      <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" packagelistLoc="C:\tmp"/>
      <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/>
  </javadoc>
  </target>

produces i nice indexed html formatted javadocs for all aforementioned packages
source is from java folder and outputs html to webapps/docs/api

java -version
Runtime_Environment (build 1.6.0_12-b04)

ant -version
1.7.1 compiled on June 27 2008

as suggested i'll put in jira..
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.




> Date: Sat, 8 Aug 2009 18:52:26 +0400
> Subject: Re: Tribes
> From: knst.kolinko@gmail.com
> To: users@tomcat.apache.org
> 
> Martin,
> 
> maybe you have not noticed them, but the JavaDocs are already there,
> 
> http://tomcat.apache.org/tomcat-6.0-doc/api/index.html
> http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/tribes/package-summary.html#package_description
> 
> Also, they are included into the "fulldocs" bundle in the release.
> http://www.apache.org/dist/tomcat/tomcat-6/v6.0.20/bin/
> 
> If you consider any improvements, please file an issue. Patches are welcomed.
> 
> Best regards,
> Konstantin Kolinko
> 
> 2009/8/4 Martin Gainty <mgainty@hotmail.com>:
> >
> > i like Ant javadoc as a follow-up task for javac ..(part of the build process)
> > you create the package/class
> > javadoc task will automatically create 'linted html'
> > ANTS javadoc also has ability to read css stylesheet so you can
> > bold method explanations
> > italicise annotations
> >
> > http://ant.apache.org/manual/CoreTasks/javadoc.html
> >
> > prob the only thing ant javadoc wont do is translate to german,swedish,french..
> >
> > you would also need to add in examples..
> >
> > another format would be pdf which would easily be accomplished thru FOP
> >
> > Martin Gainty
> > ______________________________________________
> > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> >
> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein,
so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer
Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und
entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails
koennen wir keine Haftung fuer den Inhalt uebernehmen.
> > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.
> >
> >
> >
> >
> >> Date: Mon, 3 Aug 2009 08:52:27 -0600
> >> From: devlists@hanik.com
> >> To: users@tomcat.apache.org
> >> Subject: Re: Tribes
> >>
> >> I will work on better docs, in the mean time, quick start is here
> >>
> >> http://tomcat.apache.org/tomcat-6.0-doc/tribes/introduction.html
> >>
> >>
> >> On 08/03/2009 06:02 AM, nash4403X wrote:
> >> > Filip-  Needless to say a product is as good as its documentation.
> >> >
> >> > I wanted to try tribes but without proper docs/articles and my limited
> >> > knowledge it's tough and make me look at other options. All I wanted to
do
> >> > is messaging with help of tribes in between 5 tomcat instances.
> >> > I wanted to have some code in my startup to instantiate the channel and
when
> >> > required all instances should receive or send messages to one another.
> >> >
> >> > Can you do the write up of an article on how to do this?
> >> >
> >> > I understand your valuable time and I volunteer to do an article on tribes
> >> > for messaging but only if I understand? Can you help please?
> >> >
> >> >
> >> >
> >> > Filip Hanik - Dev Lists wrote:
> >> >
> >> >> that is cause *one* of my flaws as a developer is that I'm not very
good
> >> >> at writing and maintaining docs
> >> >> there is a bit more here
> >> >> http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-channel.html
> >> >>
> >> >> the rest is in the code of the library, which isn't that big.
> >> >> if you have any specific questions let me know
> >> >>
> >> >> Filip
> >> >>
> >> >> Jorge Medina wrote:
> >> >>
> >> >>> Is there a way to get more documentation on the Tribes package
?
> >> >>> I would like to reuse the dynamic membership discovery feature
of
> >> >>> Tribes, but many of the links are not working on the page
> >> >>> http://tomcat.apache.org/tomcat-6.0-doc/tribes/introduction.html
> >> >>>
> >> >>> Thanks
> >> >>>
> >> >>> -Jorge
> >> >>>
> >> >>>
> >> >>>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >
> > _________________________________________________________________
> > Get your vacation photos on your phone!
> > http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message