You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2007/08/25 02:51:30 UTC

[jira] Commented: (TUSCANY-1605) web-resource sample ant script does a compile as part of "ant run"

    [ https://issues.apache.org/jira/browse/TUSCANY-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522698 ] 

Jean-Sebastien Delfino commented on TUSCANY-1605:
-------------------------------------------------

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 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.

I'm deferring this JIRA to the next release.

> web-resource sample ant script does a compile as part of "ant run"
> ------------------------------------------------------------------
>
>                 Key: TUSCANY-1605
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1605
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-0.99, Java-SCA-Next
>         Environment: Windowx XP
>            Reporter: Simon Nash
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> In the 0.99 binary distro, the web-resource sample's ant script's "run" target does a compile before the run.  This is contrary to our normal samples convention that "ant run" does not do a compile. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org