Discussion:
[castor-dev] ClassMolder Dependency
Ahmad Hassan
2009-05-21 20:51:14 UTC
Permalink
Hi,

I have just downloaded the updated ClassMolder class. There has been new
dependency added in this class and because of that I am getting import error

import org.exolab.castor.mapping.xml.NamedNativeQuery;

Can someone please tell me how to resolve this new dependency.

Thanks.
--
Best Regards, Hassan

Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
Ralf Joachim
2009-05-22 06:43:15 UTC
Permalink
Hi Ahmad,

some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors should disapear.

Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There has been
new dependency added in this class and because of that I am getting
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ***@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim




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

http://xircles.codehaus.org/manage_email
Ahmad Hassan
2009-05-22 08:37:50 UTC
Permalink
Hi Ralf,

Thanks for the message. I ran 'mvn clean' and 'mvn install' on project root
but 'mvn install' is throwing the same error as follows:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
\ClassMolder.java:[79,36] cannot find symbol
symbol : class NamedNativeQuery
location: package org.exolab.castor.mapping.xml

'mvn install also cannot resolve this dependency.

Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors should disapear.
Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There has been
new dependency added in this class and because of that I am getting
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan

Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
Ralf Joachim
2009-05-22 08:44:57 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ahmad,<br>
<br>
may it be possible that you have not checked out all changes from SVN?<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote
cite="mid:***@mail.gmail.com"
type="cite">Hi Ralf,<br>
<br>
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
root but 'mvn install' is throwing the same error&nbsp; as follows:<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Compilation failure<br>
<br>
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist<br>
\ClassMolder.java:[79,36] cannot find symbol<br>
symbol&nbsp; : class NamedNativeQuery<br>
location: package org.exolab.castor.mapping.xml<br>
<br>
'mvn install also cannot resolve this dependency.<br>
<br>
Best Regards, Ahmad<br> <br> <div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a class="moz-txt-link-rfc2396E" href="mailto:***@syscon.eu">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Ahmad,<br>
<br>
some classes of Castor are generated during build. If one of the source<br>
files of generation (e.g. mapping.xsd) changes it may happen that new<br>
files are generated and you get compile failures until you execute build<br>
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of<br>
those. After execution of 'mvn clean' and 'mvn install' on project root<br>
followed by a refresh of your eclipse project this errors should
disapear.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:<br> <div> <div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; I have just downloaded the updated ClassMolder class. There has
been<br>
&gt; new dependency added in this class and because of that I am getting<br>
&gt; import error<br>
&gt;<br>
&gt; import org.exolab.castor.mapping.xml.NamedNativeQuery;<br>
&gt;<br>
&gt; Can someone please tell me how to resolve this new dependency.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards, Hassan<br>
&gt;<br>
&gt; Erasmus Student<br>
&gt; Current Institute: University Of Carlos III, Madrid Spain<br>
&gt; Previous Institute: Aristotle University of Thessaloniki, Greece<br>
&gt; Home Institute: The University of Reading, UK<br>
</div>
</div>
--<br>
<br>
Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH<br>
Ralf Joachim<br>
Raiffeisenstra&szlig;e 11<br>
72127 Kusterdingen<br>
Germany<br>
<br>
Tel. &nbsp; +49 7071 3690 52<br>
Mobil: +49 173 9630135<br>
Fax &nbsp; &nbsp;+49 7071 3690 98<br>
<br>
Internet: <a class="moz-txt-link-abbreviated" href="http://www.syscon.eu">www.syscon.eu</a><br>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:***@syscon.eu">***@syscon.eu</a><br>
<br>
Sitz der Gesellschaft: D-72127 Kusterdingen<br>
Registereintrag: Amtsgericht Stuttgart, HRB 382295<br>
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
&nbsp; &nbsp;<a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a><br>
<br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a class="moz-txt-link-abbreviated" href="http://www.syscon.eu">www.syscon.eu</a>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:***@syscon.eu">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</pre>
</body>
</html>

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

http://xircles.codehaus.org/manage_email
Ahmad Hassan
2009-05-22 09:04:44 UTC
Permalink
Hi Ralf,

I went into synchronous mode and run 'update all incoming changes'. After
that 'mvn install' is giving the errors in the following tests
Results :

Tests in error:
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)

initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
llbackInterceptor)

initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
llbackInterceptor)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)

initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
nvoked)

initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
nvoked)

Tests run: 247, Failures: 0, Errors: 9, Skipped: 100

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.


Additionaly, in eclipse I can see the following errors

*Project 'castor' is missing required source folder:
'jdo-extensions-it/target/generated-sources/castor'*
*Project 'castor' is missing required source folder:
'xmlctf-framework/target/generated-sources/castor'*


Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
may it be possible that you have not checked out all changes from SVN?
Regards
Ralf
Hi Ralf,
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project root
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
\ClassMolder.java:[79,36] cannot find symbol
symbol : class NamedNativeQuery
location: package org.exolab.castor.mapping.xml
'mvn install also cannot resolve this dependency.
Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors should disapear.
Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There has been
new dependency added in this class and because of that I am getting
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
--------------------------------------------------------------------- To
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan

Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
Ralf Joachim
2009-05-22 09:13:55 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ahmad,<br>
<br>
now I see what caused the failure of test16 and test19 that Werner
reported earlier. Will fix that in some minutes.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote
cite="mid:***@mail.gmail.com"
type="cite">Hi Ralf,<br>
<br>
I went into synchronous mode and run 'update all incoming changes'.
After that 'mvn install' is giving the errors in the following tests<br>
Results :<br>
<br>
Tests in error:<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)<br>
&nbsp;
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa<br>
llbackInterceptor)<br>
&nbsp;
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa<br>
llbackInterceptor)<br>
&nbsp; initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp; initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp;
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI<br>
nvoked)<br>
&nbsp;
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI<br>
nvoked)<br>
<br>
Tests run: 247, Failures: 0, Errors: 9, Skipped: 100<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] There are test failures.<br>
<br>
<br>
Additionaly, in eclipse I can see the following errors<br>
<br>
<b>Project 'castor' is missing required source folder:
'jdo-extensions-it/target/generated-sources/castor'</b><br>
<b>Project 'castor' is missing required source folder:
'xmlctf-framework/target/generated-sources/castor'</b><br>
<br>
<br>
Best Regards, Ahmad<br> <br> <div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a class="moz-txt-link-rfc2396E" href="mailto:***@syscon.eu">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Hi Ahmad,<br>
<br>
may it be possible that you have not checked out all changes from SVN?
<div>
<div class="h5"><br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote type="cite">Hi Ralf,<br>
<br>
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
root but 'mvn install' is throwing the same error&nbsp; as follows:<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Compilation failure<br>
<br>
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist<br>
\ClassMolder.java:[79,36] cannot find symbol<br>
symbol&nbsp; : class NamedNativeQuery<br>
location: package org.exolab.castor.mapping.xml<br>
<br>
'mvn install also cannot resolve this dependency.<br>
<br>
Best Regards, Ahmad<br>
<br>
<div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a
moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Ahmad,<br>
<br>
some classes of Castor are generated during build. If one of the source<br>
files of generation (e.g. mapping.xsd) changes it may happen that new<br>
files are generated and you get compile failures until you execute build<br>
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of<br>
those. After execution of 'mvn clean' and 'mvn install' on project root<br>
followed by a refresh of your eclipse project this errors should
disapear.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:<br> <div> <div>&gt; Hi,<br>
&gt;<br>
&gt; I have just downloaded the updated ClassMolder class. There has
been<br>
&gt; new dependency added in this class and because of that I am getting<br>
&gt; import error<br>
&gt;<br>
&gt; import org.exolab.castor.mapping.xml.NamedNativeQuery;<br>
&gt;<br>
&gt; Can someone please tell me how to resolve this new dependency.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards, Hassan<br>
&gt;<br>
&gt; Erasmus Student<br>
&gt; Current Institute: University Of Carlos III, Madrid Spain<br>
&gt; Previous Institute: Aristotle University of Thessaloniki, Greece<br>
&gt; Home Institute: The University of Reading, UK<br>
</div>
</div>
--<br>
<br>
Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH<br>
Ralf Joachim<br>
Raiffeisenstra&szlig;e 11<br>
72127 Kusterdingen<br>
Germany<br>
<br>
Tel. &nbsp; +49 7071 3690 52<br>
Mobil: +49 173 9630135<br>
Fax &nbsp; &nbsp;+49 7071 3690 98<br>
<br>
Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><br>
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a><br>
<br>
Sitz der Gesellschaft: D-72127 Kusterdingen<br>
Registereintrag: Amtsgericht Stuttgart, HRB 382295<br>
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
&nbsp; &nbsp;<a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a><br>
<br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
</div>
</div>
<pre cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><div class="im">
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</div></pre>
</div>
<div>
<div class="h5">---------------------------------------------------------------------
To unsubscribe from this list, please visit: <a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a class="moz-txt-link-abbreviated" href="http://www.syscon.eu">www.syscon.eu</a>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:***@syscon.eu">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</pre>
</body>
</html>

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

http://xircles.codehaus.org/manage_email
Ralf Joachim
2009-05-22 09:44:49 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ahmad,<br>
<br>
can you checkout the latest changes from SVN and try the build once
again.<br>
<br>
Having said that I can not reproduce this problem under Linux and I do
not have an idea why junit or maven test collector behave different
under Windows and Linux.<br>
<br>
Regards<br>
Ralf<br>
<br>
<br>
Ralf Joachim schrieb:
<blockquote cite="mid:***@syscon.eu" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hi Ahmad,<br>
<br>
now I see what caused the failure of test16 and test19 that Werner
reported earlier. Will fix that in some minutes.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote
cite="mid:***@mail.gmail.com"
type="cite">Hi Ralf,<br>
<br>
I went into synchronous mode and run 'update all incoming changes'.
After that 'mvn install' is giving the errors in the following tests<br>
Results :<br>
<br>
Tests in error:<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)<br>
&nbsp;
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa<br>
llbackInterceptor)<br>
&nbsp;
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa<br>
llbackInterceptor)<br>
&nbsp; initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp; initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp;
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI<br>
nvoked)<br>
&nbsp;
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI<br>
nvoked)<br>
<br>
Tests run: 247, Failures: 0, Errors: 9, Skipped: 100<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] There are test failures.<br>
<br>
<br>
Additionaly, in eclipse I can see the following errors<br>
<br>
<b>Project 'castor' is missing required source folder:
'jdo-extensions-it/target/generated-sources/castor'</b><br>
<b>Project 'castor' is missing required source folder:
'xmlctf-framework/target/generated-sources/castor'</b><br>
<br>
<br>
Best Regards, Ahmad<br>
<br>
<div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:***@syscon.eu">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Hi Ahmad,<br>
<br>
may it be possible that you have not checked out all changes from SVN?
<div>
<div class="h5"><br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote type="cite">Hi Ralf,<br>
<br>
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
root but 'mvn install' is throwing the same error&nbsp; as follows:<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Compilation failure<br>
<br>
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist<br>
\ClassMolder.java:[79,36] cannot find symbol<br>
symbol&nbsp; : class NamedNativeQuery<br>
location: package org.exolab.castor.mapping.xml<br>
<br>
'mvn install also cannot resolve this dependency.<br>
<br>
Best Regards, Ahmad<br>
<br>
<div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a
moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Ahmad,<br>
<br>
some classes of Castor are generated during build. If one of the source<br>
files of generation (e.g. mapping.xsd) changes it may happen that new<br>
files are generated and you get compile failures until you execute build<br>
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of<br>
those. After execution of 'mvn clean' and 'mvn install' on project root<br>
followed by a refresh of your eclipse project this errors should
disapear.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:<br> <div> <div>&gt; Hi,<br>
&gt;<br>
&gt; I have just downloaded the updated ClassMolder class. There has
been<br>
&gt; new dependency added in this class and because of that I am getting<br>
&gt; import error<br>
&gt;<br>
&gt; import org.exolab.castor.mapping.xml.NamedNativeQuery;<br>
&gt;<br>
&gt; Can someone please tell me how to resolve this new dependency.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards, Hassan<br>
&gt;<br>
&gt; Erasmus Student<br>
&gt; Current Institute: University Of Carlos III, Madrid Spain<br>
&gt; Previous Institute: Aristotle University of Thessaloniki, Greece<br>
&gt; Home Institute: The University of Reading, UK<br>
</div>
</div>
--<br>
<br>
Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH<br>
Ralf Joachim<br>
Raiffeisenstra&szlig;e 11<br>
72127 Kusterdingen<br>
Germany<br>
<br>
Tel. &nbsp; +49 7071 3690 52<br>
Mobil: +49 173 9630135<br>
Fax &nbsp; &nbsp;+49 7071 3690 98<br>
<br>
Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><br>
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a><br>
<br>
Sitz der Gesellschaft: D-72127 Kusterdingen<br>
Registereintrag: Amtsgericht Stuttgart, HRB 382295<br>
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
&nbsp; &nbsp;<a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a><br>
<br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
</div>
</div>
<pre cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><div class="im">
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</div></pre>
</div>
<div>
<div class="h5">---------------------------------------------------------------------
To unsubscribe from this list, please visit: <a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="http://www.syscon.eu">www.syscon.eu</a>
E-Mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@syscon.eu">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</pre>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
<a class="moz-txt-link-freetext" href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a class="moz-txt-link-abbreviated" href="http://www.syscon.eu">www.syscon.eu</a>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:***@syscon.eu">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</pre>
</body>
</html>

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

http://xircles.codehaus.org/manage_email
Ahmad Hassan
2009-05-22 10:01:33 UTC
Permalink
Hi Ralf,

'mvn install' is failing at the following. I am using windows though.

Results :

Tests in error:
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)

Tests run: 245, Failures: 0, Errors: 2, Skipped: 105

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.


Also the errors I mentioned previously persists in eclipse.

Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
can you checkout the latest changes from SVN and try the build once again.
Having said that I can not reproduce this problem under Linux and I do not
have an idea why junit or maven test collector behave different under
Windows and Linux.
Regards
Ralf
Hi Ahmad,
now I see what caused the failure of test16 and test19 that Werner reported
earlier. Will fix that in some minutes.
Regards
Ralf
Hi Ralf,
I went into synchronous mode and run 'update all incoming changes'. After
that 'mvn install' is giving the errors in the following tests
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
llbackInterceptor)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
llbackInterceptor)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
nvoked)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
nvoked)
Tests run: 247, Failures: 0, Errors: 9, Skipped: 100
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Additionaly, in eclipse I can see the following errors
'jdo-extensions-it/target/generated-sources/castor'*
'xmlctf-framework/target/generated-sources/castor'*
Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
may it be possible that you have not checked out all changes from SVN?
Regards
Ralf
Hi Ralf,
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
\ClassMolder.java:[79,36] cannot find symbol
symbol : class NamedNativeQuery
location: package org.exolab.castor.mapping.xml
'mvn install also cannot resolve this dependency.
Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors should disapear.
Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There has been
new dependency added in this class and because of that I am getting
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
--------------------------------------------------------------------- To
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
--------------------------------------------------------------------- To
http://xircles.codehaus.org/manage_email
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
--------------------------------------------------------------------- To
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan

Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
Ralf Joachim
2009-05-22 11:12:04 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ahmad,<br>
<br>
it seams that declaring a class Externalizable causes the compiler to
generate another class file which you can not ignore for the test
collector. Can you please try once again?<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote
cite="mid:***@mail.gmail.com"
type="cite">Hi Ralf,<br>
<br>
'mvn install' is failing at the following. I am using windows though. <br>
<br>
Results :<br>
<br>
Tests in error:<br>
&nbsp; initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp; initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
<br>
Tests run: 245, Failures: 0, Errors: 2, Skipped: 105<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] There are test failures.<br>
<br>
<br>
Also the errors I mentioned previously persists in eclipse.<br>
<br>
Regards, Ahmad<br> <br> <div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a class="moz-txt-link-rfc2396E" href="mailto:***@syscon.eu">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Hi Ahmad,<br>
<br>
can you checkout the latest changes from SVN and try the build once
again.<br>
<br>
Having said that I can not reproduce this problem under Linux and I do
not have an idea why junit or maven test collector behave different
under Windows and Linux.<br>
<br>
Regards<br>
Ralf<br>
<br>
<br>
Ralf Joachim schrieb:
<div>
<div class="h5">
<blockquote type="cite"> Hi Ahmad,<br>
<br>
now I see what caused the failure of test16 and test19 that Werner
reported earlier. Will fix that in some minutes.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote type="cite">Hi Ralf,<br>
<br>
I went into synchronous mode and run 'update all incoming changes'.
After that 'mvn install' is giving the errors in the following tests<br>
Results :<br>
<br>
Tests in error:<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)<br>
&nbsp; initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)<br>
&nbsp;
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa<br>
llbackInterceptor)<br>
&nbsp;
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa<br>
llbackInterceptor)<br>
&nbsp; initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp; initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)<br>
&nbsp;
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI<br>
nvoked)<br>
&nbsp;
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI<br>
nvoked)<br>
<br>
Tests run: 247, Failures: 0, Errors: 9, Skipped: 100<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] There are test failures.<br>
<br>
<br>
Additionaly, in eclipse I can see the following errors<br>
<br>
<b>Project 'castor' is missing required source folder:
'jdo-extensions-it/target/generated-sources/castor'</b><br>
<b>Project 'castor' is missing required source folder:
'xmlctf-framework/target/generated-sources/castor'</b><br>
<br>
<br>
Best Regards, Ahmad<br>
<br>
<div class="gmail_quote">2009/5/22 Ralf Joachim <span dir="ltr"><a
moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Hi Ahmad,<br>
<br>
may it be possible that you have not checked out all changes from SVN?
<div>
<div><br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:
<blockquote type="cite">Hi Ralf,<br>
<br>
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
root but 'mvn install' is throwing the same error&nbsp; as follows:<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Compilation failure<br>
<br>
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist<br>
\ClassMolder.java:[79,36] cannot find symbol<br>
symbol&nbsp; : class NamedNativeQuery<br>
location: package org.exolab.castor.mapping.xml<br>
<br>
'mvn install also cannot resolve this dependency.<br>
<br>
Best Regards, Ahmad<br>
<br>
<div class="gmail_quote">2009/5/22 Ralf Joachim <span
dir="ltr"><a moz-do-not-send="true"
href="mailto:***@syscon.eu" target="_blank">&lt;***@syscon.eu&gt;</a></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Ahmad,<br>
<br>
some classes of Castor are generated during build. If one of the source<br>
files of generation (e.g. mapping.xsd) changes it may happen that new<br>
files are generated and you get compile failures until you execute build<br>
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of<br>
those. After execution of 'mvn clean' and 'mvn install' on project root<br>
followed by a refresh of your eclipse project this errors should
disapear.<br>
<br>
Regards<br>
Ralf<br>
<br>
Ahmad Hassan schrieb:<br> <div> <div>&gt; Hi,<br>
&gt;<br>
&gt; I have just downloaded the updated ClassMolder class. There has
been<br>
&gt; new dependency added in this class and because of that I am getting<br>
&gt; import error<br>
&gt;<br>
&gt; import org.exolab.castor.mapping.xml.NamedNativeQuery;<br>
&gt;<br>
&gt; Can someone please tell me how to resolve this new dependency.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards, Hassan<br>
&gt;<br>
&gt; Erasmus Student<br>
&gt; Current Institute: University Of Carlos III, Madrid Spain<br>
&gt; Previous Institute: Aristotle University of Thessaloniki, Greece<br>
&gt; Home Institute: The University of Reading, UK<br>
</div>
</div>
--<br>
<br>
Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH<br>
Ralf Joachim<br>
Raiffeisenstra&szlig;e 11<br>
72127 Kusterdingen<br>
Germany<br>
<br>
Tel. &nbsp; +49 7071 3690 52<br>
Mobil: +49 173 9630135<br>
Fax &nbsp; &nbsp;+49 7071 3690 98<br>
<br>
Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><br>
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a><br>
<br>
Sitz der Gesellschaft: D-72127 Kusterdingen<br>
Registereintrag: Amtsgericht Stuttgart, HRB 382295<br>
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
&nbsp; &nbsp;<a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a><br>
<br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
</div>
</div>
<pre cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><div>
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</div></pre>
</div>
<div>
<div>---------------------------------------------------------------------
To unsubscribe from this list, please visit: <a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
<pre cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a>
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</pre>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
<a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a>
</blockquote>
<br>
</div>
</div>
<pre cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a moz-do-not-send="true" href="http://www.syscon.eu"
target="_blank">www.syscon.eu</a><div class="im">
E-Mail: <a moz-do-not-send="true" href="mailto:***@syscon.eu"
target="_blank">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</div></pre>
</div>
<div>
<div class="h5">---------------------------------------------------------------------
To unsubscribe from this list, please visit: <a moz-do-not-send="true"
href="http://xircles.codehaus.org/manage_email" target="_blank">http://xircles.codehaus.org/manage_email</a>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Best Regards, Hassan<br>
<br>
Erasmus Student<br>
Current Institute: University Of Carlos III, Madrid Spain<br>
Previous Institute: Aristotle University of Thessaloniki, Greece<br>
Home Institute: The University of Reading, UK<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

Syscon Ingenieurb&uuml;ro f&uuml;r Me&szlig;- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra&szlig;e 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: <a class="moz-txt-link-abbreviated" href="http://www.syscon.eu">www.syscon.eu</a>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:***@syscon.eu">***@syscon.eu</a>

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gesch&auml;ftsleitung: Jens Joachim, Ralf Joachim
</pre>
</body>
</html>

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

http://xircles.codehaus.org/manage_email
Werner Guttmann
2009-05-22 17:25:49 UTC
Permalink
Yes, indeed, that's exactly what I am seeing.

Cheers
Werner
Post by Ralf Joachim
Hi Ahmad,
now I see what caused the failure of test16 and test19 that Werner
reported earlier. Will fix that in some minutes.
Regards
Ralf
Post by Ahmad Hassan
Hi Ralf,
I went into synchronous mode and run 'update all incoming changes'.
After that 'mvn install' is giving the errors in the following tests
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)
initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
llbackInterceptor)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
llbackInterceptor)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)
initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
nvoked)
initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
nvoked)
Tests run: 247, Failures: 0, Errors: 9, Skipped: 100
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Additionaly, in eclipse I can see the following errors
'jdo-extensions-it/target/generated-sources/castor'*
'xmlctf-framework/target/generated-sources/castor'*
Best Regards, Ahmad
Hi Ahmad,
may it be possible that you have not checked out all changes from SVN?
Regards
Ralf
Post by Ahmad Hassan
Hi Ralf,
Thanks for the message. I ran 'mvn clean' and 'mvn install' on
project root but 'mvn install' is throwing the same error as
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
\ClassMolder.java:[79,36] cannot find symbol
symbol : class NamedNativeQuery
location: package org.exolab.castor.mapping.xml
'mvn install also cannot resolve this dependency.
Best Regards, Ahmad
Hi Ahmad,
some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you
execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors
should disapear.
Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There
has been
Post by Ahmad Hassan
new dependency added in this class and because of that I am
getting
Post by Ahmad Hassan
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki,
Greece
Post by Ahmad Hassan
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu <http://www.syscon.eu>
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu <http://www.syscon.eu>
Amtsgericht Stuttgart, HRB 382295 Geschäftsleitung: Jens Joachim,
Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
--------------------------------------------------------------------- To
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Werner Guttmann
2009-05-22 17:31:16 UTC
Permalink
Hi Ahmad,

usually a 'mvn clean compile' should do the trick. Here's why:

1)

'mvn clean' cleans all Maven artefacts from the target directory, incl.
the cache files that the Maven plugin for the Castor XML code generator
maintains to minimize the amount of the code generation taking place
during your builds. In other words, if your XML schemas have not
changed, no generation will be performed.

2)

'mvn compile' will compile all available Java class files (taking from
src/main/java) into target/classes. Before this build phase, Maven will
trigger code generation through the Maven plugin for the Castor XML code
generator, as a result of which new Java sources are being produced (in
target/generated-sources/castor). As this directory is added to the
source folders for compilation on the fly, those (generated) files will
be compiled as well.

I hope this makes things a bit clearer.

Cheers
Werner
Post by Ahmad Hassan
Hi Ralf,
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project root
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
\ClassMolder.java:[79,36] cannot find symbol
symbol : class NamedNativeQuery
location: package org.exolab.castor.mapping.xml
'mvn install also cannot resolve this dependency.
Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors should disapear.
Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There has been
new dependency added in this class and because of that I am getting
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Ahmad Hassan
2009-05-23 08:11:22 UTC
Permalink
Hi Werner,

Thanks for the explication. It worked and I can successfully build now.

Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
1)
'mvn clean' cleans all Maven artefacts from the target directory, incl.
the cache files that the Maven plugin for the Castor XML code generator
maintains to minimize the amount of the code generation taking place
during your builds. In other words, if your XML schemas have not
changed, no generation will be performed.
2)
'mvn compile' will compile all available Java class files (taking from
src/main/java) into target/classes. Before this build phase, Maven will
trigger code generation through the Maven plugin for the Castor XML code
generator, as a result of which new Java sources are being produced (in
target/generated-sources/castor). As this directory is added to the
source folders for compilation on the fly, those (generated) files will
be compiled as well.
I hope this makes things a bit clearer.
Cheers
Werner
Post by Ahmad Hassan
Hi Ralf,
Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
root
Post by Ahmad Hassan
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
Post by Ahmad Hassan
\ClassMolder.java:[79,36] cannot find symbol
symbol : class NamedNativeQuery
location: package org.exolab.castor.mapping.xml
'mvn install also cannot resolve this dependency.
Best Regards, Ahmad
Post by Ralf Joachim
Hi Ahmad,
some classes of Castor are generated during build. If one of the source
files of generation (e.g. mapping.xsd) changes it may happen that new
files are generated and you get compile failures until you execute build
once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
those. After execution of 'mvn clean' and 'mvn install' on project root
followed by a refresh of your eclipse project this errors should
disapear.
Post by Ahmad Hassan
Post by Ralf Joachim
Regards
Ralf
Post by Ahmad Hassan
Hi,
I have just downloaded the updated ClassMolder class. There has been
new dependency added in this class and because of that I am getting
import error
import org.exolab.castor.mapping.xml.NamedNativeQuery;
Can someone please tell me how to resolve this new dependency.
Thanks.
--
Best Regards, Hassan
Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Best Regards, Hassan

Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK
Loading...