[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Add in missing javahl-java and javahl-javah dependencies

From: David James <staple_at_gmail.com>
Date: 2004-09-19 08:29:03 CEST

(As per Jani Averbach's request, I have reformatted my log message and
reattached my patch. See below.)

This patch fixes the dependency problems with javahl-java and
javahl-javah by making all .class files dependent on all .java files.

This patch also solves the bug behind issue 2039:
<http://subversion.tigris.org/issues/show_bug.cgi?id=2039>

* build/generator/gen-base.py
 (gen_base.TargetJavaClasses.add_dependencies): Add class file to
    dependency list instead of source file.

* build/generator/gen_make.py
  (gen_make.Generator.write): Switched TargetJavaClasses rules to
     depend on the object files instead of the source files. These
     object files are generated in a single call to 'javac'. This
     change prevents unnecessary regeneration of .class files.
  (gen_make.Generator.write): Switched TargetJavaHeaders rules to
     depend on the header files instead of the source files. These
     header files are generated in a single call to 'javah'. This
     change prevents unnecessary regeneration of .h files.
  (gen_make.Generator.write): Added code to keep track of
     dependencies for new TargetJavaHeaders and TargetJavaClasses rules

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Sep 19 08:29:23 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.