Hello Dennis,
great to hear from you. I'm not in the best position to comment on
SCA/DAS but here are some comments on the SDO aspects of your questions.
On 15/04/07, Dennis Virt <[EMAIL PROTECTED]> wrote:
Hello Tuscany People!
<snip/>
I decided to try SDO M3 RC1 - most of the SDO issues were
gone.
Are the remaining issues covered by existing JIRAs. If not we'd be very
pleased if you raised the issues here on the list and if necessary opened
JIRAs for them. In case its relevant RC3 has a few extra fixes over RC1
TUSCANY-1205 An exception was thrown when reading a large Java object
back to DataObject
TUSCANY-1200 Default HelperContext should provide automatic
ClassLoader-specific scoping
TUSCANY-1196 java.lang.ClassCastException
org.eclipse.emf.ecore.impl.DynamicEObjectImpl incompatible with
commonj.sdo.DataObject
TUSCANY-1193 unable to create data objects from dynamic metadata that
match data objects created from XSD metadata
<snip/>
* Would you consider Tuscany for a commercial project as yet or rather
wait
a bit?
There's a good deal of maturity in much of the SDO code base, since the
initial code drop to Apache was based on a mature project at Eclipse, and
we've been developing it in Apache now for over a year. From what you say,
you probably are working in areas where there has been recent change (does
your change summary work use ChangeSummary attached to DataGraph or the new
approach of adding a ChangeSummary property to a Type?). I know that the
CopyHelper and EqualityHelper don't handle change summaries on DataObjects
yet. Also the noEMF generator pattern (now the default pattern) is fairly
new. BTW, do you specifically not want generated classes or do you want
access to the dynamic SDO API from the DAS?; you probably already know it,
but whilst the generated interfaces don't extend DataObject, the generated
classes do extend the DataObject implementation, so you can get to all the
dynamic API from an instance of a generated class. From the SDO
perspective, if it were my project I would certainly consider SDO as part
of a solution. I'll be happy to respond to your questions.
* If yes, which branches/versions would you choose? (Considering compliance
to some spec version an important factor too)
There are a lot of good additions in the SDO 2.1 spec over the 2.0.1 spec
(SDO Tuscany 1.0-incubator-M2 release), and some of these have caused us to
deprecate Tuscany interfaces that addressed what used to be missing before
the 2.1 spec arrived, so I would encourage you to use the 2.1 spec and
therefore the M3 release.
* How do I build a binary distribution out of current HEAD version? Or
should one rather gather the jars per hand out various target folders?
* When trying to build the frameworks one by one, I've built SDO and then
tried to build DAS, but got the errors underneath. Any clues?
I think your ModelPackageImpl missing class issue is because of the need to
regenerate some static SDO classes. The XSD to Java generator now just
produces a Factory interface and implementation per schema rather than the
Factory and Package that it used to produce. ModelPackageImpl was removed
here http://svn.apache.org/viewvc?view=rev&rev=477364 as part of the move to
the SDO 2.1 API after the SDO M2 release.
Kelvin.
Thanks in advance,
Dennis
[INFO] Building Tuscany DAS
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Programme\Java\sdks\tuscany_head\das\pom.xml to
c:\Dokument
e und
Einstellungen\dga\.m2\repository\org\apache\tuscany\das\tuscany-das\1.0-in
cubating-SNAPSHOT\tuscany-das-1.0-incubating-SNAPSHOT.pom
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany DAS for Relational Databases
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] snapshot org.apache.tuscany.sdo:tuscany-sdo:1.0-incubator-SNAPSHOT:
check
ing for updates from codehaus-snapshot
[INFO] snapshot org.apache.tuscany:parent:2-incubator-SNAPSHOT: checking
for
upd
ates from codehaus-snapshot
[INFO] [tuscany-sdo:generate {execution: config}]
[INFO] [tuscany-sdo:generate {execution: company}]
[INFO] [tuscany-sdo:generate {execution: customer}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 112 source files to
C:\Programme\Java\sdks\tuscany_head\das\rdb
\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\customer\impl\CustomerPackageImpl.java:[15,40] cannot find
symbol
symbol : class ModelPackageImpl
location: package org.apache.tuscany.sdo.model.impl
C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\company\impl\CompanyPackageImpl.java:[16,40] cannot find
symbol
symbol : class ModelPackageImpl
location: package org.apache.tuscany.sdo.model.impl
C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\config\impl\ConfigPackageImpl.java:[26,40] cannot find symbol
symbol : class ModelPackageImpl
location: package org.apache.tuscany.sdo.model.impl
C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\customer\impl\CustomerPackageImpl.java:[257,20] package
ModelPacka
geImpl does not exist
C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\customer\impl\CustomerPackageImpl.java:[480,4] cannot find
symbol
symbol : class ModelPackageImpl
location: class
org.apache.tuscany.das.rdb.test.customer.impl.CustomerPackageImp
l
_________________________________________________________________
Mortgage rates near historic lows. Refinance $200,000 loan for as low as
$771/month*
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]