[ 
https://issues.apache.org/jira/browse/VELOCITY-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilia Prizker  closed VELOCITY-771.
----------------------------------


thanks

> Error when creation jar-J2EE with ant build.
> --------------------------------------------
>
>                 Key: VELOCITY-771
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-771
>             Project: Velocity
>          Issue Type: Bug
>    Affects Versions: 1.6.4
>            Reporter: Ilia Prizker 
>
> Can't build J2EE jar for loading templates from database,
> with command:
> ant jar-J2EE
> this is the error:
> BUILD FAILED
> Target "jar-J2EE" does not exist in the project "Velocity".
> ==========================================================
> from 
> https://www.hasustorm.com/books/English/John.Wiley.And.Sons.Mastering.Apache.Velocity.eBook-KB.pdf
> The DataSource resource loader, implemented by Velocity's 
> DataSourceResourceLoader
> class, obtains its resources via physical data source connections
> obtained through a Java DataSource object. An obvious example is a case
> where Velocity templates and related resources are obtained from a relational
> database. This resource loader uses all of the resource loader properties, 
> except
> for resource.loader.path. It also supports several other properties that are
> unique to this type of loader. For more information regarding these 
> properties,
> see the Velocity's API documentation for its DataSourceResourceLoader class.
> This resource loader requires J2EE and is not included in the standard 
> Velocity
> build.
> jar-J2EE—This build target compiles a complete Velocity JAR just as in the
> case of the jar build target, but it also includes the J2EE JAR file. The 
> build
> target requires a copy of j2ee.jar in the /build/lib directory or a link. The
> command line is:
> ant jar-J2EE
> ==========================================================

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to