Hi,

just out of curiosity, did you checkout Castor from within Eclipse, or
from a command line ? If the latter, how did you import the project into
Eclipse ?

And last but not least, are you using m2eclipse ?

Regards
Werner

On 30.03.2011 21:00, David Martín Nieto wrote:
> Yes, I'm really sure I've dowloaded the trunk version, I've solved the
> problem with the derby jar changin the asociation of the jar, in eclipse
> the variable linked to the derby-10.6.1.0.jar but in the repository the
> jar version was derby-10.6.2.1. I'm going to do in the same line with
> the others.
> 
> Thanks.
> 
> El 30/03/2011 20:49, Ralf Joachim escribió:
>> Hi David,
>>
>> are you sure you downloaded SVN head of castor/trunc? I just check
>> dependencies in pom:
>>
>> derby-10.6.2.1.jar
>> spring-orm-2.1.jar
>> easymock-3.0.jar
>> Mockito-core-1.8.5.jar
>>
>> For the spring-xml project you have to wait for comments of Werner as
>> this is his baby. I have never looked into this before as I focus on
>> database persistence side.
>>
>> Regards
>> Ralf
>>
>>
>> Am 30.03.2011 19:49, schrieb David Martín Nieto:
>>> Thanks Ralf & Jochen,
>>>
>>> Thanks for your answers, now I have already mounted both projects
>>> castor and the spring-xml in eclipse and everything looks OK except
>>> that I have looked in my computer,in the directory of castor and in
>>> the directory where jars are downloaded (M2) when you launch the
>>> maven install the following jarsand I obtain a error for each one.
>>> These jars are:
>>>
>>> derby-10.6.1.0.jar
>>> spring-orm-2.0-SNAPSHOT.jar
>>> easymock-2.4.jar
>>> Mockito-core-1.8.4.jar
>>>
>>> This one only happen in the eclipse project in the comand line I can
>>> launch without problems: mvn compile, mvn test, mvn install, mvn test
>>> -Ptests and mvn eclipse:eclipse.
>>>
>>> I will try to search in the web to see if I can download them directly.
>>> I have understood it the subject of the modules and castor and I will
>>> introduce in the source code and documentation deeper these days to
>>> make a more specific proposal.
>>>
>>> Thank you very much,
>>> A greeting.
>>>
>>> El 30/03/2011 18:37, Ralf Joachim escribió:
>>>> Hola David,
>>>>
>>>> see my comments inline.
>>>>
>>>> I hope below information will help you to take a closer look at Castor.
>>>>
>>>> Regards
>>>> Ralf
>>>>
>>>> Am 30.03.2011 11:57, schrieb David Martín Nieto:
>>>>> Hi,
>>>>>
>>>>> I'm thinking to make a proposal for one of the ideas of Castor in
>>>>> GSOC2011. Before make it i'm building my own test environment for
>>>>> Castor and I've some doubts, maybe somebody can help me with this:
>>>>>
>>>>>     * At first in the web page of castor ideas for the gsoc2011
>>>>>       there are three diferent sections: Castor XML related
>>>>>       projects, Spring ORM support for Castor JDO related projects,
>>>>>       and Castor JDO related projects. I'm interested in especially
>>>>>       the first and the last sections but does not identify which
>>>>>       of the existing modules in subversion under the names do not
>>>>>       appear similar. The modules in subversion are these:
>>>>>       castor-jaxb2, castor-jpa, castor-spring, spring-xml. I wanted
>>>>>       to know if it's really well and are classified ideas modules
>>>>>       and if so to what modules under each.
>>>>>
>>>> The sections of ideas page do not directly relate to Castor modules.
>>>> Instead they should be interpreted as areas of work.
>>>>>
>>>>>     * To move forward I downloaded the spring-xml module with the
>>>>>       intention to go riding a test environment. I run first one:
>>>>>       svn co http://svn.codehaus.org/castor/spring-xml/trunk
>>>>>       And then a mvn mvn compile and test successfully.
>>>>>       But after throwing a jar mvn tells the comand show to me:
>>>>>
>>>>>         [INFO] -----------------------------------------------
>>>>>         -------------------------
>>>>>         [INFO] Building Castor Spring XML abstraction for
>>>>>         1.2.2-SNAPSHOT
>>>>>         [INFO] -----------------------------------------------
>>>>>         -------------------------
>>>>>         [INFO] -----------------------------------------------
>>>>>         -------------------------
>>>>>         [INFO] BUILD FAILURE
>>>>>         [INFO] -----------------------------------------------
>>>>>         -------------------------
>>>>>         [INFO] Total time: 0.273s
>>>>>         [INFO] Finished at: Wed Mar 30 11:52:30 EST 2011
>>>>>         [INFO] Final Memory: 2M/91M
>>>>>         [INFO] -----------------------------------------------
>>>>>         -------------------------
>>>>>         [ERROR] Unknown lifecycle phase "jar. " You Must Specify a
>>>>>         valid lifecycle phase or in the format GOAL
>>>>>         <plugin-prefix>: <goal>
>>>>>         or <plugin-group-id>: <plugin-artifact-id> [:
>>>>>         <plugin-version>]: <goal>. Available Phases lifecycle are:
>>>>>         validate, initialize, generate-sources, process-sources,
>>>>>         generate-resources, process-resources, compile,
>>>>>         process-classes, generate-test-sources,
>>>>>         process-test-sources, generate-test-resources, process
>>>>>         -test-resources, test-compile, process-test-classes, test,
>>>>>         prepare, package, package, pre-integration-test
>>>>>         integration-test, post-integration-test, verify, install,
>>>>>         deploy, pre-clean, clean , post-clean, pre-site, site,
>>>>>         post-site, site-deploy. -> [Help 1]
>>>>>         [ERROR]
>>>>>         [ERROR] To see the full stack trace of the errors, re-run
>>>>>         Maven with the-e switch.
>>>>>         [ERROR] Maven Re-run using the-X switch to enable full
>>>>>         debug logging.
>>>>>         [ERROR]
>>>>>         [ERROR] For more information about the errors and possible
>>>>>         solutions, please read the Following articles:
>>>>>         [ERROR] [Help 1]
>>>>>        
>>>>> http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
>>>>>
>>>>>
>>>>>     And I don't know how to fix it.
>>>>>
>>>> For everything but the JPA stuff you have to download:
>>>>
>>>> svn co https://svn.codehaus.org/castor/castor/trunk/
>>>>
>>>> What you get is a multi module maven project. To get all libs
>>>> downloaded and all required classes generated you can execute 'mvn
>>>> install'. For setting up the project with eclipse you have 2
>>>> options. One is to use project root as root for a single eclipse
>>>> project. This way the project definitions included in SVN will be
>>>> used. The other option is to execute 'mvn eclipse:eclipse' which
>>>> will create module specific project definitions. This way you get a
>>>> multi project setup in eclipse. Having said that you may be hit by a
>>>> bug where maven fails to download a required lib. We are currently
>>>> trying to resolve this.
>>>>
>>>> The spring-xml project you downloaded is only a plugin for spring to
>>>> use castor for xml data binding. The castor-spring project is a
>>>> plugin for spring to use castor as persistence (Spring ORM for JDO).
>>>> The castor-jpa Project is an interface layer around castor that is
>>>> intended to provide JPA compliant interface to Castor persistence
>>>> part (JDO).
>>>>>
>>>>>
>>>>>     * On the other hand would be particularly interested in knowing
>>>>>       where information could expand on this idea for GSOC2011,
>>>>>       which would be the most appropriate documents to study and
>>>>>       understand more specifically the improvement and especially
>>>>>       if the module to download is the spring-xml or another.
>>>>>
>>>> Depending on the idea you are interested in I would suggest to
>>>> directly conntact the possible mentor that is included on the ideas
>>>> page (Werner or myself). Another possibility is to connect to our
>>>> irc. With an irc-client this would be irc://irc.codehaus.org/castor
>>>> or by web proxy http://irc.codehaus.org at castor channel.
>>>>>
>>>>>
>>>>> Thanks a lot!
>>>>>
>>>>> David Martín
>>>>> Spainish student on computer sciences
>>>>>
>>>>
>>>> -- 
>>>>
>>>> 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:ralf.joac...@syscon.eu
>>>>
>>>> Sitz der Gesellschaft: D-72127 Kusterdingen
>>>> Registereintrag: Amtsgericht Stuttgart, HRB 382295
>>>> Geschäftsleitung: Jens Joachim, Ralf Joachim
>>
>>
>> -- 
>>
>> 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:ralf.joac...@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


Reply via email to