[castor-dev] A patch for maven build error (current version in trunk)

窦文生 <[email protected]> Tue, 22 Mar 2011 14:10:26 +0800
Newsgroups gmane.comp.java.castor.devel
Message-ID <[email protected]>
--------------000509070703000204000102
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

Hi,

I have downloaded the Castor source code from SVN [1]. When I built
Castor with Maven, I got a ¡®failed building¡¯, and the error message was
¡°The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='org.codehaus.castor:castor-codegen'}' and
'Vertex{label='org.codehaus.castor:castor-xml'}' introduces to cycle in
the graph org.codehaus.castor:castor-xml -->
org.codehaus.castor:castor-codegen --> org.codehaus.castor:castor-xml¡±.
I compared the current version and previous version in the SVN, and made
a small patch (seeing attachment) to repair this building error. Because
I have not understood the whole Castor project yet, the small patch may
be not right, but the Maven ¡®compile¡¯ command passed at least.


[1] http://svn.codehaus.org/castor/castor/trunk

Best regards,
Wensheng Dou


--------------000509070703000204000102
Content-Type: text/plain;
 name="build_error_patch.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="build_error_patch.txt"

SW5kZXg6IHBvbS54bWwNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCi0tLSBwb20ueG1sCShyZXZpc2lvbiA4
ODI5KQ0KKysrIHBvbS54bWwJKHdvcmtpbmcgY29weSkNCkBAIC0xMTQsMTMgKzExNCw2IEBA
DQogICAgICAgICAgICAgICAgICAgPGdyb3VwSWQ+b3JnLmNvZGVoYXVzLm1vam88L2dyb3Vw
SWQ+CiAgICAgICAgICAgICAgICAgICA8YXJ0aWZhY3RJZD5jYXN0b3ItbWF2ZW4tcGx1Z2lu
PC9hcnRpZmFjdElkPgogICAgICAgICAgICAgICAgICAgPHZlcnNpb24+Mi4wPC92ZXJzaW9u
PgotICAgICAgICAgICAgICAgICAgPGRlcGVuZGVuY2llcz4KLSAgICAgICAgICAgICAgICAg
ICAgPGRlcGVuZGVuY3k+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8Z3JvdXBJZD5vcmcu
Y29kZWhhdXMuY2FzdG9yPC9ncm91cElkPgotICAgICAgICAgICAgICAgICAgICAgICAgPGFy
dGlmYWN0SWQ+Y2FzdG9yLWNvZGVnZW48L2FydGlmYWN0SWQ+Ci0gICAgICAgICAgICAgICAg
ICAgICAgICA8dmVyc2lvbj4xLjMuMTwvdmVyc2lvbj4KLSAgICAgICAgICAgICAgICAgICAg
PC9kZXBlbmRlbmN5PgotICAgICAgICAgICAgICAgICAgPC9kZXBlbmRlbmNpZXM+CiAgICAg
ICAgICAgICAgICA8L3BsdWdpbj4KIAkgICAgICAgICAgICA8cGx1Z2luPgogCSAgICAgICAg
ICAgICAgICAgIDxncm91cElkPm9yZy5hcGFjaGUubWF2ZW4ucGx1Z2luczwvZ3JvdXBJZD4K


--------------000509070703000204000102
Content-Type: text/plain; charset=us-ascii

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

--------------000509070703000204000102--