[Spacewalk-list] [Missing SW packages ?] : Git
Tomas Lestach
tlestach at redhat.com
Wed Aug 1 14:18:13 UTC 2012
Hello,
I've never used Netbeans, but from the build output you do not link junit.
Looking at my machine:
$ rpm -q junit
junit-3.8.2-8.fc15.noarch
$ rpm -ql junit | grep jar
/usr/share/java/junit-3.8.2.jar
/usr/share/java/junit.jar
$ jar tf /usr/share/java/junit.jar | grep ^junit\/framework
junit/framework/
junit/framework/Assert.class
junit/framework/AssertionFailedError.class
junit/framework/ComparisonCompactor.class
junit/framework/ComparisonFailure.class
junit/framework/Protectable.class
junit/framework/Test.class
junit/framework/TestCase.class
junit/framework/TestFailure.class
junit/framework/TestListener.class
junit/framework/TestResult$1.class
junit/framework/TestResult.class
junit/framework/TestSuite$1.class
junit/framework/TestSuite.class
Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering
On Wednesday 01 of August 2012 15:50:43 Nathanaël MIETTON wrote:
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/394949b0/attachment.htm>
More information about the Spacewalk-list
mailing list