Page 1 of 2

Can I download jar files and just replace them to migrate?

Posted: Sun Aug 31, 2014 11:33 am
by gowthamgutha
For migration, instead of modifying in my application, could I download the latest jar files and replace them in my project?

Thanks in advance. Hope you will reply as soon as possible.

Re: Can I download jar files and just replace them to migrate?

Posted: Wed Sep 03, 2014 11:22 pm
by phillipuniverse
Sorry, don't really understand your question. Could you elaborate some?

Re: Can I download jar files and just replace them to migrate?

Posted: Tue Sep 09, 2014 5:32 am
by gowthamgutha
I mean, I downloaded the Broadleaf 3.1.0-GA release, now, I need to upgrade to the latest version. Is it enough to just update the maven dependencies to the latest version to get to Broadleaf latest version?

Thanks in advance.

Re: Can I download jar files and just replace them to migrate?

Posted: Tue Sep 09, 2014 8:30 am
by phillipuniverse
Yes. You will want the Broadleaf 3.1.8-GA release. All you need to do is update your pom.xml to target this version.

Re: Can I download jar files and just replace them to migrate?

Posted: Wed Sep 10, 2014 6:04 am
by gowthamgutha
Also, am I allowed to modify the source of the broadleaf framework according to my project?

Thanks.

Re: Can I download jar files and just replace them to migrate?

Posted: Wed Sep 10, 2014 12:52 pm
by phillipuniverse
Sure, but that is not something that I recommend doing. That question is the same as asking "can I modify the source of the Spring Framework according to my project?" Sure you can, if you fork the Spring Framework and then customize it but that is not something that you should be doing for your project specifically. You should instead pull in Spring as a dependency of your project just like you should pull in Broadleaf as a dependency of your project.

In Broadleaf we have a ton of extension points to customize how Broadleaf works for your own custom application. If there is an extension point in Broadleaf that is missing, then maybe we need to change the framework in some way to support the use case you are trying to implement (which we would love to hear about).

Re: Can I download jar files and just replace them to migrate?

Posted: Thu Sep 11, 2014 6:09 am
by gowthamgutha
One thing I would like to tell is to allow the developers to completely replace the existing broadleaf entities with their own ones.

For example, the entire ProductImpl in the product should be able to be replaced MyProductImpl pointing to the same table BLC_PRODUCT.

Thank you.

Re: Can I download jar files and just replace them to migrate?

Posted: Sat Sep 13, 2014 2:14 pm
by phillipuniverse
One thing I would like to tell is to allow the developers to completely replace the existing broadleaf entities with their own ones.


Not really what I would call a good idea. If you are just trying to add more columns to the BLC_PRODUCT table without extending it into a new table, I would instead use single-table inheritance. Check out http://www.broadleafcommerce.com/docs/c ... s-tutorial near the bottom for the section 'Single Table Inheritance'.