You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/04/09 22:46:40 UTC

svn commit: r526907 - /incubator/tuscany/java/sca/pom.xml

Author: lresende
Date: Mon Apr  9 13:46:39 2007
New Revision: 526907

URL: http://svn.apache.org/viewvc?view=rev&rev=526907
Log:
Fix to allow building from top-level

Modified:
    incubator/tuscany/java/sca/pom.xml

Modified: incubator/tuscany/java/sca/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526907&r1=526906&r2=526907
==============================================================================
--- incubator/tuscany/java/sca/pom.xml (original)
+++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 13:46:39 2007
@@ -39,8 +39,10 @@
                 <activeByDefault>true</activeByDefault>
             </activation>
             <modules>
+                <!-- 
                 <module>../pom/parent</module>
                 <module>../buildtools</module>
+                -->
                 <module>modules</module>
                 <!--
                 <module>samples</module>



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


Re: Duplicate parent and buildtools modules in the top-down build, was: svn commit: r526907 - /incubator/tuscany/java/sca/pom.xml

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Luciano Resende wrote:
> Comments inline
>
> On 4/9/07, Jean-Sebastien Delfino <js...@apache.org> wrote:
>>
>> Won't this break if I just build java/sca/pom.xml without having done a
>> full build of java/pom.xml first?
>
>
> Yes
>
> I think we need to find a way to have parent and buildtools built
>> automatically when we build from java/pom.xml and built as well when we
>> build from java/sca/pom.xml, but not twice. I'll try to experiment with
>> a Maven property setting in java/pom.xml and a condition in
>> java/sca/pom.xml.
>
>
> If you find an smart way to allow this to be placed in more then one 
> place
> it would be great.
>
> Any better idea to fix this problem?
>
>
> I'll do some research and if I find anything I'll let you know.
>
>
> lresende@apache.org wrote:
>> > Author: lresende
>> > Date: Mon Apr  9 13:46:39 2007
>> > New Revision: 526907
>> >
>> > URL: http://svn.apache.org/viewvc?view=rev&rev=526907
>> > Log:
>> > Fix to allow building from top-level
>> >
>> > Modified:
>> >     incubator/tuscany/java/sca/pom.xml
>> >
>> > Modified: incubator/tuscany/java/sca/pom.xml
>> > URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526907&r1=526906&r2=526907 
>>
>> >
>> ============================================================================== 
>>
>> > --- incubator/tuscany/java/sca/pom.xml (original)
>> > +++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 13:46:39 2007
>> > @@ -39,8 +39,10 @@
>> >                  <activeByDefault>true</activeByDefault>
>> >              </activation>
>> >              <modules>
>> > +                <!--
>> >                  <module>../pom/parent</module>
>> >                  <module>../buildtools</module>
>> > +                -->
>> >                  <module>modules</module>
>> >                  <!--
>> >                  <module>samples</module>
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>> >
>> >
>> >
>>
>>
>> -- 
>> Jean-Sebastien
>>
>>
>

I have updated java/pom.xml and java/sca/pom.xml as follows:

- java/sca/pom.xml
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
                <module>../pom/parent</module>
                <module>../buildtools</module>
                <module>modules</module>
                <!--
                <module>samples</module>
                <module>itest</module>
                -->
            </modules>
        </profile>

- java/pom.xml
        <profile>
            <id>all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
                <module>spec/sdo-api</module>
                <module>sdo</module>
                <module>das</module>
                <module>sca</module>
                <!-- <module>distribution</module> -->
            </modules>
        </profile>

With this setup, building java/ from a clean repos works (taking the DAS 
error that I posted earlier aside). Building java/sca from a clean repos 
works as well. Building java/sdo and java/das individually still require 
you to build parent and buildtools first, so this new setup is not worse 
than before for them.

There is probably a cleaner way to do this with Maven, but at least this 
works for now.

-- 
Jean-Sebastien


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


Re: Duplicate parent and buildtools modules in the top-down build, was: svn commit: r526907 - /incubator/tuscany/java/sca/pom.xml

Posted by Luciano Resende <lu...@gmail.com>.
Comments inline

On 4/9/07, Jean-Sebastien Delfino <js...@apache.org> wrote:
>
> Won't this break if I just build java/sca/pom.xml without having done a
> full build of java/pom.xml first?


Yes

I think we need to find a way to have parent and buildtools built
> automatically when we build from java/pom.xml and built as well when we
> build from java/sca/pom.xml, but not twice. I'll try to experiment with
> a Maven property setting in java/pom.xml and a condition in
> java/sca/pom.xml.


If you find an smart way to allow this to be placed in more then one place
it would be great.

Any better idea to fix this problem?


I'll do some research and if I find anything I'll let you know.


lresende@apache.org wrote:
> > Author: lresende
> > Date: Mon Apr  9 13:46:39 2007
> > New Revision: 526907
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=526907
> > Log:
> > Fix to allow building from top-level
> >
> > Modified:
> >     incubator/tuscany/java/sca/pom.xml
> >
> > Modified: incubator/tuscany/java/sca/pom.xml
> > URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526907&r1=526906&r2=526907
> >
> ==============================================================================
> > --- incubator/tuscany/java/sca/pom.xml (original)
> > +++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 13:46:39 2007
> > @@ -39,8 +39,10 @@
> >                  <activeByDefault>true</activeByDefault>
> >              </activation>
> >              <modules>
> > +                <!--
> >                  <module>../pom/parent</module>
> >                  <module>../buildtools</module>
> > +                -->
> >                  <module>modules</module>
> >                  <!--
> >                  <module>samples</module>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> >
> >
> >
>
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>


-- 
Luciano Resende
http://people.apache.org/~lresende

Duplicate parent and buildtools modules in the top-down build, was: svn commit: r526907 - /incubator/tuscany/java/sca/pom.xml

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Won't this break if I just build java/sca/pom.xml without having done a 
full build of java/pom.xml first?

I think we need to find a way to have parent and buildtools built 
automatically when we build from java/pom.xml and built as well when we 
build from java/sca/pom.xml, but not twice. I'll try to experiment with 
a Maven property setting in java/pom.xml and a condition in 
java/sca/pom.xml.

Any better idea to fix this problem?


lresende@apache.org wrote:
> Author: lresende
> Date: Mon Apr  9 13:46:39 2007
> New Revision: 526907
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=526907
> Log:
> Fix to allow building from top-level
>
> Modified:
>     incubator/tuscany/java/sca/pom.xml
>
> Modified: incubator/tuscany/java/sca/pom.xml
> URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/pom.xml?view=diff&rev=526907&r1=526906&r2=526907
> ==============================================================================
> --- incubator/tuscany/java/sca/pom.xml (original)
> +++ incubator/tuscany/java/sca/pom.xml Mon Apr  9 13:46:39 2007
> @@ -39,8 +39,10 @@
>                  <activeByDefault>true</activeByDefault>
>              </activation>
>              <modules>
> +                <!-- 
>                  <module>../pom/parent</module>
>                  <module>../buildtools</module>
> +                -->
>                  <module>modules</module>
>                  <!--
>                  <module>samples</module>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>
>
>   


-- 
Jean-Sebastien


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