Grails
  1. Grails
  2. GRAILS-1091

Scripts failing - java classes being deleted straight after compilation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.5-RC2
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Patch attached:
      Yes

      Description

      I have a plugin which depends on a Java file in the 'src/java' directory. If the plugin has no Groovy files anywhere under 'grails-app', then the Java file is deleted straight after it has been compiled.

      Base Directory: /home/ledbrook/dev/projects/grails-remoting
      Environment set to development
      Running script /home/ledbrook/dev/tools/grails/scripts/PackagePlugin.groovy
      Overriding previous definition of reference to groovyJarSet
      Compiling sources ...
         [javac] Compiling 1 source file to
      /home/ledbrook/dev/projects/grails-remoting/web-app/WEB-INF/classes
        [delete] Deleting 3 files from
      /home/ledbrook/dev/projects/grails-remoting/web-app/WEB-INF/classes
        [delete] Deleting directory
      /home/ledbrook/dev/projects/grails-remoting/web-app/WEB-INF/grails-app
         [mkdir] Created dir:
      /home/ledbrook/dev/projects/grails-remoting/web-app/WEB-INF/grails-app/i18n
      [native2ascii] Converting 1 file from
      /home/ledbrook/dev/projects/grails-remoting/grails-app/i18n to
      /home/ledbrook/dev/projects/grails-remoting/web-app/WEB-INF/grails-app/i18n
      
      1. script.patch
        1.0 kB
        Peter Ledbrook

        Activity

        Hide
        Graeme Rocher added a comment -

        Patch applied. Thanks.

        Show
        Graeme Rocher added a comment - Patch applied. Thanks.
        Hide
        Graeme Rocher added a comment -

        Bulk closing bunch of resolved issues

        Show
        Graeme Rocher added a comment - Bulk closing bunch of resolved issues

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development