Hi, Vijaywargiya
I created a directory templates under directory ${ofbiz}/hot-deploy/cbs.
Cbs is my customized component and need save template files. Now I want to
write a method to process uploaded files and save them under directory
templates.
And java code is located in directory cbs/src, of course.
So I must get the directory of templates, how could I do in java code?
By the way, cbs is temporarily located in directory hot-deploy and it will be
placed in directory applications, so the way to get directory templates must be
ok in these two scenarios.
Thank you,
-----Original Message-----
From: Ashish Vijaywargiya [mailto:[email protected]]
Sent: 2009年5月21日 17:14
To: [email protected]
Subject: Re: where a component is located
Your question is not clear enough.
Please provide few more info, like what are you trying to achieve.
--
Ashish
On Thu, May 21, 2009 at 1:52 PM, Jack Liu <[email protected]> wrote:
> Hi, All
> I'd like to get the directory where a component is located in java code.
> For example, the component "ebay" is located in
> "${ofbiz}/specialpurpose/ebay".
> Do you have any idea?
>
> Best Regards,
>
> Jack Liu
>
>