Controllers aren't found when running app in plugin project

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

Controllers aren't found when running app in plugin project

Steven Devijver
Hey,

The screen scrape below shows I'm creating a Person domain class in a
plugin project and generating the scaffolded views. When I run the
application and go to /P1/person I get a 404 error.

This was working with 0.6. Is this as expected?

Thanks

Steven

=====================
C:\dev>grails create-plugin P1

Welcome to Grails 1.0-RC1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1


Base Directory: C:\dev
Environment set to development
Note: No plugin scripts found
Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\CreatePlug
in.groovy
Overriding previous definition of reference to groovyJarSet
    [mkdir] Created dir: C:\dev\P1\src
    [mkdir] Created dir: C:\dev\P1\src\java
    [mkdir] Created dir: C:\dev\P1\src\groovy
    [mkdir] Created dir: C:\dev\P1\grails-app
    [mkdir] Created dir: C:\dev\P1\grails-app\controllers
    [mkdir] Created dir: C:\dev\P1\grails-app\services
    [mkdir] Created dir: C:\dev\P1\grails-app\domain
    [mkdir] Created dir: C:\dev\P1\grails-app\taglib
    [mkdir] Created dir: C:\dev\P1\grails-app\utils
    [mkdir] Created dir: C:\dev\P1\grails-app\views
    [mkdir] Created dir: C:\dev\P1\grails-app\views\layouts
    [mkdir] Created dir: C:\dev\P1\grails-app\i18n
    [mkdir] Created dir: C:\dev\P1\grails-app\conf
    [mkdir] Created dir: C:\dev\P1\test
    [mkdir] Created dir: C:\dev\P1\test\unit
    [mkdir] Created dir: C:\dev\P1\test\integration
    [mkdir] Created dir: C:\dev\P1\scripts
    [mkdir] Created dir: C:\dev\P1\web-app
    [mkdir] Created dir: C:\dev\P1\web-app\js
    [mkdir] Created dir: C:\dev\P1\web-app\css
    [mkdir] Created dir: C:\dev\P1\web-app\images
    [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\classes
    [mkdir] Created dir: C:\dev\P1\web-app\META-INF
    [mkdir] Created dir: C:\dev\P1\lib
    [mkdir] Created dir: C:\dev\P1\grails-app\conf\spring
    [mkdir] Created dir: C:\dev\P1\grails-app\conf\hibernate
[propertyfile] Creating new property file: C:\dev\P1\application.properties
     [copy] Copying 2 files to C:\dev\P1
     [copy] Copying 2 files to C:\dev\P1\web-app\WEB-INF
     [copy] Copying 5 files to C:\dev\P1\web-app\WEB-INF\tld
     [copy] Copying 1 file to C:\dev\P1
     [copy] Copying 1 file to C:\dev\P1
     [copy] Copying 1 file to C:\dev\P1
Created plugin P1
C:\dev>cd P1

C:\dev\P1>grails stats

Welcome to Grails 1.0-RC1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1


Base Directory: C:\dev\P1
Environment set to development
Note: No plugin scripts found
Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\Stats.groo
vy

        +----------------------+-------+-------+
        | Name                 | Files |  LOC  |
        +----------------------+-------+-------+
        +----------------------+-------+-------+
        | Totals               |     0 |     0 |
        +----------------------+-------+-------+

C:\dev\P1>grails create-domain-class

Welcome to Grails 1.0-RC1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1


Base Directory: C:\dev\P1
Environment set to development
Note: No plugin scripts found
Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\CreateDoma
inClass.groovy
 name not specified. Please enter:
Person
     [copy] Copying 1 file to C:\dev\P1\grails-app\domain
Created  for Person
     [copy] Copying 1 file to C:\dev\P1\test\integration
Created Tests for Person
C:\dev\P1>grails generate-all Person

Welcome to Grails 1.0-RC1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1


Base Directory: C:\dev\P1
Environment set to development
Note: No plugin scripts found
Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\GenerateAl
l.groovy
    [mkdir] Created dir: C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.0-R
C1\projects\P1\classes
Compiling 1 source files to C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.
0-RC1\projects\P1\classes
    [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\grails-app\i18n
     [copy] Copied 1 empty directory to 1 empty directory under C:\dev\P1\web-ap
p\WEB-INF\spring
     [copy] Copying 1 file to C:\Documents and Settings\sdevijve.BE-DOM\.grails\
1.0-RC1\projects\P1\classes
Attempting to load [0] user defined plugins
Grails plug-in [filters] with version [0.1] loaded successfully
Grails plug-in [i18n] with version [1.0-RC1] loaded successfully
Grails plug-in [core] with version [1.0-RC1] loaded successfully
Grails plug-in [dataSource] with version [1.0-RC1] loaded successfully
Grails plug-in [urlMappings] with version [1.0-RC1] loaded successfully
Grails plug-in [logging] with version [1.0-RC1] loaded successfully
Grails plug-in [controllers] with version [1.0-RC1] loaded successfully
Grails plug-in [codecs] with version [1.0-RC1] loaded successfully
Grails plug-in [servlets] with version [1.0-RC1] loaded successfully
Grails plug-in [hibernate] with version [1.0-RC1] loaded successfully
Grails plug-in [scaffolding] with version [1.0-RC1] loaded successfully
Grails plug-in [domainClass] with version [1.0-RC1] loaded successfully
Grails plug-in [webFlow] with version [1.0-RC1] loaded successfully
Grails plug-in [services] with version [1.0-RC1] loaded successfully
Grails plug-in [converters] with version [1.0-RC1] loaded successfully
     [copy] Copying 1 file to C:\Documents and Settings\sdevijve.BE-DOM\.grails\
1.0-RC1\projects\P1
Generating views for domain class Person ...
Generating controller for domain class Person ...
Finished generation for domain class Person
C:\dev\P1>grails run-app

Welcome to Grails 1.0-RC1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1


Base Directory: C:\dev\P1
Environment set to development
Note: No plugin scripts found
Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\RunApp.gro
ovy
    [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\lib
     [copy] Copied 2 empty directories to 2 empty directories under C:\Documents
 and Settings\sdevijve.BE-DOM\.grails\1.0-RC1\projects\P1\classes
    [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\plugins\P1\grails-app\views
     [copy] Copying 4 files to C:\dev\P1\web-app\WEB-INF\plugins\P1\grails-app\v
iews
     [copy] Copied 2 empty directories to 1 empty directory under C:\dev\P1\web-
app\WEB-INF\plugins\P1\grails-app\views
    [mkdir] Created dir: C:\dev\P1\web-app\plugins\P1
Compiling 1 source files to C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.
0-RC1\projects\P1\classes
Loading with installed plug-ins: ["P1GrailsPlugin"] ...
Attempting to load [0] user defined plugins
Grails plug-in [i18n] with version [1.0-RC1] loaded successfully
Grails plug-in [filters] with version [0.1] loaded successfully
Grails plug-in [core] with version [1.0-RC1] loaded successfully
Grails plug-in [controllers] with version [1.0-RC1] loaded successfully
Grails plug-in [p1] with version [0.1] loaded successfully
Grails plug-in [domainClass] with version [1.0-RC1] loaded successfully
Grails plug-in [codecs] with version [1.0-RC1] loaded successfully
Grails plug-in [logging] with version [1.0-RC1] loaded successfully
Grails plug-in [servlets] with version [1.0-RC1] loaded successfully
Grails plug-in [webFlow] with version [1.0-RC1] loaded successfully
Grails plug-in [services] with version [1.0-RC1] loaded successfully
Grails plug-in [urlMappings] with version [1.0-RC1] loaded successfully
Grails plug-in [dataSource] with version [1.0-RC1] loaded successfully
Grails plug-in [converters] with version [1.0-RC1] loaded successfully
Grails plug-in [hibernate] with version [1.0-RC1] loaded successfully
Grails plug-in [scaffolding] with version [1.0-RC1] loaded successfully
Running Grails application..
2007-10-21 01:29:12.101::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2007-10-21 01:29:12.179::INFO:  jetty-6.1.4
2007-10-21 01:29:13.898:/P1:INFO:  Set web app root system property: 'P1' = [C:\
dev\P1\web-app\]
2007-10-21 01:29:13.898:/P1:INFO:  Initializing Log4J from [C:\dev\P1\web-app\WE
B-INF\classes\log4j.properties]
2007-10-21 01:29:13.898:/P1:INFO:  Initializing Spring root WebApplicationContex
t
reloadFilters
[GrailsContextLoader] Grails application loaded.
2007-10-21 01:29:19.880:/P1:INFO:  Initializing Spring FrameworkServlet 'grails'

2007-10-21 01:29:19.036::INFO:  Started SelectChannelConnector@0.0.0.0:8080
Server running. Browse to http://localhost:8080/P1
2007-10-21 01:29:36.134:/P1:INFO:  Initializing Spring FrameworkServlet 'grails-
errorhandler'

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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Controllers aren't found when running app in plugin project

Graeme-Rocher
It is because there is no URL mappings file by default in a plugin
inside grails-app/conf

You must create one.

Cheers

On 10/21/07, Steven Devijver <[hidden email]> wrote:

> Hey,
>
> The screen scrape below shows I'm creating a Person domain class in a
> plugin project and generating the scaffolded views. When I run the
> application and go to /P1/person I get a 404 error.
>
> This was working with 0.6. Is this as expected?
>
> Thanks
>
> Steven
>
> =====================
> C:\dev>grails create-plugin P1
>
> Welcome to Grails 1.0-RC1 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
>
>
> Base Directory: C:\dev
> Environment set to development
> Note: No plugin scripts found
> Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\CreatePlug
> in.groovy
> Overriding previous definition of reference to groovyJarSet
>     [mkdir] Created dir: C:\dev\P1\src
>     [mkdir] Created dir: C:\dev\P1\src\java
>     [mkdir] Created dir: C:\dev\P1\src\groovy
>     [mkdir] Created dir: C:\dev\P1\grails-app
>     [mkdir] Created dir: C:\dev\P1\grails-app\controllers
>     [mkdir] Created dir: C:\dev\P1\grails-app\services
>     [mkdir] Created dir: C:\dev\P1\grails-app\domain
>     [mkdir] Created dir: C:\dev\P1\grails-app\taglib
>     [mkdir] Created dir: C:\dev\P1\grails-app\utils
>     [mkdir] Created dir: C:\dev\P1\grails-app\views
>     [mkdir] Created dir: C:\dev\P1\grails-app\views\layouts
>     [mkdir] Created dir: C:\dev\P1\grails-app\i18n
>     [mkdir] Created dir: C:\dev\P1\grails-app\conf
>     [mkdir] Created dir: C:\dev\P1\test
>     [mkdir] Created dir: C:\dev\P1\test\unit
>     [mkdir] Created dir: C:\dev\P1\test\integration
>     [mkdir] Created dir: C:\dev\P1\scripts
>     [mkdir] Created dir: C:\dev\P1\web-app
>     [mkdir] Created dir: C:\dev\P1\web-app\js
>     [mkdir] Created dir: C:\dev\P1\web-app\css
>     [mkdir] Created dir: C:\dev\P1\web-app\images
>     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\classes
>     [mkdir] Created dir: C:\dev\P1\web-app\META-INF
>     [mkdir] Created dir: C:\dev\P1\lib
>     [mkdir] Created dir: C:\dev\P1\grails-app\conf\spring
>     [mkdir] Created dir: C:\dev\P1\grails-app\conf\hibernate
> [propertyfile] Creating new property file: C:\dev\P1\application.properties
>      [copy] Copying 2 files to C:\dev\P1
>      [copy] Copying 2 files to C:\dev\P1\web-app\WEB-INF
>      [copy] Copying 5 files to C:\dev\P1\web-app\WEB-INF\tld
>      [copy] Copying 1 file to C:\dev\P1
>      [copy] Copying 1 file to C:\dev\P1
>      [copy] Copying 1 file to C:\dev\P1
> Created plugin P1
> C:\dev>cd P1
>
> C:\dev\P1>grails stats
>
> Welcome to Grails 1.0-RC1 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
>
>
> Base Directory: C:\dev\P1
> Environment set to development
> Note: No plugin scripts found
> Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\Stats.groo
> vy
>
>         +----------------------+-------+-------+
>         | Name                 | Files |  LOC  |
>         +----------------------+-------+-------+
>         +----------------------+-------+-------+
>         | Totals               |     0 |     0 |
>         +----------------------+-------+-------+
>
> C:\dev\P1>grails create-domain-class
>
> Welcome to Grails 1.0-RC1 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
>
>
> Base Directory: C:\dev\P1
> Environment set to development
> Note: No plugin scripts found
> Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\CreateDoma
> inClass.groovy
>  name not specified. Please enter:
> Person
>      [copy] Copying 1 file to C:\dev\P1\grails-app\domain
> Created  for Person
>      [copy] Copying 1 file to C:\dev\P1\test\integration
> Created Tests for Person
> C:\dev\P1>grails generate-all Person
>
> Welcome to Grails 1.0-RC1 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
>
>
> Base Directory: C:\dev\P1
> Environment set to development
> Note: No plugin scripts found
> Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\GenerateAl
> l.groovy
>     [mkdir] Created dir: C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.0-R
> C1\projects\P1\classes
> Compiling 1 source files to C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.
> 0-RC1\projects\P1\classes
>     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\grails-app\i18n
>      [copy] Copied 1 empty directory to 1 empty directory under C:\dev\P1\web-ap
> p\WEB-INF\spring
>      [copy] Copying 1 file to C:\Documents and Settings\sdevijve.BE-DOM\.grails\
> 1.0-RC1\projects\P1\classes
> Attempting to load [0] user defined plugins
> Grails plug-in [filters] with version [0.1] loaded successfully
> Grails plug-in [i18n] with version [1.0-RC1] loaded successfully
> Grails plug-in [core] with version [1.0-RC1] loaded successfully
> Grails plug-in [dataSource] with version [1.0-RC1] loaded successfully
> Grails plug-in [urlMappings] with version [1.0-RC1] loaded successfully
> Grails plug-in [logging] with version [1.0-RC1] loaded successfully
> Grails plug-in [controllers] with version [1.0-RC1] loaded successfully
> Grails plug-in [codecs] with version [1.0-RC1] loaded successfully
> Grails plug-in [servlets] with version [1.0-RC1] loaded successfully
> Grails plug-in [hibernate] with version [1.0-RC1] loaded successfully
> Grails plug-in [scaffolding] with version [1.0-RC1] loaded successfully
> Grails plug-in [domainClass] with version [1.0-RC1] loaded successfully
> Grails plug-in [webFlow] with version [1.0-RC1] loaded successfully
> Grails plug-in [services] with version [1.0-RC1] loaded successfully
> Grails plug-in [converters] with version [1.0-RC1] loaded successfully
>      [copy] Copying 1 file to C:\Documents and Settings\sdevijve.BE-DOM\.grails\
> 1.0-RC1\projects\P1
> Generating views for domain class Person ...
> Generating controller for domain class Person ...
> Finished generation for domain class Person
> C:\dev\P1>grails run-app
>
> Welcome to Grails 1.0-RC1 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
>
>
> Base Directory: C:\dev\P1
> Environment set to development
> Note: No plugin scripts found
> Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\RunApp.gro
> ovy
>     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\lib
>      [copy] Copied 2 empty directories to 2 empty directories under C:\Documents
>  and Settings\sdevijve.BE-DOM\.grails\1.0-RC1\projects\P1\classes
>     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\plugins\P1\grails-app\views
>      [copy] Copying 4 files to C:\dev\P1\web-app\WEB-INF\plugins\P1\grails-app\v
> iews
>      [copy] Copied 2 empty directories to 1 empty directory under C:\dev\P1\web-
> app\WEB-INF\plugins\P1\grails-app\views
>     [mkdir] Created dir: C:\dev\P1\web-app\plugins\P1
> Compiling 1 source files to C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.
> 0-RC1\projects\P1\classes
> Loading with installed plug-ins: ["P1GrailsPlugin"] ...
> Attempting to load [0] user defined plugins
> Grails plug-in [i18n] with version [1.0-RC1] loaded successfully
> Grails plug-in [filters] with version [0.1] loaded successfully
> Grails plug-in [core] with version [1.0-RC1] loaded successfully
> Grails plug-in [controllers] with version [1.0-RC1] loaded successfully
> Grails plug-in [p1] with version [0.1] loaded successfully
> Grails plug-in [domainClass] with version [1.0-RC1] loaded successfully
> Grails plug-in [codecs] with version [1.0-RC1] loaded successfully
> Grails plug-in [logging] with version [1.0-RC1] loaded successfully
> Grails plug-in [servlets] with version [1.0-RC1] loaded successfully
> Grails plug-in [webFlow] with version [1.0-RC1] loaded successfully
> Grails plug-in [services] with version [1.0-RC1] loaded successfully
> Grails plug-in [urlMappings] with version [1.0-RC1] loaded successfully
> Grails plug-in [dataSource] with version [1.0-RC1] loaded successfully
> Grails plug-in [converters] with version [1.0-RC1] loaded successfully
> Grails plug-in [hibernate] with version [1.0-RC1] loaded successfully
> Grails plug-in [scaffolding] with version [1.0-RC1] loaded successfully
> Running Grails application..
> 2007-10-21 01:29:12.101::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> 2007-10-21 01:29:12.179::INFO:  jetty-6.1.4
> 2007-10-21 01:29:13.898:/P1:INFO:  Set web app root system property: 'P1' = [C:\
> dev\P1\web-app\]
> 2007-10-21 01:29:13.898:/P1:INFO:  Initializing Log4J from [C:\dev\P1\web-app\WE
> B-INF\classes\log4j.properties]
> 2007-10-21 01:29:13.898:/P1:INFO:  Initializing Spring root WebApplicationContex
> t
> reloadFilters
> [GrailsContextLoader] Grails application loaded.
> 2007-10-21 01:29:19.880:/P1:INFO:  Initializing Spring FrameworkServlet 'grails'
>
> 2007-10-21 01:29:19.036::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> Server running. Browse to http://localhost:8080/P1
> 2007-10-21 01:29:36.134:/P1:INFO:  Initializing Spring FrameworkServlet 'grails-
> errorhandler'
>
> ---------------------------------------------------------------------
> 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: Controllers aren't found when running app in plugin project

Steven Devijver
Hey Graeme,

Thanks for the help. I feel a plugin writer's guide's coming up ;-)

Steven

On 10/21/07, Graeme Rocher <[hidden email]> wrote:

> It is because there is no URL mappings file by default in a plugin
> inside grails-app/conf
>
> You must create one.
>
> Cheers
>
> On 10/21/07, Steven Devijver <[hidden email]> wrote:
> > Hey,
> >
> > The screen scrape below shows I'm creating a Person domain class in a
> > plugin project and generating the scaffolded views. When I run the
> > application and go to /P1/person I get a 404 error.
> >
> > This was working with 0.6. Is this as expected?
> >
> > Thanks
> >
> > Steven
> >
> > =====================
> > C:\dev>grails create-plugin P1
> >
> > Welcome to Grails 1.0-RC1 - http://grails.org/
> > Licensed under Apache Standard License 2.0
> > Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
> >
> >
> > Base Directory: C:\dev
> > Environment set to development
> > Note: No plugin scripts found
> > Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\CreatePlug
> > in.groovy
> > Overriding previous definition of reference to groovyJarSet
> >     [mkdir] Created dir: C:\dev\P1\src
> >     [mkdir] Created dir: C:\dev\P1\src\java
> >     [mkdir] Created dir: C:\dev\P1\src\groovy
> >     [mkdir] Created dir: C:\dev\P1\grails-app
> >     [mkdir] Created dir: C:\dev\P1\grails-app\controllers
> >     [mkdir] Created dir: C:\dev\P1\grails-app\services
> >     [mkdir] Created dir: C:\dev\P1\grails-app\domain
> >     [mkdir] Created dir: C:\dev\P1\grails-app\taglib
> >     [mkdir] Created dir: C:\dev\P1\grails-app\utils
> >     [mkdir] Created dir: C:\dev\P1\grails-app\views
> >     [mkdir] Created dir: C:\dev\P1\grails-app\views\layouts
> >     [mkdir] Created dir: C:\dev\P1\grails-app\i18n
> >     [mkdir] Created dir: C:\dev\P1\grails-app\conf
> >     [mkdir] Created dir: C:\dev\P1\test
> >     [mkdir] Created dir: C:\dev\P1\test\unit
> >     [mkdir] Created dir: C:\dev\P1\test\integration
> >     [mkdir] Created dir: C:\dev\P1\scripts
> >     [mkdir] Created dir: C:\dev\P1\web-app
> >     [mkdir] Created dir: C:\dev\P1\web-app\js
> >     [mkdir] Created dir: C:\dev\P1\web-app\css
> >     [mkdir] Created dir: C:\dev\P1\web-app\images
> >     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\classes
> >     [mkdir] Created dir: C:\dev\P1\web-app\META-INF
> >     [mkdir] Created dir: C:\dev\P1\lib
> >     [mkdir] Created dir: C:\dev\P1\grails-app\conf\spring
> >     [mkdir] Created dir: C:\dev\P1\grails-app\conf\hibernate
> > [propertyfile] Creating new property file: C:\dev\P1\application.properties
> >      [copy] Copying 2 files to C:\dev\P1
> >      [copy] Copying 2 files to C:\dev\P1\web-app\WEB-INF
> >      [copy] Copying 5 files to C:\dev\P1\web-app\WEB-INF\tld
> >      [copy] Copying 1 file to C:\dev\P1
> >      [copy] Copying 1 file to C:\dev\P1
> >      [copy] Copying 1 file to C:\dev\P1
> > Created plugin P1
> > C:\dev>cd P1
> >
> > C:\dev\P1>grails stats
> >
> > Welcome to Grails 1.0-RC1 - http://grails.org/
> > Licensed under Apache Standard License 2.0
> > Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
> >
> >
> > Base Directory: C:\dev\P1
> > Environment set to development
> > Note: No plugin scripts found
> > Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\Stats.groo
> > vy
> >
> >         +----------------------+-------+-------+
> >         | Name                 | Files |  LOC  |
> >         +----------------------+-------+-------+
> >         +----------------------+-------+-------+
> >         | Totals               |     0 |     0 |
> >         +----------------------+-------+-------+
> >
> > C:\dev\P1>grails create-domain-class
> >
> > Welcome to Grails 1.0-RC1 - http://grails.org/
> > Licensed under Apache Standard License 2.0
> > Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
> >
> >
> > Base Directory: C:\dev\P1
> > Environment set to development
> > Note: No plugin scripts found
> > Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\CreateDoma
> > inClass.groovy
> >  name not specified. Please enter:
> > Person
> >      [copy] Copying 1 file to C:\dev\P1\grails-app\domain
> > Created  for Person
> >      [copy] Copying 1 file to C:\dev\P1\test\integration
> > Created Tests for Person
> > C:\dev\P1>grails generate-all Person
> >
> > Welcome to Grails 1.0-RC1 - http://grails.org/
> > Licensed under Apache Standard License 2.0
> > Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
> >
> >
> > Base Directory: C:\dev\P1
> > Environment set to development
> > Note: No plugin scripts found
> > Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\GenerateAl
> > l.groovy
> >     [mkdir] Created dir: C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.0-R
> > C1\projects\P1\classes
> > Compiling 1 source files to C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.
> > 0-RC1\projects\P1\classes
> >     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\grails-app\i18n
> >      [copy] Copied 1 empty directory to 1 empty directory under C:\dev\P1\web-ap
> > p\WEB-INF\spring
> >      [copy] Copying 1 file to C:\Documents and Settings\sdevijve.BE-DOM\.grails\
> > 1.0-RC1\projects\P1\classes
> > Attempting to load [0] user defined plugins
> > Grails plug-in [filters] with version [0.1] loaded successfully
> > Grails plug-in [i18n] with version [1.0-RC1] loaded successfully
> > Grails plug-in [core] with version [1.0-RC1] loaded successfully
> > Grails plug-in [dataSource] with version [1.0-RC1] loaded successfully
> > Grails plug-in [urlMappings] with version [1.0-RC1] loaded successfully
> > Grails plug-in [logging] with version [1.0-RC1] loaded successfully
> > Grails plug-in [controllers] with version [1.0-RC1] loaded successfully
> > Grails plug-in [codecs] with version [1.0-RC1] loaded successfully
> > Grails plug-in [servlets] with version [1.0-RC1] loaded successfully
> > Grails plug-in [hibernate] with version [1.0-RC1] loaded successfully
> > Grails plug-in [scaffolding] with version [1.0-RC1] loaded successfully
> > Grails plug-in [domainClass] with version [1.0-RC1] loaded successfully
> > Grails plug-in [webFlow] with version [1.0-RC1] loaded successfully
> > Grails plug-in [services] with version [1.0-RC1] loaded successfully
> > Grails plug-in [converters] with version [1.0-RC1] loaded successfully
> >      [copy] Copying 1 file to C:\Documents and Settings\sdevijve.BE-DOM\.grails\
> > 1.0-RC1\projects\P1
> > Generating views for domain class Person ...
> > Generating controller for domain class Person ...
> > Finished generation for domain class Person
> > C:\dev\P1>grails run-app
> >
> > Welcome to Grails 1.0-RC1 - http://grails.org/
> > Licensed under Apache Standard License 2.0
> > Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1
> >
> >
> > Base Directory: C:\dev\P1
> > Environment set to development
> > Note: No plugin scripts found
> > Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\RunApp.gro
> > ovy
> >     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\lib
> >      [copy] Copied 2 empty directories to 2 empty directories under C:\Documents
> >  and Settings\sdevijve.BE-DOM\.grails\1.0-RC1\projects\P1\classes
> >     [mkdir] Created dir: C:\dev\P1\web-app\WEB-INF\plugins\P1\grails-app\views
> >      [copy] Copying 4 files to C:\dev\P1\web-app\WEB-INF\plugins\P1\grails-app\v
> > iews
> >      [copy] Copied 2 empty directories to 1 empty directory under C:\dev\P1\web-
> > app\WEB-INF\plugins\P1\grails-app\views
> >     [mkdir] Created dir: C:\dev\P1\web-app\plugins\P1
> > Compiling 1 source files to C:\Documents and Settings\sdevijve.BE-DOM\.grails\1.
> > 0-RC1\projects\P1\classes
> > Loading with installed plug-ins: ["P1GrailsPlugin"] ...
> > Attempting to load [0] user defined plugins
> > Grails plug-in [i18n] with version [1.0-RC1] loaded successfully
> > Grails plug-in [filters] with version [0.1] loaded successfully
> > Grails plug-in [core] with version [1.0-RC1] loaded successfully
> > Grails plug-in [controllers] with version [1.0-RC1] loaded successfully
> > Grails plug-in [p1] with version [0.1] loaded successfully
> > Grails plug-in [domainClass] with version [1.0-RC1] loaded successfully
> > Grails plug-in [codecs] with version [1.0-RC1] loaded successfully
> > Grails plug-in [logging] with version [1.0-RC1] loaded successfully
> > Grails plug-in [servlets] with version [1.0-RC1] loaded successfully
> > Grails plug-in [webFlow] with version [1.0-RC1] loaded successfully
> > Grails plug-in [services] with version [1.0-RC1] loaded successfully
> > Grails plug-in [urlMappings] with version [1.0-RC1] loaded successfully
> > Grails plug-in [dataSource] with version [1.0-RC1] loaded successfully
> > Grails plug-in [converters] with version [1.0-RC1] loaded successfully
> > Grails plug-in [hibernate] with version [1.0-RC1] loaded successfully
> > Grails plug-in [scaffolding] with version [1.0-RC1] loaded successfully
> > Running Grails application..
> > 2007-10-21 01:29:12.101::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> > 2007-10-21 01:29:12.179::INFO:  jetty-6.1.4
> > 2007-10-21 01:29:13.898:/P1:INFO:  Set web app root system property: 'P1' = [C:\
> > dev\P1\web-app\]
> > 2007-10-21 01:29:13.898:/P1:INFO:  Initializing Log4J from [C:\dev\P1\web-app\WE
> > B-INF\classes\log4j.properties]
> > 2007-10-21 01:29:13.898:/P1:INFO:  Initializing Spring root WebApplicationContex
> > t
> > reloadFilters
> > [GrailsContextLoader] Grails application loaded.
> > 2007-10-21 01:29:19.880:/P1:INFO:  Initializing Spring FrameworkServlet 'grails'
> >
> > 2007-10-21 01:29:19.036::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> > Server running. Browse to http://localhost:8080/P1
> > 2007-10-21 01:29:36.134:/P1:INFO:  Initializing Spring FrameworkServlet 'grails-
> > errorhandler'
> >
> > ---------------------------------------------------------------------
> > 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
>
>

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

    http://xircles.codehaus.org/manage_email