12 Replies Latest reply on Oct 12, 2006 10:21 AM by Woodler

    JBoss Portal SVN Repository

    Roy Russo Master

      Instructions for retrieving the project sources are on this page: http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalSVNRepo

      (That page also includes documentation source retrieval)

        • 1. Re: JBoss Portal SVN Repository
          cpage cpage Novice

          hi,

          i have a problem when i checkout under eclipse:

          the log:
          checkout -r HEAD http://anonsvn.jboss.org/repos/portal/trunk
          RA layer request failed
          svn: REPORT request failed on '/repos/portal/!svn/vcc/default'
          svn: REPORT of '/repos/portal/!svn/vcc/default': 400 Bad Request (http://anonsvn.jboss.org)

          i am behind a proxy but i can see the repository and all branches and tags.
          just can't check out :p

          any ideas ?
          thanks

          • 2. Re: JBoss Portal SVN Repository
            cpage cpage Novice

            ok my problem is solve, i can checkout.

            but, i can't build the project because when the thirdparty is build, the lib are get in a repository in CVS and proxy+cvs are not good friends ^^:

            createthirdparty:
             [get] Getting: http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml
             [get] To: C:\_PROJETS_GIP\_PORTAIL\_DEV\workspace\JBP240\thirdparty\antlr\component-info.xml
             [get] Error getting http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml to C:\_PROJETS_GIP\_PORTAIL\_DEV\workspace\JBP240\thirdparty\antlr\component-info.xml


            help wanted :p

            regards

            • 3. Re: JBoss Portal SVN Repository
              Woodler Expert

              +1
              checcking out trunc from : http://anonsvn.jboss.org/repos/portal


              C:\work\jboss\jboss-portal-2.6\build>ls
              build-thirdparty.xml build.bat build.sh build.xml distrib.xml etc ide licences misc
              
              C:\work\jboss\jboss-portal-2.6\build>ant
              Buildfile: build.xml
              
              check.inhibit.downloads:
              
              createthirdparty:
              
              BUILD FAILED
              C:\work\jboss\jboss-portal-2.6\build\build.xml:356: Following error occured while executing this lin
              e
              C:\work\jboss\jboss-portal-2.6\build\build-thirdparty.xml:30: Following error occured while executin
              g this line
              C:\work\jboss\jboss-portal-2.6\tools\etc\jbossbuild\tasks.xml:43: typedef A class needed by class or
              g.jboss.ant.types.Generate cannot be found: org/apache/tools/ant/DynamicAttribute
              
              Total time: 1 second
              C:\work\jboss\jboss-portal-2.6\build>
              


              is there any env var needed, beside JBOSS_HOME ?

              • 4. Re: JBoss Portal SVN Repository
                Thomas Heute Master

                Martin, use the embedded Tomcat.
                sh build.sh instead of your local "ant"

                • 5. Re: JBoss Portal SVN Repository
                  Woodler Expert

                  thanks Thomas!

                  I guess that's what I get for blindly following the instructions under

                  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossPortalFromScratch

                  it works now ;) ... almost.

                  Now I get

                  configure:
                  Overriding previous definition of reference to apache.ant.classpath
                  
                  _default:compile-classes:
                   [mkdir] Created dir: C:\work\jboss\jboss-portal-2.6\test\output\classes
                   [mkdir] Created dir: C:\work\jboss\jboss-portal-2.6\test\output\gen\classes
                   [javac] Compiling 44 source files to C:\work\jboss\jboss-portal-2.6\test\output\classes
                  
                  BUILD FAILED
                  C:\work\jboss\jboss-portal-2.6\tools\etc\buildfragments\buildmagic.ent:249: The following error occu
                  rred while executing this line:
                  C:\work\jboss\jboss-portal-2.6\tools\etc\buildfragments\buildmagic.ent:357: Reference apache.directo
                  ry.classpath not found.
                  

                  [/url]

                  • 6. Re: JBoss Portal SVN Repository
                    william he Newbie

                    How to use EJB3 in Jboss-seam

                    I get error
                    WARN: The instance SeamStudPortletInstance will not be created because the component referenced is outsize of the seam web app seam-stud.SeamStudPortal

                    • 7. Re: JBoss Portal SVN Repository
                      Thomas Heute Master

                      Martin, delete your thirdparty library and launch the build again.
                      apache.directory.classpath should be defined in thirdparty/libraries.ent that will be built.

                      williamhe, wrong topic, wrong forum

                      • 8. Re: JBoss Portal SVN Repository
                        william he Newbie

                         

                        "williamhe" wrote:
                        How to use EJB3 in Jboss-portal

                        I get error
                        WARN: The instance SeamStudPortletInstance will not be created because the component referenced is outsize of the seam web app seam-stud.SeamStudPortal





                        • 9. Re: JBoss Portal SVN Repository
                          Woodler Expert

                          sorry to be such a pain, but it still doesn't work, even after removing the thirdparty directory and starting from scratch. Any other ideas: JDK, env vars, ...?

                          • 10. Re: JBoss Portal SVN Repository
                            Woodler Expert

                            forgot the error message:

                             ==============================================================
                             ==
                             == Executing 'most' in module 'test'...
                             ==
                             ==
                            
                            configure:
                            Overriding previous definition of reference to apache.ant.classpath
                            
                            _default:compile-classes:
                             [javac] Compiling 44 source files to C:\work\jboss\jboss-portal-2.6\test\output\classes
                            
                            BUILD FAILED
                            C:\work\jboss\jboss-portal-2.6\tools\etc\buildfragments\buildmagic.ent:249: The following error occu
                            rred while executing this line:
                            C:\work\jboss\jboss-portal-2.6\tools\etc\buildfragments\buildmagic.ent:357: Reference apache.directo
                            ry.classpath not found.
                            



                            • 11. Re: JBoss Portal SVN Repository
                              Thomas Heute Master

                              Can you check that the variable "apache.directory.classpath" is defined in thirdparty/libraries.ent

                              • 12. Re: JBoss Portal SVN Repository
                                Woodler Expert

                                nope, it's not there