Re: How to include java code into freemarker's data model in fmpp?

alebu <[email protected]> Tue, 5 Jan 2010 13:06:59 +0200
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
I think that under Ant. Maven-ant-run plugin allows to pass maven
classpath to Ant. At least that is stated in documentation. But I
can't find how to specify any class path to FMPP it self from ant. And
that is the problem. I am thinking about possible maven FMPP plugin
but first I need to find some free time for it :(

On Tue, Jan 5, 2010 at 12:42 PM, Daniel Dekany <[email protected]> wrote:
> Tuesday, January 5, 2010, 9:47:26 AM, alebu wrote:
>
>> Thanks, I found this one be seeking discussion. Unfortunately, I am
>> not sure is it helpful, because I am running FMPP from Ant (actually
>> from maven using maven-ant-run plugin).
>
> This issue might not be FMPP-specific. Sounds like it's just about
> setting up the "class path" under Maven (or maybe under Ant).
>
>> So, I can't manipulate
>> classpath of fmpp, because I even have no installation of it, FMPP
>> code comes from maven repository. During the week, I will try to play
>> with it (now I am at work and have no access to code where I want to
>> apply such approach. In success I will write in this discussion.
>>
>> On Tue, Jan 5, 2010 at 10:41 AM, Daniel Dekany <[email protected]> wro=
te:
>>> Monday, January 4, 2010, 11:31:27 PM, Daniel Dekany wrote:
>>>
>>>> Monday, January 4, 2010, 9:20:18 PM, alebu wrote:
>>>>
>>>>> Hi all,
>>>>> How can I specify FMPP to include some compiled java code or jar files
>>>>> in the freemarker classpath? I need it because I want to use some of
>>>>> the functions written with java from freemarker templates and because
>>>>> FMPP instanciates freemarker instance, I can't affect a classpath it
>>>>> passes to it.
>>>>
>>>> This may helps:
>>>> http://thread.gmane.org/gmane.comp.text.fmpp/133/focus=3D138
>>>
>>> Sorry, I mean this:
>>> http://article.gmane.org/gmane.comp.text.fmpp/135
>>>
>>>
>>> --
>>> Best regards,
>>> =A0Daniel Dekany
>>>
>>>
>>> -----------------------------------------------------------------------=
-------
>>> This SF.Net email is sponsored by the Verizon Developer Community
>>> Take advantage of Verizon's best-in-class app development support
>>> A streamlined, 14 day to market process makes app distribution fast and=
 easy
>>> Join now and get one step closer to millions of Verizon customers
>>> http://p.sf.net/sfu/verizon-dev2dev
>>> _______________________________________________
>>> fmpp-open mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/fmpp-open
>>>
>>
>> ------------------------------------------------------------------------=
------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and =
easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> fmpp-open mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fmpp-open
>>
>
> --
> Best regards,
> =A0Daniel Dekany
>
>
> -------------------------------------------------------------------------=
-----
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and e=
asy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> fmpp-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fmpp-open
>

---------------------------------------------------------------------------=
---
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev =