Results 1 to 10 of 10

Thread: An update on Valkyrie

  1. #1
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default An update on Valkyrie

    It's been a while since Valkyrie saw the light. A small update:
    - the entire RCP codebase has been ported
    - complete Spring 3 integration,
    - simplifications on the configuration level (a skeleton application now takes only 3 classes, each maybe 10 lines and a 5 line XML file), building on convention over configuration principles
    - an working archetype has been made
    - integrations for JideOSS, MyDoggy and VLDocking have been implemented
    - there are already 3 working samples in the codebase, more will follow
    - a manual is underway

    Basically, when the manual is done, Valkyrie 1.0 will probably see the light of day.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

  2. #2
    Join Date
    Feb 2006
    Posts
    118

    Default

    Quote Originally Posted by LievenDoclo View Post
    It's been a while since Valkyrie saw the light. A small update:
    - the entire RCP codebase has been ported
    - complete Spring 3 integration,
    - simplifications on the configuration level (a skeleton application now takes only 3 classes, each maybe 10 lines and a 5 line XML file), building on convention over configuration principles
    - an working archetype has been made
    - integrations for JideOSS, MyDoggy and VLDocking have been implemented
    - there are already 3 working samples in the codebase, more will follow
    - a manual is underway

    Basically, when the manual is done, Valkyrie 1.0 will probably see the light of day.
    Awesome stuff, Lieven!

    I look forward to seeing the documentation, and trying it out!

  3. #3
    Join Date
    Nov 2010
    Location
    Philippines
    Posts
    2

    Default

    looking forward to valkyrie 1.0. Thanks!

  4. #4
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    An update:

    About 75 percent of the documentation has been written and some extra features have been added, one of which I'm quite proud of: the rewritten version of the exception handler for Hibernate Validator so it can now handle any JSR303 validator.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

  5. #5
    Join Date
    Jul 2010
    Posts
    19

    Default Problems again with Valkyrie examples

    After clone the last version (15-03-2011) I get the following error. Look like again problem with AspectJ.

    Exception in thread "main" org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.valkyriercp.sample.simple.SimpleSampleApplica tionConfig#0' defined in class path resource [org/valkyriercp/sample/simple/context.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:527)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 91)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:288 )
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:425)
    at org.valkyriercp.application.support.ApplicationLau ncher.loadRootApplicationContext(ApplicationLaunch er.java:217)
    at org.valkyriercp.application.support.ApplicationLau ncher.<init>(ApplicationLauncher.java:129)
    at org.valkyriercp.application.support.ApplicationLau ncher.<init>(ApplicationLauncher.java:102)
    at org.valkyriercp.sample.simple.SimpleSampleRunner.m ain(SimpleSampleRunner.java:9)
    Caused by: java.lang.NullPointerException
    at org.valkyriercp.application.config.support.Applica tionObjectConfigurerBeanPostProcessor.postProcessA fterInitialization(ApplicationObjectConfigurerBean PostProcessor.java:19)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyBeanPostProcessors AfterInitialization(AbstractAutowireCapableBeanFac tory.java:407)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1426)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:519)

  6. #6
    Join Date
    Jun 2008
    Posts
    8

    Default

    Try adding in valkyrie-base.xml these lines and recompile core.
    Code:
        <context:spring-configured/>
        <context:annotation-config/>

  7. #7
    Join Date
    Jul 2010
    Posts
    19

    Default

    Thanks very much, that work perfect.

  8. #8
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    My bad, removed them prematurely. Will commit changes shortly.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

  9. #9
    Join Date
    May 2011
    Posts
    2

    Default

    Quote Originally Posted by burianek View Post
    Try adding in valkyrie-base.xml these lines and recompile core.
    Code:
        <context:spring-configured/>
        <context:annotation-config/>
    Thanks so much for this sharing here, it is very useful and nice
    Cong ty du hoc chuyen cung cap cac dich vu cong ty du hoc, tu van du hoc voi cac noi hoc tap noi tieng nhu du hoc my, du hoc uc, du hoc singapore
    Cong ty du hoc chuyen cung cap cac dich vu cong ty du hoc, tu van du hoc voi cac noi hoc tap noi tieng nhu du hoc my, du hoc uc, du hoc singapore

  10. #10
    Join Date
    Jul 2010
    Posts
    19

    Default

    LievenDoclo:

    Working with the MyDoggy integration the only way I found to add toolwindow is a little ugly. I'm missing something?
    Maybe is a good idea let the user access to the MyDoggyToolWindowManager with a get or something like that. What do you think?

    Example
    MyDoggyToolWindowManager myDoggyToolWindowManager = (MyDoggyToolWindowManager) getContext().getPage().getControl().getComponent(0 );
    ToolWindow toolWindow = myDoggyToolWindowManager.registerToolWindow("Debug ", "Debugging", null, new JLabel("Debugging Content"), ToolWindowAnchor.LEFT);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •