Hi Luciano, i'm using the binary distribution tuscany-sdo-1.0-incubating-beta1-bin.zip<http://people.apache.org/dist/incubator/tuscany/java/sdo/1.0-incubating-beta1/bin/apache-tuscany-sdo-1.0-incubating-beta1-bin.zip> i found in the Tuscany's download page. From your mail i guess it is possible to download latest code from a subversion (or cvs) repository. If so, how should i proceed to get those versions, please? I found no reference to this in the tuscany page.
thanks in advance, Enric 2007/7/3, Luciano Resende <[EMAIL PROTECTED]>:
We found an issue [1] where, in some cases, incompatible code was being generated for the DAS config model if you had a previous tuscany-sdo-plugin available in your local maven repo. I have fixed this in trunk under revision #552624. If this does not help, please let me know, and maybe you could create a jira and provide the test scenario that is failing to you. [1] http://issues.apache.org/jira/browse/TUSCANY-1401 On 7/2/07, Enric Staromiejski Torregrosa <[EMAIL PROTECTED]> wrote: > Hi, > > i'm trying to load a sample configuration file (from the samples distributed > by tuscany) like this: > > > Config config = > ConfigUtil.*loadConfig*(t.getClass ().getClassLoader().getResourceAsStream(configFile)); > > > where t is an instance of the current class, but I'm get the following > error: > > Exception in thread "main" *java.lang.RuntimeException*: * > org.eclipse.emf.ecore.resource.Resource$IOWrappedException*: Feature > 'ConnectionInfo' not found. (http:///temp.xml, 22, 20) > > at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(* ConfigUtil.java:54 > *) > > at _test.CATest.main(*CATest.java:48*) > > Caused by: *org.eclipse.emf.ecore.resource.Resource$IOWrappedException*: > Feature 'ConnectionInfo' not found. (http:///temp.xml, 22, 20) > > at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(* XMLLoadImpl.java > :80*) > > at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(*XMLLoadImpl.java :274*) > > at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(* > XMLResourceImpl.java:666*) > > at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.load(* XMLResourceImpl.java > :634*) > > at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(* XMLDocumentImpl.java > :238*) > > at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(* XMLDocumentImpl.java > :216*) > > at org.apache.tuscany.sdo.helper.XMLHelperImpl.load(*XMLHelperImpl.java :75*) > > at org.apache.tuscany.sdo.helper.XMLHelperImpl.load(*XMLHelperImpl.java :69*) > > at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(* ConfigUtil.java:52 > *) > > ... 1 more > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
