You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Stan S (Created) (JIRA)" <ji...@apache.org> on 2011/12/05 21:16:41 UTC

[jira] [Created] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Live Class Reloading not working using mvn:jetty run
----------------------------------------------------

                 Key: TAP5-1771
                 URL: https://issues.apache.org/jira/browse/TAP5-1771
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-ioc
    Affects Versions: 5.2.2
            Reporter: Stan S
            Assignee: Howard M. Lewis Ship
             Fix For: 5.3


I am using eclipse, with maven plugin m2eclipse. 

When I launch tomcat with tomcat-maven-plugin (V 1.1), pages don't reload when I modify them. I have to restart my web server to see the changes.

What I noticed when I modify a page :
 * Tapestry is notified of a modification of the class file
 * It flushes the old page instance and tries to reload the class file
 * It in fact reloads the old version of the file -> it seems that Tomcat classloader gives the old class file inputStream in getResourceAsStream methods

I made a modification in ClassFactoryClassPool to get a clean new InputStream from the classFile, that fixed my issue, now pages are well reloaded when I modify them under Tomcat.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163074#comment-13163074 ] 

Howard M. Lewis Ship commented on TAP5-1771:
--------------------------------------------

Live class reloading is intended for Jetty, from inside the IDE.  I do not know that mvn jetty:run is capable of seeing changing to .java files and doing a recompile (Tapestry's job picks up when it sees changes to the .class files).  Unless you can show me that Maven is compiling the files, I'll have to close this as invalid.  Please research in the tutorial how to run the application from inside the IDE.
                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>            Assignee: Howard M. Lewis Ship
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163074#comment-13163074 ] 

Howard M. Lewis Ship commented on TAP5-1771:
--------------------------------------------

Live class reloading is intended for Jetty, from inside the IDE.  I do not know that mvn jetty:run is capable of seeing changing to .java files and doing a recompile (Tapestry's job picks up when it sees changes to the .class files).  Unless you can show me that Maven is compiling the files, I'll have to close this as invalid.  Please research in the tutorial how to run the application from inside the IDE.
                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>            Assignee: Howard M. Lewis Ship
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Stan S (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163084#comment-13163084 ] 

Stan S commented on TAP5-1771:
------------------------------

Actually, the very first test I performed was from within the Netbeans IDE. The reason I sent the mvn jetty:run output was because I assumed that would be the lowest common denominator as I opened a "Maven Project" within Netbeans which would be the same. 

Based on the responses I think what you are saying then is that Live class reloading will work from the Eclipse IDE only. Either that or I have to research what the equivalent of the Eclipse/m2eclipse configuration is in Netbeans.

Eitherways, I agree I should have posted on the mailing list before creating an issue here. Sorry about that and will do next time.

Thanks for the pointers.

Stan


                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Stan S (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan S updated TAP5-1771:
-------------------------

          Component/s:     (was: tapestry-ioc)
                       tapestry-core
          Description: 
I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html

I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.

Changing the currentTime() method to:

 public String getCurrentTime()
 {
    return "A great day to learn Tapestry";
 }

And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.

Here is the output of mvn jetty:run:

[root@bagvapp tutorial1]# mvn jetty:run
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
[INFO] 
[INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
[INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
[INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
[INFO] Classes = /opt/tapestry/tutorial1/target/classes
2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
[INFO] Context path = /tutorial1
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
[INFO] Starting jetty 6.1.16 ...
2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
[INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
[INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
[INFO] TapestryModule.ComponentClassResolver Available pages (8):
              (blank): com.example.tutorial.pages.Index
                About: com.example.tutorial.pages.About
              Contact: com.example.tutorial.pages.Contact
      ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
                Index: com.example.tutorial.pages.Index
          PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
   PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
        ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus

[INFO] TapestryModule.ComponentClassResolver Available components (55):
               ActionLink: org.apache.tapestry5.corelib.components.ActionLink
               AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
             AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
                   Alerts: org.apache.tapestry5.corelib.components.Alerts
                      Any: org.apache.tapestry5.corelib.components.Any
              BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
             BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
               BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
                 Checkbox: org.apache.tapestry5.corelib.components.Checkbox
                Checklist: org.apache.tapestry5.corelib.components.Checklist
                DateField: org.apache.tapestry5.corelib.components.DateField
                 Delegate: org.apache.tapestry5.corelib.components.Delegate
                  Doctype: org.apache.tapestry5.corelib.components.Doctype
                  Dynamic: org.apache.tapestry5.corelib.components.Dynamic
                    Error: org.apache.tapestry5.corelib.components.Error
                   Errors: org.apache.tapestry5.corelib.components.Errors
                EventLink: org.apache.tapestry5.corelib.components.EventLink
         ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
                     Form: org.apache.tapestry5.corelib.components.Form
             FormFragment: org.apache.tapestry5.corelib.components.FormFragment
             FormInjector: org.apache.tapestry5.corelib.components.FormInjector
                     Grid: org.apache.tapestry5.corelib.components.Grid
                 GridCell: org.apache.tapestry5.corelib.components.GridCell
              GridColumns: org.apache.tapestry5.corelib.components.GridColumns
                GridPager: org.apache.tapestry5.corelib.components.GridPager
                 GridRows: org.apache.tapestry5.corelib.components.GridRows
                   Hidden: org.apache.tapestry5.corelib.components.Hidden
                       If: org.apache.tapestry5.corelib.components.If
                    Label: org.apache.tapestry5.corelib.components.Label
                   Layout: com.example.tutorial.components.Layout
               LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
                     Loop: org.apache.tapestry5.corelib.components.Loop
                   Output: org.apache.tapestry5.corelib.components.Output
                OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
                 PageLink: org.apache.tapestry5.corelib.components.PageLink
                  Palette: org.apache.tapestry5.corelib.components.Palette
            PasswordField: org.apache.tapestry5.corelib.components.PasswordField
       ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
          PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
           PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
                    Radio: org.apache.tapestry5.corelib.components.Radio
               RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
            RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
             RenderObject: org.apache.tapestry5.corelib.components.RenderObject
                   Select: org.apache.tapestry5.corelib.components.Select
                   Submit: org.apache.tapestry5.corelib.components.Submit
           SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
                 TextArea: org.apache.tapestry5.corelib.components.TextArea
                TextField: org.apache.tapestry5.corelib.components.TextField
               TextOutput: org.apache.tapestry5.corelib.components.TextOutput
                     Tree: org.apache.tapestry5.corelib.components.Tree
                  Trigger: org.apache.tapestry5.corelib.components.Trigger
                   Unless: org.apache.tapestry5.corelib.components.Unless
                     Zone: org.apache.tapestry5.corelib.components.Zone
t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout

[INFO] TapestryModule.ComponentClassResolver Available mixins (10):
      Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
       DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
    FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
          NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
    RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
    RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
   RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
   TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
       ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh

[INFO] tapestry5.TapestryFilter Startup status:

Services:

             ActionRenderResponseGenerator: DEFINED
          AjaxComponentEventRequestHandler: DEFINED
         AjaxComponentEventResultProcessor: DEFINED
                  AjaxFormUpdateController: DEFINED
               AjaxPartialResponseRenderer: DEFINED
                      AjaxResponseRenderer: DEFINED
                              AlertManager: DEFINED
                       ApplicationDefaults: REAL
                        ApplicationGlobals: REAL
                    ApplicationInitializer: REAL
                   ApplicationStateManager: DEFINED
 ApplicationStatePersistenceStrategySource: DEFINED
                           AspectDecorator: VIRTUAL
                       AssetBindingFactory: DEFINED
                           AssetDispatcher: DEFINED
                       AssetObjectProvider: REAL
                      AssetPathConstructor: DEFINED
                        AssetPathConverter: DEFINED
                      AssetResourceLocator: DEFINED
                               AssetSource: VIRTUAL
                             BaseURLSource: DEFINED
                   BeanBlockOverrideSource: DEFINED
                           BeanBlockSource: DEFINED
                           BeanModelSource: DEFINED
                             BindingSource: DEFINED
                              ChainBuilder: VIRTUAL
                              ClassFactory: BUILTIN
                          ClassNameLocator: REAL
                ClasspathAssetAliasManager: DEFINED
                     ClasspathAssetFactory: DEFINED
                     ClasspathURLConverter: REAL
                     ClientBehaviorSupport: DEFINED
                         ClientDataEncoder: DEFINED
              ClientPersistentFieldStorage: DEFINED
             ClientPersistentFieldStrategy: DEFINED
                           ClientWhitelist: DEFINED
                       ComponentClassCache: VIRTUAL
                     ComponentClassFactory: DEFINED
                    ComponentClassResolver: REAL
             ComponentClassTransformWorker: DEFINED
      ComponentClassesInvalidationEventHub: REAL
                  ComponentDefaultProvider: DEFINED
                 ComponentEventLinkEncoder: DEFINED
             ComponentEventLinkTransformer: DEFINED
              ComponentEventRequestHandler: DEFINED
             ComponentEventResultProcessor: DEFINED
          ComponentInstanceResultProcessor: DEFINED
               ComponentInstantiatorSource: DEFINED
     ComponentMessagesInvalidationEventHub: DEFINED
                   ComponentMessagesSource: DEFINED
                      ComponentModelSource: DEFINED
       ComponentPageElementResourcesSource: DEFINED
                     ComponentProxyFactory: DEFINED
                   ComponentRequestHandler: DEFINED
          ComponentRequestSelectorAnalyzer: DEFINED
                  ComponentResourceLocator: DEFINED
                           ComponentSource: DEFINED
                  ComponentTemplateLocator: DEFINED
                   ComponentTemplateSource: DEFINED
    ComponentTemplatesInvalidationEventHub: DEFINED
                       CompressionAnalyzer: DEFINED
                       ContentTypeAnalyzer: DEFINED
                                   Context: DEFINED
                       ContextAssetFactory: DEFINED
                     ContextBindingFactory: DEFINED
                        ContextPathEncoder: DEFINED
                       ContextValueEncoder: DEFINED
                                CookieSink: DEFINED
                              CookieSource: DEFINED
                                   Cookies: DEFINED
                          DataTypeAnalyzer: DEFINED
                   DefaultDataTypeAnalyzer: DEFINED
              DefaultImplementationBuilder: VIRTUAL
                         DeferredExecution: DEFINED
                     DynamicTemplateParser: VIRTUAL
                      EndOfRequestEventHub: REAL
                               Environment: DEFINED
                EnvironmentalShadowBuilder: VIRTUAL
                         ExceptionAnalyzer: DEFINED
                          ExceptionTracker: DEFINED
                           FactoryDefaults: REAL
                     FieldTranslatorSource: DEFINED
                    FieldValidationSupport: DEFINED
               FieldValidatorDefaultSource: DEFINED
                      FieldValidatorSource: DEFINED
                               FormSupport: DEFINED
                                 Heartbeat: DEFINED
                  HiddenFieldLocationRules: DEFINED
                        HttpServletRequest: DEFINED
                 HttpServletRequestHandler: VIRTUAL
                       HttpServletResponse: DEFINED
                        IgnoredPathsFilter: DEFINED
                         InjectionProvider: DEFINED
     InternalComponentInvalidationEventHub: REAL
                    InternalRequestGlobals: DEFINED
            JavaScriptStackPathConstructor: DEFINED
                     JavaScriptStackSource: DEFINED
                         JavaScriptSupport: DEFINED
                               LazyAdvisor: DEFINED
                           LinkCreationHub: DEFINED
                                LinkSource: DEFINED
                           LinkTransformer: DEFINED
                        LocalizationSetter: DEFINED
                          LocationRenderer: DEFINED
                              LoggerSource: BUILTIN
                            LoggingAdvisor: DEFINED
                          LoggingDecorator: DEFINED
                            MarkupRenderer: DEFINED
                       MarkupWriterFactory: DEFINED
                          MasterDispatcher: DEFINED
                      MasterObjectProvider: REAL
           MasterStackTraceElementAnalyzer: DEFINED
                     MessageBindingFactory: DEFINED
                           MetaDataLocator: DEFINED
                                MetaWorker: DEFINED
           NullFieldStrategyBindingFactory: DEFINED
                   NullFieldStrategySource: DEFINED
                  NumericTranslatorSupport: DEFINED
                            ObjectRenderer: DEFINED
            PageActivationContextCollector: DEFINED
                             PageActivator: DEFINED
                   PageContentTypeAnalyzer: DEFINED
                     PageDocumentGenerator: DEFINED
                        PageElementFactory: DEFINED
                                PageLoader: DEFINED
                        PageMarkupRenderer: DEFINED
                      PageRenderLinkSource: DEFINED
                 PageRenderLinkTransformer: DEFINED
                           PageRenderQueue: DEFINED
                  PageRenderRequestHandler: DEFINED
                      PageResponseRenderer: DEFINED
                                PageSource: DEFINED
                     PartialMarkupRenderer: DEFINED
                          PeriodicExecutor: DEFINED
                    PersistentFieldManager: DEFINED
                          PersistentLocale: DEFINED
                          PerthreadManager: BUILTIN
                           PipelineBuilder: REAL
                       PlasticProxyFactory: BUILTIN
                        PropBindingFactory: DEFINED
                      PropertiesFileParser: DEFINED
                            PropertyAccess: VIRTUAL
                     PropertyConduitSource: DEFINED
                     PropertyShadowBuilder: VIRTUAL
                       RegistryShutdownHub: BUILTIN
                           RegistryStartup: REAL
                             RenderSupport: DEFINED
                                   Request: VIRTUAL
                   RequestExceptionHandler: DEFINED
                            RequestGlobals: DEFINED
                            RequestHandler: DEFINED
                          RequestPageCache: DEFINED
                    RequestSecurityManager: DEFINED
                     ResourceChangeTracker: DEFINED
                   ResourceDigestGenerator: DEFINED
                     ResourceDigestManager: DEFINED
                         ResourceMinimizer: DEFINED
                          ResourceStreamer: DEFINED
                                  Response: VIRTUAL
               ResponseCompressionAnalyzer: DEFINED
                          ResponseRenderer: DEFINED
                        SelectModelFactory: DEFINED
                 ServiceActivityScoreboard: BUILTIN
                    ServiceLifecycleSource: REAL
                           ServiceOverride: REAL
             ServletApplicationInitializer: REAL
SessionApplicationStatePersistenceStrategy: DEFINED
            SessionPersistedObjectAnalyzer: DEFINED
                           StrategyBuilder: VIRTUAL
                  StreamableResourceSource: DEFINED
                            StringInterner: DEFINED
                      SymbolBindingFactory: DEFINED
                              SymbolSource: REAL
                    TapestrySessionFactory: DEFINED
                            TemplateParser: DEFINED
                              ThreadLocale: DEFINED
                              ThunkCreator: DEFINED
                              TimingFilter: DEFINED
                   TranslateBindingFactory: DEFINED
                TranslatorAlternatesSource: DEFINED
                          TranslatorSource: DEFINED
                               TypeCoercer: REAL
                                URLEncoder: DEFINED
                         UpdateListenerHub: DEFINED
                    ValidateBindingFactory: DEFINED
             ValidationConstraintGenerator: DEFINED
                ValidationDecoratorFactory: DEFINED
                            ValidatorMacro: DEFINED
                        ValueEncoderSource: DEFINED

86.77% unrealized services (164/189)

Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.

 ______                  __             ____
/_  __/__ ____  ___ ___ / /_______ __  / __/
 / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
/_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
        /_/                   /___/  5.3 (development mode)


2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server








  was:
I am using eclipse, with maven plugin m2eclipse. 

When I launch tomcat with tomcat-maven-plugin (V 1.1), pages don't reload when I modify them. I have to restart my web server to see the changes.

What I noticed when I modify a page :
 * Tapestry is notified of a modification of the class file
 * It flushes the old page instance and tries to reload the class file
 * It in fact reloads the old version of the file -> it seems that Tomcat classloader gives the old class file inputStream in getResourceAsStream methods

I made a modification in ClassFactoryClassPool to get a clean new InputStream from the classFile, that fixed my issue, now pages are well reloaded when I modify them under Tomcat.




          Environment: 
# mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /opt/maven/maven
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: /opt/jdk6/jdk1.6.0_29/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"


    Affects Version/s:     (was: 5.2.2)
                       5.3
    
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.3
>
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Thiago H. de Paula Figueiredo (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago H. de Paula Figueiredo closed TAP5-1771.
-----------------------------------------------

    Resolution: Invalid
      Assignee:     (was: Howard M. Lewis Ship)
    
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Robert Zeigler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163091#comment-13163091 ] 

Robert Zeigler commented on TAP5-1771:
--------------------------------------

I haven't tried Tapestry with Netbeans, but I see no reason why it shouldn't work. The key is making sure that changes to java source files are properly compiled and placed in a location where Tapestry can "see" that the class file has been modified. For instance, if you're using jetty from the command line, then run with:

mvn jetty:run 

Then, after changing a .java file, do:

mvn compile

Tapestry should now see the change.*

I can't speak to what Netbeans is or isn't doing to the source & compiled output that might throw Tapestry off, but I know that the command-line mvn works fine.

* If you make changes to resources (anything in src/main/resources, such as component or page templates), you need to run mvn process-resources)
                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Thiago H. de Paula Figueiredo (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago H. de Paula Figueiredo closed TAP5-1771.
-----------------------------------------------

    Resolution: Invalid
      Assignee:     (was: Howard M. Lewis Ship)
    
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Thiago H. de Paula Figueiredo (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago H. de Paula Figueiredo updated TAP5-1771:
------------------------------------------------

    Fix Version/s:     (was: 5.3)

Hi!

Please post an e-mail to the user mailing list before creating an issue here. 

The problem you describe is an Eclipse/m2eclipse configuration problem, not a Tapestry one. More details in this thread: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-td4974308.html#a4977588.
                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>            Assignee: Howard M. Lewis Ship
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Stan S (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan S updated TAP5-1771:
-------------------------

          Component/s:     (was: tapestry-ioc)
                       tapestry-core
          Description: 
I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html

I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.

Changing the currentTime() method to:

 public String getCurrentTime()
 {
    return "A great day to learn Tapestry";
 }

And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.

Here is the output of mvn jetty:run:

[root@bagvapp tutorial1]# mvn jetty:run
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
[INFO] 
[INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
[INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
[INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
[INFO] Classes = /opt/tapestry/tutorial1/target/classes
2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
[INFO] Context path = /tutorial1
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
[INFO] Starting jetty 6.1.16 ...
2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
[INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
[INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
[INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
[INFO] TapestryModule.ComponentClassResolver Available pages (8):
              (blank): com.example.tutorial.pages.Index
                About: com.example.tutorial.pages.About
              Contact: com.example.tutorial.pages.Contact
      ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
                Index: com.example.tutorial.pages.Index
          PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
   PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
        ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus

[INFO] TapestryModule.ComponentClassResolver Available components (55):
               ActionLink: org.apache.tapestry5.corelib.components.ActionLink
               AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
             AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
                   Alerts: org.apache.tapestry5.corelib.components.Alerts
                      Any: org.apache.tapestry5.corelib.components.Any
              BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
             BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
               BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
                 Checkbox: org.apache.tapestry5.corelib.components.Checkbox
                Checklist: org.apache.tapestry5.corelib.components.Checklist
                DateField: org.apache.tapestry5.corelib.components.DateField
                 Delegate: org.apache.tapestry5.corelib.components.Delegate
                  Doctype: org.apache.tapestry5.corelib.components.Doctype
                  Dynamic: org.apache.tapestry5.corelib.components.Dynamic
                    Error: org.apache.tapestry5.corelib.components.Error
                   Errors: org.apache.tapestry5.corelib.components.Errors
                EventLink: org.apache.tapestry5.corelib.components.EventLink
         ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
                     Form: org.apache.tapestry5.corelib.components.Form
             FormFragment: org.apache.tapestry5.corelib.components.FormFragment
             FormInjector: org.apache.tapestry5.corelib.components.FormInjector
                     Grid: org.apache.tapestry5.corelib.components.Grid
                 GridCell: org.apache.tapestry5.corelib.components.GridCell
              GridColumns: org.apache.tapestry5.corelib.components.GridColumns
                GridPager: org.apache.tapestry5.corelib.components.GridPager
                 GridRows: org.apache.tapestry5.corelib.components.GridRows
                   Hidden: org.apache.tapestry5.corelib.components.Hidden
                       If: org.apache.tapestry5.corelib.components.If
                    Label: org.apache.tapestry5.corelib.components.Label
                   Layout: com.example.tutorial.components.Layout
               LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
                     Loop: org.apache.tapestry5.corelib.components.Loop
                   Output: org.apache.tapestry5.corelib.components.Output
                OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
                 PageLink: org.apache.tapestry5.corelib.components.PageLink
                  Palette: org.apache.tapestry5.corelib.components.Palette
            PasswordField: org.apache.tapestry5.corelib.components.PasswordField
       ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
          PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
           PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
                    Radio: org.apache.tapestry5.corelib.components.Radio
               RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
            RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
             RenderObject: org.apache.tapestry5.corelib.components.RenderObject
                   Select: org.apache.tapestry5.corelib.components.Select
                   Submit: org.apache.tapestry5.corelib.components.Submit
           SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
                 TextArea: org.apache.tapestry5.corelib.components.TextArea
                TextField: org.apache.tapestry5.corelib.components.TextField
               TextOutput: org.apache.tapestry5.corelib.components.TextOutput
                     Tree: org.apache.tapestry5.corelib.components.Tree
                  Trigger: org.apache.tapestry5.corelib.components.Trigger
                   Unless: org.apache.tapestry5.corelib.components.Unless
                     Zone: org.apache.tapestry5.corelib.components.Zone
t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout

[INFO] TapestryModule.ComponentClassResolver Available mixins (10):
      Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
       DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
    FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
          NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
    RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
    RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
   RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
   TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
       ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh

[INFO] tapestry5.TapestryFilter Startup status:

Services:

             ActionRenderResponseGenerator: DEFINED
          AjaxComponentEventRequestHandler: DEFINED
         AjaxComponentEventResultProcessor: DEFINED
                  AjaxFormUpdateController: DEFINED
               AjaxPartialResponseRenderer: DEFINED
                      AjaxResponseRenderer: DEFINED
                              AlertManager: DEFINED
                       ApplicationDefaults: REAL
                        ApplicationGlobals: REAL
                    ApplicationInitializer: REAL
                   ApplicationStateManager: DEFINED
 ApplicationStatePersistenceStrategySource: DEFINED
                           AspectDecorator: VIRTUAL
                       AssetBindingFactory: DEFINED
                           AssetDispatcher: DEFINED
                       AssetObjectProvider: REAL
                      AssetPathConstructor: DEFINED
                        AssetPathConverter: DEFINED
                      AssetResourceLocator: DEFINED
                               AssetSource: VIRTUAL
                             BaseURLSource: DEFINED
                   BeanBlockOverrideSource: DEFINED
                           BeanBlockSource: DEFINED
                           BeanModelSource: DEFINED
                             BindingSource: DEFINED
                              ChainBuilder: VIRTUAL
                              ClassFactory: BUILTIN
                          ClassNameLocator: REAL
                ClasspathAssetAliasManager: DEFINED
                     ClasspathAssetFactory: DEFINED
                     ClasspathURLConverter: REAL
                     ClientBehaviorSupport: DEFINED
                         ClientDataEncoder: DEFINED
              ClientPersistentFieldStorage: DEFINED
             ClientPersistentFieldStrategy: DEFINED
                           ClientWhitelist: DEFINED
                       ComponentClassCache: VIRTUAL
                     ComponentClassFactory: DEFINED
                    ComponentClassResolver: REAL
             ComponentClassTransformWorker: DEFINED
      ComponentClassesInvalidationEventHub: REAL
                  ComponentDefaultProvider: DEFINED
                 ComponentEventLinkEncoder: DEFINED
             ComponentEventLinkTransformer: DEFINED
              ComponentEventRequestHandler: DEFINED
             ComponentEventResultProcessor: DEFINED
          ComponentInstanceResultProcessor: DEFINED
               ComponentInstantiatorSource: DEFINED
     ComponentMessagesInvalidationEventHub: DEFINED
                   ComponentMessagesSource: DEFINED
                      ComponentModelSource: DEFINED
       ComponentPageElementResourcesSource: DEFINED
                     ComponentProxyFactory: DEFINED
                   ComponentRequestHandler: DEFINED
          ComponentRequestSelectorAnalyzer: DEFINED
                  ComponentResourceLocator: DEFINED
                           ComponentSource: DEFINED
                  ComponentTemplateLocator: DEFINED
                   ComponentTemplateSource: DEFINED
    ComponentTemplatesInvalidationEventHub: DEFINED
                       CompressionAnalyzer: DEFINED
                       ContentTypeAnalyzer: DEFINED
                                   Context: DEFINED
                       ContextAssetFactory: DEFINED
                     ContextBindingFactory: DEFINED
                        ContextPathEncoder: DEFINED
                       ContextValueEncoder: DEFINED
                                CookieSink: DEFINED
                              CookieSource: DEFINED
                                   Cookies: DEFINED
                          DataTypeAnalyzer: DEFINED
                   DefaultDataTypeAnalyzer: DEFINED
              DefaultImplementationBuilder: VIRTUAL
                         DeferredExecution: DEFINED
                     DynamicTemplateParser: VIRTUAL
                      EndOfRequestEventHub: REAL
                               Environment: DEFINED
                EnvironmentalShadowBuilder: VIRTUAL
                         ExceptionAnalyzer: DEFINED
                          ExceptionTracker: DEFINED
                           FactoryDefaults: REAL
                     FieldTranslatorSource: DEFINED
                    FieldValidationSupport: DEFINED
               FieldValidatorDefaultSource: DEFINED
                      FieldValidatorSource: DEFINED
                               FormSupport: DEFINED
                                 Heartbeat: DEFINED
                  HiddenFieldLocationRules: DEFINED
                        HttpServletRequest: DEFINED
                 HttpServletRequestHandler: VIRTUAL
                       HttpServletResponse: DEFINED
                        IgnoredPathsFilter: DEFINED
                         InjectionProvider: DEFINED
     InternalComponentInvalidationEventHub: REAL
                    InternalRequestGlobals: DEFINED
            JavaScriptStackPathConstructor: DEFINED
                     JavaScriptStackSource: DEFINED
                         JavaScriptSupport: DEFINED
                               LazyAdvisor: DEFINED
                           LinkCreationHub: DEFINED
                                LinkSource: DEFINED
                           LinkTransformer: DEFINED
                        LocalizationSetter: DEFINED
                          LocationRenderer: DEFINED
                              LoggerSource: BUILTIN
                            LoggingAdvisor: DEFINED
                          LoggingDecorator: DEFINED
                            MarkupRenderer: DEFINED
                       MarkupWriterFactory: DEFINED
                          MasterDispatcher: DEFINED
                      MasterObjectProvider: REAL
           MasterStackTraceElementAnalyzer: DEFINED
                     MessageBindingFactory: DEFINED
                           MetaDataLocator: DEFINED
                                MetaWorker: DEFINED
           NullFieldStrategyBindingFactory: DEFINED
                   NullFieldStrategySource: DEFINED
                  NumericTranslatorSupport: DEFINED
                            ObjectRenderer: DEFINED
            PageActivationContextCollector: DEFINED
                             PageActivator: DEFINED
                   PageContentTypeAnalyzer: DEFINED
                     PageDocumentGenerator: DEFINED
                        PageElementFactory: DEFINED
                                PageLoader: DEFINED
                        PageMarkupRenderer: DEFINED
                      PageRenderLinkSource: DEFINED
                 PageRenderLinkTransformer: DEFINED
                           PageRenderQueue: DEFINED
                  PageRenderRequestHandler: DEFINED
                      PageResponseRenderer: DEFINED
                                PageSource: DEFINED
                     PartialMarkupRenderer: DEFINED
                          PeriodicExecutor: DEFINED
                    PersistentFieldManager: DEFINED
                          PersistentLocale: DEFINED
                          PerthreadManager: BUILTIN
                           PipelineBuilder: REAL
                       PlasticProxyFactory: BUILTIN
                        PropBindingFactory: DEFINED
                      PropertiesFileParser: DEFINED
                            PropertyAccess: VIRTUAL
                     PropertyConduitSource: DEFINED
                     PropertyShadowBuilder: VIRTUAL
                       RegistryShutdownHub: BUILTIN
                           RegistryStartup: REAL
                             RenderSupport: DEFINED
                                   Request: VIRTUAL
                   RequestExceptionHandler: DEFINED
                            RequestGlobals: DEFINED
                            RequestHandler: DEFINED
                          RequestPageCache: DEFINED
                    RequestSecurityManager: DEFINED
                     ResourceChangeTracker: DEFINED
                   ResourceDigestGenerator: DEFINED
                     ResourceDigestManager: DEFINED
                         ResourceMinimizer: DEFINED
                          ResourceStreamer: DEFINED
                                  Response: VIRTUAL
               ResponseCompressionAnalyzer: DEFINED
                          ResponseRenderer: DEFINED
                        SelectModelFactory: DEFINED
                 ServiceActivityScoreboard: BUILTIN
                    ServiceLifecycleSource: REAL
                           ServiceOverride: REAL
             ServletApplicationInitializer: REAL
SessionApplicationStatePersistenceStrategy: DEFINED
            SessionPersistedObjectAnalyzer: DEFINED
                           StrategyBuilder: VIRTUAL
                  StreamableResourceSource: DEFINED
                            StringInterner: DEFINED
                      SymbolBindingFactory: DEFINED
                              SymbolSource: REAL
                    TapestrySessionFactory: DEFINED
                            TemplateParser: DEFINED
                              ThreadLocale: DEFINED
                              ThunkCreator: DEFINED
                              TimingFilter: DEFINED
                   TranslateBindingFactory: DEFINED
                TranslatorAlternatesSource: DEFINED
                          TranslatorSource: DEFINED
                               TypeCoercer: REAL
                                URLEncoder: DEFINED
                         UpdateListenerHub: DEFINED
                    ValidateBindingFactory: DEFINED
             ValidationConstraintGenerator: DEFINED
                ValidationDecoratorFactory: DEFINED
                            ValidatorMacro: DEFINED
                        ValueEncoderSource: DEFINED

86.77% unrealized services (164/189)

Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.

 ______                  __             ____
/_  __/__ ____  ___ ___ / /_______ __  / __/
 / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
/_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
        /_/                   /___/  5.3 (development mode)


2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server








  was:
I am using eclipse, with maven plugin m2eclipse. 

When I launch tomcat with tomcat-maven-plugin (V 1.1), pages don't reload when I modify them. I have to restart my web server to see the changes.

What I noticed when I modify a page :
 * Tapestry is notified of a modification of the class file
 * It flushes the old page instance and tries to reload the class file
 * It in fact reloads the old version of the file -> it seems that Tomcat classloader gives the old class file inputStream in getResourceAsStream methods

I made a modification in ClassFactoryClassPool to get a clean new InputStream from the classFile, that fixed my issue, now pages are well reloaded when I modify them under Tomcat.




          Environment: 
# mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /opt/maven/maven
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: /opt/jdk6/jdk1.6.0_29/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"


    Affects Version/s:     (was: 5.2.2)
                       5.3
    
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.3
>
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Stan S (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163084#comment-13163084 ] 

Stan S commented on TAP5-1771:
------------------------------

Actually, the very first test I performed was from within the Netbeans IDE. The reason I sent the mvn jetty:run output was because I assumed that would be the lowest common denominator as I opened a "Maven Project" within Netbeans which would be the same. 

Based on the responses I think what you are saying then is that Live class reloading will work from the Eclipse IDE only. Either that or I have to research what the equivalent of the Eclipse/m2eclipse configuration is in Netbeans.

Eitherways, I agree I should have posted on the mailing list before creating an issue here. Sorry about that and will do next time.

Thanks for the pointers.

Stan


                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Thiago H. de Paula Figueiredo (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago H. de Paula Figueiredo updated TAP5-1771:
------------------------------------------------

    Fix Version/s:     (was: 5.3)

Hi!

Please post an e-mail to the user mailing list before creating an issue here. 

The problem you describe is an Eclipse/m2eclipse configuration problem, not a Tapestry one. More details in this thread: http://tapestry.1045711.n5.nabble.com/Changes-in-the-tml-and-components-are-not-reflecting-td4974308.html#a4977588.
                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>            Assignee: Howard M. Lewis Ship
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1771) Live Class Reloading not working using mvn:jetty run

Posted by "Robert Zeigler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163091#comment-13163091 ] 

Robert Zeigler commented on TAP5-1771:
--------------------------------------

I haven't tried Tapestry with Netbeans, but I see no reason why it shouldn't work. The key is making sure that changes to java source files are properly compiled and placed in a location where Tapestry can "see" that the class file has been modified. For instance, if you're using jetty from the command line, then run with:

mvn jetty:run 

Then, after changing a .java file, do:

mvn compile

Tapestry should now see the change.*

I can't speak to what Netbeans is or isn't doing to the source & compiled output that might throw Tapestry off, but I know that the command-line mvn works fine.

* If you make changes to resources (anything in src/main/resources, such as component or page templates), you need to run mvn process-resources)
                
> Live Class Reloading not working using mvn:jetty run
> ----------------------------------------------------
>
>                 Key: TAP5-1771
>                 URL: https://issues.apache.org/jira/browse/TAP5-1771
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>         Environment: # mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /opt/maven/maven
> Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
> Java home: /opt/jdk6/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.7.1.el5.centos.plus", arch: "i386", family: "unix"
>            Reporter: Stan S
>
> I am following the Tapestry tutorial at http://tapestry.apache.org/exploring-the-project.html
> I've run mvn:jetty and everything works fine until I reach the part about live class reloading in the "A Magic Trick" section.
> Changing the currentTime() method to:
>  public String getCurrentTime()
>  {
>     return "A great day to learn Tapestry";
>  }
> And then reloading the web page does not reload the changes and I'm still seeing Current Date/Time.
> Here is the output of mvn jetty:run:
> [root@bagvapp tutorial1]# mvn jetty:run
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ tutorial1 ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tutorial1 ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 <<<
> [INFO] 
> [INFO] --- maven-jetty-plugin:6.1.16:run (default-cli) @ tutorial1 ---
> [INFO] Configuring Jetty for project: tutorial1 Tapestry 5 Application
> [INFO] Webapp source directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Reload Mechanic: automatic
> [INFO] web.xml file = /opt/tapestry/tutorial1/src/main/webapp/WEB-INF/web.xml
> [INFO] Classes = /opt/tapestry/tutorial1/target/classes
> 2011-12-05 21:21:38.774::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> [INFO] Context path = /tutorial1
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Webapp directory = /opt/tapestry/tutorial1/src/main/webapp
> [INFO] Starting jetty 6.1.16 ...
> 2011-12-05 21:21:39.175::INFO:  jetty-6.1.16
> 2011-12-05 21:21:39.277::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.yuicompressor.services.YuiCompressorModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.services.pageload.PageLoadModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.AppModule
> [INFO] ioc.RegistryBuilder Adding module definition for class com.example.tutorial.services.DevelopmentModule
> [INFO] TapestryModule.ComponentClassResolver Available pages (8):
>               (blank): com.example.tutorial.pages.Index
>                 About: com.example.tutorial.pages.About
>               Contact: com.example.tutorial.pages.Contact
>       ExceptionReport: org.apache.tapestry5.corelib.pages.ExceptionReport
>                 Index: com.example.tutorial.pages.Index
>           PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
> PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
>    PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
>         ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
> [INFO] TapestryModule.ComponentClassResolver Available components (55):
>                ActionLink: org.apache.tapestry5.corelib.components.ActionLink
>                AddRowLink: org.apache.tapestry5.corelib.components.AddRowLink
>              AjaxFormLoop: org.apache.tapestry5.corelib.components.AjaxFormLoop
>                    Alerts: org.apache.tapestry5.corelib.components.Alerts
>                       Any: org.apache.tapestry5.corelib.components.Any
>               BeanDisplay: org.apache.tapestry5.corelib.components.BeanDisplay
>              BeanEditForm: org.apache.tapestry5.corelib.components.BeanEditForm
>                BeanEditor: org.apache.tapestry5.corelib.components.BeanEditor
>                  Checkbox: org.apache.tapestry5.corelib.components.Checkbox
>                 Checklist: org.apache.tapestry5.corelib.components.Checklist
>                 DateField: org.apache.tapestry5.corelib.components.DateField
>                  Delegate: org.apache.tapestry5.corelib.components.Delegate
>                   Doctype: org.apache.tapestry5.corelib.components.Doctype
>                   Dynamic: org.apache.tapestry5.corelib.components.Dynamic
>                     Error: org.apache.tapestry5.corelib.components.Error
>                    Errors: org.apache.tapestry5.corelib.components.Errors
>                 EventLink: org.apache.tapestry5.corelib.components.EventLink
>          ExceptionDisplay: org.apache.tapestry5.corelib.components.ExceptionDisplay
>                      Form: org.apache.tapestry5.corelib.components.Form
>              FormFragment: org.apache.tapestry5.corelib.components.FormFragment
>              FormInjector: org.apache.tapestry5.corelib.components.FormInjector
>                      Grid: org.apache.tapestry5.corelib.components.Grid
>                  GridCell: org.apache.tapestry5.corelib.components.GridCell
>               GridColumns: org.apache.tapestry5.corelib.components.GridColumns
>                 GridPager: org.apache.tapestry5.corelib.components.GridPager
>                  GridRows: org.apache.tapestry5.corelib.components.GridRows
>                    Hidden: org.apache.tapestry5.corelib.components.Hidden
>                        If: org.apache.tapestry5.corelib.components.If
>                     Label: org.apache.tapestry5.corelib.components.Label
>                    Layout: com.example.tutorial.components.Layout
>                LinkSubmit: org.apache.tapestry5.corelib.components.LinkSubmit
>                      Loop: org.apache.tapestry5.corelib.components.Loop
>                    Output: org.apache.tapestry5.corelib.components.Output
>                 OutputRaw: org.apache.tapestry5.corelib.components.OutputRaw
>                  PageLink: org.apache.tapestry5.corelib.components.PageLink
>                   Palette: org.apache.tapestry5.corelib.components.Palette
>             PasswordField: org.apache.tapestry5.corelib.components.PasswordField
>        ProgressiveDisplay: org.apache.tapestry5.corelib.components.ProgressiveDisplay
>           PropertyDisplay: org.apache.tapestry5.corelib.components.PropertyDisplay
>            PropertyEditor: org.apache.tapestry5.corelib.components.PropertyEditor
>                     Radio: org.apache.tapestry5.corelib.components.Radio
>                RadioGroup: org.apache.tapestry5.corelib.components.RadioGroup
>             RemoveRowLink: org.apache.tapestry5.corelib.components.RemoveRowLink
>              RenderObject: org.apache.tapestry5.corelib.components.RenderObject
>                    Select: org.apache.tapestry5.corelib.components.Select
>                    Submit: org.apache.tapestry5.corelib.components.Submit
>            SubmitNotifier: org.apache.tapestry5.corelib.components.SubmitNotifier
>                  TextArea: org.apache.tapestry5.corelib.components.TextArea
>                 TextField: org.apache.tapestry5.corelib.components.TextField
>                TextOutput: org.apache.tapestry5.corelib.components.TextOutput
>                      Tree: org.apache.tapestry5.corelib.components.Tree
>                   Trigger: org.apache.tapestry5.corelib.components.Trigger
>                    Unless: org.apache.tapestry5.corelib.components.Unless
>                      Zone: org.apache.tapestry5.corelib.components.Zone
> t5internal/InternalLayout: org.apache.tapestry5.internal.t5internal.components.InternalLayout
> [INFO] TapestryModule.ComponentClassResolver Available mixins (10):
>       Autocomplete: org.apache.tapestry5.corelib.mixins.Autocomplete
>        DiscardBody: org.apache.tapestry5.corelib.mixins.DiscardBody
>     FormFieldFocus: org.apache.tapestry5.corelib.mixins.FormFieldFocus
>           NotEmpty: org.apache.tapestry5.corelib.mixins.NotEmpty
>     RenderClientId: org.apache.tapestry5.corelib.mixins.RenderClientId
>     RenderDisabled: org.apache.tapestry5.corelib.mixins.RenderDisabled
>    RenderInformals: org.apache.tapestry5.corelib.mixins.RenderInformals
> RenderNotification: org.apache.tapestry5.corelib.mixins.RenderNotification
>    TriggerFragment: org.apache.tapestry5.corelib.mixins.TriggerFragment
>        ZoneRefresh: org.apache.tapestry5.corelib.mixins.ZoneRefresh
> [INFO] tapestry5.TapestryFilter Startup status:
> Services:
>              ActionRenderResponseGenerator: DEFINED
>           AjaxComponentEventRequestHandler: DEFINED
>          AjaxComponentEventResultProcessor: DEFINED
>                   AjaxFormUpdateController: DEFINED
>                AjaxPartialResponseRenderer: DEFINED
>                       AjaxResponseRenderer: DEFINED
>                               AlertManager: DEFINED
>                        ApplicationDefaults: REAL
>                         ApplicationGlobals: REAL
>                     ApplicationInitializer: REAL
>                    ApplicationStateManager: DEFINED
>  ApplicationStatePersistenceStrategySource: DEFINED
>                            AspectDecorator: VIRTUAL
>                        AssetBindingFactory: DEFINED
>                            AssetDispatcher: DEFINED
>                        AssetObjectProvider: REAL
>                       AssetPathConstructor: DEFINED
>                         AssetPathConverter: DEFINED
>                       AssetResourceLocator: DEFINED
>                                AssetSource: VIRTUAL
>                              BaseURLSource: DEFINED
>                    BeanBlockOverrideSource: DEFINED
>                            BeanBlockSource: DEFINED
>                            BeanModelSource: DEFINED
>                              BindingSource: DEFINED
>                               ChainBuilder: VIRTUAL
>                               ClassFactory: BUILTIN
>                           ClassNameLocator: REAL
>                 ClasspathAssetAliasManager: DEFINED
>                      ClasspathAssetFactory: DEFINED
>                      ClasspathURLConverter: REAL
>                      ClientBehaviorSupport: DEFINED
>                          ClientDataEncoder: DEFINED
>               ClientPersistentFieldStorage: DEFINED
>              ClientPersistentFieldStrategy: DEFINED
>                            ClientWhitelist: DEFINED
>                        ComponentClassCache: VIRTUAL
>                      ComponentClassFactory: DEFINED
>                     ComponentClassResolver: REAL
>              ComponentClassTransformWorker: DEFINED
>       ComponentClassesInvalidationEventHub: REAL
>                   ComponentDefaultProvider: DEFINED
>                  ComponentEventLinkEncoder: DEFINED
>              ComponentEventLinkTransformer: DEFINED
>               ComponentEventRequestHandler: DEFINED
>              ComponentEventResultProcessor: DEFINED
>           ComponentInstanceResultProcessor: DEFINED
>                ComponentInstantiatorSource: DEFINED
>      ComponentMessagesInvalidationEventHub: DEFINED
>                    ComponentMessagesSource: DEFINED
>                       ComponentModelSource: DEFINED
>        ComponentPageElementResourcesSource: DEFINED
>                      ComponentProxyFactory: DEFINED
>                    ComponentRequestHandler: DEFINED
>           ComponentRequestSelectorAnalyzer: DEFINED
>                   ComponentResourceLocator: DEFINED
>                            ComponentSource: DEFINED
>                   ComponentTemplateLocator: DEFINED
>                    ComponentTemplateSource: DEFINED
>     ComponentTemplatesInvalidationEventHub: DEFINED
>                        CompressionAnalyzer: DEFINED
>                        ContentTypeAnalyzer: DEFINED
>                                    Context: DEFINED
>                        ContextAssetFactory: DEFINED
>                      ContextBindingFactory: DEFINED
>                         ContextPathEncoder: DEFINED
>                        ContextValueEncoder: DEFINED
>                                 CookieSink: DEFINED
>                               CookieSource: DEFINED
>                                    Cookies: DEFINED
>                           DataTypeAnalyzer: DEFINED
>                    DefaultDataTypeAnalyzer: DEFINED
>               DefaultImplementationBuilder: VIRTUAL
>                          DeferredExecution: DEFINED
>                      DynamicTemplateParser: VIRTUAL
>                       EndOfRequestEventHub: REAL
>                                Environment: DEFINED
>                 EnvironmentalShadowBuilder: VIRTUAL
>                          ExceptionAnalyzer: DEFINED
>                           ExceptionTracker: DEFINED
>                            FactoryDefaults: REAL
>                      FieldTranslatorSource: DEFINED
>                     FieldValidationSupport: DEFINED
>                FieldValidatorDefaultSource: DEFINED
>                       FieldValidatorSource: DEFINED
>                                FormSupport: DEFINED
>                                  Heartbeat: DEFINED
>                   HiddenFieldLocationRules: DEFINED
>                         HttpServletRequest: DEFINED
>                  HttpServletRequestHandler: VIRTUAL
>                        HttpServletResponse: DEFINED
>                         IgnoredPathsFilter: DEFINED
>                          InjectionProvider: DEFINED
>      InternalComponentInvalidationEventHub: REAL
>                     InternalRequestGlobals: DEFINED
>             JavaScriptStackPathConstructor: DEFINED
>                      JavaScriptStackSource: DEFINED
>                          JavaScriptSupport: DEFINED
>                                LazyAdvisor: DEFINED
>                            LinkCreationHub: DEFINED
>                                 LinkSource: DEFINED
>                            LinkTransformer: DEFINED
>                         LocalizationSetter: DEFINED
>                           LocationRenderer: DEFINED
>                               LoggerSource: BUILTIN
>                             LoggingAdvisor: DEFINED
>                           LoggingDecorator: DEFINED
>                             MarkupRenderer: DEFINED
>                        MarkupWriterFactory: DEFINED
>                           MasterDispatcher: DEFINED
>                       MasterObjectProvider: REAL
>            MasterStackTraceElementAnalyzer: DEFINED
>                      MessageBindingFactory: DEFINED
>                            MetaDataLocator: DEFINED
>                                 MetaWorker: DEFINED
>            NullFieldStrategyBindingFactory: DEFINED
>                    NullFieldStrategySource: DEFINED
>                   NumericTranslatorSupport: DEFINED
>                             ObjectRenderer: DEFINED
>             PageActivationContextCollector: DEFINED
>                              PageActivator: DEFINED
>                    PageContentTypeAnalyzer: DEFINED
>                      PageDocumentGenerator: DEFINED
>                         PageElementFactory: DEFINED
>                                 PageLoader: DEFINED
>                         PageMarkupRenderer: DEFINED
>                       PageRenderLinkSource: DEFINED
>                  PageRenderLinkTransformer: DEFINED
>                            PageRenderQueue: DEFINED
>                   PageRenderRequestHandler: DEFINED
>                       PageResponseRenderer: DEFINED
>                                 PageSource: DEFINED
>                      PartialMarkupRenderer: DEFINED
>                           PeriodicExecutor: DEFINED
>                     PersistentFieldManager: DEFINED
>                           PersistentLocale: DEFINED
>                           PerthreadManager: BUILTIN
>                            PipelineBuilder: REAL
>                        PlasticProxyFactory: BUILTIN
>                         PropBindingFactory: DEFINED
>                       PropertiesFileParser: DEFINED
>                             PropertyAccess: VIRTUAL
>                      PropertyConduitSource: DEFINED
>                      PropertyShadowBuilder: VIRTUAL
>                        RegistryShutdownHub: BUILTIN
>                            RegistryStartup: REAL
>                              RenderSupport: DEFINED
>                                    Request: VIRTUAL
>                    RequestExceptionHandler: DEFINED
>                             RequestGlobals: DEFINED
>                             RequestHandler: DEFINED
>                           RequestPageCache: DEFINED
>                     RequestSecurityManager: DEFINED
>                      ResourceChangeTracker: DEFINED
>                    ResourceDigestGenerator: DEFINED
>                      ResourceDigestManager: DEFINED
>                          ResourceMinimizer: DEFINED
>                           ResourceStreamer: DEFINED
>                                   Response: VIRTUAL
>                ResponseCompressionAnalyzer: DEFINED
>                           ResponseRenderer: DEFINED
>                         SelectModelFactory: DEFINED
>                  ServiceActivityScoreboard: BUILTIN
>                     ServiceLifecycleSource: REAL
>                            ServiceOverride: REAL
>              ServletApplicationInitializer: REAL
> SessionApplicationStatePersistenceStrategy: DEFINED
>             SessionPersistedObjectAnalyzer: DEFINED
>                            StrategyBuilder: VIRTUAL
>                   StreamableResourceSource: DEFINED
>                             StringInterner: DEFINED
>                       SymbolBindingFactory: DEFINED
>                               SymbolSource: REAL
>                     TapestrySessionFactory: DEFINED
>                             TemplateParser: DEFINED
>                               ThreadLocale: DEFINED
>                               ThunkCreator: DEFINED
>                               TimingFilter: DEFINED
>                    TranslateBindingFactory: DEFINED
>                 TranslatorAlternatesSource: DEFINED
>                           TranslatorSource: DEFINED
>                                TypeCoercer: REAL
>                                 URLEncoder: DEFINED
>                          UpdateListenerHub: DEFINED
>                     ValidateBindingFactory: DEFINED
>              ValidationConstraintGenerator: DEFINED
>                 ValidationDecoratorFactory: DEFINED
>                             ValidatorMacro: DEFINED
>                         ValueEncoderSource: DEFINED
> 86.77% unrealized services (164/189)
> Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 176 ms to build IoC Registry, 672 ms overall.
>  ______                  __             ____
> /_  __/__ ____  ___ ___ / /_______ __  / __/
>  / / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \ 
> /_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
>         /_/                   /___/  5.3 (development mode)
> 2011-12-05 21:21:40.279::INFO:  Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira