Hi Bill,

Thanks for pointing this out, I've added in the servlet-api dependency now,
could you check it works ok for you now? Not sure i understand why this is
needed though as its been working fine for me without it, must be something
different in our environments?

  ...ant

On 5/20/07, Bill Barnhill <[EMAIL PROTECTED]> wrote:

Hi Ant,

I ran into the same problem I think.

Instead of checking out SCA and trying to build that, I got around this by
first checking out the java trunk:
  mkdir org.apache.tuscany
  cd org.apache.tuscany
  svn checkout  https://svn.apache.org/repos/asf/incubator/tuscany/javajava

Then building the sdo api:
  cd java/spec/sdo-api
  mvn install

Then building SDO:
  cd ..\..\sdo
  mvn install

Then going into SCA
  cd ..\sca

Here I had to add make a small change to get the build working (this
change
may be in there now, this was yesterday :).

That change was to add the following snippet for the servlet-api
2.5dependency to
java\sca\itest\databindings\sdogen\src\main\resources\generate\pom.xml.vm:

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>test</scope>
        </dependency

Once that's done, build again:
  mvn install

And it should build fine. Not that this does NOT build any of the modules
in
contrib.

=Bill.Barnhill

On 5/20/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
>
> On 5/19/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
> > HI Ant
> >
> >    Have you tried to build SCA with a clean repo before you changed
this
> ?
>
> Hi Luciano,
>
> I've just attempted to build SCA with a clean repo and it failed. See
> below for more details. After it'd failed the first time, I rerun mvn
> but it didn't help - the same error message.
>
> $ svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/incubator/tuscany/java/sca
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 539848
> Node Kind: directory
> Schedule: normal
> Last Changed Author: jsdelfino
> Last Changed Rev: 539773
> Last Changed Date: 2007-05-19 18:47:52 +0200 (Sat, 19 May 2007)
>
> $ svn up
> ...
> Updated to revision 539848.
>
> $ mvn
> ...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) commonj:sdo-api-r2.1:jar:1.0-incubating-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=commonj -DartifactId=
sdo-api-r2.1\
>           -Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Path to dependency:
>         1)
>
org.apache.tuscany.sdo:tuscany-sdo-plugin:maven-plugin:1.0-incubating-20070519.101851-2
>         2)
> org.apache.tuscany.sdo:tuscany-sdo-tools:jar:1.0-incubating-SNAPSHOT
>         3)
> org.apache.tuscany.sdo:tuscany-sdo-impl:jar:1.0-incubating-SNAPSHOT
>         4)
> org.apache.tuscany.sdo:tuscany-sdo-lib:jar:1.0-incubating-SNAPSHOT
>         5) commonj:sdo-api-r2.1:jar:1.0-incubating-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>
>
org.apache.tuscany.sdo:tuscany-sdo-plugin:maven-plugin:1.0-incubating-20070519.101851-2
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.incubator (
http://people.apache.org/repo/m2-incubating-repository
> ),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
>   codehaus-snapshot (http://snapshots.repository.codehaus.org),
>   indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/)
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
"Community is a verb, increase your Communitivity today!
    Visit us at http://Communitivity.com";
=Bill.Barnhill, President
Communitivity, Inc.

Reply via email to