1 Reply Latest reply on Aug 13, 2008 9:15 AM by rmaucher

    Building JBossWeb from Source

    am2605

      Hopefully I have found the right forum for this question.

      I checked out JBossWeb from anonsvn today and tried to build it on Fedora 9 (using OpenJDK 1.6.0)

      I'm getting a lot of errors as shown below. I'm not quite sure what I'm missing - is anyone able to point me in the right direction please?

      Many thanks,
      Andrew.

      [andrew@fedora jbossweb]$ ant
      Buildfile: build.xml
      
      build-prepare:
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/classes
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/build
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/build/bin
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/build/conf
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/build/lib
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/build/temp
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/build/webapps
       [mkdir] Created dir: /home/andrew/projects/jbossweb/output/jars
      
      compile:
       [javac] Compiling 870 source files to /home/andrew/projects/jbossweb/output/classes
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:38: package org.eclipse.jdt.core.compiler does not exist
       [javac] import org.eclipse.jdt.core.compiler.IProblem;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:39: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.ClassFile;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:40: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.CompilationResult;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:41: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.Compiler;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:42: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.DefaultErrorHandlingPolicies;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:43: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.ICompilerRequestor;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:44: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.IErrorHandlingPolicy;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:45: package org.eclipse.jdt.internal.compiler does not exist
       [javac] import org.eclipse.jdt.internal.compiler.IProblemFactory;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:46: package org.eclipse.jdt.internal.compiler.classfmt does not exist
       [javac] import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:47: package org.eclipse.jdt.internal.compiler.env does not exist
       [javac] import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:48: package org.eclipse.jdt.internal.compiler.env does not exist
       [javac] import org.eclipse.jdt.internal.compiler.env.INameEnvironment;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:49: package org.eclipse.jdt.internal.compiler.env does not exist
       [javac] import org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:50: package org.eclipse.jdt.internal.compiler.impl does not exist
       [javac] import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:51: package org.eclipse.jdt.internal.compiler.problem does not exist
       [javac] import org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory;
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:86: cannot find symbol
       [javac] symbol : class ICompilationUnit
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] class CompilationUnit implements ICompilationUnit {
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:152: cannot find symbol
       [javac] symbol : class INameEnvironment
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] final INameEnvironment env = new INameEnvironment() {
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:152: cannot find symbol
       [javac] symbol : class INameEnvironment
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] final INameEnvironment env = new INameEnvironment() {
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:266: cannot find symbol
       [javac] symbol : class IErrorHandlingPolicy
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] final IErrorHandlingPolicy policy =
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:267: cannot find symbol
       [javac] symbol : variable DefaultErrorHandlingPolicies
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] DefaultErrorHandlingPolicies.proceedWithAllProblems();
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:270: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_LineNumberAttribute,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:271: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.GENERATE);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:272: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_SourceFileAttribute,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:273: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.GENERATE);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:274: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_ReportDeprecation,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:275: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.IGNORE);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:277: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Encoding,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:281: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_LocalVariableAttribute,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:282: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.GENERATE);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:289: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:290: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_1);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:292: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:293: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_2);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:295: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:296: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_3);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:298: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:299: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_4);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:301: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:302: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:305: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:306: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:310: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Source,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:311: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:318: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:319: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_1);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:321: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:322: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_2);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:324: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:325: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_3);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:327: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:328: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_4);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:330: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:331: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:332: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Compliance,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:333: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:336: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:337: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:341: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_TargetPlatform,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:342: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:343: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] settings.put(CompilerOptions.OPTION_Compliance,
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:344: cannot find symbol
       [javac] symbol : variable CompilerOptions
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] CompilerOptions.VERSION_1_5);
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:347: cannot find symbol
       [javac] symbol : class IProblemFactory
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] final IProblemFactory problemFactory =
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:348: cannot find symbol
       [javac] symbol : class DefaultProblemFactory
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] new DefaultProblemFactory(Locale.getDefault());
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:350: cannot find symbol
       [javac] symbol : class ICompilerRequestor
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] final ICompilerRequestor requestor = new ICompilerRequestor() {
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:350: cannot find symbol
       [javac] symbol : class ICompilerRequestor
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] final ICompilerRequestor requestor = new ICompilerRequestor() {
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:401: cannot find symbol
       [javac] symbol : class ICompilationUnit
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] ICompilationUnit[] compilationUnits =
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:402: cannot find symbol
       [javac] symbol : class ICompilationUnit
       [javac] location: class org.apache.jasper.compiler.JDTCompiler
       [javac] new ICompilationUnit[classNames.length];
       [javac] ^
       [javac] /home/andrew/projects/jbossweb/java/org/apache/jasper/compiler/JDTCompiler.java:407: org.apache.jasper.compiler.Compiler is abstract; cannot be instantiated
       [javac] Compiler compiler = new Compiler(env,
       [javac] ^
       [javac] Note: Some input files use or override a deprecated API.
       [javac] Note: Recompile with -Xlint:deprecation for details.
       [javac] Note: Some input files use unchecked or unsafe operations.
       [javac] Note: Recompile with -Xlint:unchecked for details.
       [javac] 67 errors