groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Created subproject for the gradle-core.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1773 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -107
    • +0
    ./scripts/DefaultCachePropertiesHandlerTest.java
    • -61
    • +0
    ./scripts/DefaultProjectScriptMetaDataTest.groovy
    • -275
    • +0
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -297
    • +0
    ./scripts/DefaultScriptProcessorFactoryTest.java
    • -92
    • +0
    ./scripts/DefaultScriptSourceMappingHandlerTest.java
    • -53
    • +0
    ./scripts/DefaultSettingsScriptMetaDataTest.groovy
    • -86
    • +0
    ./scripts/FileScriptSourceTest.java
    • -87
    • +0
    ./scripts/ImportsScriptSourceTest.java
    • -80
    • +0
    ./scripts/StrictScriptSourceTest.java
    • -52
    • +0
    ./scripts/StringScriptSourceTest.java
  1. … 2271 more files in changeset.
Try again with unit test. Hopefully this one works on windows + unix

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1738 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 1 more file in changeset.
Fixed failing unit test. FileScriptSourceTest.java

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1737 004c2c75-fc45-0410-b1a2-da8352e2331b

  1. … 1 more file in changeset.
Added test case to FileScriptSource to check that 2 scripts with same name and different path have different classnames.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1734 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -3
    • +17
    ./scripts/FileScriptSourceTest.java
  1. … 1 more file in changeset.
GRADLE-525 - Added support for a DebugHelper that an IDE can use to map between gradle scripts and class files so gradle scripts can be debugged.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1717 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +92
    ./scripts/DefaultScriptSourceMappingHandlerTest.java
  1. … 9 more files in changeset.
- Updated to recent snapshot - Switched on some basic checkstyle and codenarc checks - Removed a heap of unused imports

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1710 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -5
    • +0
    ./scripts/DefaultCachePropertiesHandlerTest.java
    • -1
    • +0
    ./scripts/DefaultSettingsScriptMetaDataTest.groovy
    • -1
    • +0
    ./scripts/ImportsScriptSourceTest.java
  1. … 172 more files in changeset.
GRADLE-519 Wired up scriptclasspath { } declaration so that the dependencies it declares are available in the build script: - Each project has its own ClassLoader - Introduced Transformer interface to allow an AST transformer to be composite, and to operate in multiple phases. - Moved the project.classloader property from AbstractProject to project.scriptclasspath.classloader - Introduced ArtifactBuilder test fixture, for int tests to use to setup external dependencies

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1597 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -36
    • +61
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -9
    • +3
    ./scripts/DefaultScriptProcessorFactoryTest.java
  1. … 33 more files in changeset.
GRADLE-519 - Extract the buildscript { } section from a build script, and run it before compiling the build script. Can't do anything useful in the closure yet. - Include the transformer used to compile a script in the name of the cache dir for that script.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1583 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -4
    • +7
    ./scripts/DefaultScriptProcessorFactoryTest.java
  1. … 10 more files in changeset.
GRADLE-442 - Use groovy 1.6.3 for build script evaluation - Converted a few classes from Groovy to Java to work around some issues.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1578 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -1
    • +3
    ./scripts/DefaultProjectScriptMetaDataTest.groovy
  1. … 26 more files in changeset.
GRADLE-519 Renamed IScriptProcessor to ScriptProcessorFactory.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1577 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +300
    ./scripts/DefaultScriptProcessorFactoryTest.java
    • -300
    • +0
    ./scripts/DefaultScriptProcessorTest.java
  1. … 9 more files in changeset.
GRADLE-519 Refactored the IScriptProcessor interface, to allow multiple compilations of the same script, and to allow a AST transformer to be specified.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1576 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -12
    • +10
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -15
    • +70
    ./scripts/DefaultScriptProcessorTest.java
  1. … 14 more files in changeset.
GRADLE-419: - Allow build script to define task using a keyword style notation (see the samples). - Changed DefaultScriptCompilationHandler to create an empty subclass of the requested script base class for empty scripts. - Changed DefaultScriptCompilationHandler to optionally be injected with an AST transformer. Use this for the build scripts.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1402 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -10
    • +45
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -0
    • +25
    ./scripts/EmptyScript.java
  1. … 22 more files in changeset.
Changed DefaultScriptCompilationHandler to use the same approach for compilation of cached and on-the-fly scripts.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1396 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -18
    • +55
    ./scripts/DefaultScriptCompilationHandlerTest.java
  1. … 1 more file in changeset.
GRADLE-452 - Added task creation methods to TaskContainer. - Replaced Project.addRule() with TaskContainer.addRule()

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1383 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -1
    • +1
    ./scripts/DefaultScriptProcessorTest.java
    • -4
    • +2
    ./scripts/DefaultSettingsScriptMetaDataTest.groovy
  1. … 25 more files in changeset.
GRADLE-422 Fixed bug with cache and empty scripts. Simplified empty script handling. Changed contract for ScriptSource.getText method to never return null.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1345 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -21
    • +6
    ./scripts/DefaultCachePropertiesHandlerTest.java
    • -13
    • +8
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -2
    • +2
    ./scripts/ImportsScriptSourceTest.java
  1. … 7 more files in changeset.
Improved error reporting for settings/build script compilation errors

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1286 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -16
    • +35
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -58
    • +10
    ./scripts/DefaultScriptProcessorTest.java
  1. … 8 more files in changeset.
- Added FileCollection.getAsPath() back in - Extracted AbstractFileCollection out of DefaultConfigurationResolver - Renamed getDescription() to getDisplayName() on various (internal) interfaces, leaving getDescription() for user supplied domain object descriptions.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1285 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -1
    • +1
    ./scripts/DefaultScriptProcessorTest.java
    • -2
    • +2
    ./scripts/ImportsScriptSourceTest.java
  1. … 26 more files in changeset.
GRADLE-368, GRADLE-204: Better handling for a bunch of sad day cases when using gradle -b, -p, and -c

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1248 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +80
    ./scripts/StrictScriptSourceTest.java
  1. … 26 more files in changeset.
    • -3
    • +3
    ./scripts/DefaultCachePropertiesHandlerTest.java
  1. … 16 more files in changeset.
GRADLE-354 An invalid bulid script cache causes an exceptions under Windows. Let's close every input and output stream used for reading property files.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/branches/RB-0.5@1177 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -3
    • +3
    ./scripts/DefaultCachePropertiesHandlerTest.java
  1. … 12 more files in changeset.
    • -0
    • +127
    ./scripts/DefaultCachePropertiesHandlerTest.java
    • -0
    • +166
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -139
    • +0
    ./scripts/DefaultScriptHandlerTest.java
    • -16
    • +26
    ./scripts/DefaultScriptProcessorTest.java
  1. … 9 more files in changeset.
GRADLE-186, GRADLE-311 Cached build script is not updated when build file is reverted Invalidate cache if a new version of Gradle is used.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1135 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +127
    ./scripts/DefaultCachePropertiesHandlerTest.java
    • -0
    • +166
    ./scripts/DefaultScriptCompilationHandlerTest.java
    • -139
    • +0
    ./scripts/DefaultScriptHandlerTest.java
    • -16
    • +26
    ./scripts/DefaultScriptProcessorTest.java
  1. … 8 more files in changeset.
    • -0
    • +12
    ./scripts/DefaultScriptHandlerTest.java
    • -20
    • +25
    ./scripts/DefaultScriptProcessorTest.java
  1. … 7 more files in changeset.
GRADLE-319: - Fixed handling of scripts which contain no executable code

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1106 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +12
    ./scripts/DefaultScriptHandlerTest.java
    • -20
    • +25
    ./scripts/DefaultScriptProcessorTest.java
  1. … 3 more files in changeset.
Made name property of a project read only.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1083 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -9
    • +5
    ./scripts/DefaultProjectScriptMetaDataTest.groovy
  1. … 12 more files in changeset.
GRADLE-250: - Fixed listener exception handling so listener failures are reported as script exceptions, rather than internal failures - Added ListenerBroadcast helper class to handle event broadcasting to listeners and closures - Don't use class loaded from script cache when it is not assignable to expected base class - Changed DefaultScriptProcessor to attach ScriptSource to the Script object

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1056 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -6
    • +11
    ./scripts/DefaultScriptHandlerTest.java
    • -6
    • +13
    ./scripts/DefaultScriptProcessorTest.java
  1. … 17 more files in changeset.
- don't rely on File.setLastModified()

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@884 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -3
    • +2
    ./scripts/DefaultScriptHandlerTest.java
- check our assumptions about the cache before making assertions

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@883 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +1
    ./scripts/DefaultScriptHandlerTest.java
GRADLE-202: - Changed Build.run to return a BuildResult rather than throw the build exception - Always log as internal error any exception which makes its way up to Main.main() - Simplified exception wrapping in AbstractProject, AbstractTask and SettingsProcessor. - Added some more information to error message provided by GradleScriptException (this is only partially done).

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@787 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -3
    • +3
    ./scripts/DefaultScriptHandlerTest.java
  1. … 28 more files in changeset.
Fixed bug that line info was not found for embedded scripts in case of an error Changed the mechanism the compiled build file class name is requested from a project. Refactoring: Renamed getBuildFileCacheName to getBuildFileClassName Changed the message layout of a Script Exception. Refactoring: Moved JUnit integration test into separate package.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@725 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -12
    • +5
    ./scripts/StringScriptSourceTest.java
  1. … 10 more files in changeset.