Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Specify the location of the war folder from pom.xml #15

Closed
GoogleCodeExporter opened this issue Aug 25, 2015 · 2 comments
Closed

Specify the location of the war folder from pom.xml #15

GoogleCodeExporter opened this issue Aug 25, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

The current plugin(1.7.5) does not support war folder setting on exec `mvn 
appengine:devserver` .
I modified resource in src/main/webapp (e.g. index.html...) but it is not 
reflect quickly on browser.
By running the dev server with ./target/hoge-version , I want to really being 
run in src/main/webapp .

I'm nice That way, Maven and Java is installed, GAE dev server will running 
without the need to do any other works.
I want to say "If you exec magic command `mvn appengine:devserver`, you can 
start development and editing on your local machine just now." for designer.

In my opinion about plugin configuration.
<configuration>
    <warDir>src/main/webapp</warDir>
    <useJava7>true</useJava7>
    <port>8888</port>
</configuration>

The relevant code.
https://code.google.com/p/appengine-maven-plugin/source/browse/src/main/java/com
/google/appengine/DevAppServerRunner.java#117

Regards.

Original issue reported on code.google.com by vvak...@gmail.com on 8 Mar 2013 at 6:14

@GoogleCodeExporter
Copy link
Author

The way maven works, this isn't the best way to approach the problem.  If you 
instead configure the plugin on the project that constructs the war, it should 
just work.  Doing it this way can make it more complicated to assemble the war 
directory for most users, so I would rather not make this configurable.
If you have a sample project where you are having issues and you can point me 
to it, I'd be happy to help you.  Feel free to reach out to me on the appengine 
irc channel on irc.freenode,net .

Original comment by matts...@google.com on 19 Mar 2013 at 8:43

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Sorry, I was slow to notice.

Sample project is here. https://github.com/vvakame/ajn24-sample

I want to be immediately reflected in the browser by running "mvn 
appengine:devserver" and has been changed src/main/webapp/test.html.

Do you have a good knowledge?

Original comment by vvak...@gmail.com on 4 Apr 2013 at 2:30

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

No branches or pull requests

1 participant