logo dolibarr Montar entorno de desarrollo de Dolibarr con Eclipse

We will set up a development environment with Eclipse PHP Dolibarr using the PTD plugin that gives us very useful features to develop PHP projects.

PHP Eclipse downloaded from: https://eclipse.org/pdt/#download

The features offered by the PDT can be found here: http://p2.pdt-extensions.org/index.html

After installing Eclipse we look if there are existing updates. Download on the page itself indicates that perform these steps:

In Eclipse, click Help -> Install New Software Search and make this url :: http://download.eclipse.org/tools/pdt/updates/3.6

Eclipse already brings installed the plugin to work with Git, so to import the project from Git do the following. We note the URL Dolibarr Git: https://github.com/Dolibarr/dolibarr

And we perform the following steps from Eclipse.

Help Dolibarr Wiki: https://wiki.dolibarr.org/index.php/Recuperar,_actualizar_los_fuentes_del_proyecto

We can import the project Dolibarr our eclipse from two ways. One is from File> Import ... and select Projects from Git.

entorno de desarrollo dolibarr con eclipse 01 Montar entorno de desarrollo de Dolibarr con EclipseAnd then select the option Clone URI.

entorno de desarrollo dolibarr con eclipse 02 Montar entorno de desarrollo de Dolibarr con EclipseOr do it by Git perspective, Selecting Clone a Git repository.

entorno de desarrollo dolibarr con eclipse 03 Montar entorno de desarrollo de Dolibarr con EclipseIn either case, the next window where we have to indicate the url Git repository of Dolibarr in the URI field we appear and then press the button Next.

entorno de desarrollo dolibarr con eclipse 04 Montar entorno de desarrollo de Dolibarr con EclipseCan we get an error message "Git clone repository failed"Which also tells us that"can not open git-upload-pack“.

entorno de desarrollo dolibarr con eclipse 05 Montar entorno de desarrollo de Dolibarr con EclipseThis means that we have not entered the correct URL. If we are not used to working with Git surely we have entered the URL of the browser, as is usually done with SVN, but Git is different. Since the web repository, at the bottom of the next image, we see that there is a field with a HTTPS url. It will be the url you have to use to clone the project from Eclipse.

%name Montar entorno de desarrollo de Dolibarr con EclipseAfter entering the url in the previous step we will show a window where you can select the version of Dolibarr you want to import. Although we can select all, it is better to select only one to avoid problems later.

entorno de desarrollo dolibarr con eclipse 07 Montar entorno de desarrollo de Dolibarr con EclipseIn the next window that shows we would not have to do anything in principle, we give Next.

entorno de desarrollo dolibarr con eclipse 08 Montar entorno de desarrollo de Dolibarr con EclipseAnd begin downloading the entire selected our local branch.

entorno de desarrollo dolibarr con eclipse 13 Montar entorno de desarrollo de Dolibarr con Eclipse

If you get a message like the one I show you, "Git clone repository failed. Read timed out after 30,000 ms."Can our network connection is not right. In my case, I repeated the process with another different internet connection and no longer gave me problems.

entorno de desarrollo dolibarr con eclipse 10 Montar entorno de desarrollo de Dolibarr con Eclipse

If everything goes smoothly, we can see that we have in our perspective repository Git branch with Dolibarr 3.8 selected.

entorno de desarrollo dolibarr con eclipse 14 Montar entorno de desarrollo de Dolibarr con EclipseNow just create the project would eclipse to develop on that branch. To do this, from the folder Working Directory Right mouse button select the option Import Projects.

entorno de desarrollo dolibarr con eclipse 15 Montar entorno de desarrollo de Dolibarr con Eclipse

We indicate that the import will make a new project using the wizard.

entorno de desarrollo dolibarr con eclipse 16 Montar entorno de desarrollo de Dolibarr con Eclipseselect PHP Project.

entorno de desarrollo dolibarr con eclipse 17 Montar entorno de desarrollo de Dolibarr con EclipseIn this window, the key process is to select the option Create project at Existing location (from Existing source), To import it from the Git branch that we have downloaded. We indicate the folder selected in the previous steps where did the clone.

entorno de desarrollo dolibarr con eclipse 18 Montar entorno de desarrollo de Dolibarr con EclipseThe result is the PHP project created we can see from the perspective of PHP. If you look, every file and folder has a yellow icon be synchronized with the repository indicating that we have done the process correctly.

%name Montar entorno de desarrollo de Dolibarr con EclipseNow we just need to set the Build Path as directed by the Dolibarr wiki, leaving it as shown in the figure below.

entorno de desarrollo dolibarr con eclipse 20 Montar entorno de desarrollo de Dolibarr con EclipseAnd that's it. I am just start tinkering a bit and learn to program this fantastic ERP tool.

Keep updated your ERP / CRM Dolibarr

logo dolibarr Montar entorno de desarrollo de Dolibarr con Eclipse

 

  • Upgrade your Dolibarr without complications or risks to the latest version.
  • Keep your data safe. I perform backup before performing the process.
  • all information is migrated without losing anything.
  • Escríbeme y te daré presupuesto personalizado sin compromiso pulsando el siguiente botón:

Quiero saber más sobre cómo Actualizar Dolibarr

 

Dime qué te ha parecido el artículo...

rating off Montar entorno de desarrollo de Dolibarr con Eclipserating off Montar entorno de desarrollo de Dolibarr con Eclipserating off Montar entorno de desarrollo de Dolibarr con Eclipserating off Montar entorno de desarrollo de Dolibarr con Eclipserating off Montar entorno de desarrollo de Dolibarr con Eclipse (Ninguna valoración todavía)
loading Montar entorno de desarrollo de Dolibarr con EclipseCargando…
Advertisements

Use of cookies

This site uses cookies for you to have the best user experience. If you continue to browse you are giving your consent to the acceptance of the above cookies and acceptance of our cookies policy, Click the link for more information.

OK
Notice of cookies

Veo que te gusta mi Blog...

Si te ha parecido interesante este artículo, no esperes a suscribirte a mi blog. Cuando vuelva a escribir otro seguro que te interesará y no desearás no haberte enterado. Puedes suscribirte con total tranquilidad de que no recibirás spam. Lo odio igual que tu. Solo quiero que aprendas cosas nuevas y te sientas agusto con mis artículos. ¡Gracias!

Thank you for subscribing!

Pin it on Pinterest

Share This

Share

Share this with your friends!