Bug 544090

Summary: building cobbler4j source fails
Product: [Fedora] Fedora Reporter: wes hayutin <whayutin>
Component: cobblerAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED NEXTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: awood, dgoodwin, jeckersb
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: na
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-09 15:48:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 544086    

Description wes hayutin 2009-12-03 21:45:40 UTC
Description of problem:

building cobbler4j source fails.

Getting the following error when building from src from fedora hosted
git sha 16a9c9151f15a92687fbdba6bd76e7612efaf7cc


root@whayutin cobbler4j]# ant
Buildfile: build.xml

clean:
   [delete] Deleting directory /COBBLER/cobbler/cobbler4j/build
   [delete] Deleting directory /COBBLER/cobbler/cobbler4j/src/org/fedorahosted/cobbler/autogen

init:

generateClasses:
     [exec] TEMPLATING object_base.tmpl to src/org/fedorahosted/cobbler/autogen/Distro.java
     [exec] TEMPLATING object_base.tmpl to src/org/fedorahosted/cobbler/autogen/Profile.java
     [exec] TEMPLATING object_base.tmpl to src/org/fedorahosted/cobbler/autogen/SystemRecord.java
     [exec] TEMPLATING object_base.tmpl to src/org/fedorahosted/cobbler/autogen/Repo.java
     [exec] TEMPLATING object_base.tmpl to src/org/fedorahosted/cobbler/autogen/Image.java

build:
    [mkdir] Created dir: /COBBLER/cobbler/cobbler4j/build
    [javac] Compiling 16 source files to /COBBLER/cobbler/cobbler4j/build
    [javac] /COBBLER/cobbler/cobbler4j/src/org/fedorahosted/cobbler/test/Fixture.java:27: cannot find symbol
    [javac] symbol  : variable Config
    [javac] location: class org.fedorahosted.cobbler.test.Fixture
    [javac]         xmlrpc = new CobblerConnection(Config.getHostname(), Config.getUser(),
    [javac]                                        ^
    [javac] /COBBLER/cobbler/cobbler4j/src/org/fedorahosted/cobbler/test/Fixture.java:27: cannot find symbol
    [javac] symbol  : variable Config
    [javac] location: class org.fedorahosted.cobbler.test.Fixture
    [javac]         xmlrpc = new CobblerConnection(Config.getHostname(), Config.getUser(),
    [javac]                                                              ^
    [javac] /COBBLER/cobbler/cobbler4j/src/org/fedorahosted/cobbler/test/Fixture.java:28: cannot find symbol
    [javac] symbol  : variable Config
    [javac] location: class org.fedorahosted.cobbler.test.Fixture
    [javac]                 Config.getPassword());
    [javac]                 ^
    [javac] /COBBLER/cobbler/cobbler4j/src/org/fedorahosted/cobbler/test/RepoTests.java:21: cannot find symbol
    [javac] symbol  : variable Config
    [javac] location: class org.fedorahosted.cobbler.test.RepoTests
    [javac]         testRepo.setMirror("rsync://" + Config.getCentosMirror());
    [javac]                                         ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 errors

BUILD FAILED
/COBBLER/cobbler/cobbler4j/build.xml:27: Compile failed; see the compiler error output for details.

Total time: 2 seconds
[root@whayutin cobbler4j]#

Comment 1 Devan Goodwin 2009-12-04 13:41:38 UTC
My bad, missed a file on a recent commit.

Fixed in 33e4e021ab1bd49a8ecbf27f4185e128f90a6540.