Hola David, Hola Ralf,

sorry for being a bit late in this conversation, but I have spent a lot
of time on the Castor 1.3.2 release (much more than I actually intended
to do, but as there's a few changes wrt the Codehaus infrastructure, it
all got a bit more .. well, complicated).

Anyhow, here's my comments in addition to Ralf's.

Cheers
Werner

On 30.03.2011 18:37, Ralf Joachim wrote:
> 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.
Exactly my thoughts. In addition, there's a few things you should now:

* Castor XML: is an XML binding framework that's part of the main Castor
project. In other words, you'll find some project ideas related to XML
data binding.
* org.codehaus.castor:spring-xml is a dead project, as it has been
superceeded by Spring's OXM project. Basically, the Spring WS guys and
us had the same idea at about the same time, hence the creation of the
spring-xml project. Please do not consider this anymore.
* Spring OXM: all project ideas in this area work towards making usage
of Castor XML with Spring OXM easier and/or more powerful. In other
words, most of the code will be contributions to Spring's OXM project.
But Castor users should greatly benefit.

I hope this clears it up a bit.
>>
>>     * 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.
Please see above.

> 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
>>
> 

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

    http://xircles.codehaus.org/manage_email


Reply via email to