Yes do i think its useful to be able to svn checkout and build
individual samples. That makes it really easy to get started and see
what files are what rather than having to checkout the other zillion
files that make up all of Tuscany. If we can get that to work it
doesn't hurt anything does it?

   ...ant

On Thu, Jul 28, 2011 at 8:24 AM, Raymond Feng <enjoyj...@gmail.com> wrote:
> Maven 3 complains (warns) about the missing/wrong relativePath too :-(.
> Do we really expect folks to only check out samples from trunk and build
> them without the rest?
> Thanks,
> Raymond
> ________________________________________________________________
> Raymond Feng
> rf...@apache.org
> 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 Jul 28, 2011, at 12:15 AM, ant elder wrote:
>
> Is there a reason you want to include an explicit relative path? The
> issue with doing so means that you then can't do a checkout and build
> of individual samples with Maven v3 as it fails if the relative path
> points at a non-existent place.
>
>   ...ant
>
> On Thu, Jul 28, 2011 at 12:33 AM,  <rf...@apache.org> wrote:
>
> Author: rfeng
>
> Date: Wed Jul 27 23:33:07 2011
>
> New Revision: 1151669
>
> URL: http://svn.apache.org/viewvc?rev=1151669&view=rev
>
> Log:
>
> Fix the relative path in pom.xml
>
> Modified:
>
>
>  tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/pom.xml
>
>
>  tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/pom.xml
>
>
>  tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice/pom.xml
>
>    tuscany/sca-java-2.x/trunk/testing/itest/data-copy/service/pom.xml
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/pom.xml?rev=1151669&r1=1151668&r2=1151669&view=diff
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonp/pom.xml
> Wed Jul 27 23:33:07 2011
>
> @@ -25,7 +25,7 @@
>
>       <groupId>org.apache.tuscany.sca.samples</groupId>
>
>       <artifactId>tuscany-samples</artifactId>
>
>       <version>2.0-SNAPSHOT</version>
>
> -      <relativePath/>
>
> +      <relativePath>../../pom.xml</relativePath>
>
>    </parent>
>
>    <artifactId>helloworld-jsonp</artifactId>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/pom.xml?rev=1151669&r1=1151668&r2=1151669&view=diff
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-jsonrpc/pom.xml
> Wed Jul 27 23:33:07 2011
>
> @@ -25,7 +25,7 @@
>
>       <groupId>org.apache.tuscany.sca.samples</groupId>
>
>       <artifactId>tuscany-samples</artifactId>
>
>       <version>2.0-SNAPSHOT</version>
>
> -      <relativePath/>
>
> +      <relativePath>../../pom.xml</relativePath>
>
>    </parent>
>
>    <artifactId>helloworld-jsonrpc</artifactId>
>
> Modified:
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice/pom.xml?rev=1151669&r1=1151668&r2=1151669&view=diff
>
> ==============================================================================
>
> ---
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice/pom.xml
> (original)
>
> +++
> tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webservice/pom.xml
> Wed Jul 27 23:33:07 2011
>
> @@ -25,7 +25,7 @@
>
>       <groupId>org.apache.tuscany.sca.samples</groupId>
>
>       <artifactId>tuscany-samples</artifactId>
>
>       <version>2.0-SNAPSHOT</version>
>
> -      <relativePath/>
>
> +      <relativePath>../../pom.xml</relativePath>
>
>    </parent>
>
>    <artifactId>helloworld-webservice</artifactId>
>
> Modified: tuscany/sca-java-2.x/trunk/testing/itest/data-copy/service/pom.xml
>
> URL:
> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/data-copy/service/pom.xml?rev=1151669&r1=1151668&r2=1151669&view=diff
>
> ==============================================================================
>
> --- tuscany/sca-java-2.x/trunk/testing/itest/data-copy/service/pom.xml
> (original)
>
> +++ tuscany/sca-java-2.x/trunk/testing/itest/data-copy/service/pom.xml Wed
> Jul 27 23:33:07 2011
>
> @@ -14,7 +14,7 @@
>
>     <modelVersion>4.0.0</modelVersion>
>
>     <parent>
>
>         <groupId>org.apache.tuscany.sca</groupId>
>
> -        <artifactId>itest-nodes</artifactId>
>
> +        <artifactId>itest-data-copy</artifactId>
>
>         <version>2.0-SNAPSHOT</version>
>
>         <relativePath>../pom.xml</relativePath>
>
>     </parent>
>
>
>
>
>

Reply via email to