3 Replies Latest reply on Dec 29, 2001 8:15 PM by ipozeng

    Error whil compiling  jboss source

    sundaram

      Hi,

      I try to compile the jbsss-2.4.1. Its giving the follwoing error.

      "Main.java": Warning #: 368 : method getMinutes() in class java.util.Date has been deprecated at line 239, column 79
      "Main.java": Warning #: 368 : method getSeconds() in class java.util.Date has been deprecated at line 239, column 108
      "ViewerLogging.java": Warning #: 368 : method resize(int, int) in class java.awt.Component has been deprecated at line 71, column 13
      "EnterpriseContext.java": Warning #: 368 : class java.security.Identity in package java.security has been deprecated at line 10, column 22
      "EnterpriseContext.java": Warning #: 368 : class java.security.Identity in package java.security has been deprecated at line 215, column 14
      "EnterpriseContext.java": Warning #: 368 : class java.security.Identity in package java.security has been deprecated at line 341, column 37
      "FileURLPatch.java": Warning #: 368 : method setURL(java.net.URL, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String) in class java.net.URLStreamHandler has been deprecated at line 72, column 4
      "Executor.java": Warning #: 368 : method readLine() in class java.io.DataInputStream has been deprecated at line 54, column 25
      Warning #: 909 : source D:\jboss\jboss\src\org\jboss\deployment\scope\J2eeGlobalScopeDeployer.java does not define any classes or interfaces
      "J2eeGlobalScopeDeployer.java": Error #: 901 : package . stated in source d:\jboss\jboss\src\org\jboss\deployment\scope\J2eeGlobalScopeDeployer.java does not match directory org.jboss.deployment.scope
      Warning #: 369 : There have been deprecation warnings. Please consult the documentation for a better alternative

      I look into J2eeGlobalScopeDeployer.java file is empty.

        • 1. Re: Error whil compiling  jboss source
          alu1344

          Forget the warnings, they don't stop you from compiling (are only deprecations).

          Check that J2eeGlobalScopeDeployer.java, looks as if it was empty or somewhat wrong. To be sure, download the latest CVS snapshot. 2.5 works great for me =)

          • 2. Re: Error whil compiling  jboss source
            slauder

            Where do we get current jboss cvs source? Have compile problems with empty file J2eeGlobalScopeDeployer.java with JBoss 2.4.3.

            • 3. Can i compile jboss on windows?
              ipozeng

              Hi,friend
              I have extracted jboss to E:\JBOSS-2.4.3 on my windows 2000 box.Then i changed dir to E:\JBOSS-2.4.3 and run ant build.
              It started building the jboss but many import errors are reported.
              I have installed jdk1.3.1 on c:\jdb1.3.1

              Do i need to build jboss on linux box?

              Best Regards!