Merge lp://staging/~alex-idereal/bzr-java-lib/fetch-xmloutput-during-build into lp://staging/bzr-java-lib
Proposed by
Alexander Taler
Status: | Merged |
---|---|
Merged at revision: | 250 |
Proposed branch: | lp://staging/~alex-idereal/bzr-java-lib/fetch-xmloutput-during-build |
Merge into: | lp://staging/bzr-java-lib |
Diff against target: |
375 lines (+259/-22) 8 files modified
.bzrignore (+1/-21) .classpath (+36/-0) .project (+23/-0) pom.xml (+74/-0) scripts/fetch-bazaar-plugins.bat (+35/-0) scripts/fetch-bazaar-plugins.sh (+58/-0) src/test/java/org/vcs/bazaar/client/commandline/commands/PluginsTest.java (+2/-1) src/test/java/org/vcs/bazaar/client/testUtils/BazaarTest.java (+30/-0) |
To merge this branch: | bzr merge lp://staging/~alex-idereal/bzr-java-lib/fetch-xmloutput-during-build |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Piotr Piastucki | Approve | ||
Review via email:
|
Description of the change
I've made changes to the build of bzr-java-lib so that it searches for and uses a checked out version of xmloutput instead of grabbing the one in the home directory. This was necessary for me because I was testing Piotr's recent changes to bzr-xmloutput, but wasn't ready to put them into my main bazaar plugins folder.
To post a comment you must log in.
I like the idea of automating bzr-java-lib build very much, however, I see a couple of issues with the proposed implementation.
1) BZR_PLUGIN_PATH env variable should not be overwritten by Java code or in any other way if the variable is already set by the user.
Currently setting BZR_PLUGIN_PATH pointing to any folder (e.g. Eclipse workspace with bzr-xmloutput) makes it really easy to run bzr-java-lib tests against different versions of xmloutput and check backward compatibility for instance. I would like to see some check before an attempting to discover xmloutput location and setting the variable.
2) The scripts (fetch- bazaar- plugins. bat, fetch-bazaar- plugins. sh) are inconsistent.
IMHO they should do the same regardless of OS i.e. create a local folder and check out xmloutput source code from launchpad. I am not sure if the script should do anything if BZR_PLUGIN_PATH is already set or not.
3) Scripts location. "bin" is usually considered the default output folder location in Eclipse when maven is not used. It might be a bit confusing for some developers to see some scripts there :) Please consider moving the scripts to root folder or rename "bin" to "scripts" or something similar.