I'm fine with deferring this one.  Please can you add this comment to
TUSCANY-1605 and adjust the fix target.  Thanks.

  Simon

Jean-Sebastien Delfino wrote:

Simon Nash wrote:

On the web-resource sample in the binary distro, "ant run" does a compile
before the run.  This is contrary to our normal samples convention that
"ant run" does not do a compile.

  Simon


I don't think that this is a big issue that needs to be fixed for the 0.99, as the sample actually works.

Triggering a compile before the run allows the sample to run off an exploded classes directory. This is a minor inconvenience for now, but necessary to allow Tomcat to access the HTML page published by the sample, as Tomcat won't be able to access the HTML page if it's buried inside a JAR.

Interestingly, this makes the sample run under the same conditions as if it was running in a Maven build.

See https://issues.apache.org/jira/browse/TUSCANY-1588 for the initial issue report and the corresponding commit.

We'll need to think about how to adjust the sample to keep the HTML page out of the JAR for the next release.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to