You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jim Marino <jm...@myromatours.com> on 2006/12/12 00:36:22 UTC

Build break b/c of SDOHelper

I'm getting the following build break in /sca/tools:

/Users/jmarino/workspace/tuscany/java/sca/tools/src/main/java/org/ 
apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGenerator.java: 
[128,30] cannot find symbol
symbol  : constructor XSDHelperImpl 
(org.eclipse.emf.ecore.util.ExtendedMetaData,<nulltype>)
location: class org.apache.tuscany.sdo.helper.XSDHelperImpl


I believe this is because the pom incorrectly references the SDO  
project (<version>${sca.version}</version>) as opposed to a snapshot.  
Before I change this, we need to have SDO snapshots published so we  
can rely on them. Kelvin or Frank, can you guys help with this?

Jim




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


Re: Build break b/c of SDOHelper

Posted by kelvin goodson <ke...@gmail.com>.
OK, I have done what I think is necessary.  Please note that in this
exercise I have updated the <specVersion> property of the sdo-api pom.xmlfrom
2.0.1 to 2.1,  hence all the sdo spec related artifacts of the  deploy have
r2.1 in their names, rather than the r2.0.1 that has been the case until
now.  Below is a listing of new files in the snapshot repository following
this operation.

[kelvingoodson@minotaur ~/snaprepo]$ find . -mtime -1 -name "*sdo*" -ls |
more
93407235        4 drwxrwxr-x    3 kelvingoodson    apcvs                 512
Dec 13 02:28 ./commonj/sdo-api-r2.1
93407262       64 -rw-r--r--    1 kelvingoodson    apcvs               31986
Dec 13 02:28 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1.jar
93407263        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:28 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1.jar.md5
93407264        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:28 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1.jar.sha1
93407278        8 -rw-r--r--    1 kelvingoodson    apcvs                2895
Dec 13 02:29 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1.pom
93407279        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:29 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1.pom.md5
93407280        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:29 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1.pom.sha1
93407281      316 -rw-r--r--    1 kelvingoodson    apcvs              161238
Dec 13 02:29 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1-javadoc.jar
93407283        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:29 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1-javadoc.jar.md5
93407284        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:29 ./commonj/sdo-api-r2.1/1.0-incubator-SNAPSHOT/sdo-
api-r2.1-1.0-incubator-20061213.102816-1-javadoc.jar.sha1
93407285        4 drwxrwxr-x    6 kelvingoodson    apcvs                 512
Dec 13 02:36 ./org/apache/tuscany/sdo
93407286        4 drwxrwxr-x    3 kelvingoodson    apcvs                 512
Dec 13 02:33 ./org/apache/tuscany/sdo/tuscany-sdo
93407288       16 -rw-r--r--    1 kelvingoodson    apcvs                6271
Dec 13 02:33
./org/apache/tuscany/sdo/tuscany-sdo/1.0-incubator-SNAPSHOT/tuscany-
sdo-1.0-incubator-20061213.103309-1.pom
93407289        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:33
./org/apache/tuscany/sdo/tuscany-sdo/1.0-incubator-SNAPSHOT/tuscany-
sdo-1.0-incubator-20061213.103309-1.pom.md5
93407290        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:33
./org/apache/tuscany/sdo/tuscany-sdo/1.0-incubator-SNAPSHOT/tuscany-
sdo-1.0-incubator-20061213.103309-1.pom.sha1
93407304        4 drwxrwxr-x    3 kelvingoodson    apcvs                 512
Dec 13 02:34 ./org/apache/tuscany/sdo/tuscany-sdo-impl
93407306      608 -rw-r--r--    1 kelvingoodson    apcvs              291507
Dec 13 02:34
./org/apache/tuscany/sdo/tuscany-sdo-impl/1.0-incubator-SNAPSHOT/tuscany-
sdo-impl-1.0-incubator-20061213.103309-1.jar
93407307        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:34
./org/apache/tuscany/sdo/tuscany-sdo-impl/1.0-incubator-SNAPSHOT/tuscany-
sdo-impl-1.0-incubator-20061213.103309-1.jar.md5
93407308        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:34
./org/apache/tuscany/sdo/tuscany-sdo-impl/1.0-incubator-SNAPSHOT/tuscany-
sdo-impl-1.0-incubator-20061213.103309-1.jar.sha1
93407309        8 -rw-r--r--    1 kelvingoodson    apcvs                2831
Dec 13 02:34
./org/apache/tuscany/sdo/tuscany-sdo-impl/1.0-incubator-SNAPSHOT/tuscany-
sdo-impl-1.0-incubator-20061213.103309-1.pom
93407310        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:34
./org/apache/tuscany/sdo/tuscany-sdo-impl/1.0-incubator-SNAPSHOT/tuscany-
sdo-impl-1.0-incubator-20061213.103309-1.pom.md5
93407312        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:34
./org/apache/tuscany/sdo/tuscany-sdo-impl/1.0-incubator-SNAPSHOT/tuscany-
sdo-impl-1.0-incubator-20061213.103309-1.pom.sha1
93407320        4 drwxrwxr-x    3 kelvingoodson    apcvs                 512
Dec 13 02:35 ./org/apache/tuscany/sdo/tuscany-sdo-tools
93407327      212 -rw-r--r--    1 kelvingoodson    apcvs              107691
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-tools/1.0-incubator-SNAPSHOT/tuscany-
sdo-tools-1.0-incubator-20061213.103309-1.jar
93407329        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-tools/1.0-incubator-SNAPSHOT/tuscany-
sdo-tools-1.0-incubator-20061213.103309-1.jar.md5
93407330        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-tools/1.0-incubator-SNAPSHOT/tuscany-
sdo-tools-1.0-incubator-20061213.103309-1.jar.sha1
93407331        4 -rw-r--r--    1 kelvingoodson    apcvs                1442
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-tools/1.0-incubator-SNAPSHOT/tuscany-
sdo-tools-1.0-incubator-20061213.103309-1.pom
93407332        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-tools/1.0-incubator-SNAPSHOT/tuscany-
sdo-tools-1.0-incubator-20061213.103309-1.pom.md5
93407333        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-tools/1.0-incubator-SNAPSHOT/tuscany-
sdo-tools-1.0-incubator-20061213.103309-1.pom.sha1
93407341        4 drwxrwxr-x    3 kelvingoodson    apcvs                 512
Dec 13 02:36 ./org/apache/tuscany/sdo/tuscany-sdo-plugin
93407344       56 -rw-r--r--    1 kelvingoodson    apcvs               28655
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-plugin/1.0-incubator-SNAPSHOT/tuscany-
sdo-plugin-1.0-incubator-20061213.103309-1.jar
93407345        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-plugin/1.0-incubator-SNAPSHOT/tuscany-
sdo-plugin-1.0-incubator-20061213.103309-1.jar.md5
93409139        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:35
./org/apache/tuscany/sdo/tuscany-sdo-plugin/1.0-incubator-SNAPSHOT/tuscany-
sdo-plugin-1.0-incubator-20061213.103309-1.jar.sha1
93409149        4 -rw-r--r--    1 kelvingoodson    apcvs                1316
Dec 13 02:38
./org/apache/tuscany/sdo/tuscany-sdo-plugin/1.0-incubator-SNAPSHOT/tuscany-
sdo-plugin-1.0-incubator-20061213.103309-1.pom
93409150        4 -rw-r--r--    1 kelvingoodson    apcvs                  32
Dec 13 02:38
./org/apache/tuscany/sdo/tuscany-sdo-plugin/1.0-incubator-SNAPSHOT/tuscany-
sdo-plugin-1.0-incubator-20061213.103309-1.pom.md5
93409151        4 -rw-r--r--    1 kelvingoodson    apcvs                  40
Dec 13 02:38
./org/apache/tuscany/sdo/tuscany-sdo-plugin/1.0-incubator-SNAPSHOT/tuscany-
sdo-plugin-1.0-incubator-20061213.103309-1.pom.sha1


note that ~snaprepo is not a local dir in my home space, but a link off to
the snapshot repo

On 13/12/06, Jim Marino <jm...@myromatours.com> wrote:
>
>
> On Dec 12, 2006, at 11:01 AM, kelvin goodson wrote:
>
> > Jim,
> >
> > I can post snapshot artifacts to the snapshot repository, but I
> > thought that
> > the default approach here is to point the project at a SNAPSHOT
> > version, and
> > then build the SDO snapshot artifact into your local repo.
> The coupling between subprojects was what we were trying to get away
> from. For example, we should not require people to build SDO to be
> able to build SCA.
> >   I know there has
> > been some discussion about posting snapshot versions to the snapshot
> > repository,  and indeed I posted the parent pom and build tools
> > projects in
> > this way just last week,  but I didn't think we had switched over
> > fully to
> > that mode of operation.
> This is what I think we need to do.
> >
> > I assume you would like me to run a "mvn deploy" for sdo-api and
> > sdo implem
> > project from the trunk.
> Yes, would this be possible? Then from SCA, we could reference that.
>
> > Does anyone know if its required to sign snapshot
> > deployments?
> >
> I'm not sure about that one.
>
> Thanks Kelvin.
>
> Jim
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: Build break b/c of SDOHelper

Posted by Jim Marino <jm...@myromatours.com>.
On Dec 12, 2006, at 11:01 AM, kelvin goodson wrote:

> Jim,
>
> I can post snapshot artifacts to the snapshot repository, but I  
> thought that
> the default approach here is to point the project at a SNAPSHOT  
> version, and
> then build the SDO snapshot artifact into your local repo.
The coupling between subprojects was what we were trying to get away  
from. For example, we should not require people to build SDO to be  
able to build SCA.
>   I know there has
> been some discussion about posting snapshot versions to the snapshot
> repository,  and indeed I posted the parent pom and build tools  
> projects in
> this way just last week,  but I didn't think we had switched over  
> fully to
> that mode of operation.
This is what I think we need to do.
>
> I assume you would like me to run a "mvn deploy" for sdo-api and  
> sdo implem
> project from the trunk.
Yes, would this be possible? Then from SCA, we could reference that.

> Does anyone know if its required to sign snapshot
> deployments?
>
I'm not sure about that one.

Thanks Kelvin.

Jim



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


Re: Build break b/c of SDOHelper

Posted by kelvin goodson <ke...@gmail.com>.
Jim,

I can post snapshot artifacts to the snapshot repository, but I thought that
the default approach here is to point the project at a SNAPSHOT version, and
then build the SDO snapshot artifact into your local repo.  I know there has
been some discussion about posting snapshot versions to the snapshot
repository,  and indeed I posted the parent pom and build tools projects in
this way just last week,  but I didn't think we had switched over fully to
that mode of operation.

I assume you would like me to run a "mvn deploy" for sdo-api and sdo implem
project from the trunk.  Does anyone know if its required to sign snapshot
deployments?

Regards, Kelvin.

On 11/12/06, Jim Marino <jm...@myromatours.com> wrote:
>
> I'm getting the following build break in /sca/tools:
>
> /Users/jmarino/workspace/tuscany/java/sca/tools/src/main/java/org/
> apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGenerator.java:
> [128,30] cannot find symbol
> symbol  : constructor XSDHelperImpl
> (org.eclipse.emf.ecore.util.ExtendedMetaData,<nulltype>)
> location: class org.apache.tuscany.sdo.helper.XSDHelperImpl
>
>
> I believe this is because the pom incorrectly references the SDO
> project (<version>${sca.version}</version>) as opposed to a snapshot.
> Before I change this, we need to have SDO snapshots published so we
> can rely on them. Kelvin or Frank, can you guys help with this?
>
> Jim
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>