"grails clean" And "grails upgrade" Produce Many Warnings

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"grails clean" And "grails upgrade" Produce Many Warnings

Randall R Schulz
Hi,

I just retrieved and installed the latest (build 1014) snapshot. When I
ran "grails clean" I got several (36, to be precise) of these
diagnostics:

Deprecation warning: Use of task instead of target is deprecated.


The complete output was:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
% grails clean

Welcome to Grails 1.0-RC1-SNAPSHOT - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /repo/JT/grails

Base Directory: /dar/tau/src/tau/gwi/tau_gwi_00
Environment set to development
Running script /repo/JT/grails/scripts/Clean.groovy
Deprecation warning: Use of task instead of target is deprecated.

... 34 repetitions deleted ...

Deprecation warning: Use of task instead of target is deprecated.
   [delete] Deleting directory /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/classes
   [delete] Deleting: /home/rschulz/.grails/1.0-RC1-SNAPSHOT/projects/tau_gwi_00/web.xml
   [delete] Deleting directory /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/lib
   [delete] Deleting directory /home/rschulz/.grails/1.0-RC1-SNAPSHOT/projects/tau_gwi_00/classes
    [mkdir] Created dir: /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/classes
    [mkdir] Created dir: /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/lib
   [delete] Deleting directory /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/grails-app
    [mkdir] Created dir: /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/grails-app
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-

A similar set of diagnostics is produced by "grails upgrade":

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
% grails upgrade

Welcome to Grails 1.0-RC1-SNAPSHOT - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /repo/JT/grails

Base Directory: /dar/tau/src/tau/gwi/tau_gwi_00
Environment set to development
Running script /repo/JT/grails/scripts/Upgrade.groovy
Deprecation warning: Use of task instead of target is deprecated.

... 44 repetitions deleted ...

Deprecation warning: Use of task instead of target is deprecated.
Overriding previous definition of reference to groovyJarSet
Deprecation warning: Use of task instead of target is deprecated.

... 26 repetitions deleted ...

Deprecation warning: Use of task instead of target is deprecated.

        WARNING: This task will upgrade an older Grails application to 1.0-RC1-SNAPSHOT.
        However, tag libraries provided by earlier versions of Grails found in grails-app/taglib will be removed.
        The task will not, however, delete tag libraries developed by yourself.
        Are you sure you want to continue?
                           (y,n)
y
     [copy] Copying 2 files to /dar/tau/src/tau/gwi/tau_gwi_00
     [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00
     [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00
     [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00
     [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF
     [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF
     [copy] Copying 5 files to /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/tld
[propertyfile] Updating property file: /dar/tau/src/tau/gwi/tau_gwi_00/application.properties
Please make sure you view the README for important information about changes to your source code. ...
Project upgraded

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-


I assume from the wording that these messages doe not indicate a
problem. Please correct me if I'm wrong.


Randall Schulz

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: "grails clean" And "grails upgrade" Produce Many Warnings

graemer
Yes I upgraded to latest Gant which changes the name task to target
inside Gant builds. I have to go through and rename all the "tasks' to
"targets"

Cheers

On 10/8/07, Randall R Schulz <[hidden email]> wrote:

> Hi,
>
> I just retrieved and installed the latest (build 1014) snapshot. When I
> ran "grails clean" I got several (36, to be precise) of these
> diagnostics:
>
> Deprecation warning: Use of task instead of target is deprecated.
>
>
> The complete output was:
>
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> % grails clean
>
> Welcome to Grails 1.0-RC1-SNAPSHOT - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: /repo/JT/grails
>
> Base Directory: /dar/tau/src/tau/gwi/tau_gwi_00
> Environment set to development
> Running script /repo/JT/grails/scripts/Clean.groovy
> Deprecation warning: Use of task instead of target is deprecated.
>
> ... 34 repetitions deleted ...
>
> Deprecation warning: Use of task instead of target is deprecated.
>    [delete] Deleting directory /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/classes
>    [delete] Deleting: /home/rschulz/.grails/1.0-RC1-SNAPSHOT/projects/tau_gwi_00/web.xml
>    [delete] Deleting directory /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/lib
>    [delete] Deleting directory /home/rschulz/.grails/1.0-RC1-SNAPSHOT/projects/tau_gwi_00/classes
>     [mkdir] Created dir: /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/classes
>     [mkdir] Created dir: /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/lib
>    [delete] Deleting directory /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/grails-app
>     [mkdir] Created dir: /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/grails-app
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
>
> A similar set of diagnostics is produced by "grails upgrade":
>
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> % grails upgrade
>
> Welcome to Grails 1.0-RC1-SNAPSHOT - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: /repo/JT/grails
>
> Base Directory: /dar/tau/src/tau/gwi/tau_gwi_00
> Environment set to development
> Running script /repo/JT/grails/scripts/Upgrade.groovy
> Deprecation warning: Use of task instead of target is deprecated.
>
> ... 44 repetitions deleted ...
>
> Deprecation warning: Use of task instead of target is deprecated.
> Overriding previous definition of reference to groovyJarSet
> Deprecation warning: Use of task instead of target is deprecated.
>
> ... 26 repetitions deleted ...
>
> Deprecation warning: Use of task instead of target is deprecated.
>
>         WARNING: This task will upgrade an older Grails application to 1.0-RC1-SNAPSHOT.
>         However, tag libraries provided by earlier versions of Grails found in grails-app/taglib will be removed.
>         The task will not, however, delete tag libraries developed by yourself.
>         Are you sure you want to continue?
>                            (y,n)
> y
>      [copy] Copying 2 files to /dar/tau/src/tau/gwi/tau_gwi_00
>      [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00
>      [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00
>      [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00
>      [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF
>      [copy] Copying 1 file to /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF
>      [copy] Copying 5 files to /dar/tau/src/tau/gwi/tau_gwi_00/web-app/WEB-INF/tld
> [propertyfile] Updating property file: /dar/tau/src/tau/gwi/tau_gwi_00/application.properties
> Please make sure you view the README for important information about changes to your source code. ...
> Project upgraded
>
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
>
>
> I assume from the wording that these messages doe not indicate a
> problem. Please correct me if I'm wrong.
>
>
> Randall Schulz
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Graeme Rocher
Grails Project Lead
http://grails.org

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: "grails clean" And "grails upgrade" Produce Many Warnings

Randall R Schulz
On Monday 08 October 2007 12:37, Graeme Rocher wrote:
> Yes I upgraded to latest Gant which changes the name task to target
> inside Gant builds. I have to go through and rename all the "tasks'
> to "targets"
>
> Cheers
\
OK. No problem, then.

I just noticed there are a bunch (49) of them during "grails run-app",
too.


Randall Schulz

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email