[kepler-dev] [Bug 5554] Build system doesn't recompile using dependencies
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Wed Jan 11 11:31:08 PST 2012
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5554
Christopher Brooks <cxh at eecs.berkeley.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hours Worked| |0.5
Status|NEW |RESOLVED
CC| |cxh at eecs.berkeley.edu
Resolution| |FIXED
--- Comment #1 from Christopher Brooks <cxh at eecs.berkeley.edu> 2012-01-11 11:31:08 PST ---
Folded in d. hogan's patch that optionally adds ant dependency analysis.
>From the command line, use:
ant compile -Ddepend=true
or edit build-area/settings/build-properties.xml
Below is an example run, first with the default (depend=false)
and then with dependency analysis.
--start--
bash-3.2$ touch ../r/src/org/ecoinformatics/seek/R/RConsole.java
touch ../r/src/org/ecoinformatics/seek/R/RConsole.java
bash-3.2$ ant compile
...
[compile] Compiling r...
[compile] Compiling 1 source file to /Users/cxh/src/kepler/r/target/classes
[compile] Compiling apple-extensions...
bash-3.2$ touch ../r/src/org/ecoinformatics/seek/R/RConsole.java
bash-3.2$ ant compile -Ddepend=true
...
[compile] Compiling r...
[compile] Deleted 2 out of date files in 0 seconds
[compile] Compiling 2 source files to /Users/cxh/src/kepler/r/target/classes
[compile] Note:
/Users/cxh/src/kepler/r/src/org/ecoinformatics/seek/R/RExpression2.java uses or
overrides a deprecated API.
[compile] Note: Recompile with -Xlint:deprecation for details.
[compile] Note:
/Users/cxh/src/kepler/r/src/org/ecoinformatics/seek/R/RExpression2.java uses
unchecked or unsafe operations.
[compile] Note: Recompile with -Xlint:unchecked for details.
[compile] Compiling apple-extensions...
--end--
Note that with dependency analysis, two file were recompiled.
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Kepler-dev
mailing list