Hi,

I am trying to run the jbosstest's from CVS, but get the following compile
errors

compile:
    [javac] Compiling 1 source file to
/home/kimptoc/jboss/jbossrw/jbosstest/build/classes
    [javac]
/home/kimptoc/jboss/jbossrw/jbosstest/src/main/org/jboss/test/security/test/
TestProjRepository.java:11: Class org.apache.log4j.Category not found in
import.
    [javac] import org.apache.log4j.Category;
    [javac]        ^
    [javac]
/home/kimptoc/jboss/jbossrw/jbosstest/src/main/org/jboss/test/security/test/
TestProjRepository.java:12: Class org.apache.log4j.FileAppender not found in
import.
    [javac] import org.apache.log4j.FileAppender;
    [javac]        ^
    [javac]
/home/kimptoc/jboss/jbossrw/jbosstest/src/main/org/jboss/test/security/test/
TestProjRepository.java:13: Class org.apache.log4j.NDC not found in import.
    [javac] import org.apache.log4j.NDC;
    [javac]        ^
    [javac]
/home/kimptoc/jboss/jbossrw/jbosstest/src/main/org/jboss/test/security/test/
TestProjRepository.java:14: Class org.apache.log4j.PatternLayout not found
in import.
    [javac] import org.apache.log4j.PatternLayout;
    [javac]        ^
    [javac]
/home/kimptoc/jboss/jbossrw/jbosstest/src/main/org/jboss/test/security/test/
TestProjRepository.java:15: Class org.apache.log4j.Priority not found in
import.
    [javac] import org.apache.log4j.Priority;
    [javac]        ^
    [javac]
/home/kimptoc/jboss/jbossrw/jbosstest/src/main/org/jboss/test/security/test/
TestProjRepository.java:17: Class org.jboss.security.SimplePrincipal not
found in import.
    [javac] import org.jboss.security.SimplePrincipal;
    [javac]        ^
    [javac] 6 errors

BUILD FAILED

/home/kimptoc/jboss/jbossrw/jbosstest/src/build/build.xml:57: Error starting
classic compiler:
/home/kimptoc/jboss/jbossrw/jbosstest/src/build/build.xml:57: Compile
failed, messages should have been provided.
        at
org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:480)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:332)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:400)
        at org.apache.tools.ant.Main.main(Main.java:130)

Total time: 3 seconds
Error starting classic compiler:


Do I need to have log4j on my classpath beforehand?  Although this wouldn't
cover the SimplePrincipal error...



I presume that to use jbosstest, you do the following;

get the latest from cvs
go into the src/build directory and run "sh build.sh" - for unix anyway -
then deploy the dist/deploy files and then run the "sh build.sh -f
run_tests.xml" to run the tests?


Thanks in advance,
Chris

================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and 
are sent for the personal attention of the addressee. Although you may be the named 
recipient, it may become apparent that this email and its contents are not intended 
for you and an addressing error has been made. This email may include information that 
is legally privileged and exempt from disclosure. If you have received this email in 
error, please advise us immediately and delete this email and any attachments from 
your computer system.Rabobank International is the trading name of Coöperatieve 
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. 
Registered with the Registrar of Companies for England & Wales No. BR002630 and 
regulated by the SFA for the conduct of investment business in the UK.

The presence of this footnote also confirms that this email has been automatically 
checked by Rabobank International for the presence of computer viruses prior to it 
being sent, however, no guarantee is given or implied that this email is virus free 
upon delivery.



Reply via email to