Hi Montalabano, It's okay for the name of the user to change when you copy from one computer to another, and I think the solution is very simple, just run the build again by typing ./gradlew --offline build
What this will do is fix the classpath in build/ofbiz.jar because the ofbiz.jar contains the classpath for all the dependencies (sitting in the gradle cache) so when you switch to a new computer with a different user name, it does not work immediately. So a simple rebuild command would do the trick. Regards, Taher Alkhateeb On Tue, Aug 30, 2016 at 10:56 AM, Montalbano Florian < [email protected]> wrote: > Hi Taher, All, > > thanks a lot for this thorough explanation. > > I just encountered the case where I had no internet connexion to fetch the > dependencies. After searching for a while, I succeeded in resolving this > problem by using what you said in your point "1- No internet connection" . > The only difference is that I needed to have exactly the same absolute path > to the .gradle folder between the two computers. But maybe it was because I > miss-used the '--offline' flag. > > I think that as long we can do this, there shouldn't be too much problem > for specific deployment. I can understand the possibility where the server > can't be connected to the wild web (for security stuff) but I lack the > experience to know if there is case where gradle may not be allowed (with a > good motive). > > > Thanks again, > > Have a nice day. > > > >
