Announcement Announcement Module
Collapse
No announcement yet.
An update on Valkyrie Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

  • #2
    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!

    Comment


    • #3
      looking forward to valkyrie 1.0. Thanks!

      Comment


      • #4
        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.

        Comment


        • #5
          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)

          Comment


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

            Comment


            • #7
              Thanks very much, that work perfect.

              Comment


              • #8
                My bad, removed them prematurely. Will commit changes shortly.

                Comment


                • #9
                  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

                  Comment


                  • #10
                    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);

                    Comment

                    Working...
                    X