faresd / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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