Repository navigation
Issue 140 rebased to async-support with fixes - #150
Conversation
There was a problem hiding this comment.
Use the schema:
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>assembly</id>
|
@ludoch This now can do quickstart generation. You can generate with: cd jetty9-compat-base/target/jetty-base
java \
-Droot.webapp=../webapps/testwebapp/ \
-Dcom.google.apphosting.logs=/tmp \
-Dquickstart_web_xml=../webapps/testwebapp/WEB-INF/quickstart-web.xml \
-jar ../jetty-distribution-9.3.5.v20151012/start.jar \
--module=testMetadataServerand then run with java \
-Droot.webapp=../webapps/testwebapp/ \
-Dcom.google.apphosting.logs=/tmp \
-jar ../jetty-distribution-9.3.5.v20151012/start.jar \
--module=testMetadataServerNote also, to see logging to the console, just remove resources/jetty-logging.properties |
|
Great... Can you give the same commands when jettyhome and jettbase are On Wed, Jan 6, 2016 at 5:52 PM, Greg Wilkins notifications@github.com
|
|
@ludoch, yes you can fully specify jetty home and jetty base. The example I'm using just uses the convenience config of jetty.home==parent-of-start.jar jetty.base=$CWD You can definitely specify those. However, note that there are still a few default paths starting with "./" that should probably be made relative to jetty.home. I'll add that shortly |
|
Yes, the idea is to use this pattern: java On Wed, Jan 6, 2016 at 8:01 PM, Greg Wilkins notifications@github.com
|
Issue 140 rebased to async-support with fixes
|
Tried the real Docker image deployed , and now getting: |
|
@ludoch I can see a renaming issue... working on it now and will create a new PR shortly |
|
Almost there. It seems that for me, the quickstart xml generated now contains hardcoded path like: instead of |
|
On 9 January 2016 at 11:00, ludovic Champenois notifications@github.com
The issue is down to a difference in URI generation, where sometimes we get file:///Users/ludo/... and sometimes we just get file:/Users/ludo/... I could probably hack around this in the vm context, but I think it is best to fix this in a new jetty release - both to make it more regular how it generates URI's, but also more accepting in the matching. Also I note that quickstart is not substituting jetty.home and jetty.base in the quickstart-web.xml, which it needs to do to make this totally portable. I'll get a 9.3.x release out over the next day or two with these fixes in. |
|
@ludoch So we definitely need a new jetty-9.3.x release, as we have changed a few more things to use Paths rather than files in 9.3.x and this will affect the portability of quickstart among other things. |
|
Bummer... No workaround without waiting for a new release that would cause On Tue, Jan 12, 2016 at 2:51 PM, Greg Wilkins notifications@github.com
|
|
@ludoch unfortunately a work around is not really possible as the code is in several private methods on the quickstart generator and processor. I have the fix ready to check in now and we should be able to create a release overnight or early tomorrow - so it will be in public m2 repo very soon. Note that there are also some good performance improvements after 9.3.5, so worthwhile updating anyway. |
|
@ludoch I have a commit ready to go that upgrades to the freshly in maven central: 9.3.7.RC1 and I've test that the quickstart is generated correctly. Shall I commit that to the async-support branch? Create a PR? or wait a few days for a 9.3.7.v201601xx final release? |
This is not ready to merge. Created for feedback for #140 against #141
This adds a jetty9-compat-base module, which produces a jetty base artifact which can be run directly with a command like:
I still need to add support for compiling quickstart.