Menu

JavaSrc used at Apache

2002-04-27
2003-03-11
  • Nicola Ken Barozzi

    I'm using JavaSrc with some projects at Jakarta Apache I'm working on.

    Look at the "source" link at http://jakarta.apache.org/poi/ .

    There is a project at Jakarta called Alexandria that was started to make project documentation like JavaSrc, but it has no more active developers.

    I would like to revitalize it and would like to ask if you would be willing to donate the code to Apache.

    nicolaken@apache.org

     
    • Bill Smith

      Bill Smith - 2002-04-28

      Yes, I'm willing to donate Javasrc.  I'm also willing to participate in improving Javasrc -- but I'm just one guy with a full-time job, and Javasrc was something I did at home in my spare time.

      I haven't looked at Alexandria in a while, but my first impression was that it suffered from overly ambitious goals.  Which aspects of Alexandria are you interested in?

       
    • Nicola Ken Barozzi

      GREAT :-D

      Alexandria *did* suffer from overly ambitious goals, and it died because of this.

      Now other projects are filling the place Alexandria wanted also to have, and now it can be:

      Alexandria: interproject linked documentation with Javadocs, Javasrc, UmlDoclet (I made it work again ;-) , Jdepend.... Basically java cross-reference stuff
      Gump: Automatic builds with latest source for ontinuous integration
      Forrest (xml-apache): Sourceforge the Apache-way
      Krysalis Centipede: project build system.

      As you see, I'm trying to revive Alexandria by giving it a more realistic goal.

      If you're ok with it, I will post a mail on the alexandria mailing list with a proposal of putting Javasrc in there and integrating with javadocs etc.

      You can mail me at nicolaken@apache.org

      Cool! :-D

       
    • Nicola Ken Barozzi

      Javasrc has been committed in the Jakarta Alexandria cvs repository.

      For info about CVS repositories on Jakarta, http://jakarta.apache.org/

       
      • Vadim Nasardinov

        Bill,

        Did JavaSrc really move to Jakarta? The parent message (https://sourceforge.net/forum/message.php?msg_id=1667953) seems to imply so.

        However, http://cvs.apache.org/viewcvs/jakarta-alexandria/javasrc/src/java/org/apache/alexandria/javasrc/ shows a bunch of empty directories.  No files seem to have been committed. (I may be looking in the
        wrong place though.)

        The reason I'm asking is because the version of JavaSrc that I grabbed from http://sourceforge.net/project/shownotes.php?release_id=77484 has this annoying feature where it prints a gazillion warnings that look like so:

        detected infinite loop: Initializer|Initializer|-1|null
        java.lang.Exception
            at javasrc.symtab.ClassDef.lookup(ClassDef.java:163)
            at javasrc.symtab.ClassDef.lookup(ClassDef.java:185)
            at javasrc.symtab.JavaStack.lookup(JavaStack.java:48)

        I thought JavaSrc was broken in that it couldn't deal with our code. The warning made it look like a fatal error, so I had to Ctrl-C out of it.  Today, I decided to give it another try and see if I could fix this.  Turns out, the above exception is not an error - it's just a warning.  What makes it look like an error is the peculiar idiom used for dumping the stack trace, i.e. at line 163 in ClassDef.java, we find
          new Exception().printStackTrace();

        A better way to do this would be
          Thread.dumpStack();

        Anyway, is this the proper forum for further questions/discussion or did the project migrate to the Jakarta site?

         
        • Vadim Nasardinov

          Forgot to mention: JavaSrc is great stuff.

          I do believe it would be even better if line 160 in ClassDef.java read:

          String goal = getQualifiedName() + "|" + getQualifiedName() + "|" + numParams + "|" + type;

          or some such, instead of

          String goal = getName() + "|" + getName() + "|" + numParams + "|" + type;

           
        • Bill Smith

          Bill Smith - 2002-12-11

          Thanks for asking.  Jakarta is still interested in Javasrc, but they need to clear up some licensing (or lack of licensing) issues first.  I owe the Apache folks a few pieces of information.  Thank you for reminding me about this.

           
          • Vadim Nasardinov

            Yes, lack of licensing is often frowned upon in certain circles.  Check out Rick Moen's rant about qmail, if you haven't already:

            http://www.linuxmafia.com/~rick/faq/#djb

             
          • Vadim Nasardinov

            Bill,

            What's the status of the SF-to-Jakarta transition?  The placeholder for JavaSrc over at the Jakarta CVS server is still empty. For example:

            http://cvs.apache.org/viewcvs/jakarta-alexandria/javasrc/src/java/org/apache/alexandria/javasrc/symtab/

            There hasn't been any CVS activity in the SourceForge-hosted repository since Apr 4, 2002.  Are
            the Jakarta people still planning on taking over from you?

             
            • Bill Smith

              Bill Smith - 2003-03-11

              Good question.  Both of the primary authors submitted the appropriate paperwork to Apache -- albeit after a long delay.  I haven't heard anything since.

               
              • P Lander

                P Lander - 2003-03-11

                I hope something happens soon.  I would like to get the parser fixed since it currently dies on some 1.4 code in our baseline.

                 
            • Vadim Nasardinov

              I emailed Nicola directly and received the following response from  him:

                Vadim Nasardinov wrote, On 10/03/2003 19.05:

                > Nicola,
                >

                > I was wondering if you could comment on the question I posted on the JavaSrc
                > forum:
                >

                > https://sourceforge.net/forum/forum.php?thread_id=673024&forum_id=143441

                I'll commit it to the CVS before the end of this week.

                Please post this comment on the forum, because currently I don't have
                mail access, thanks :-)

                --
                Nicola Ken Barozzi                   nicolaken@apache.org
                             - verba volant, scripta manent -
                    (discussions get forgotten, just code remains)
                ---------------------------------------------------------------------

               
    • Jeff Martin

      Jeff Martin - 2002-11-18

      Anyone feel like inputing into another one of my overly ambitious goals, and help get the ideas that I was trying to use for JXR2 of the ground again.

      The basic idea is to convert the java AST into SAX events allowing any SAX compliant rendering engine to be plonked on top.

       

Log in to post a comment.