1 4 5 6 7 8 9 Previous Next 120 Replies Latest reply on Apr 20, 2007 5:45 PM by claprun Go to original post
      • 75. Re: JBoss Portal 2.6 Alpha 2 Release

        It looks like it should have been produced right before the error, but there is no sign of its creation:

        output:
        [mkdir] Created dir: C:\workspace\jbportal\trunk\theme\output\lib
        [jar] Building jar: C:\workspace\jbportal\trunk\theme\output\lib\portal-theme-lib.jar
        [copy] Copying 10 files to C:\workspace\jbportal\trunk\theme\output\resources\portal-ajax-war

        _default:most:

        most:

        ==
        ==
        == Finished 'most' in module 'theme'.
        ==
        ==============================================================


        ==============================================================
        ==
        == Executing 'most' in module 'workflow'...
        ==
        ==

        _buildmagic:init:

        _buildmagic:init:project-local-properties:

        configure:
        Overriding previous definition of reference to apache.ant.classpath

        configure-modules:

        configure-defaults:
        Overriding previous definition of reference to javac.classpath

        configure-tools:

        _configure:jbossaop:task:

        _default:compile-classes:
        [mkdir] Created dir: C:\workspace\jbportal\trunk\workflow\output\classes
        [mkdir] Created dir: C:\workspace\jbportal\trunk\workflow\output\gen\classes
        [javac] Compiling 12 source files to C:\workspace\jbportal\trunk\workflow\output\classes

        _default:check-exists-etc:

        _default:compile-etc:
        [mkdir] Created dir: C:\workspace\jbportal\trunk\workflow\output\etc
        [copy] Copying 1 file to C:\workspace\jbportal\trunk\workflow\output\etc

        _default:check-exists-resources:

        _default:compile-resources:
        [mkdir] Created dir: C:\workspace\jbportal\trunk\workflow\output\resources
        [copy] Copying 6 files to C:\workspace\jbportal\trunk\workflow\output\resources

        compile:

        output:
        [mkdir] Created dir: C:\workspace\jbportal\trunk\workflow\output\lib

        BUILD FAILED
        C:\workspace\jbportal\trunk\tools\etc\buildfragments\buildmagic.ent:273: The following error occurred while executing this line:
        C:\workspace\jbportal\trunk\workflow\build.xml:170: C:\workspace\jbportal\trunk\workflow\output\resources\portal-workflow-jar not fo
        und.

        • 76. Re: JBoss Portal 2.6 Alpha 2 Release
          theute

          Do you have the following dorectory:
          ../workflow/src/resources/portal-workflow-jar/

          If not create an empty one.

          • 77. Re: JBoss Portal 2.6 Alpha 2 Release
            peterj

            swestbom, I can't help but thinking that there is something else wrong here. This is what I just now did. Opened a command prompt and did the following:

            mkdir portal_trunk
            cd portal_trunk
            svn co http://anonsvn.jboss.org/repos/portal/trunk/
            cd build
            build


            end result was:

            Executing F:\jboss\portal\source\trunk_070221\build\..\tools\bin\ant.bat -logge
            r org.apache.tools.ant.NoBannerLogger
            Buildfile: build.xml
            
            createthirdparty:
             [mkdir] Created dir: F:\jboss\portal\source\trunk_070221\thirdparty\antlr
             [get] Getting: http://repository.jboss.com/antlr/2.7.6.ga/component-info.x
            ml
             [get] To: F:\jboss\portal\source\trunk_070221\thirdparty\antlr\component-i
            nfo.xml
            [synchronizeinfo] .
            
             **** lots of lines deleted ***
            
             ==
             ==
             == Finished 'most' in module 'core-samples'.
             ==
             ==============================================================
            
            
            BUILD SUCCESSFUL
            Total time: 6 minutes 20 seconds
            Press any key to continue . . .


            Here is some of my configuration info:

            OS: Vista Ultimate
            JAVA_HOME=D:\apps\jdk1.5.0_11

            I also have Ant installed, but according to the tools/bin/build.bat file, it is not used because that bat file sets AN_HOME to the Ant that comes with the Portal.


            • 78. Re: JBoss Portal 2.6 Alpha 2 Release
              theute

              Thanks Peter ! I thought i was becoming crazy :)

              • 79. Re: JBoss Portal 2.6 Alpha 2 Release

                I am trying one that was checked out of SVN from yesterday to see what is different

                • 80. Re: JBoss Portal 2.6 Alpha 2 Release

                  BTW you are comparing apples and oranges by going right to svn I am using this one:

                  http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-trunk-build

                  • 81. Re: JBoss Portal 2.6 Alpha 2 Release

                    The checkout from SVN from yesterday builds fine, it is just the one from cruisecontrol that is broken

                    • 82. Re: JBoss Portal 2.6 Alpha 2 Release

                      I don't really care but the build.bat still doesn't work though, does anyone try it on XP? I sent a link a few post back on what the problem is likely to be

                      • 83. Re: JBoss Portal 2.6 Alpha 2 Release

                        My problem with using SVN has to do with firewalls so it is a PITB to get one from SVN for me (I have to have someone outside the firewall get it, put it somewhere where I can get it then I download it). That is why cruisecontrol is crucial to me.

                        • 84. Re: JBoss Portal 2.6 Alpha 2 Release
                          peterj

                          Yes, I build it on XP at home on my laptop with no problems. I have also built in on Fedora Core 6.

                          • 85. Re: JBoss Portal 2.6 Alpha 2 Release
                            theute

                            That's the one i used...

                            Please check that you have the directory i mentionned.

                            • 86. Re: JBoss Portal 2.6 Alpha 2 Release

                              Wasn't there (ant should be doing the mkdir anyway)

                              yep putting that directory there made it build

                              I assume this can be fixed before tonight's build?

                              • 87. Re: JBoss Portal 2.6 Alpha 2 Release
                                gator

                                I had the same problem and it was because portal-workflow-jar did not exist under the resources directory. I just removed the reference to in the build.xml file.

                                • 88. Re: JBoss Portal 2.6 Alpha 2 Release
                                  theute

                                  No ant shouldn't it's the sources.

                                  Your tool to untar/unzip just chose not to create empty directories. The directory is in the package.

                                  Glad the problem is fixed.

                                  • 89. Re: JBoss Portal 2.6 Alpha 2 Release
                                    theute

                                    (btw, i removed the need for this empty directory, it shouldn't complain anymore)

                                    1 4 5 6 7 8 9 Previous Next