You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by STELTZLEN Charles <ch...@nereide.biz> on 2008/12/12 10:34:41 UTC
Question on XML labels migration
Hi all,
I'm on an ofbiz from last year, still with UiLabels properties files.
I would like to know if it's possible/easy :-) to get the work on XML
labels without a big update (list of patch).
Charles.
Re: Question on XML labels migration
Posted by Adrian Crum <ad...@hlmksw.com>.
Could you be more specific? What is it doing or not doing? Are there any
messages in the logs?
If everything compiles okay, then it should work.
-Adrian
STELTZLEN Charles wrote:
> By imported, I mean I retrieved the last UtilProperties.java on ofbiz
> trunck
> and I replaced my current UtilProperties.java (I'm not synchronize on
> ofbiz trunk).
> So, I updated my UtilProperties.java ;)
> After that, I had some compilation errors, solved by the same operation
> on my
> ResourceBundleMapWrapper.java.
>
> And it still not working.
>
> If you tell me that UtilProperties.java update is enough, I suppose that
> I have done
> something wrong.
>
> Thanks,
> Charles.
>
>
> Adrian Crum a écrit :
>> What do you mean by imported? With an updated UtilProperties.java file
>> you should be able to use three file formats: *.properties, Java
>> *.xml, and OFBiz *.xml. Nothing needs to be imported.
>>
>> -Adrian
>>
>> STELTZLEN Charles wrote:
>>> Hi adrian,
>>>
>>> Effectively, I imported the last UtilProperties and I followed errors
>>> in order to solve
>>> the compilation problems, so I also imported
>>> ResourceBundleMapWrapper, and then
>>> the project builded correctly.
>>> But the xml are still not imported. So, I'm stuck because I'have no
>>> more errors or things
>>> like that to follow.
>>>
>>> But thanks Adrian, I think I will wait the next migration to use this
>>> functionality.
>>>
>>> Best regards,
>>> Charles.
>>>
>>> Adrian Crum a e'crit :
>>>> Actually, I sent that reply off too fast. There were some
>>>> refactorings done recently that are not backwards compatible. You'll
>>>> need to do a little work on the file to make it compatible.
>>>>
>>>> -Adrian
>>>>
>>>>
>>>> --- On Fri, 12/12/08, Adrian Crum <ad...@yahoo.com> wrote:
>>>>
>>>>
>>>>> From: Adrian Crum <ad...@yahoo.com>
>>>>> Subject: Re: Question on XML labels migration
>>>>> To: user@ofbiz.apache.org
>>>>> Date: Friday, December 12, 2008, 7:01 AM
>>>>> You'll need the latest UtilProperties.java file.
>>>>>
>>>>> -Adrian
>>>>>
>>>>>
>>>>> --- On Fri, 12/12/08, STELTZLEN Charles
>>>>> <ch...@nereide.biz> wrote:
>>>>>
>>>>>
>>>>>> From: STELTZLEN Charles
>>>>>>
>>>>> <ch...@nereide.biz>
>>>>>
>>>>>> Subject: Question on XML labels migration
>>>>>> To: user@ofbiz.apache.org
>>>>>> Date: Friday, December 12, 2008, 1:34 AM
>>>>>> Hi all,
>>>>>>
>>>>>> I'm on an ofbiz from last year, still with
>>>>>>
>>>>> UiLabels
>>>>>
>>>>>> properties files.
>>>>>> I would like to know if it's possible/easy :-) to
>>>>>>
>>>>> get
>>>>>
>>>>>> the work on XML
>>>>>> labels without a big update (list of patch).
>>>>>>
>>>>>> Charles.
>>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
Re: Question on XML labels migration
Posted by STELTZLEN Charles <ch...@nereide.biz>.
By imported, I mean I retrieved the last UtilProperties.java on ofbiz trunck
and I replaced my current UtilProperties.java (I'm not synchronize on
ofbiz trunk).
So, I updated my UtilProperties.java ;)
After that, I had some compilation errors, solved by the same operation
on my
ResourceBundleMapWrapper.java.
And it still not working.
If you tell me that UtilProperties.java update is enough, I suppose that
I have done
something wrong.
Thanks,
Charles.
Adrian Crum a écrit :
> What do you mean by imported? With an updated UtilProperties.java file
> you should be able to use three file formats: *.properties, Java
> *.xml, and OFBiz *.xml. Nothing needs to be imported.
>
> -Adrian
>
> STELTZLEN Charles wrote:
>> Hi adrian,
>>
>> Effectively, I imported the last UtilProperties and I followed errors
>> in order to solve
>> the compilation problems, so I also imported
>> ResourceBundleMapWrapper, and then
>> the project builded correctly.
>> But the xml are still not imported. So, I'm stuck because I'have no
>> more errors or things
>> like that to follow.
>>
>> But thanks Adrian, I think I will wait the next migration to use this
>> functionality.
>>
>> Best regards,
>> Charles.
>>
>> Adrian Crum a e'crit :
>>> Actually, I sent that reply off too fast. There were some
>>> refactorings done recently that are not backwards compatible. You'll
>>> need to do a little work on the file to make it compatible.
>>>
>>> -Adrian
>>>
>>>
>>> --- On Fri, 12/12/08, Adrian Crum <ad...@yahoo.com> wrote:
>>>
>>>
>>>> From: Adrian Crum <ad...@yahoo.com>
>>>> Subject: Re: Question on XML labels migration
>>>> To: user@ofbiz.apache.org
>>>> Date: Friday, December 12, 2008, 7:01 AM
>>>> You'll need the latest UtilProperties.java file.
>>>>
>>>> -Adrian
>>>>
>>>>
>>>> --- On Fri, 12/12/08, STELTZLEN Charles
>>>> <ch...@nereide.biz> wrote:
>>>>
>>>>
>>>>> From: STELTZLEN Charles
>>>>>
>>>> <ch...@nereide.biz>
>>>>
>>>>> Subject: Question on XML labels migration
>>>>> To: user@ofbiz.apache.org
>>>>> Date: Friday, December 12, 2008, 1:34 AM
>>>>> Hi all,
>>>>>
>>>>> I'm on an ofbiz from last year, still with
>>>>>
>>>> UiLabels
>>>>
>>>>> properties files.
>>>>> I would like to know if it's possible/easy :-) to
>>>>>
>>>> get
>>>>
>>>>> the work on XML
>>>>> labels without a big update (list of patch).
>>>>>
>>>>> Charles.
>>>>>
>>>
>>>
>>>
>>
>>
>
Re: Question on XML labels migration
Posted by Adrian Crum <ad...@hlmksw.com>.
What do you mean by imported? With an updated UtilProperties.java file
you should be able to use three file formats: *.properties, Java *.xml,
and OFBiz *.xml. Nothing needs to be imported.
-Adrian
STELTZLEN Charles wrote:
> Hi adrian,
>
> Effectively, I imported the last UtilProperties and I followed errors in
> order to solve
> the compilation problems, so I also imported ResourceBundleMapWrapper,
> and then
> the project builded correctly.
> But the xml are still not imported. So, I'm stuck because I'have no more
> errors or things
> like that to follow.
>
> But thanks Adrian, I think I will wait the next migration to use this
> functionality.
>
> Best regards,
> Charles.
>
> Adrian Crum a e'crit :
>> Actually, I sent that reply off too fast. There were some refactorings
>> done recently that are not backwards compatible. You'll need to do a
>> little work on the file to make it compatible.
>>
>> -Adrian
>>
>>
>> --- On Fri, 12/12/08, Adrian Crum <ad...@yahoo.com> wrote:
>>
>>
>>> From: Adrian Crum <ad...@yahoo.com>
>>> Subject: Re: Question on XML labels migration
>>> To: user@ofbiz.apache.org
>>> Date: Friday, December 12, 2008, 7:01 AM
>>> You'll need the latest UtilProperties.java file.
>>>
>>> -Adrian
>>>
>>>
>>> --- On Fri, 12/12/08, STELTZLEN Charles
>>> <ch...@nereide.biz> wrote:
>>>
>>>
>>>> From: STELTZLEN Charles
>>>>
>>> <ch...@nereide.biz>
>>>
>>>> Subject: Question on XML labels migration
>>>> To: user@ofbiz.apache.org
>>>> Date: Friday, December 12, 2008, 1:34 AM
>>>> Hi all,
>>>>
>>>> I'm on an ofbiz from last year, still with
>>>>
>>> UiLabels
>>>
>>>> properties files.
>>>> I would like to know if it's possible/easy :-) to
>>>>
>>> get
>>>
>>>> the work on XML
>>>> labels without a big update (list of patch).
>>>>
>>>> Charles.
>>>>
>>
>>
>>
>>
>
>
Re: Question on XML labels migration
Posted by STELTZLEN Charles <ch...@nereide.biz>.
Hi adrian,
Effectively, I imported the last UtilProperties and I followed errors in
order to solve
the compilation problems, so I also imported ResourceBundleMapWrapper,
and then
the project builded correctly.
But the xml are still not imported. So, I'm stuck because I'have no more
errors or things
like that to follow.
But thanks Adrian, I think I will wait the next migration to use this
functionality.
Best regards,
Charles.
Adrian Crum a e'crit :
> Actually, I sent that reply off too fast. There were some refactorings done recently that are not backwards compatible. You'll need to do a little work on the file to make it compatible.
>
> -Adrian
>
>
> --- On Fri, 12/12/08, Adrian Crum <ad...@yahoo.com> wrote:
>
>
>> From: Adrian Crum <ad...@yahoo.com>
>> Subject: Re: Question on XML labels migration
>> To: user@ofbiz.apache.org
>> Date: Friday, December 12, 2008, 7:01 AM
>> You'll need the latest UtilProperties.java file.
>>
>> -Adrian
>>
>>
>> --- On Fri, 12/12/08, STELTZLEN Charles
>> <ch...@nereide.biz> wrote:
>>
>>
>>> From: STELTZLEN Charles
>>>
>> <ch...@nereide.biz>
>>
>>> Subject: Question on XML labels migration
>>> To: user@ofbiz.apache.org
>>> Date: Friday, December 12, 2008, 1:34 AM
>>> Hi all,
>>>
>>> I'm on an ofbiz from last year, still with
>>>
>> UiLabels
>>
>>> properties files.
>>> I would like to know if it's possible/easy :-) to
>>>
>> get
>>
>>> the work on XML
>>> labels without a big update (list of patch).
>>>
>>> Charles.
>>>
>
>
>
>
>
Re: Question on XML labels migration
Posted by Adrian Crum <ad...@yahoo.com>.
Actually, I sent that reply off too fast. There were some refactorings done recently that are not backwards compatible. You'll need to do a little work on the file to make it compatible.
-Adrian
--- On Fri, 12/12/08, Adrian Crum <ad...@yahoo.com> wrote:
> From: Adrian Crum <ad...@yahoo.com>
> Subject: Re: Question on XML labels migration
> To: user@ofbiz.apache.org
> Date: Friday, December 12, 2008, 7:01 AM
> You'll need the latest UtilProperties.java file.
>
> -Adrian
>
>
> --- On Fri, 12/12/08, STELTZLEN Charles
> <ch...@nereide.biz> wrote:
>
> > From: STELTZLEN Charles
> <ch...@nereide.biz>
> > Subject: Question on XML labels migration
> > To: user@ofbiz.apache.org
> > Date: Friday, December 12, 2008, 1:34 AM
> > Hi all,
> >
> > I'm on an ofbiz from last year, still with
> UiLabels
> > properties files.
> > I would like to know if it's possible/easy :-) to
> get
> > the work on XML
> > labels without a big update (list of patch).
> >
> > Charles.
Re: Question on XML labels migration
Posted by Adrian Crum <ad...@yahoo.com>.
You'll need the latest UtilProperties.java file.
-Adrian
--- On Fri, 12/12/08, STELTZLEN Charles <ch...@nereide.biz> wrote:
> From: STELTZLEN Charles <ch...@nereide.biz>
> Subject: Question on XML labels migration
> To: user@ofbiz.apache.org
> Date: Friday, December 12, 2008, 1:34 AM
> Hi all,
>
> I'm on an ofbiz from last year, still with UiLabels
> properties files.
> I would like to know if it's possible/easy :-) to get
> the work on XML
> labels without a big update (list of patch).
>
> Charles.