I am building a Java Google App Engine server project and a Java desktop client. I would like to run them both at once, but I'm not sure if this is possible using Eclipse/GAE plugin. Is there some way? I'd like to be able to step through them both at the same time.
I tried opening a new instance of Eclipse, but it complained that the workspace is already in use, both projects are in the same workspace. (Perhaps I could just move them to different workspaces.)
If you are comfortable running on two or more programs on the terminal you can copy command line args from the debug view for different launch configurations and run on two or more terminals!! Now after run> Right click on the last launch(debug tab) and go to properties. Eclipse will list the exact command line.
The command line arguments are stored in Eclipse in a Run Configuration (menu: Run > Run Configurations... , or Run > Debug Configurations... ). Just create two of them, reference the same main class, and specify different command line arguments, e.g. to specify different ports, then Run / Debug both of them.
U can use ur integrated terminal in vsc, cd into that out folder, and then type "java serverfilename" to run them. Then u just open a new terminal or a split screen terminal and do the same thing with client file.
Click on the tab of one of the files you want to edit and drag the tab to the edge of the editor frame until you see a vertical line appear in the middle of the editor frame. Then drop the tab there and you have two files to view side-by-side.
I'm not familiar with the GAE and if that interferes, but I don't have a problem running multiples. I often fire up a server and multiple clients from the same window.
A few pointers:
Before on top, after on bottom
After adding the new Console view, you must go to the icon to its left and select which console you want to see. If you're running two programs you will see the two programs in the drop down list.
Thanks for the answers. I was just trying it out and it was really helpful.
(By icon to the left I mean the one that looks like a mini purple color monitor)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With