OFBiz's Data File Tools files location

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

OFBiz's Data File Tools files location

Boris Hamanov
Hello,

I am having difficulties making this page work: Framework Web Tools (
https://demo-old.ofbiz.apache.org/webtools/control/viewdatafile)

I created a definition file according to this tutorial here:
https://cwiki.apache.org/OFBENDUSER/ofbizs-data-file-tools.html, I have a
CSV file, but I don't know where I should put those in order for ofbiz to
load them.

No matter what I do the page just reloads after I press "Run", I don't know
if my definition file is not correct or it could not be found, nothing is
in the log too.

Could you, please, tell me what the rules for finding files in this page
are?

1. Absolute file system path
(C:\apache-ofbiz-09.04.02\hot-deploy\definition.xml)
2. Relative file system path windows style (\hot-deploy\definition.xml)
3. Relative file system path Unix style (/hot-deploy/definition.xml)
4. URL style file absolute path
(file:///C:/apache-ofbiz-09.04.02/hot-deploy/definition.xml)
5. URL style relative path (/hot-deploy/definition.xml)
6. URL style web absolute path (http://somehost/definition.xml)

In which of those situations *isURL *has to be checked?

My system is windows x64 and I run Ofbiz 09.04.02

Any help is much appreciated!
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz's Data File Tools files location

Adrian Crum-3
Try following these instructions:

http://mail-archives.apache.org/mod_mbox/ofbiz-user/200610.mbox/%3C4524BDE9.1040901@...%3E

-Adrian

On 8/7/2012 9:01 AM, Boris Hamanov wrote:

> Hello,
>
> I am having difficulties making this page work: Framework Web Tools (
> https://demo-old.ofbiz.apache.org/webtools/control/viewdatafile)
>
> I created a definition file according to this tutorial here:
> https://cwiki.apache.org/OFBENDUSER/ofbizs-data-file-tools.html, I have a
> CSV file, but I don't know where I should put those in order for ofbiz to
> load them.
>
> No matter what I do the page just reloads after I press "Run", I don't know
> if my definition file is not correct or it could not be found, nothing is
> in the log too.
>
> Could you, please, tell me what the rules for finding files in this page
> are?
>
> 1. Absolute file system path
> (C:\apache-ofbiz-09.04.02\hot-deploy\definition.xml)
> 2. Relative file system path windows style (\hot-deploy\definition.xml)
> 3. Relative file system path Unix style (/hot-deploy/definition.xml)
> 4. URL style file absolute path
> (file:///C:/apache-ofbiz-09.04.02/hot-deploy/definition.xml)
> 5. URL style relative path (/hot-deploy/definition.xml)
> 6. URL style web absolute path (http://somehost/definition.xml)
>
> In which of those situations *isURL *has to be checked?
>
> My system is windows x64 and I run Ofbiz 09.04.02
>
> Any help is much appreciated!
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz's Data File Tools files location

Boris Hamanov
Thanks Adrian,

Unfortunately, I don't know what "enter the complete path" means in those
instructions? Path to where in my ofbiz istanll? What type of path? Do I
have to restart ofbiz after I put the file there? I tried a couple of
variants and nothing works so far.

On Tue, Aug 7, 2012 at 11:04 AM, Adrian Crum <
[hidden email]> wrote:

> Try following these instructions:
>
> http://mail-archives.apache.**org/mod_mbox/ofbiz-user/**
> 200610.mbox/%3C4524BDE9.**[hidden email]%3E<http://mail-archives.apache.org/mod_mbox/ofbiz-user/200610.mbox/%3C4524BDE9.1040901@...%3E>
>
> -Adrian
>
>
> On 8/7/2012 9:01 AM, Boris Hamanov wrote:
>
>> Hello,
>>
>> I am having difficulties making this page work: Framework Web Tools (
>> https://demo-old.ofbiz.apache.**org/webtools/control/**viewdatafile<https://demo-old.ofbiz.apache.org/webtools/control/viewdatafile>
>> )
>>
>> I created a definition file according to this tutorial here:
>> https://cwiki.apache.org/**OFBENDUSER/ofbizs-data-file-**tools.html<https://cwiki.apache.org/OFBENDUSER/ofbizs-data-file-tools.html>,
>> I have a
>> CSV file, but I don't know where I should put those in order for ofbiz to
>> load them.
>>
>> No matter what I do the page just reloads after I press "Run", I don't
>> know
>> if my definition file is not correct or it could not be found, nothing is
>> in the log too.
>>
>> Could you, please, tell me what the rules for finding files in this page
>> are?
>>
>> 1. Absolute file system path
>> (C:\apache-ofbiz-09.04.02\hot-**deploy\definition.xml)
>> 2. Relative file system path windows style (\hot-deploy\definition.xml)
>> 3. Relative file system path Unix style (/hot-deploy/definition.xml)
>> 4. URL style file absolute path
>> (file:///C:/apache-ofbiz-09.**04.02/hot-deploy/definition.**xml)
>> 5. URL style relative path (/hot-deploy/definition.xml)
>> 6. URL style web absolute path (http://somehost/definition.**xml<http://somehost/definition.xml>
>> )
>>
>> In which of those situations *isURL *has to be checked?
>>
>>
>> My system is windows x64 and I run Ofbiz 09.04.02
>>
>> Any help is much appreciated!
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz's Data File Tools files location

Adrian Crum-3
The complete path to the file on your local machine.

-Adrian

On 8/7/2012 9:15 AM, Boris Hamanov wrote:

> Thanks Adrian,
>
> Unfortunately, I don't know what "enter the complete path" means in those
> instructions? Path to where in my ofbiz istanll? What type of path? Do I
> have to restart ofbiz after I put the file there? I tried a couple of
> variants and nothing works so far.
>
> On Tue, Aug 7, 2012 at 11:04 AM, Adrian Crum <
> [hidden email]> wrote:
>
>> Try following these instructions:
>>
>> http://mail-archives.apache.**org/mod_mbox/ofbiz-user/**
>> 200610.mbox/%3C4524BDE9.**[hidden email]%3E<http://mail-archives.apache.org/mod_mbox/ofbiz-user/200610.mbox/%3C4524BDE9.1040901@...%3E>
>>
>> -Adrian
>>
>>
>> On 8/7/2012 9:01 AM, Boris Hamanov wrote:
>>
>>> Hello,
>>>
>>> I am having difficulties making this page work: Framework Web Tools (
>>> https://demo-old.ofbiz.apache.**org/webtools/control/**viewdatafile<https://demo-old.ofbiz.apache.org/webtools/control/viewdatafile>
>>> )
>>>
>>> I created a definition file according to this tutorial here:
>>> https://cwiki.apache.org/**OFBENDUSER/ofbizs-data-file-**tools.html<https://cwiki.apache.org/OFBENDUSER/ofbizs-data-file-tools.html>,
>>> I have a
>>> CSV file, but I don't know where I should put those in order for ofbiz to
>>> load them.
>>>
>>> No matter what I do the page just reloads after I press "Run", I don't
>>> know
>>> if my definition file is not correct or it could not be found, nothing is
>>> in the log too.
>>>
>>> Could you, please, tell me what the rules for finding files in this page
>>> are?
>>>
>>> 1. Absolute file system path
>>> (C:\apache-ofbiz-09.04.02\hot-**deploy\definition.xml)
>>> 2. Relative file system path windows style (\hot-deploy\definition.xml)
>>> 3. Relative file system path Unix style (/hot-deploy/definition.xml)
>>> 4. URL style file absolute path
>>> (file:///C:/apache-ofbiz-09.**04.02/hot-deploy/definition.**xml)
>>> 5. URL style relative path (/hot-deploy/definition.xml)
>>> 6. URL style web absolute path (http://somehost/definition.**xml<http://somehost/definition.xml>
>>> )
>>>
>>> In which of those situations *isURL *has to be checked?
>>>
>>>
>>> My system is windows x64 and I run Ofbiz 09.04.02
>>>
>>> Any help is much appreciated!
>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz's Data File Tools files location

Boris Hamanov
If you mean such as this one:
C:\apache-ofbiz-09.04.02\hot-deploy\definition.xml

That didn't work. Or at least nothing happened when I clicked Run.

On Tue, Aug 7, 2012 at 12:10 PM, Adrian Crum <
[hidden email]> wrote:

> The complete path to the file on your local machine.
>
> -Adrian
>
>
> On 8/7/2012 9:15 AM, Boris Hamanov wrote:
>
>> Thanks Adrian,
>>
>> Unfortunately, I don't know what "enter the complete path" means in those
>> instructions? Path to where in my ofbiz istanll? What type of path? Do I
>> have to restart ofbiz after I put the file there? I tried a couple of
>> variants and nothing works so far.
>>
>> On Tue, Aug 7, 2012 at 11:04 AM, Adrian Crum <
>> adrian.crum@sandglass-**software.com <[hidden email]>>
>> wrote:
>>
>>  Try following these instructions:
>>>
>>> http://mail-archives.apache.****org/mod_mbox/ofbiz-user/**
>>> 200610.mbox/%3C4524BDE9.**1040**[hidden email] <[hidden email]>%3E<
>>> <a href="http://mail-**archives.apache.org/mod_mbox/**ofbiz-user/200610.mbox/%**">http://mail-**archives.apache.org/mod_mbox/**ofbiz-user/200610.mbox/%**
>>> [hidden email]%**3E<http://mail-archives.apache.org/mod_mbox/ofbiz-user/200610.mbox/%3C4524BDE9.1040901@...%3E>
>>> >
>>>
>>>
>>> -Adrian
>>>
>>>
>>> On 8/7/2012 9:01 AM, Boris Hamanov wrote:
>>>
>>>  Hello,
>>>>
>>>> I am having difficulties making this page work: Framework Web Tools (
>>>> https://demo-old.ofbiz.apache.****org/webtools/control/****
>>>> viewdatafile<https://demo-old.**ofbiz.apache.org/webtools/**
>>>> control/viewdatafile<https://demo-old.ofbiz.apache.org/webtools/control/viewdatafile>
>>>> >
>>>>
>>>> )
>>>>
>>>> I created a definition file according to this tutorial here:
>>>> https://cwiki.apache.org/****OFBENDUSER/ofbizs-data-file-****tools.html<https://cwiki.apache.org/**OFBENDUSER/ofbizs-data-file-**tools.html>
>>>> <https://cwiki.**apache.org/OFBENDUSER/ofbizs-**data-file-tools.html<https://cwiki.apache.org/OFBENDUSER/ofbizs-data-file-tools.html>
>>>> >,
>>>>
>>>> I have a
>>>> CSV file, but I don't know where I should put those in order for ofbiz
>>>> to
>>>> load them.
>>>>
>>>> No matter what I do the page just reloads after I press "Run", I don't
>>>> know
>>>> if my definition file is not correct or it could not be found, nothing
>>>> is
>>>> in the log too.
>>>>
>>>> Could you, please, tell me what the rules for finding files in this page
>>>> are?
>>>>
>>>> 1. Absolute file system path
>>>> (C:\apache-ofbiz-09.04.02\hot-****deploy\definition.xml)
>>>>
>>>> 2. Relative file system path windows style (\hot-deploy\definition.xml)
>>>> 3. Relative file system path Unix style (/hot-deploy/definition.xml)
>>>> 4. URL style file absolute path
>>>> (file:///C:/apache-ofbiz-09.****04.02/hot-deploy/definition.****xml)
>>>>
>>>> 5. URL style relative path (/hot-deploy/definition.xml)
>>>> 6. URL style web absolute path (http://somehost/definition.****xml<http://somehost/definition.**xml>
>>>> <http://somehost/**definition.xml <http://somehost/definition.xml>>
>>>>
>>>> )
>>>>
>>>> In which of those situations *isURL *has to be checked?
>>>>
>>>>
>>>> My system is windows x64 and I run Ofbiz 09.04.02
>>>>
>>>> Any help is much appreciated!
>>>>
>>>>
>>>>
>