1 2 Previous Next 22 Replies Latest reply on Aug 14, 2011 10:05 AM by toepi Go to original post
      • 15. Re: Where find Resource Descriptor(s)
        rbattenfeld

        Hi toepi

         

        Yes, yu can send me the xsd files to my email address as defined in my profile. I don't post it here, I did it once and got spam:-)

        I do not have the full picture, but if you need jca descriptors then this is or will be enabled soon. When you send the xsd, can you look for references to other xsd's?

         

        Thanks

        Ralf

        • 16. Re: Where find Resource Descriptor(s)
          toepi

          Yes I need some jca (like datasource, jms). Any schedule when it will be avaiable?

          • 17. Re: Where find Resource Descriptor(s)
            rbattenfeld

            Hallo Sebastion

             

            I am switching back to the forum so that the others are involved in the discussion.

             

            I looked yesterday a little bit how the schemas are defined by websphere. I am not sure which schema in particular you need. I can say that there is some work I have to do in order to support some of the websphere descriptors. One particular can perhaps in a reasonable time enabled. All of them is needs time.

             

            I have some detailed questions:

             

            1. Which one is the one you require?

            2. The latest  snapshot of the descriptor project provides already quite a lot of descriptors:

                a) application.xml for JavaEE 5/6

                b) ejbjar.xml for JavaEE 5/6

                c) ra.xml for JavaEE 5/6

                d) persistence.xml JavaEE 5/6

                e) web.xml JavaEE 6

                d) beans.xml JavaEE 6

             

            3. A workaround is to reuse a predefined or creating a taylored descriptor and you can simply load this in your test case. We use in our company often someting like this:

             

                File persistenceFile = new File("src/main/resources/META-INF/persistence.xml");

                JavaArchive apiArchive = ShrinkWrap.create(JavaArchive.class, "generalApi.jar")

                            .              

                            .addAsManifestResource(persistenceFile, "persistence.xml")

                            .

                            .);

             

            Let me know what you think.

            Ralf

            • 18. Re: Where find Resource Descriptor(s)
              toepi

              Hi Ralf,

               

              I need ibm-ejb-jar-bnd and so one, the IBM stuff, to make Websphere happy .

               

              I've try to convert the ibm-common-ext schema, this contains some nice restriction for some Strings, the current xslt convert it to enums (perfect) but they have no names (not so perfect) ...

               

              Yes currently I use new File(..) but I've multiple directory which I want to add - and now the biggest showstopper: svn. Because shrinkwrap try to put .svn to the archive but has some trouble with this. So I try do filter out this files and put file by file to the archive ...

               

              If you mean it make no sense to add ibm schemas as descriptor it's doesn't kill me ... this do websphere day to day allready ...

               

              sebastian

              • 19. Re: Where find Resource Descriptor(s)
                rbattenfeld

                Hi Sebastian

                 

                I will certainly give a try:-) But I can't give you a date. Is that fine for you? I hope it is not so urgent. Once, this is working, we will look further. I will you keep up to date. Latest end od this week, ok?

                 

                Ralf

                • 20. Re: Where find Resource Descriptor(s)
                  rbattenfeld

                  The enum issue I have solved. The rest comes later:-)

                  • 21. Re: Where find Resource Descriptor(s)
                    rbattenfeld

                    Hallo Sebastian

                     

                    I made good progress but I had to proceed with the descriptor project. I will continue when I have more time.

                     

                    Thanks

                    Ralf

                    • 22. Re: Where find Resource Descriptor(s)
                      toepi

                      thanks ralf for your support.

                       

                      I've also no time for this ... at work I've a create some tests but for other tests we need authentification (no support yet - next small todo for me) ... and at home my maven make me crazy ... every time it put the wrong version into classpath, cost me a lot of time and i can't test my descriptors for websphere and glassfish makes trouble too.

                       

                      sebastian

                      1 2 Previous Next