Re: javadoc and src location

From: Anjo Krank (kran..ogicunited.com)
Date: Mon Feb 14 2005 - 12:01:12 EST

  • Next message: Chuck Hill: "Re: javadoc and src location"

    All,

    a work of warning to those using "jadclipse" to get sources for classes
    that are not actually available: this doesn't work anymore with the
    src.jar method because WOLips relies on the default class file viewer.
    So you'll need to create a src.jar for these frameworks via sth like:

    # cat >makesrc
    cd $1/Resources/Java
    echo `pwd`
    rm src.jar
    mkdir j_clazz
    mkdir j_src
    cd j_clazz
    jar xvf ../*.jar
    jad -nonlb -o -s .java -d ../j_src -ff -l1000 -lnc -r `find ../j_clazz
    -name \*.class`
    cd ../j_src
    jar cvf ../src.jar *
    cd ..
    rm -Rf j_clazz j_src

    and run it via

    sudo sh makesrc /Library/Frameworks/Foo.framework

    Of course, this may not be allowed where you live *and* you run that at
    your own risk.

    Cheers, Anjo

    Am 13.02.2005 um 21:13 schrieb Donna McGahan:

    > Worked! It's great to have the ability to debug with frameworks again!
    >
    > Thanks for all the help,
    > D.
    >
    > On Feb 13, 2005, at 9:12 AM, Anjo Krank wrote:
    >
    >>
    >> Am 13.02.2005 um 15:09 schrieb Donna McGahan:
    >>
    >>> Is this in the latest WOLips in CVS? I'm not seeing this in the
    >>> build.xml of new projects, etc. Perhaps I'm looking in the wrong
    >>> place?
    >>
    >> I didn't add this to the templates, only to woproject and wolips.
    >> You'll want to add this to your own build.xml (after checking out the
    >> HEAD and installing).
    >>
    >> Cheers, Anjo
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Feb 14 2005 - 12:01:20 EST