Bug 5505 - Incomplete dependencies for globus_java_ws_core_test_unit
: Incomplete dependencies for globus_java_ws_core_test_unit
Status: RESOLVED FIXED
: Java WS Core
globus_wsrf_core
: unspecified
: Macintosh All
: P3 normal
: 4.2.0
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-08-29 11:33 by
Modified: 2007-09-12 15:21 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-08-29 11:33:53
Grabbing http://www.globus.org/HEAD/nightly.tar.gz and running configure/make
gt4-java-ws-core-test yields a compile error.  It looks like
globus_java_ws_core_test_unit needs to list a few more packages in its
dependencies.


compile:
    [javac] Compiling 126 source files to
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/build/classes
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/properties/TargetedXPathEnumerationTests.java:50:
package org.globus.core.registry does not exist
    [javac] import org.globus.core.registry.RegistryServiceAddressingLocator;
    [javac]                                 ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/properties/TargetedXPathEnumerationTests.java:51:
package org.globus.core.registry does not exist
    [javac] import org.globus.core.registry.RegistryPortType;
    [javac]                                 ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/properties/TargetedXPathEnumerationTests.java:59:
cannot find symbol
    [javac] symbol  : class RegistryServiceAddressingLocator
    [javac] location: class
org.globus.wsrf.impl.properties.TargetedXPathEnumerationTests
    [javac]     private RegistryServiceAddressingLocator locator = 
    [javac]             ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentTestService.java:38:
package javax.activation does not exist
    [javac] import javax.activation.DataHandler;
    [javac]                         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentTestService.java:39:
package javax.activation does not exist
    [javac] import javax.activation.FileDataSource;
    [javac]                         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentsTest.java:40:
package javax.activation does not exist
    [javac] import javax.activation.FileDataSource;
    [javac]                         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/properties/TargetedXPathEnumerationTests.java:60:
cannot find symbol
    [javac] symbol  : class RegistryServiceAddressingLocator
    [javac] location: class
org.globus.wsrf.impl.properties.TargetedXPathEnumerationTests
    [javac]         new RegistryServiceAddressingLocator();
    [javac]             ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/properties/TargetedXPathEnumerationTests.java:75:
cannot find symbol
    [javac] symbol  : class RegistryPortType
    [javac] location: class
org.globus.wsrf.impl.properties.TargetedXPathEnumerationTests
    [javac]         RegistryPortType port =
locator.getRegistryPortTypePort(getServiceAddress());
    [javac]         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/properties/TargetedXPathEnumerationTests.java:118:
cannot find symbol
    [javac] symbol  : class RegistryPortType
    [javac] location: class
org.globus.wsrf.impl.properties.TargetedXPathEnumerationTests
    [javac]         RegistryPortType port =
locator.getRegistryPortTypePort(getServiceAddress());
    [javac]         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentTestService.java:153:
cannot find symbol
    [javac] symbol  : class DataHandler
    [javac] location: class org.globus.wsrf.impl.security.AttachmentTestService
    [javac]         DataHandler dataHandler =
    [javac]         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentTestService.java:154:
cannot find symbol
    [javac] symbol  : class DataHandler
    [javac] location: class org.globus.wsrf.impl.security.AttachmentTestService
    [javac]                 new DataHandler(new FileDataSource(new
File(TEST_FILE)));
    [javac]                     ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentTestService.java:154:
cannot find symbol
    [javac] symbol  : class FileDataSource
    [javac] location: class org.globus.wsrf.impl.security.AttachmentTestService
    [javac]                 new DataHandler(new FileDataSource(new
File(TEST_FILE)));
    [javac]                                     ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentsTest.java:214:
cannot find symbol
    [javac] symbol  : class DataHandler
    [javac] location: class org.globus.wsrf.impl.security.AttachmentsTest
    [javac]             DataHandler dh = part.getDataHandler();
    [javac]             ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentsTest.java:252:
cannot find symbol
    [javac] symbol  : class DataHandler
    [javac] location: class org.globus.wsrf.impl.security.AttachmentsTest
    [javac]         DataHandler dataHandler =
    [javac]         ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentsTest.java:253:
cannot find symbol
    [javac] symbol  : class DataHandler
    [javac] location: class org.globus.wsrf.impl.security.AttachmentsTest
    [javac]                 new DataHandler(new FileDataSource(inputFile));
    [javac]                     ^
    [javac]
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/src/org/globus/wsrf/impl/security/AttachmentsTest.java:253:
cannot find symbol
    [javac] symbol  : class FileDataSource
    [javac] location: class org.globus.wsrf.impl.security.AttachmentsTest
    [javac]                 new DataHandler(new FileDataSource(inputFile));
    [javac]                                     ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 16 errors

BUILD FAILED
/Users/bacon/src/HEAD/packaging/gtTRUNK-all-source-installer/source-trees/wsrf/java/core/test/unit/build.xml:171:
Compile failed; see the compiler error output for details.

Total time: 49 seconds
ERROR: Build has failed
make: *** [globus_java_ws_core_test_unit] Error 2
------- Comment #1 From 2007-09-12 10:46:08 -------
Patch has been committed to fix this. Please test and let us know if package
builds.
------- Comment #2 From 2007-09-12 15:21:19 -------
Verified the fix, worked fine now with "make globus_java_ws_core_test_unit" in
an installer.