7 Replies Latest reply on Sep 3, 2007 9:31 AM by David Joseph

    Trying to build seam-2.0.0.BETA1

    Monkey Den Master

      Anyone else seen this? Do I need maven to build Seam now?

      \jboss-seam-2.0.0.BETA1\build.xml:1045: The following error occurred while executing this line:
      \jboss-seam-2.0.0.BETA1\build.xml:1054: \jboss-seam-2.0.0.BETA1\maven\core\boot not found

        • 1. Re: Trying to build seam-2.0.0.BETA1
          David Joseph Newbie

          I've got exactly the same error in the 2.0.0 BETA1

          I then got the most recent release from CVS and there the Seam IOC compon ent does not compile

          A lot of example do not compile either: like spring, hibernate2

          • 2. Re: Trying to build seam-2.0.0.BETA1
            Pete Muir Master

            There was a problem with the BETA1 distribution - it was missing some required files for compiling. Sorry about that. This was fixed for the nightly builds.

            • 3. Re: Trying to build seam-2.0.0.BETA1
              Pete Muir Master

              davidjoseph: Working with jboss-seam-CVS.2007-08-29_01-13-07 I have no problem with any of core modules or the examples mentioned compiling. Which specific build are you having problems with?

              • 4. Re: Trying to build seam-2.0.0.BETA1
                David Joseph Newbie

                for example the main build file: i get this error:

                initioc:
                [echo] Build JBoss Seam ioc 2.0

                compileioc:
                [javac] Compiling 31 source files to C:\Downloads\jboss-seam\classes\iocclas
                ses
                [javac] C:\Downloads\jboss-seam\src\ioc\org\jboss\seam\ioc\spring\SeamTarget
                Source.java:15: cannot find symbol
                [javac] symbol : class ValueExpression
                [javac] location: class org.jboss.seam.core.Expressions
                [javac] import org.jboss.seam.core.Expressions.ValueExpression;
                [javac] ^
                [javac] C:\Downloads\jboss-seam\src\ioc\org\jboss\seam\ioc\spring\SeamTarget
                Source.java:35: cannot find symbol
                [javac] symbol : class ValueExpression
                [javac] location: class org.jboss.seam.ioc.spring.SeamTargetSource
                [javac] private ValueExpression valueExpression;
                [javac] ^
                [javac] C:\Downloads\jboss-seam\src\ioc\org\jboss\seam\ioc\spring\SpringTask
                ExecutorDispatcher.java:17: cannot find symbol
                [javac] symbol : class ValueExpression
                [javac] location: class org.jboss.seam.core.Expressions
                [javac] import org.jboss.seam.core.Expressions.ValueExpression;
                [javac] ^
                [javac] C:\Downloads\jboss-seam\src\ioc\org\jboss\seam\ioc\spring\SpringTask
                ExecutorDispatcher.java:34: cannot find symbol
                [javac] symbol : class ValueExpression
                [javac] location: class org.jboss.seam.ioc.spring.SpringTaskExecutorDispatch
                er<T,S>
                [javac] private ValueExpression<Dispatcher<T, S>> scheduleDispatcher;
                [javac] ^

                • 5. Re: Trying to build seam-2.0.0.BETA1
                  David Joseph Newbie

                  For the spring example, I have this error:

                  [javac] Compiling 10 source files to C:\Downloads\jboss-seam\examples\spring
                  \exploded-archives-jbosswar\jboss-seam-spring.jar
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\BookingService.java:97: cannot find symbol
                   [javac] symbol : method createValueExpression(java.lang.String)
                   [javac] location: class org.jboss.seam.core.Expressions
                   [javac] UserService userService = (UserService)Expressions.insta
                  nce().createValueExpression("#{userService}").getValue();
                   [javac]
                   ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:45: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] invokeAction("#{register.register}");
                   [javac] ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:59: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] invokeAction("#{identity.login}");
                   [javac] ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:68: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] assert invokeAction("#{hotelSearch.find}
                  ") == null;
                   [javac] ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:96: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] invokeAction("#{hotelBooking.bookHotel}"
                  );
                   [javac] ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:128: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] assert invokeAction("#{hotelBooking.setB
                  ookingDetails}") == null;
                   [javac] ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:160: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] invokeAction("#{hotelBooking.setBookingD
                  etails}");
                   [javac] ^
                   [javac] C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\example\s
                  pring\test\StartupTest.java:179: cannot find symbol
                   [javac] symbol: method invokeAction(java.lang.String)
                   [javac] invokeAction("#{hotelBooking.confirm}");
                  
                   [javac] ^
                   [javac] Note: C:\Downloads\jboss-seam\examples\spring\src\org\jboss\seam\exa
                  mple\spring\HibernateTestService.java uses unchecked or unsafe operations.
                   [javac] Note: Recompile with -Xlint:unchecked for details.
                   [javac] 8 errors


                  • 6. Re: Trying to build seam-2.0.0.BETA1
                    Pete Muir Master

                    Which distribution of Seam? A nightly build or 2.0? Which build target are you running?

                    • 7. Re: Trying to build seam-2.0.0.BETA1
                      David Joseph Newbie

                      It was the latest checkout from CVS. What I did now is: I removed all files from the checkout dir and updated again from the repository. Now the build runs successfully. Strange... I cannot explain how this is possible.

                      Thanks for you help though.