Advertisement
tinyevil

Untitled

Jun 21st, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. cold run:
  2. javac A.java B.java C.java D.java
  3. # outputs A.class B.class C.class D.class
  4. # also gives you:
  5. # A.java: A.java C.java lib/Foo.java lib2/Bar.java
  6. # B.java: B.java lib/Foo.java
  7. # C.java: C.java B.java
  8. # D.java: D.java
  9.  
  10. on the next run, lets assume lib/Foo.java and D.java changed
  11. you need to run
  12. javac A.java B.java D.java
  13. # updates A.class B.class D.class
  14. # also gives updated dependency list
  15. # A.java: A.java C.java lib/Foo.java lib2/Bar.java lib/Qwe.java
  16. # B.java: B.java lib/Foo.java lib/Qwe.java
  17. # D.java: D.java lib/Foo2.java
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement