You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2010/02/19 01:04:09 UTC
More options for dependency change checking
In the context of the speedy development of trunk, the dependency
change mojo is turning out to be a pain to deal with. To try to help
with this I've added a couple more options and enabled setting them
from the command line. See GERONIMO-5149
warnOnDependencyChange (instead of fail)
logDependencyChanges (writes the added and removed to the log if non-
empty, as well as saving to files)
– this should make seeing why remote builds fail easier when you can't
get to the added/removed files
overwriteDependencies (overwrites the dependencies.xml source file if
dependencies have changed.)
– this makes it easy to use svn diff to look at changes and to commit
the changes right away if desired.
I'd like to suggest that our automated builds run with -
DlogDependencyChanges=true and all but once a day with -
DwarnOnDependencyChange=true
The goal is to usually let people search the logs for what changed and
to have one build a day that fails if there's been a dependency change.
The overwriteDependencies option should be helpful when you actually
want to change the dependencies. It will let you examine changes
using svn diff.
thanks
david jencks
Re: More options for dependency change checking
Posted by Rick McGuire <ri...@gmail.com>.
On 2/18/2010 7:04 PM, David Jencks wrote:
> In the context of the speedy development of trunk, the dependency
> change mojo is turning out to be a pain to deal with. To try to help
> with this I've added a couple more options and enabled setting them
> from the command line. See GERONIMO-5149
>
> warnOnDependencyChange (instead of fail)
>
> logDependencyChanges (writes the added and removed to the log if
> non-empty, as well as saving to files)
> – this should make seeing why remote builds fail easier when you can't
> get to the added/removed files
>
> overwriteDependencies (overwrites the dependencies.xml source file if
> dependencies have changed.)
> – this makes it easy to use svn diff to look at changes and to commit
> the changes right away if desired.
I just tried using this, and it didn't work. The option is implemented
as "overwriteChangedDependencies".
Rick
>
> I'd like to suggest that our automated builds run with
> -DlogDependencyChanges=true and all but once a day with
> -DwarnOnDependencyChange=true
>
> The goal is to usually let people search the logs for what changed and
> to have one build a day that fails if there's been a dependency change.
>
>
>
> The overwriteDependencies option should be helpful when you actually
> want to change the dependencies. It will let you examine changes
> using svn diff.
>
>
>
> thanks
>
> david jencks