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

Enhancement: specify generated_dir on devserver startup #24

Open
GoogleCodeExporter opened this issue Aug 24, 2015 · 3 comments
Open

Enhancement: specify generated_dir on devserver startup #24

GoogleCodeExporter opened this issue Aug 24, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

We should be able to specify optional --generated_dir devserver command line 
argument when starting devserver.

One should be able to set this variable outsite maven target directory, so that 
data can retain during multiple maven clean runs.

Attached patch implements this enhancement (you probably want to set it to 
${user.home}/.appengine/generated/${project.artifactId}).


Original issue reported on code.google.com by brane.gr...@outfit7.com on 23 Apr 2013 at 10:13

Attachments:

@GoogleCodeExporter
Copy link
Author

It would be better if it somehow tied into the plugin version (and thereby the 
sdk version) and didn't persist during upgrades, or if it provided 
functionality to clean the generated directory without the user manually having 
to delete things.  I would rather this be built in a much different way so it's 
easier for less experienced users of the plugin to take advantage of it.  Let 
me know your thoughts.

Thanks,
Matt

Original comment by matts...@google.com on 23 Apr 2013 at 10:22

@GoogleCodeExporter
Copy link
Author

Maybe we could introduce some kind of magic placeholder to generatedDir 
property, something like %{version}, which would be rewritten in runtime with 
plugin version, so that you could specify generatedDir in pom.xml like this:

${user.home}/.appengine/generated/%{version}/${project.artifactId}

We could also add simple goal, appengine:generated_cleanup for example, to 
perform generated directory cleanup.

What do you think?

Original comment by brane.gr...@outfit7.com on 24 Apr 2013 at 9:06

@GoogleCodeExporter
Copy link
Author

Is there currently any way to set generated_dir param via maven? 

Original comment by hus...@gmail.com on 12 Jun 2014 at 12:35

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

1 participant