Merging new source additions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Merging new source additions

Alex Batchelor
Hi,

I'm having problems merging a new data source additions file into my genomic model.  I've done this with previous new data sources and had no problems.

The source type is: intermine-items-xml-file

When I run:

> ant clean build-db

I get this error:

[merge-source-models] merging model additions from: ....

BUILD FAILED
/var/tmp/ab26/src/intermine_0_97/imbuild/objectstore.xml:151: exception while invoking execute on org.intermine.task.ModelMergerTask

The last task carried out was to "[merge-source-models] merging model additions from..." for the source before the new one I'm adding.

The additions.xml for my new source looks like this:

<classes>
  <class name="Mouse" is-interface="true">
    <attribute name="colonyPrefix" type="java.lang.String"/>
    <reference name="organism" referenced-type="Organism"/>
    <reference name="esCell" referenced-type="ESCell" reverse-reference="mice"/>
    <collection name="dataSets" referenced-type="DataSet"/>
  </class>
  <class name="ESCell" is-interface="true">
    <collection name="mice" referenced-type="Mouse" reverse-reference="esCell"/>
  </class>
</classes>


Do you know what could be causing the build to fail?

Thanks

Alex

-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Merging new source additions

Richard Smith
Hi Alex,
Could you run again with ant in verbose mode to get the complete error?

 > ant clean build-db -v

Thanks,
Richard.



On 10/08/2011 12:02, Alex Batchelor wrote:

> Hi,
>
> I'm having problems merging a new data source additions file into my
> genomic model. I've done this with previous new data sources and had no
> problems.
>
> The source type is:*intermine-items-xml-file*
>
> When I run:
>
>  > ant clean build-db
>
> I get this error:
>
> [merge-source-models] merging model additions from: ....
>
> BUILD FAILED
> /var/tmp/ab26/src/intermine_0_97/imbuild/objectstore.xml:151: exception
> while invoking execute on org.intermine.task.ModelMergerTask
>
> The last task carried out was to "[merge-source-models] merging model
> additions from..." for the source before the new one I'm adding.
>
> The additions.xml for my new source looks like this:
>
> <classes>
> <class name="Mouse" is-interface="true">
> <attribute name="colonyPrefix" type="java.lang.String"/>
> <reference name="organism" referenced-type="Organism"/>
> <reference name="esCell" referenced-type="ESCell"
> reverse-reference="mice"/>
> <collection name="dataSets" referenced-type="DataSet"/>
> </class>
> <class name="ESCell" is-interface="true">
> <collection name="mice" referenced-type="Mouse"
> reverse-reference="esCell"/>
> </class>
> </classes>
>
>
> Do you know what could be causing the build to fail?
>
> Thanks
>
> Alex
>
>
>
>
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev