[Logo] Space4J - Java Persistence
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
maven/generics and other subjects  XML
Forum Index » General Questions
Author Message
Riduidel



Joined: 16/06/2010 10:57:19
Messages: 6
Offline

Hi, a long time ago, I worked a little on mavenification of space4j. Would you like I send a svn patch with all the modifications ?
In the same direction, I've notice that space4j is not yet supporting generics. Do you want I take a little look at that subject ?
saoj



Joined: 05/09/2008 13:26:12
Messages: 45
Offline


We actually prefer ant, but it would be ok to have both, maven and ant.

Feel free to work on the generic part.

-Sergio


-Sergio Oliveira Junior
Riduidel



Joined: 16/06/2010 10:57:19
Messages: 6
Offline

We actually prefer ant, but it would be ok to have both, maven and ant.

I've never tried to provide polyglot compiling with both maven and ant, but I'll see if it is feasible.
From my experience, the biggest issue preventing such polyglot compiling is the fact that, with ant, sources are often located directly in project folder, which is quite an unacceptable behaviour for maven.

My ultimate goal with this mavenification is double
  • generate site from maven

  • make sspace4j appear in a maven repository (as an example, Sonatype FLOSS one would be perfect)



  • Feel free to work on the generic part.

    OK, will try to work on it soon.

    For both these issues, I'll try to take a look soon enough.
    Riduidel



    Joined: 16/06/2010 10:57:19
    Messages: 6
    Offline

    Ah, sergio, you're kidding me !
    From the svn view I get, I can see that Space4J already uses genercis and all Java5 constructs !
    saoj



    Joined: 05/09/2008 13:26:12
    Messages: 45
    Offline

    Riduidel wrote:Ah, sergio, you're kidding me !
    From the svn view I get, I can see that Space4J already uses genercis and all Java5 constructs !


    You are the second person that talks about lack of generics, so I thought it was missing somewhere in the project.

    The commands to create the collections (Map or List) I know are using generics...




    -Sergio Oliveira Junior
    saoj



    Joined: 05/09/2008 13:26:12
    Messages: 45
    Offline


    The indexation framework of Space4J was lacking generics. Now with version 0.9.2 it has full support for generics. No more casting when using indexes. Please refer to: http://s4j.mentaframework.org/posts/list/5.page


    -Sergio Oliveira Junior
     
    Forum Index » General Questions
    Go to:   
    Powered by JForum 2.1.8 © JForum Team