Setting up dev env in Eclipse, Windows 10

howto
english

#1

Hi Team,

I’m trying to setting dev env for Metasfresh in Windows 10. I use eclipse as the IDE.

I’ve followed the dev guide to import the repos, config maven and build the projects from maven cli.
http://docs.metasfresh.org/pages/developers/index_en
There were some failing tests in few projects. But I was successful in building the artifacts by skipping the tests (-DSkipTests)

http://docs.metasfresh.org/developers_collection/en/getting_started_ide_en.html
Following the steps to getting started in eclipse, I’ve imported the projects in the eclipse.
But, I’m not able to find the .launch files specified in the guide.

Can someone please help me understand how to run and debug the application from eclipse?

Regards,
Roopesh.


#2

Hi @RoopeshKumarH

my apologies, these docs were a bit outdated. The locations of your screenshot’s .launch config files have changed a bit. I just updated documentation, I hope it now serves better.

Anyways, when in doubt, you can identify all launch configs within eclipse using Ctrl-Shift-R and then filtering for *.launch.

Best regards
Tobias


#3

Thanks @metas-ts for updating the document.

Would recommend any tips for debugging the app in eclipse?

Regards,
Roopesh.


#4

Hi @RoopeshKumarH

no, nothing in particular besides the usual eclipse-debugging tips&tricks


#5

Hi @metas-ts

Thanks for your inputs. I was able to setup the dev env, with the dev-DB, as guided in the developers index. But the, I’ve landed into issues. Please help me to sort these out. This is going to be a long post! Please bear with me.

I’m trying to work on the issue 5010.
I was successful in getting both SwingUI and WebUI-Frountend up and running, connected to local DB. Looks like the dev-DB does not seem to have the necessary schemas required for ‘Purchase Requisition’. I was not able to find the screens related to ‘Purchase Requisition’. (Also, the SwingUI showed most of the stuff in German, which I couldn’t comprehend)

Hence, I thought to switch to a remote DB (95.216.200.191:5432), where the test application (asc.mykloudz.ae) is already running. I just deleted the ‘metasfresh.properties’ file, so the I can provide new connection details.
When I connect to the remote DB, I got errors everywhere. (Sharing errors in drive, since I couldn’t upload more than one image!)
Errors in remote DB

Since I got errors, I thought of returning back to local dev-DB. I tried again after deleting the ‘metasfresh.properties’ file. But now, I’m getting errors in connecting to dev-DB as well!
Errors in Local DB

Now, neither I’m able to connect to remote DB nor able to work with local DB. Please help me resolve these issues.

Along with all the above issue, I also get error with MQ connection. There was no mention about setting up a MQ in the developers index. What is MQ used for? Is there any documentation about it? Or, is there way I can disable the use of MQ?

Thank you very much for your patience. Hope to see a response from you soon. :slight_smile:

Warm Regards,
Roopesh Kumar.