[Spacewalk-list] [Missing SW packages ?] : Git

Nathanaël MIETTON nathanael_albert at hotmail.com
Wed Aug 1 13:50:43 UTC 2012


Hello all,

Once i import and build my spacewalk project i get these errors.

I note the package junit.framework does not exist and the classTestListener
not found.

Are these packages are missing when i "downloaded and gitted" the project ?
Any ideas ?

I use Netbeans IDE with Struts pluggin.

Thanks in advance !

Regards,

init:
deps-clean:
Updating property file:
/home/nat/workspace1/spacewalk/nbbuild/built-clean.properties
Deleting directory /home/nat/workspace1/spacewalk/nbbuild
clean:
init:
deps-jar:
Created dir: /home/nat/workspace1/spacewalk/nbbuild
Updating property file:
/home/nat/workspace1/spacewalk/nbbuild/built-jar.properties
Created dir: /home/nat/workspace1/spacewalk/nbbuild/classes
Created dir: /home/nat/workspace1/spacewalk/nbbuild/empty
Created dir:
/home/nat/workspace1/spacewalk/nbbuild/generated-sources/ap-source-output
Compiling 18 source files to /home/nat/workspace1/spacewalk/nbbuild/classes
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:29:
package junit.framework does not exist
import junit.framework.AssertionFailedError;
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:30:
package junit.framework does not exist
import junit.framework.Test;
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:40:
cannot access junit.framework.TestListener
class file for junit.framework.TestListener not found
public class RhnCustomFormatter implements JUnitResultFormatter {
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:185:
cannot find symbol
symbol  : class Test
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    public void startTest(Test t) {
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:195:
cannot find symbol
symbol  : class Test
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    public void endTest(Test test) { }
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:204:
cannot find symbol
symbol  : class Test
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    public void addFailure(Test test, Throwable t) {
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:215:
cannot find symbol
symbol  : class Test
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    public void addFailure(Test test, AssertionFailedError t) {
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:215:
cannot find symbol
symbol  : class AssertionFailedError
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    public void addFailure(Test test, AssertionFailedError t) {
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:226:
cannot find symbol
symbol  : class Test
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    public void addError(Test test, Throwable t) {
/home/nat/workspace1/spacewalk/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java:231:
cannot find symbol
symbol  : class Test
location: class com.redhat.rhn.internal.junit.RhnCustomFormatter
    private void formatError(String type, Test test, Throwable t) {
10 errors
/home/nat/workspace1/spacewalk/nbproject/build-impl.xml:638: The following
error occurred while executing this line:
/home/nat/workspace1/spacewalk/nbproject/build-impl.xml:274: Compile
failed; see the compiler error output for details.
BUILD FAILED (total time: 10 seconds)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120801/4e47acb0/attachment.htm>


More information about the Spacewalk-list mailing list