Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Velocity template in JIRA

b
Contributor
April 18, 2012

Hi,

I want to generate my view with velocity. Is that possible to include .vm files?

I tried it with

#include("../../general/aa.vm")

But file isn't included and I get

org.apache.velocity.exception.VelocityException: Could not find template 'mypath/create.vm' ensure it is in the classpath.

1 answer

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2012

AFAIK this is not possible with a plugin, the files need to be in the web-app classloader classpath, ie web-inf/classes, so no good for a plugin.

b
Contributor
April 19, 2012

I saw something like 'web-resource', isn't that possible to use it with that tags?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events