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

Nathanaël MIETTON nathanael_albert at hotmail.com
Fri Aug 3 09:16:15 UTC 2012


Thank you for your response.
Now everything is ok except i still get these errors about SUSE packages:

Compiling 2606 source files to /home/nat/spacewalk/build/web/WEB-INF/classes
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:35:
package com.suse.studio.client does not exist
import com.suse.studio.client.SUSEStudio;
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:36:
package com.suse.studio.client.model does not exist
import com.suse.studio.client.model.Appliance;
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:37:
package com.suse.studio.client.model does not exist
import com.suse.studio.client.model.Build;
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:115:
cannot find symbol
symbol  : class Appliance
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
    private List<Image> convertAppliances(List<Appliance> appliances) {
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:89:
cannot find symbol
symbol  : class Appliance
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
        List<Appliance> ret = new ArrayList<Appliance>();
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:89:
cannot find symbol
symbol  : class Appliance
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
        List<Appliance> ret = new ArrayList<Appliance>();
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:99:
cannot find symbol
symbol  : class SUSEStudio
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
            SUSEStudio studio = new SUSEStudio(studioUser, studioKey,
studioUrl);
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:99:
cannot find symbol
symbol  : class SUSEStudio
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
            SUSEStudio studio = new SUSEStudio(studioUser, studioKey,
studioUrl);
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:117:
cannot find symbol
symbol  : class Appliance
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
        for (Appliance appliance : appliances) {
/home/nat/spacewalk/java/code/src/com/redhat/rhn/frontend/action/renderers/ImagesRenderer.java:119:
cannot find symbol
symbol  : class Build
location: class com.redhat.rhn.frontend.action.renderers.ImagesRenderer
            for (Build build : appliance.getBuilds()) {
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
10 errors
/home/nat/spacewalk/nbproject/build-impl.xml:543: The following error
occurred while executing this line:
/home/nat/spacewalk/nbproject/build-impl.xml:297: Compile failed; see the
compiler error output for details.
BUILD FAILED (total time: 1 minute 38 seconds)

I don't find these packages ... does anyone know something about these
packages ? Where they could be downloaded ?

Thanks a lot !!


Nat

2012/8/1 Tomas Lestach <tlestach at redhat.com>

> **
>
> 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)
>
>
>



-- 
Nathanaël
06 51 88 84 96
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120803/7e70bff7/attachment.htm>


More information about the Spacewalk-list mailing list