You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Nathan Bubna <nb...@gmail.com> on 2008/11/21 20:38:26 UTC

Velocity 1.6 test build available

ok folks, i think the time has come; here's a build for Engine 1.6:

http://people.apache.org/~nbubna/velocity/engine/1.6/

please kick the tires and report any and all nitpicks soon.  PLEASE
try it out and look for problems.  (yes, i am begging!)  assuming no
one sees any problems, i'll call for a release vote next friday.

thanks,
nathan

p.s.  this release should rock; here's a rough list of new things in
this release:

Major memory and speed performance improvements
varargs support for object method calls
#evaluate( $stringthatcontainsvtl )
#define( $body ) for VTL blocks as references #end
#break for ending #foreach loops prematurely
Static utility methods via context.put("Math", Math.class)
fixes for many annoying little syntax/parsing bugs
#parse( "mymacros.vm" )
CommonsLogLogChute, ServletLogChute
Fixed and much improved StringResourceLoader
velocimacro.max.depth
programmatic inclusion of macro libraries
can now call fixed-length list methods on arrays
$velocityHasNext for #foreach loops
configurable connection timeout for URLResourceLoader
Uberspect chainability and link-ability
consistent, correct line numbers and macro/template stacks in logs and
exceptions

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Velocity 1.6 test build available

Posted by Nathan Bubna <nb...@gmail.com>.
On Thu, Nov 27, 2008 at 5:31 PM, Will Glass-Husain
<wg...@gmail.com> wrote:
> Hi,
>
> I took a look -- looks great! This release will be a nice improvement.
>
> I ran ant test and ant site.  Fixed a minor doc issue.  Also, I see the
> changes report lists "In Subversion" for version 1.6 -- assume this will be
> fixed.

What goes in that spot is the date of 1.6's release.  Until it's
released, i can't fix that properly.  If we insist on having that
right, then we can't release.  :)  Better to leave as is until
released, IMHO.

> One more idea.  Would it make sense to remove the folder "convert"?  The
> conversion scripts for webmacro are due to the historical connection between
> WebMacro and Velocity seven years ago.  Seems very dated.

Yes, but i'm not interested in ideas for more improvements pre-1.6, as
that would delay 1.6, and i don't think this is worth the delay.
After 1.6, go for it.

> Finally, the maven build fails for me.  (running from Velocity trunk).  Any
> suggestions on this?  I have the recommended Maven 2.0.9 installed.  Error
> report:
>
>> mvn

Interesting.  I think this has been this way for some time.  I just
never use the default goal.  mvn compile, package and install targets
all work.  I don't think it's that big a problem that mvn site is the
default goal and doesn't work without upping the heap space and
install the velocity-site-skin.  Just the way it is.   The only thing
that might be considered a bug here is that "site" is the default
target/goal/whatever.  We should change that to "install", i think,
but i also don't feel it's worth holding up this release.  Feel free
to counter me on that, of course. :)

> [INFO] Unable to load parent project from a relative path: Could not find
> the model file 'C:\Documents and Settings\wglass\My
> Documents\Workspace\opensource\velocity-trunk\..\pom.xml'. for project
> unknown
> [INFO] Parent project loaded from repository.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4-site_en.xml
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4-site.xml
> Downloading:
> http://repo1.maven.org/maven2/org/apache/velocity/site/velocity-site-skin/1.2.3/velocity-site-skin-1.2.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The skin does n
>
>
>
> On Mon, Nov 24, 2008 at 12:39 PM, Nathan Bubna <nb...@gmail.com> wrote:
>
>> An updated test build including the fix for VELOCITY-644 and a couple
>> minor test/build tweaks is now up at:
>>
>> http://people.apache.org/~nbubna/velocity/engine/1.6/<http://people.apache.org/%7Enbubna/velocity/engine/1.6/>
>>
>> I still plan to call for a release vote on friday.  Please check this
>> out before then, so you can vote promptly.  Thanks!
>>
>> On Fri, Nov 21, 2008 at 11:38 AM, Nathan Bubna <nb...@gmail.com> wrote:
>> > ok folks, i think the time has come; here's a build for Engine 1.6:
>> >
>> > http://people.apache.org/~nbubna/velocity/engine/1.6/<http://people.apache.org/%7Enbubna/velocity/engine/1.6/>
>> >
>> > please kick the tires and report any and all nitpicks soon.  PLEASE
>> > try it out and look for problems.  (yes, i am begging!)  assuming no
>> > one sees any problems, i'll call for a release vote next friday.
>> >
>> > thanks,
>> > nathan
>> >
>> > p.s.  this release should rock; here's a rough list of new things in
>> > this release:
>> >
>> > Major memory and speed performance improvements
>> > varargs support for object method calls
>> > #evaluate( $stringthatcontainsvtl )
>> > #define( $body ) for VTL blocks as references #end
>> > #break for ending #foreach loops prematurely
>> > Static utility methods via context.put("Math", Math.class)
>> > fixes for many annoying little syntax/parsing bugs
>> > #parse( "mymacros.vm" )
>> > CommonsLogLogChute, ServletLogChute
>> > Fixed and much improved StringResourceLoader
>> > velocimacro.max.depth
>> > programmatic inclusion of macro libraries
>> > can now call fixed-length list methods on arrays
>> > $velocityHasNext for #foreach loops
>> > configurable connection timeout for URLResourceLoader
>> > Uberspect chainability and link-ability
>> > consistent, correct line numbers and macro/template stacks in logs and
>> > exceptions
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: private-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: private-help@velocity.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Velocity 1.6 test build available

Posted by Adrian Tarau <ad...@intellisoftsystems.com>.
Velocity Site Tools is not present in any repository. If you build it 
locally Velocity site will work(you may still need to increase Maven 
maximum memory for FindBugs - Xmx256M seems to work fine). Since the 
Maven build is not the primary build system, lots of things are not 
finalized.


      /Known Issues and Limitations/

/When running findbugs on a project, the default heap size might not be 
enough to complete the build. For now there is no way to fork findbugs 
and run with its own memory requirements, but the following system 
variable will allow you to do so for Maven:/

/export MAVEN_OPTS=-Xmx384M/




Will Glass-Husain wrote:
> Thanks for looking at this!  See below.
>
> WILL
>
> C:\Documents and Settings\wglass\My
> Documents\Workspace\opensource\velocity-trunk>mvn -e
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Velocity
> [INFO]    task-segment: [post-site]
> [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.ResourceNotFoundExcepti
> on: 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] 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.ResourceNotFoundExcepti
> on: 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] Preparing javadoc:javadoc
> [INFO] No goals needed for project - skipping
> [INFO] Preparing javadoc:test-aggregate
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Velocity
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] Preparing javadoc:aggregate
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Velocity
> [INFO]
> ------------------------------------------------------------------------
> [INFO] No goals needed for project - skipping
> [INFO] Preparing javadoc:test-javadoc
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] Preparing findbugs:findbugs
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [site:site]
> [INFO] Unable to load parent project from a relative path: Could not find
> the model file 'C:\Documents and Settings\wglass\My Docu
> ments\Workspace\opensource\velocity-trunk\..\pom.xml'. for project unknown
> [INFO] Parent project loaded from repository.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/velocity/site/velocity-site-skin/1.2.3/velocity-site-skin-1.2.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The skin does not exist: Unable to download the artifact from any
> repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.velocity.site
> -DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -D
> file=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>     mvn deploy:deploy-file -DgroupId=org.apache.velocity.site
> -DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -Dfi
> le=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>   org.apache.velocity.site:velocity-site-skin:jar:1.2.3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: The skin does not exist: Unable to
> download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.velocity.site
> -DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -D
> file=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>     mvn deploy:deploy-file -DgroupId=org.apache.velocity.site
> -DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -Dfi
> le=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>   org.apache.velocity.site:velocity-site-skin:jar:1.2.3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
>
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: The skin does not
> exist: Unable to download the artifact from any reposit
> ory
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.velocity.site
> -DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -D
> file=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>     mvn deploy:deploy-file -DgroupId=org.apache.velocity.site
> -DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -Dfi
> le=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>   org.apache.velocity.site:velocity-site-skin:jar:1.2.3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
>
>         at
> org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getSkinArtifactFile(AbstractSiteRenderingMojo.java:406)
>         at
> org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:479)
>         at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:113)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19 seconds
> [INFO] Finished at: Thu Nov 27 19:47:14 PST 2008
> [INFO] Final Memory: 42M/63M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\Documents and Settings\wglass\My
> Documents\Workspace\opensource\velocity-trunk>
>
>   


Re: Velocity 1.6 test build available

Posted by Will Glass-Husain <wg...@gmail.com>.
Thanks for looking at this!  See below.

WILL

C:\Documents and Settings\wglass\My
Documents\Workspace\opensource\velocity-trunk>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Velocity
[INFO]    task-segment: [post-site]
[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.ResourceNotFoundExcepti
on: 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] 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.ResourceNotFoundExcepti
on: 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] Preparing javadoc:javadoc
[INFO] No goals needed for project - skipping
[INFO] Preparing javadoc:test-aggregate
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Velocity
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing javadoc:aggregate
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Velocity
[INFO]
------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] Preparing javadoc:test-javadoc
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing findbugs:findbugs
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [site:site]
[INFO] Unable to load parent project from a relative path: Could not find
the model file 'C:\Documents and Settings\wglass\My Docu
ments\Workspace\opensource\velocity-trunk\..\pom.xml'. for project unknown
[INFO] Parent project loaded from repository.
Downloading:
http://repo1.maven.org/maven2/org/apache/velocity/site/velocity-site-skin/1.2.3/velocity-site-skin-1.2.3.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The skin does not exist: Unable to download the artifact from any
repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.velocity.site
-DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -D
file=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.velocity.site
-DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -Dfi
le=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.velocity.site:velocity-site-skin:jar:1.2.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: The skin does not exist: Unable to
download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.velocity.site
-DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -D
file=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.velocity.site
-DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -Dfi
le=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.velocity.site:velocity-site-skin:jar:1.2.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: The skin does not
exist: Unable to download the artifact from any reposit
ory

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.velocity.site
-DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -D
file=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.velocity.site
-DartifactId=velocity-site-skin -Dversion=1.2.3 -Dpackaging=jar -Dfi
le=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.velocity.site:velocity-site-skin:jar:1.2.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)

        at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getSkinArtifactFile(AbstractSiteRenderingMojo.java:406)
        at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:479)
        at
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:113)
        at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Thu Nov 27 19:47:14 PST 2008
[INFO] Final Memory: 42M/63M
[INFO]
------------------------------------------------------------------------

C:\Documents and Settings\wglass\My
Documents\Workspace\opensource\velocity-trunk>

Re: Velocity 1.6 test build available

Posted by Adrian Tarau <ad...@intellisoftsystems.com>.
The message is truncated : "

[INFO] The skin does n <-- something is missing here.

"

Except that I had to increase maven memory for findbugs, everything 
worked fine. Please  use mvn -e to produce a detailed report of the 
problem/exception.

Will Glass-Husain wrote:
> Hi,
>
> I took a look -- looks great! This release will be a nice improvement.
>
> I ran ant test and ant site.  Fixed a minor doc issue.  Also, I see the
> changes report lists "In Subversion" for version 1.6 -- assume this will be
> fixed.
>
> One more idea.  Would it make sense to remove the folder "convert"?  The
> conversion scripts for webmacro are due to the historical connection between
> WebMacro and Velocity seven years ago.  Seems very dated.
>
> Finally, the maven build fails for me.  (running from Velocity trunk).  Any
> suggestions on this?  I have the recommended Maven 2.0.9 installed.  Error
> report:
>
>   
>> mvn
>>     
>
> [INFO] Unable to load parent project from a relative path: Could not find
> the model file 'C:\Documents and Settings\wglass\My
> Documents\Workspace\opensource\velocity-trunk\..\pom.xml'. for project
> unknown
> [INFO] Parent project loaded from repository.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4-site_en.xml
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4-site.xml
> Downloading:
> http://repo1.maven.org/maven2/org/apache/velocity/site/velocity-site-skin/1.2.3/velocity-site-skin-1.2.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The skin does n
>
>
>
> On Mon, Nov 24, 2008 at 12:39 PM, Nathan Bubna <nb...@gmail.com> wrote:
>
>   
>> An updated test build including the fix for VELOCITY-644 and a couple
>> minor test/build tweaks is now up at:
>>
>> http://people.apache.org/~nbubna/velocity/engine/1.6/<http://people.apache.org/%7Enbubna/velocity/engine/1.6/>
>>
>> I still plan to call for a release vote on friday.  Please check this
>> out before then, so you can vote promptly.  Thanks!
>>
>> On Fri, Nov 21, 2008 at 11:38 AM, Nathan Bubna <nb...@gmail.com> wrote:
>>     
>>> ok folks, i think the time has come; here's a build for Engine 1.6:
>>>
>>> http://people.apache.org/~nbubna/velocity/engine/1.6/<http://people.apache.org/%7Enbubna/velocity/engine/1.6/>
>>>
>>> please kick the tires and report any and all nitpicks soon.  PLEASE
>>> try it out and look for problems.  (yes, i am begging!)  assuming no
>>> one sees any problems, i'll call for a release vote next friday.
>>>
>>> thanks,
>>> nathan
>>>
>>> p.s.  this release should rock; here's a rough list of new things in
>>> this release:
>>>
>>> Major memory and speed performance improvements
>>> varargs support for object method calls
>>> #evaluate( $stringthatcontainsvtl )
>>> #define( $body ) for VTL blocks as references #end
>>> #break for ending #foreach loops prematurely
>>> Static utility methods via context.put("Math", Math.class)
>>> fixes for many annoying little syntax/parsing bugs
>>> #parse( "mymacros.vm" )
>>> CommonsLogLogChute, ServletLogChute
>>> Fixed and much improved StringResourceLoader
>>> velocimacro.max.depth
>>> programmatic inclusion of macro libraries
>>> can now call fixed-length list methods on arrays
>>> $velocityHasNext for #foreach loops
>>> configurable connection timeout for URLResourceLoader
>>> Uberspect chainability and link-ability
>>> consistent, correct line numbers and macro/template stacks in logs and
>>> exceptions
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: private-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: private-help@velocity.apache.org
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Velocity 1.6 test build available

Posted by Will Glass-Husain <wg...@gmail.com>.
Hi,

I took a look -- looks great! This release will be a nice improvement.

I ran ant test and ant site.  Fixed a minor doc issue.  Also, I see the
changes report lists "In Subversion" for version 1.6 -- assume this will be
fixed.

One more idea.  Would it make sense to remove the folder "convert"?  The
conversion scripts for webmacro are due to the historical connection between
WebMacro and Velocity seven years ago.  Seems very dated.

Finally, the maven build fails for me.  (running from Velocity trunk).  Any
suggestions on this?  I have the recommended Maven 2.0.9 installed.  Error
report:

> mvn

[INFO] Unable to load parent project from a relative path: Could not find
the model file 'C:\Documents and Settings\wglass\My
Documents\Workspace\opensource\velocity-trunk\..\pom.xml'. for project
unknown
[INFO] Parent project loaded from repository.
Downloading:
http://repo1.maven.org/maven2/org/apache/apache/4/apache-4-site_en.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/apache/4/apache-4-site.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/velocity/site/velocity-site-skin/1.2.3/velocity-site-skin-1.2.3.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The skin does n



On Mon, Nov 24, 2008 at 12:39 PM, Nathan Bubna <nb...@gmail.com> wrote:

> An updated test build including the fix for VELOCITY-644 and a couple
> minor test/build tweaks is now up at:
>
> http://people.apache.org/~nbubna/velocity/engine/1.6/<http://people.apache.org/%7Enbubna/velocity/engine/1.6/>
>
> I still plan to call for a release vote on friday.  Please check this
> out before then, so you can vote promptly.  Thanks!
>
> On Fri, Nov 21, 2008 at 11:38 AM, Nathan Bubna <nb...@gmail.com> wrote:
> > ok folks, i think the time has come; here's a build for Engine 1.6:
> >
> > http://people.apache.org/~nbubna/velocity/engine/1.6/<http://people.apache.org/%7Enbubna/velocity/engine/1.6/>
> >
> > please kick the tires and report any and all nitpicks soon.  PLEASE
> > try it out and look for problems.  (yes, i am begging!)  assuming no
> > one sees any problems, i'll call for a release vote next friday.
> >
> > thanks,
> > nathan
> >
> > p.s.  this release should rock; here's a rough list of new things in
> > this release:
> >
> > Major memory and speed performance improvements
> > varargs support for object method calls
> > #evaluate( $stringthatcontainsvtl )
> > #define( $body ) for VTL blocks as references #end
> > #break for ending #foreach loops prematurely
> > Static utility methods via context.put("Math", Math.class)
> > fixes for many annoying little syntax/parsing bugs
> > #parse( "mymacros.vm" )
> > CommonsLogLogChute, ServletLogChute
> > Fixed and much improved StringResourceLoader
> > velocimacro.max.depth
> > programmatic inclusion of macro libraries
> > can now call fixed-length list methods on arrays
> > $velocityHasNext for #foreach loops
> > configurable connection timeout for URLResourceLoader
> > Uberspect chainability and link-ability
> > consistent, correct line numbers and macro/template stacks in logs and
> > exceptions
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: private-unsubscribe@velocity.apache.org
> For additional commands, e-mail: private-help@velocity.apache.org
>
>

Re: Velocity 1.6 test build available

Posted by Henning Schmiedehausen <hp...@intermeta.de>.
I plan on testing this today or tomorrow. 

	Ciao
		Henning

On Mon, 2008-11-24 at 16:50 -0800, Nathan Bubna wrote:
> Ok, updated again with fix for VELOCITY-649.  Same address, same plan.
>  If Byron (or anyone else) finds more bugs tomorrow, then i'll start
> pushing the schedule back.  :)
> 
> On Mon, Nov 24, 2008 at 12:39 PM, Nathan Bubna <nb...@gmail.com> wrote:
> > An updated test build including the fix for VELOCITY-644 and a couple
> > minor test/build tweaks is now up at:
> >
> > http://people.apache.org/~nbubna/velocity/engine/1.6/
> >
> > I still plan to call for a release vote on friday.  Please check this
> > out before then, so you can vote promptly.  Thanks!
> >
> > On Fri, Nov 21, 2008 at 11:38 AM, Nathan Bubna <nb...@gmail.com> wrote:
> >> ok folks, i think the time has come; here's a build for Engine 1.6:
> >>
> >> http://people.apache.org/~nbubna/velocity/engine/1.6/
> >>
> >> please kick the tires and report any and all nitpicks soon.  PLEASE
> >> try it out and look for problems.  (yes, i am begging!)  assuming no
> >> one sees any problems, i'll call for a release vote next friday.
> >>
> >> thanks,
> >> nathan
> >>
> >> p.s.  this release should rock; here's a rough list of new things in
> >> this release:
> >>
> >> Major memory and speed performance improvements
> >> varargs support for object method calls
> >> #evaluate( $stringthatcontainsvtl )
> >> #define( $body ) for VTL blocks as references #end
> >> #break for ending #foreach loops prematurely
> >> Static utility methods via context.put("Math", Math.class)
> >> fixes for many annoying little syntax/parsing bugs
> >> #parse( "mymacros.vm" )
> >> CommonsLogLogChute, ServletLogChute
> >> Fixed and much improved StringResourceLoader
> >> velocimacro.max.depth
> >> programmatic inclusion of macro libraries
> >> can now call fixed-length list methods on arrays
> >> $velocityHasNext for #foreach loops
> >> configurable connection timeout for URLResourceLoader
> >> Uberspect chainability and link-ability
> >> consistent, correct line numbers and macro/template stacks in logs and
> >> exceptions
> >>
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: private-unsubscribe@velocity.apache.org
> For additional commands, e-mail: private-help@velocity.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Velocity 1.6 test build available

Posted by Nathan Bubna <nb...@gmail.com>.
Ok, updated again with fix for VELOCITY-649.  Same address, same plan.
 If Byron (or anyone else) finds more bugs tomorrow, then i'll start
pushing the schedule back.  :)

On Mon, Nov 24, 2008 at 12:39 PM, Nathan Bubna <nb...@gmail.com> wrote:
> An updated test build including the fix for VELOCITY-644 and a couple
> minor test/build tweaks is now up at:
>
> http://people.apache.org/~nbubna/velocity/engine/1.6/
>
> I still plan to call for a release vote on friday.  Please check this
> out before then, so you can vote promptly.  Thanks!
>
> On Fri, Nov 21, 2008 at 11:38 AM, Nathan Bubna <nb...@gmail.com> wrote:
>> ok folks, i think the time has come; here's a build for Engine 1.6:
>>
>> http://people.apache.org/~nbubna/velocity/engine/1.6/
>>
>> please kick the tires and report any and all nitpicks soon.  PLEASE
>> try it out and look for problems.  (yes, i am begging!)  assuming no
>> one sees any problems, i'll call for a release vote next friday.
>>
>> thanks,
>> nathan
>>
>> p.s.  this release should rock; here's a rough list of new things in
>> this release:
>>
>> Major memory and speed performance improvements
>> varargs support for object method calls
>> #evaluate( $stringthatcontainsvtl )
>> #define( $body ) for VTL blocks as references #end
>> #break for ending #foreach loops prematurely
>> Static utility methods via context.put("Math", Math.class)
>> fixes for many annoying little syntax/parsing bugs
>> #parse( "mymacros.vm" )
>> CommonsLogLogChute, ServletLogChute
>> Fixed and much improved StringResourceLoader
>> velocimacro.max.depth
>> programmatic inclusion of macro libraries
>> can now call fixed-length list methods on arrays
>> $velocityHasNext for #foreach loops
>> configurable connection timeout for URLResourceLoader
>> Uberspect chainability and link-ability
>> consistent, correct line numbers and macro/template stacks in logs and
>> exceptions
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Velocity 1.6 test build available

Posted by Nathan Bubna <nb...@gmail.com>.
An updated test build including the fix for VELOCITY-644 and a couple
minor test/build tweaks is now up at:

http://people.apache.org/~nbubna/velocity/engine/1.6/

I still plan to call for a release vote on friday.  Please check this
out before then, so you can vote promptly.  Thanks!

On Fri, Nov 21, 2008 at 11:38 AM, Nathan Bubna <nb...@gmail.com> wrote:
> ok folks, i think the time has come; here's a build for Engine 1.6:
>
> http://people.apache.org/~nbubna/velocity/engine/1.6/
>
> please kick the tires and report any and all nitpicks soon.  PLEASE
> try it out and look for problems.  (yes, i am begging!)  assuming no
> one sees any problems, i'll call for a release vote next friday.
>
> thanks,
> nathan
>
> p.s.  this release should rock; here's a rough list of new things in
> this release:
>
> Major memory and speed performance improvements
> varargs support for object method calls
> #evaluate( $stringthatcontainsvtl )
> #define( $body ) for VTL blocks as references #end
> #break for ending #foreach loops prematurely
> Static utility methods via context.put("Math", Math.class)
> fixes for many annoying little syntax/parsing bugs
> #parse( "mymacros.vm" )
> CommonsLogLogChute, ServletLogChute
> Fixed and much improved StringResourceLoader
> velocimacro.max.depth
> programmatic inclusion of macro libraries
> can now call fixed-length list methods on arrays
> $velocityHasNext for #foreach loops
> configurable connection timeout for URLResourceLoader
> Uberspect chainability and link-ability
> consistent, correct line numbers and macro/template stacks in logs and
> exceptions
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org