Re: Dependency analysis



<groupknowledge@xxxxxxxxx> wrote in message
news:1133555241.469259.205030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I needed some help in figuring out how to approach the following
> problem:
> I am trying to use only some parts of a huge application. I am
> basically using only one class in my simple application that belongs to
> the huge app. Currently, I am having to manually import this class and
> then import all its dependencies and check for their dependencies and
> so on until all references are resolved. This is painful and I was
> wondering if it there was a simple script (ANT or otherwise) that given
> a particular java class, analyzes all the packages that are required to
> compile it (recursively) successfully, jars them into a single file?

If you have the source code for the huge application, you
can let javac do the work. Just delete all the class files and
compile that one class you use.


.



Relevant Pages

  • Dependency analysis
    ... I needed some help in figuring out how to approach the following ... then import all its dependencies and check for their dependencies and ... analyzes all the packages that are required to ... compile it successfully, jars them into a single file? ...
    (comp.lang.java.programmer)
  • Re: dependency scanner
    ... Ivy gave us a leg up on analyzing dependencies. ... Historically, this is done with configure, though ant ... packages that won't compile need to be skipped. ...
    (comp.lang.java.programmer)
  • Re: How would you handle this error 430 automation error?
    ... Next, open each project separately, set compatibility to binary and compile them. ... Store the dlls in the one output folder and add a reference to those dlls as needed in the toher projects instead of project references or project groups. ... dependencies and notice that my Project references are not persisting. ...
    (microsoft.public.vb.general.discussion)
  • Re: Im getting frustrated and angry!
    ... were abandoned when they made Java. ... Java allows circular dependencies which can only be ... Only if the "object files" don't exist at compile time. ... But why the attack on Ant? ...
    (comp.lang.java.help)
  • Re: Delphi 2005 - Is it going to be thanks for having wasted my time?
    ... > since you were not able to compile and it runs on another machine, ... I do agre that there must be some missing/incompatible dependencies. ... Converting a D7 Project to it... ... sure that uninstalling D2005 will really solve the problem (I cannot rely on ...
    (borland.public.delphi.non-technical)