Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DesktopLauncher does not properly show under Run/Debug Settings #5

Open
Valkrysa opened this issue Jun 11, 2015 · 2 comments
Open

DesktopLauncher does not properly show under Run/Debug Settings #5

Valkrysa opened this issue Jun 11, 2015 · 2 comments
Labels

Comments

@Valkrysa
Copy link

On page 14 on the LibGDX Cookbook, section title "Making sure everything is in order", item number 6.
Item in question states:
"
6. We now need to tell the desktop project where the assets are located. Right-click on the desktop project (environment-test-desktop), select Properties | Run/Debug Settings, select DesktopLauncher, and click on Edit.
"

Building from latest version available in this repository the item "DesktopLauncher" is not an item available to edit from "Run/Debug Settings" as expected.

I proceeded by completing the following steps:

  1. On the "Run/Debug Settings" screen previous mentioned click "New"
  2. Select "Java Application" and click "OK"
  3. Give it the name "DesktopLauncher"
  4. For the text box "Main Class:" type the following "com.cookbook.environment.desktop.DesktopLauncher"
  5. Proceed with the rest of the cookbook as per normal.
@Valkrysa
Copy link
Author

Just in case it was an out of date print I confirmed the instructions and text are the same in the ebook version as in the physical book version.

@dandonahue19
Copy link

Hey, I know I am 9 months late, but I figured I would pass on the solution in case anyone else has this problem. Just run the application first and it will prompt you to select DesktopLauncher. It will give you an error, but now when you go to the environment-test-desktop -> properties -> run/debug settings the DesktopLauncher will be there and you can add the working directory under the arguments tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants