Creating a customer web site based on OFBIZ.

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

Creating a customer web site based on OFBIZ.

Robert Wynkoop
Using earlier advice from this list I believe I have my source control
setup for proper custom development.

Following the developer demo, Creating your first component
<https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreateYourFirstApplication(HelloWorld...)>
.

I noticed the files are created in the plugins directory.

This directory is excluded from commit via the .gitingnore file checked
into the branch.

How should I go about committing to my local branch, components that I
create here?

Robert Wynkoop
Reply | Threaded
Open this post in threaded view
|

Re: Creating a customer web site based on OFBIZ.

Jacques Le Roux
Administrator
Hi Robert,

OOTB there are 2 branches, one for the framework and one for the plugins. You should have the same structure.

Jacques

Le 01/11/2019 à 06:10, Robert Wynkoop a écrit :

> Using earlier advice from this list I believe I have my source control
> setup for proper custom development.
>
> Following the developer demo, Creating your first component
> <https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreateYourFirstApplication(HelloWorld...)>
> .
>
> I noticed the files are created in the plugins directory.
>
> This directory is excluded from commit via the .gitingnore file checked
> into the branch.
>
> How should I go about committing to my local branch, components that I
> create here?
>
> Robert Wynkoop
>
Reply | Threaded
Open this post in threaded view
|

Re: Creating a customer web site based on OFBIZ.

Robert Wynkoop
Humm, I saw that.  My prior tests were with v16.?.  It was one branch.  How
do the two branches work together in v18? Is the plugins dependent on the
framework branch?

Do you have any docs on this?  I did see a list email where someone was
proposing this(PlugIn vs HotLoad, special purpose) new structure.  Seems
like a good idea, just trying to figure out how to organize my code so I
can make local commits to my repository.

Robert Wynkoop



On Fri, Nov 1, 2019 at 5:41 AM Jacques Le Roux <[hidden email]>
wrote:

> Hi Robert,
>
> OOTB there are 2 branches, one for the framework and one for the plugins.
> You should have the same structure.
>
> Jacques
>
> Le 01/11/2019 à 06:10, Robert Wynkoop a écrit :
> > Using earlier advice from this list I believe I have my source control
> > setup for proper custom development.
> >
> > Following the developer demo, Creating your first component
> > <
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreateYourFirstApplication(HelloWorld...)
> >
> > .
> >
> > I noticed the files are created in the plugins directory.
> >
> > This directory is excluded from commit via the .gitingnore file checked
> > into the branch.
> >
> > How should I go about committing to my local branch, components that I
> > create here?
> >
> > Robert Wynkoop
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Creating a customer web site based on OFBIZ.

Jacques Le Roux
Administrator
Le 01/11/2019 à 13:15, Robert Wynkoop a écrit :
> Humm, I saw that.  My prior tests were with v16.?.  It was one branch.  How
> do the two branches work together in v18? Is the plugins dependent on the
> framework branch?
Yes the plugins are depended on the framework branch. And unfortunately for now the framework branch is also dependent on the plugins, mostly for the
demo data but not only.
> Do you have any docs on this?

I don't think we have a specific documentation about that. You though might refer to the main README.adoc file


> I did see a list email where someone was
> proposing this(PlugIn vs HotLoad, special purpose) new structure.  Seems
> like a good idea, just trying to figure out how to organize my code so I
> can make local commits to my repository.

I'd simply follow the OOTB structure.

I'd look into https://markmail.org/message/umxnqnw7uuv3wrps

And specifically https://markmail.org/message/umxnqnw7uuv3wrps

HTH

Jacques

>
> Robert Wynkoop
>
>
>
> On Fri, Nov 1, 2019 at 5:41 AM Jacques Le Roux <[hidden email]>
> wrote:
>
>> Hi Robert,
>>
>> OOTB there are 2 branches, one for the framework and one for the plugins.
>> You should have the same structure.
>>
>> Jacques
>>
>> Le 01/11/2019 à 06:10, Robert Wynkoop a écrit :
>>> Using earlier advice from this list I believe I have my source control
>>> setup for proper custom development.
>>>
>>> Following the developer demo, Creating your first component
>>> <
>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreateYourFirstApplication(HelloWorld...)
>>> .
>>>
>>> I noticed the files are created in the plugins directory.
>>>
>>> This directory is excluded from commit via the .gitingnore file checked
>>> into the branch.
>>>
>>> How should I go about committing to my local branch, components that I
>>> create here?
>>>
>>> Robert Wynkoop
>>>
Reply | Threaded
Open this post in threaded view
|

Re: Creating a customer web site based on OFBIZ.

Robert Wynkoop
OK,

Creating a component(application/plugin) puts it in the
ofbiz-framework\plugins, that is ignored by git.

What is the correct way to get this in source control and develop for it?

Robert Wynkoop
Google Voice: 314-380-0046
Cell: 314-606-3079
Home: 314-846-7638

2904 Woodbridge Estates Dr.
Saint Louis, MO 63129


On Fri, Nov 1, 2019 at 9:17 AM Jacques Le Roux <[hidden email]>
wrote:

> Le 01/11/2019 à 13:15, Robert Wynkoop a écrit :
> > Humm, I saw that.  My prior tests were with v16.?.  It was one branch.
> How
> > do the two branches work together in v18? Is the plugins dependent on the
> > framework branch?
> Yes the plugins are depended on the framework branch. And unfortunately
> for now the framework branch is also dependent on the plugins, mostly for
> the
> demo data but not only.
> > Do you have any docs on this?
>
> I don't think we have a specific documentation about that. You though
> might refer to the main README.adoc file
>
>
> > I did see a list email where someone was
> > proposing this(PlugIn vs HotLoad, special purpose) new structure.  Seems
> > like a good idea, just trying to figure out how to organize my code so I
> > can make local commits to my repository.
>
> I'd simply follow the OOTB structure.
>
> I'd look into https://markmail.org/message/umxnqnw7uuv3wrps
>
> And specifically https://markmail.org/message/umxnqnw7uuv3wrps
>
> HTH
>
> Jacques
>
> >
> > Robert Wynkoop
> >
> >
> >
> > On Fri, Nov 1, 2019 at 5:41 AM Jacques Le Roux <
> [hidden email]>
> > wrote:
> >
> >> Hi Robert,
> >>
> >> OOTB there are 2 branches, one for the framework and one for the
> plugins.
> >> You should have the same structure.
> >>
> >> Jacques
> >>
> >> Le 01/11/2019 à 06:10, Robert Wynkoop a écrit :
> >>> Using earlier advice from this list I believe I have my source control
> >>> setup for proper custom development.
> >>>
> >>> Following the developer demo, Creating your first component
> >>> <
> >>
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreateYourFirstApplication(HelloWorld..
> .)
> >>> .
> >>>
> >>> I noticed the files are created in the plugins directory.
> >>>
> >>> This directory is excluded from commit via the .gitingnore file checked
> >>> into the branch.
> >>>
> >>> How should I go about committing to my local branch, components that I
> >>> create here?
> >>>
> >>> Robert Wynkoop
> >>>
>