3 Replies Latest reply on Apr 13, 2009 2:03 PM by javanaute

    Compiling examples on XP

    javanaute

      Hello All,

      I have the latest seam version jboss-seam-2.1.1.GA and am trying to build the examples on Windows XP.

      I have jboss-4.2.3.GA and configured it as my server in my build.properties file at the root of my seam distribution.

      Am following the instructions found at : http://docs.jboss.com/seam/2.1.1.GA/reference/en-US/html_single/#d0e353

      The pb is that am getting these compilation errors :

      compile:
          [javac] Compiling 4 source files to D:\dev\jboss-seam-2.1.1.GA\examples\registration\exploded-archives\jboss-seam-registration.jar
          [javac] D:\dev\jboss-seam-2.1.1.GA\examples\registration\src\org\jboss\seam\example\registration\RegisterAction.java:7: package javax.persistence does
      not exist
          [javac] import javax.persistence.EntityManager;
          [javac]                          ^
          [javac] D:\dev\jboss-seam-2.1.1.GA\examples\registration\src\org\jboss\seam\example\registration\RegisterAction.java:8: package javax.persistence does
      not exist
          [javac] import javax.persistence.PersistenceContext;
          [javac]                          ^
          [javac] D:\dev\jboss-seam-2.1.1.GA\examples\registration\src\org\jboss\seam\example\registration\RegisterAction.java:10: package org.jboss.seam.annotat
      ions does not exist
          [javac] import org.jboss.seam.annotations.In;
          [javac]                                   ^
          [javac] D:\dev\jboss-seam-2.1.1.GA\examples\registration\src\org\jboss\seam\example\registration\RegisterAction.java:11: package org.jboss.seam.annotat
      ions does not exist
          [javac] import org.jboss.seam.annotations.Logger;
          [javac]                                   ^
          [javac] D:\dev\jboss-seam-2.1.1.GA\examples\registration\src\org\jboss\seam\example\registration\RegisterAction.java:12: package org.jboss.seam.annotat
      ions does not exist
          [javac] import org.jboss.seam.annotations.Name;
          [javac]                                   ^
          [javac] D:\dev\jboss-seam-2.1.1.GA\examples\registration\src\org\jboss\seam\example\registration\RegisterAction.java:13: package org.jboss.seam.faces d
      oes not exist
          [javac] import org.jboss.seam.faces.FacesMessages;


      Any one could help to setup my environment properly ?