Re: dependency-detection in java - Take 2



Andreas Leitgeb <avl@xxxxxxxx> writes:
Michael Jung <miju@xxxxxxxxxxxxx> wrote:
This isn't only about SFFs, but also about classes changing
their interface incompatibly (could be a typo of the developer,
but without compiling the dependents, it may go unnoticed for
a while!)

Even if you get ant or some other semantic analyser to solve that problem
for you, you may still be stuck with the runtime problem, when someone in a
distributed environment compiled against an old constant.

The goal of this discussion is a build-process (but not the full one!),
which yields the same result regardless which of the java files were most
recently changed. So, in the end (almost) every developer would use
that build-process (just like almost everyone already uses ant now), and
given that they've checked out the same version, the'd get the same
jar-file (except for files' meta-information like timestamp)

Is this what you want: every time a file A changes, all dependant files (B)
should be recompiled automatically? (Because, as each developper compiles his
stuff B, javac will automatically determine that the A class file is older than
the A java file and recompile it, you can't mean that.)

What would the end result of such an automatic build be in case it yields lots
of errors? (Because the dependant javas don't compile anymore; incompatible
changes needed to be introduced.)

Michael
.



Relevant Pages

  • Re: Multiple developers, single solution
    ... We've got VSS that we plan to use. ... can't both be compiling whenever we need to because the other developer will ... > You want to use a version control tool - VSS, CVS, etc. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: dependency-detection in java - Take 2
    ... their interface incompatibly (could be a typo of the developer, ... but without compiling the dependents, ... The goal of this discussion is a build-process, ...
    (comp.lang.java.programmer)
  • Re: MDE? Need to destribute db to users who dont have Access
    ... You need to distribute the Access run-time, which is included with Office XP ... >I have Office XP Developer. ... >regard to compiling a distributable db app for users who ... Is it an "MDE"? ...
    (microsoft.public.access.forms)
  • Re: MDE? Need to destribute db to users who dont have Access
    ... You need to distribute the Access run-time, which is included with Office XP ... >I have Office XP Developer. ... >regard to compiling a distributable db app for users who ... Is it an "MDE"? ...
    (microsoft.public.access.security)
  • Re: MDE? Need to destribute db to users who dont have Access
    ... You need to distribute the Access run-time, which is included with Office XP ... >I have Office XP Developer. ... >regard to compiling a distributable db app for users who ... Is it an "MDE"? ...
    (microsoft.public.access.queries)