Jonathan Costers (JIRA) wrote:
[ https://issues.apache.org/jira/browse/RIVER-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693546#action_12693546 ]
Jonathan Costers edited comment on RIVER-272 at 3/29/09 5:50 PM:
-----------------------------------------------------------------

Thanks for the code! I'm testing it right now.
If all seems to work, I'll provide a patch for build.xml and integrationtest.xml
Tim Blackman deserves the credit for the code, I just back ported it.

Cheers,

Peter.
EDIT: I have successfully built and run ClassDepend on a number of JAR targets in the QA suite build. It seems to calculate the same dependencies as ClassDep. However, the command line options are not the same as for ClassDep, so integrating it into the build would require quite some work. Not impossible though.

Also, how do we best handle the dependency on ASM?
Best
Jonathan

      was (Author: jcosters):
    Thanks for the code! I'm testing it right now.
If all seems to work, I'll provide a patch for build.xml and 
integrationtest.xml too.

Best
Jonathan
ClassDep.java relies on Sun specific Internal JDK API ------------------------------------------------------

                Key: RIVER-272
                URL: https://issues.apache.org/jira/browse/RIVER-272
            Project: River
         Issue Type: Improvement
         Components: com_sun_jini_tool
   Affects Versions: jtsk_2.1
        Environment: Windows XP, JDK 1.4 - JDK 1.6, Eclipse 3.3 IDE
           Reporter: Hakan Kocakulak
        Attachments: classdepend.zip, classdepend_backport.tgz


ClassDep.java relies on Sun specific Internal JDK API import sun.tools.java.BinaryClass;
import sun.tools.java.ClassDeclaration; import sun.tools.java.ClassFile; import sun.tools.java.ClassNotFound; import sun.tools.java.ClassPath; import sun.tools.java.Constants; import sun.tools.java.Environment; import sun.tools.java.Identifier; import sun.tools.java.MemberDefinition; import sun.tools.java.Package; import sun.tools.java.Type;
while building from eclipse IDE, IDE do not add these Classes to classpath and 
can not build project.


Reply via email to