You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/01/26 22:08:27 UTC

svn commit: r500345 - in /tapestry/tapestry5/tapestry-simple/trunk/src: main/resources/archetype-resources/pom.xml site/apt/index.apt

Author: hlship
Date: Fri Jan 26 13:08:26 2007
New Revision: 500345

URL: http://svn.apache.org/viewvc?view=rev&rev=500345
Log:
Get Jetty NCSA logging working (thanks to Jan Bartel for the tip!).
Discuss accessing the Apache snapshot repository.

Modified:
    tapestry/tapestry5/tapestry-simple/trunk/src/main/resources/archetype-resources/pom.xml
    tapestry/tapestry5/tapestry-simple/trunk/src/site/apt/index.apt

Modified: tapestry/tapestry5/tapestry-simple/trunk/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-simple/trunk/src/main/resources/archetype-resources/pom.xml?view=diff&rev=500345&r1=500344&r2=500345
==============================================================================
--- tapestry/tapestry5/tapestry-simple/trunk/src/main/resources/archetype-resources/pom.xml (original)
+++ tapestry/tapestry5/tapestry-simple/trunk/src/main/resources/archetype-resources/pom.xml Fri Jan 26 13:08:26 2007
@@ -36,7 +36,12 @@
                 <groupId>org.mortbay.jetty</groupId> 
                 <artifactId>maven-jetty-plugin</artifactId>
                 <configuration>
-                    <requestLog implementation="org.mortbay.jetty.NCSARequestLog"/>
+                    <!-- Log to the console. -->
+                    <requestLog implementation="org.mortbay.jetty.NCSARequestLog">
+                        <!-- This doesn't do anything for Jetty, but is a workaround for a Maven bug
+                             that prevents the requestLog from being set. -->
+                        <append>true</append>
+                    </requestLog>
                 </configuration>
             </plugin>
         </plugins>

Modified: tapestry/tapestry5/tapestry-simple/trunk/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-simple/trunk/src/site/apt/index.apt?view=diff&rev=500345&r1=500344&r2=500345
==============================================================================
--- tapestry/tapestry5/tapestry-simple/trunk/src/site/apt/index.apt (original)
+++ tapestry/tapestry5/tapestry-simple/trunk/src/site/apt/index.apt Fri Jan 26 13:08:26 2007
@@ -27,37 +27,10 @@
 [INFO] ----------------------------------------------------------------------------
 [INFO] Building Maven Default Project
 [INFO]    task-segment: [archetype:create] (aggregator-style)
-[INFO] ----------------------------------------------------------------------------
-[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
-[INFO] Setting property: velocimacro.messages.on => 'false'.
-[INFO] Setting property: resource.loader => 'classpath'.
-[INFO] Setting property: resource.manager.logwhenfound => 'false'.
-[INFO] ************************************************************** 
-[INFO] Starting Jakarta Velocity v1.4
-[INFO] RuntimeInstance initializing.
-[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
-[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
-[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
-[INFO] ClasspathResourceLoader : initialization starting.
-[INFO] ClasspathResourceLoader : initialization complete.
-[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
-[INFO] Default ResourceManager initialization complete.
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
-[INFO] Created: 20 parsers.
-[INFO] Velocimacro : initialization starting.
-[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
-[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
-[INFO] Velocimacro : error using  VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
-[INFO] Velocimacro :  VM library template macro registration complete.
-[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
-[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
-[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be  global in scope if allowed.
-[INFO] Velocimacro : initialization complete.
-[INFO] Velocity successfully started.
+[INFO] ----------------------------------------------------------------------------\
+
+. . .
+
 [INFO] [archetype:create]
 [INFO] ----------------------------------------------------------------------------
 [INFO] Using following parameters for creating Archetype: tapestry-simple:5.0.0-SNAPSHOT
@@ -127,4 +100,10 @@
   You can now see your running application as {{{http://localhost:8080/myapp}http://localhost:8080/myapp}}.
   
   You can hit Control-C to stop Jetty.
+  
+About Snapshots
+
+  Tapestry 5 is currently in a pre-release stage. The Tapestry libraries, including this archetype, are being distributed as snaphots, subject to change at any time. They are not yet in the central Maven repository.
+  To make use of the Tapestry snapshots, append  <<<-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/>>> to the command line when invoking Maven. 
+