Doubts

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

Doubts

Prabhakar Pandey
Hi Evry1,
i have a doubt how do i run a application in ofbiz.
first do i need to run build.xml as ant build and then click on
startofbiz.bat.
am i right?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Mayank Sheth
Hi Prabhakar,

Yes you are right.
Open command prompt and reach to your ofbiz folder.If you are having java
code in your application than run ant command to build java files and than
./startofbiz.sh(in case of unix/linux) or startofbiz.bat(for windows)
command to start server and
Hit the url-
http://localhost:8080/application-mount-point/control/request-uri

for mount-point and request-uri take reference from:
https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html#OFBizTutorial-ABeginnersDevelopmentGuide-Part1

Thanks and Regards
Mayank Sheth
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com

On Wed, Jul 11, 2012 at 11:48 AM, Prabhakar Pandey <[hidden email]>wrote:

> Hi Evry1,
> i have a doubt how do i run a application in ofbiz.
> first do i need to run build.xml as ant build and then click on
> startofbiz.bat.
> am i right?
>
> Thanks
>
Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Prabhakar Pandey
Mayank,
Thanks, & supppose we make changes in the file suppose in xml files then do
we need to re ant build the application or we can just view the changes by
refreshing the pages?

On Wed, Jul 11, 2012 at 2:05 PM, Mayank Sheth <[hidden email]>wrote:

> Hi Prabhakar,
>
> Yes you are right.
> Open command prompt and reach to your ofbiz folder.If you are having java
> code in your application than run ant command to build java files and than
> ./startofbiz.sh(in case of unix/linux) or startofbiz.bat(for windows)
> command to start server and
> Hit the url-
> http://localhost:8080/application-mount-point/control/request-uri
>
> for mount-point and request-uri take reference from:
>
> https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html#OFBizTutorial-ABeginnersDevelopmentGuide-Part1
>
> Thanks and Regards
> Mayank Sheth
> HotWax Media Pvt. Ltd.
> http://www.hotwaxmedia.com
>
> On Wed, Jul 11, 2012 at 11:48 AM, Prabhakar Pandey <[hidden email]
> >wrote:
>
> > Hi Evry1,
> > i have a doubt how do i run a application in ofbiz.
> > first do i need to run build.xml as ant build and then click on
> > startofbiz.bat.
> > am i right?
> >
> > Thanks
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Jay Jain
Hi Prabhakar,
There have no need to re ant build the application after change in xml
files, ant use for changes in java files.
but you have to restart the server after change in some of xml files
like ofbiz-component.xml, build.xml, *UlLable.xml etc.

Thanks and Regards
Jay Jain
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com



On 07/11/2012 02:49 PM, Prabhakar Pandey wrote:

> Mayank,
> Thanks,&  supppose we make changes in the file suppose in xml files then do
> we need to re ant build the application or we can just view the changes by
> refreshing the pages?
>
> On Wed, Jul 11, 2012 at 2:05 PM, Mayank Sheth<[hidden email]>wrote:
>
>> Hi Prabhakar,
>>
>> Yes you are right.
>> Open command prompt and reach to your ofbiz folder.If you are having java
>> code in your application than run ant command to build java files and than
>> ./startofbiz.sh(in case of unix/linux) or startofbiz.bat(for windows)
>> command to start server and
>> Hit the url-
>> http://localhost:8080/application-mount-point/control/request-uri
>>
>> for mount-point and request-uri take reference from:
>>
>> https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html#OFBizTutorial-ABeginnersDevelopmentGuide-Part1
>>
>> Thanks and Regards
>> Mayank Sheth
>> HotWax Media Pvt. Ltd.
>> http://www.hotwaxmedia.com
>>
>> On Wed, Jul 11, 2012 at 11:48 AM, Prabhakar Pandey<[hidden email]
>>> wrote:
>>> Hi Evry1,
>>> i have a doubt how do i run a application in ofbiz.
>>> first do i need to run build.xml as ant build and then click on
>>> startofbiz.bat.
>>> am i right?
>>>
>>> Thanks
>>>

Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Mayank Sheth
Hi Prabhakar,

After modifications in ofbiz-component.xml, web.xml,*UiLabels.xml,
*services.xml, eecas.xml and secas.xml you have to restart the server but
no need to restart the server in case of *screens.xml, controller.xml and
*forms.xml.
and for files in 'entitydef' and 'data' folder  run 'ant run-install'
command and restart the server.


Thanks and Regards
Mayank Sheth
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com


On Wed, Jul 11, 2012 at 3:13 PM, Jay Jain
<[hidden email]>wrote:

> Hi Prabhakar,
> There have no need to re ant build the application after change in xml
> files, ant use for changes in java files.
> but you have to restart the server after change in some of xml files like
> ofbiz-component.xml, build.xml, *UlLable.xml etc.
>
> Thanks and Regards
> Jay Jain
>
> HotWax Media Pvt. Ltd.
> http://www.hotwaxmedia.com
>
>
>
> On 07/11/2012 02:49 PM, Prabhakar Pandey wrote:
>
>> Mayank,
>> Thanks,&  supppose we make changes in the file suppose in xml files then
>> do
>>
>> we need to re ant build the application or we can just view the changes by
>> refreshing the pages?
>>
>> On Wed, Jul 11, 2012 at 2:05 PM, Mayank Sheth<[hidden email]>**
>> wrote:
>>
>>  Hi Prabhakar,
>>>
>>> Yes you are right.
>>> Open command prompt and reach to your ofbiz folder.If you are having java
>>> code in your application than run ant command to build java files and
>>> than
>>> ./startofbiz.sh(in case of unix/linux) or startofbiz.bat(for windows)
>>> command to start server and
>>> Hit the url-
>>> http://localhost:8080/**application-mount-point/**control/request-uri<http://localhost:8080/application-mount-point/control/request-uri>
>>>
>>> for mount-point and request-uri take reference from:
>>>
>>> https://cwiki.apache.org/**OFBIZ/ofbiz-tutorial-a-**
>>> beginners-development-guide.**html#OFBizTutorial-**
>>> ABeginnersDevelopmentGuide-**Part1<https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html#OFBizTutorial-ABeginnersDevelopmentGuide-Part1>
>>>
>>> Thanks and Regards
>>> Mayank Sheth
>>> HotWax Media Pvt. Ltd.
>>> http://www.hotwaxmedia.com
>>>
>>> On Wed, Jul 11, 2012 at 11:48 AM, Prabhakar Pandey<[hidden email]
>>>
>>>> wrote:
>>>> Hi Evry1,
>>>> i have a doubt how do i run a application in ofbiz.
>>>> first do i need to run build.xml as ant build and then click on
>>>> startofbiz.bat.
>>>> am i right?
>>>>
>>>> Thanks
>>>>
>>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Varun Bhansaly
A restart is not required for changes made to *UiLabels.xml, *services*.xml, and *secas*.xml files.
Just clear the cache from Webtools and changes in these should be picked up by the system.
Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Jacques Le Roux
Administrator
That's wrong a restart is *required* for
*UiLabels.xml, *services*.xml,  and *secas*.xml files.

Though for *UiLabels.xml you may use the Label Manager to avoid the restart...

Jacques

From: "Varun Bhansaly" <[hidden email]>
>A restart is not required for changes made to *UiLabels.xml, *services*.xml,
> and *secas*.xml files.
> Just clear the cache from Webtools and changes in these should be picked up
> by the system.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Doubts-tp4634684p4634728.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Doubts

Varun Bhansaly
This is what I quickly tried on my local v10.04 code base.

Edited "applications/accounting/servicedef/secas_invoice.xml", before edit it had two ecas defined on "cancelInvoice" : revertAcctgTransOnCancelInvoice and removeInvoiceItemAssocOnCancelInvoice.
Changed them to revertAcctgTransOnCancelInvoice1 and removeInvoiceItemAssocOnCancelInvoice2.
Did a cache clear and used webtool's > service reference, it now shows the modified services names.

Regarding service definition, I copied the definition of "createPartyAcctgPreference" and created a new one named "createPartyAcctgPreferenceXYZ".
Did a cache clear and used webtool's > service reference, it now shows new service named "createPartyAcctgPreferenceXYZ".