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

Simulation through gradle uses different toast dir and resets config #19

Open
floogulinc opened this issue Jan 30, 2016 · 1 comment
Open

Comments

@floogulinc
Copy link
Collaborator

When you start a simulation through gradle simulation, it puts the toast folder in run/gradle/simulation instead of just in run as it does when started from Eclipse. It also won't keep changes made to the toast.conf file and just rewrites it to defaults on every run.

Thanks to @randbrown for noticing this issue.

@JaciBrunning
Copy link
Member

The reason Gradle's simulation runs under run/gradle/simulation instead of just run is because of Toast Libraries and Modules. In an IDE, Toast dependencies (both libraries and modules from the user's buildscript) are already linked. In Gradle Simulation, they have to be exported manually to toast/libs and toast/modules. If these were to keep the same simulation directory, the IDE would have 2 conflicting sets of libraries.

The non-persistence issue is fixed in commit c13654e in GradleRIO

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

No branches or pull requests

2 participants