Sunday, November 21, 2010

Project status

Hi all,

This week I tried to put maven for the "sweetydontforget" project without success ... So I've create a classical structure for GWT project and add the first login box. Now I add to learn more with GWT.

Sunday, November 14, 2010

Project status

- Source code has been commit.(It's only the source code you obtain when you create a new Google web application)
- First documentation of the project about installation.(on the project's wiki).

So now the project does nothing ...

News

For now tasks are :
- Configure project.
- Begin installation documentation.

Saturday, November 13, 2010

Sweety Don' t forget ....

Every time, I hear something like :
Sweety , after work, don't forget to take the bread ...

And every time, I forget ! So I decided to create a we project that will resolve my problem ! Ambitious ? isn't it !
I have just created a new project on google code
In this project, we will use GWT, java and many many cool things !
All the project news will be publish on sweetydontforget label.

Note about project status : I will try to be regular in work and to produce code and documentation often ... ( At the project's beginning it's always like that ...)

Saturday, June 12, 2010

java.lang.ClassCastException: org.hibernate.type.StringType cannot be cast to org.hibernate.type.VersionType

Problème


java.lang.ClassCastException: org.hibernate.type.StringType cannot be cast to org.hibernate.type.VersionType

Solution
        <version name="version" type="string">
           
        version>


I rename version in property and i also rename the field of my table.

In file.hbm.xml :

        <property name="arteVersion" type="string">
           
        property>

In Mysql :  alter table t_dependency CHANGE version dep_version VARCHAR(150);

Monday, March 15, 2010

Install Maven with a Proxy


First install Maven. For example on Ubuntu 9.10 :

sudo apt-get install maven2


Then we will create the directory $HOME/.m2 :

mvn archetype:create -DgroupId=be.peopleware.training.maven -DartifactId=helloWorld
=> It will create .m2 automaticaly.

Note : Perhaps you can do by hand but I've not tested.You have certainly to check rights.
Note : It could be long and it will make an error but it will create the .m2 directory.


After that you had to create settings.xml in the .m2 directory like that :

vi settings.xml


        /home/drieu/.m2/repository
       
               
                        optional
                        true
                        http
                        proxy.test.fr
                        8080
                        localhost|127.0.0.1
               
 


To resume, you have a .m2 directory similar to that :
$HOME/.m2/settings.xml
$HOME/.m2/repository

Then go on your workspace directory (ex :$HOME/workspace) and launch the following command : mvn archetype:create -DgroupId=be.peopleware.training.maven -DartifactId=helloWorld

Monday, March 8, 2010

Thanks

I just come back from my holiday and I saw nice comment on my blog.
So thanks for these comments ! If you wan to see some article or you prefer other subject, tell me !
I will be happy to publish them.