Permalink
Commits on Jan 24, 2012
  1. Fixed the problem with one of the tests that sneaked in when improvin…

    …g the java home validation.
    szczepiq committed Jan 24, 2012
  2. Made sure decent messages are shown when incorrect java home configur…

    …ed. Some documentation tweaks. Some more coverage.
    szczepiq committed Jan 23, 2012
Commits on Jan 23, 2012
  1. generalized CodeNarc plugin

    - only applies reporting-base instead of groovy-base plugin
    - also configures tasks not added by the plugin (as good as it can)
    
    Note: If this is to stay, similar changes should be made to all other code quality plugins. Besides, it might be worthwile to make the plugins add a 'codeQuality' lifecycle task.
    pniederw committed Jan 23, 2012
  2. Never use null values for domain or workstation in NTLM credentials: …

    …they cause NPE in the authorization implementation
    
    - Permit 'DOMAIN/user' as well as 'DOMAIN\user' in username syntax
    - Extracted some code out of HttpResourceCollection into HttpClientConfigurer
    bigdaz committed Jan 23, 2012
  3. Refactored some jvm related logic into our Jvm utility...

    I've done it in a backwards compatible way, e.g. the old methods that looked up for executables are still delegating to ant utility. There's potential more work here but it's got to be safe and needs some incremental imprvement (deprecation fashion). If java home is provided the Jvm behaves strictly about finding java executables. Also there's a basic validation of provided javaHome.
    szczepiq committed Jan 23, 2012
  4. First step in moving the executable finding algorith to the Jvm where…

    … it actually belongs.
    szczepiq committed Jan 23, 2012
  5. updated test to changes in code

    pniederw committed Jan 23, 2012
  6. fixed license header

    pniederw committed Jan 23, 2012
  7. don't pass fork options to Ant because we now do the forking ourselve…

    …s (avoids Ant warning)
    pniederw committed Jan 23, 2012
  8. Moved package.

    szczepiq committed Jan 23, 2012
  9. Refactoring - dropped using internal protocol inteface to avoid addin…

    …g to the interface methods we don't use.
    szczepiq committed Jan 23, 2012
  10. Some refactoring so that short-circuit build env model does not need …

    …full daemon services.
    szczepiq committed Jan 23, 2012
  11. Housekeeping & refactoring.

    szczepiq committed Jan 23, 2012
  12. Fixed the problem with slf4j static configuration in the tooling api …

    …provider...
    
    Now we configure the static slf4j logging for tooling api provider only once per provider implementation (every provider implementation lives in safe environment - e.g. separate classloader). This has limitations, e.g. once the logging level has been set, you cannot change it for the same provider implementation (DefaultConnection). However, I don't think this is a big deal because provider api is pretty thin (not much logging). The internal verboseLogging property is still used by our tests and might be used by clients for troubleshooting. We still can change log levels for the build execution - however at the moment we don't offer log level configurable in the tooling api.
    
    -rationalized some code around embeddable logging
    -improved the related coverage
    szczepiq committed Jan 23, 2012
  13. Added more integ coverage related to logging in the tooling api. Nece…

    …ssary before refactorings related to logging / slf4j global configuration.
    szczepiq committed Jan 22, 2012
  14. Better support for NTLM credentials

    - Handle usernames in the form of DOMAIN\username
    - Use http.auth.ntlm.domain system property if domain is not encoded in username
    bigdaz committed Jan 23, 2012
  15. Re-added support for http proxy authentication

    - Supply username/password credentials for use with any authentication scheme
    - Supply NTML-style credentials for use with NTLM authentication
       - Currently no value set for 'domain'
    - Integration test for proxy authentication (and TestProxyServer fixture to assist with testing)
    bigdaz committed Jan 23, 2012
Commits on Jan 22, 2012
  1. Reduced the amount of logging for regular use of the tooling api...

    I'm taking advantage of the verboseLogging internal feature and based on that, setting the log level to either DEBUG or INFO. The default logging in the tooling API now is INFO. There might be some DEBUG statements visible still but only until the logging manager is started. This change might put some more stress to our tooling api concurrency suite so closer eye on CI is needed.
    szczepiq committed Jan 22, 2012
Commits on Jan 21, 2012
  1. Removed unused import.

    adammurdoch committed Jan 21, 2012
  2. Fixed broken int test.

    adammurdoch committed Jan 21, 2012
  3. Changed semantics of ModuleVersionResolveResult.resolve() so that it …

    …returns non-null result when artifact not found.
    adammurdoch committed Jan 21, 2012
  4. Fixed ModuleVersionREsolveException.withIncomingPaths() so that it do…

    …es not discard the cause.
    adammurdoch committed Jan 21, 2012
  5. Replaced ModuleVersionResolveResult.getArtifact(Artifact): File with …

    …resolve(Artifact): ArtifactResolveResult that packages up the failure.
    adammurdoch committed Jan 21, 2012
  6. Changed semantics of DependencyToVersionResolver.resolve() so that it…

    … does not return null on module version not found.
    adammurdoch committed Jan 21, 2012
  7. Added ModuleVersionResolveResult.getFailure() and changed semantics o…

    …f DependencyToVersionResolver.resolve() so that it packages up failures in the result.
    adammurdoch committed Jan 21, 2012
  8. Added ModuleVersionIdResolveResult.getFailure() and changed semantics…

    … of DependencyToVersionIdResolver.resolve() so that it packages up failures in the result.
    adammurdoch committed Jan 21, 2012
  9. Detach ModuleVersionIdResolveResult from ModuleVersionResolveResult, …

    …and added ModuleVersionIdResolveResult.resolve() to get at the module meta-data.
    adammurdoch committed Jan 21, 2012