It turns out that there are two in the distribution/aggregations folder,
base-runtime-nodep is the really old one from the old shades folder and it
could be deleted now, and theres base-runtime-aggregation which is like the
base-runtime plus it also includes all its dependencies.

I think which should consider if we really need any of those
distribution\aggregations ones now after all the other changes we've done.
The base + extension approach that we have now along with the which-jars,
manifest and Ant build xml all work well enough so i'm not sure we need to
keep the old aggregations. One aggregation we might want later is once we
get the distributed domain going again an aggregate jar that you can use to
get a working SCA client. Thats probably base + sca binding impl + all their
dependencies.

   ...ant

On Mon, Dec 6, 2010 at 6:43 PM, Raymond Feng <[email protected]> wrote:

> By looking into the modules folder, I found two projects:
>
> a) base-runtime-pom (The maven feature pom that defines the basic
> collection of dependencies)
> b) base-runtime (The aggregated SHADE jar)
>
> How is distribution/aggregations/base-runtime different from b)? Why should
> b) be placed under modules?
>
> Thanks,
> Raymond
>
> *________________________________________________________________
> Raymond Feng
> [email protected]
> Apache Tuscany PMC member and committer: tuscany.apache.org
> Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
> Personal Web Site: www.enjoyjava.com
> ________________________________________________________________*
>
> On Dec 5, 2010, at 2:12 AM, ant elder wrote:
>
> On Sat, Dec 4, 2010 at 6:09 AM, Luciano Resende <[email protected]>
> wrote:
>
> On Fri, Nov 12, 2010 at 3:32 AM,  <[email protected]> wrote:
>
> Author: antelder
>
> Date: Fri Nov 12 11:32:21 2010
>
> New Revision: 1034349
>
>
> URL: http://svn.apache.org/viewvc?rev=1034349&view=rev
>
> Log:
>
> more base + extension updates
>
>
> Modified:
>
>    tuscany/sca-java-2.x/trunk/samples/applications/store-webapp/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/async/calculator-contribution/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-sca/calculator-contribution/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-ws/calculator-contribution/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-java/calculator-contribution/pom.xml
>
>
>  
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-script/calculator-contribution/pom.xml
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/applications/store-webapp/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/applications/store-webapp/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> --- tuscany/sca-java-2.x/trunk/samples/applications/store-webapp/pom.xml
> (original)
>
> +++ tuscany/sca-java-2.x/trunk/samples/applications/store-webapp/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -30,24 +30,60 @@
>
>     <name>Apache Tuscany SCA Sample Getting Started Online Store as
> WebApp</name>
>
>
>     <dependencies>
>
> +               <dependency>
>
> +                       <groupId>org.apache.tuscany.sca</groupId>
>
> +                       <artifactId>tuscany-base-runtime</artifactId>
>
> +                       <version>2.0-SNAPSHOT</version>
>
> +               </dependency>
>
> +
>
> +               <dependency>
>
> +                       <groupId>org.apache.tuscany.sca</groupId>
>
> +                       <artifactId>tuscany-data-api</artifactId>
>
> +                       <version>2.0-SNAPSHOT</version>
>
> +               </dependency>
>
> +
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-host-webapp</artifactId>
>
> +            <artifactId>tuscany-binding-atom-runtime</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
> -
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-data-api</artifactId>
>
> +            <artifactId>tuscany-binding-atom-js-dojo</artifactId>
>
> +            <version>2.0-SNAPSHOT</version>
>
> +        </dependency>
>
> +        <dependency>
>
> +            <groupId>org.apache.tuscany.sca</groupId>
>
> +            <artifactId>tuscany-binding-http-runtime</artifactId>
>
> +            <version>2.0-SNAPSHOT</version>
>
> +        </dependency>
>
> +        <dependency>
>
> +            <groupId>org.apache.tuscany.sca</groupId>
>
> +            <artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
> -
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-web20</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
> +        <dependency>
>
> +            <groupId>org.apache.tuscany.sca</groupId>
>
> +            <artifactId>tuscany-implementation-widget-runtime</artifactId>
>
> +            <version>2.0-SNAPSHOT</version>
>
> +        </dependency>
>
> +        <dependency>
>
> +            <groupId>org.apache.tuscany.sca</groupId>
>
> +
>  <artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
>
> +            <version>2.0-SNAPSHOT</version>
>
> +        </dependency>
>
> +
>
> +        <dependency>
>
> +            <groupId>org.apache.tuscany.sca</groupId>
>
> +            <artifactId>tuscany-web-javascript-dojo</artifactId>
>
> +            <version>2.0-SNAPSHOT</version>
>
> +        </dependency>
>
> +
>
>
>         <dependency>
>
>             <groupId>junit</groupId>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/async/calculator-contribution/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/async/calculator-contribution/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/async/calculator-contribution/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/async/calculator-contribution/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -31,8 +31,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-sca-api</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -31,8 +31,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-sca-api</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -32,15 +32,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> -            <version>2.0-SNAPSHOT</version>
>
> -        </dependency>
>
> -
>
> -        <dependency>
>
> -            <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-webapp</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-base-runtime</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
> @@ -51,12 +43,6 @@
>
>         </dependency>
>
>
>         <dependency>
>
> -            <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-databinding-json</artifactId>
>
> -            <version>2.0-SNAPSHOT</version>
>
> -        </dependency>
>
> -
>
> -        <dependency>
>
>            <groupId>org.dojotoolkit</groupId>
>
>            <artifactId>dojo</artifactId>
>
>            <version>1.3.0</version>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-sca/calculator-contribution/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/binding-sca/calculator-contribution/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-sca/calculator-contribution/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-sca/calculator-contribution/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -31,8 +31,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-sca-api</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-ws/calculator-contribution/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/binding-ws/calculator-contribution/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-ws/calculator-contribution/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/binding-ws/calculator-contribution/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -31,8 +31,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-sca-api</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-java/calculator-contribution/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-java/calculator-contribution/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-java/calculator-contribution/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-java/calculator-contribution/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -31,8 +31,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-sca-api</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-script/calculator-contribution/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-script/calculator-contribution/pom.xml?rev=1034349&r1=1034348&r2=1034349&view=diff
>
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-script/calculator-contribution/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/learning-more/implementation-script/calculator-contribution/pom.xml
> Fri Nov 12 11:32:21 2010
>
> @@ -31,8 +31,7 @@
>
>     <dependencies>
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
> -            <artifactId>tuscany-feature-api</artifactId>
>
> -            <type>pom</type>
>
> +            <artifactId>tuscany-sca-api</artifactId>
>
>             <version>2.0-SNAPSHOT</version>
>
>         </dependency>
>
>
>
>
>
>
> I thought we were trying to hide the dependency complexity from end
>
> user by using features. The store-webapp sample was using the web 2.0
>
> feature, but it looks like it was changed to use a coarse-grained
>
> dependencies. Could someone please help me understand why this change
>
> was done ?
>
>
>
>
> We're changing to use the base plus extension jars approach. There was
> lots of discussion about it, eg this thread:
> http://apache.markmail.org/message/hco6gjszho56hla2
>
> Not all the extension have been completely updated for this yet, and
> implementation.web is one that still needs work, I've been waiting on
> it as you said you were going to try to simplify all the *-dojo
> modules: http://apache.markmail.org/message/anrp2fwrqksgdfyy
>
>   ...ant
>
>
>

Reply via email to