Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JiBX 1.1.6
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
diablo@diablo jibx.orig % ant -f build/build.xml jar-tools
Buildfile: build/build.xml
setdebug:
jar-tools:
[mkdir] Created dir: /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/classes/tools
[javac] Compiling 1 source file to /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/classes/tools
[javac] /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/src/org/jibx/binding/Utility.java:414: warning: [deprecation] toURL() in java.io.File has been deprecated
[javac] file.toURL(), valid);
[javac] ^
[javac] 1 warning
[jar] Building jar: /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/lib/jibx-genbinding.jar
[delete] Deleting directory /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/classes/tools
[mkdir] Created dir: /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/classes/tools
[javac] Compiling 1 source file to /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/classes/tools
[javac] /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/src/org/jibx/binding/SchemaGenerator.java:181: cannot find symbol
[javac] symbol : constructor ClassWrapper(org.jibx.binding.classes.ClassFile)
[javac] location: class org.jibx.binding.model.ClassWrapper
[javac] return new ClassWrapper(ClassCache.getClassFile(name));
[javac] ^
[javac] /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/src/org/jibx/binding/SchemaGenerator.java:385: cannot find symbol
[javac] symbol : method getMapAsMapping()
[javac] location: class org.jibx.binding.model.StructureElement
[javac] TemplateElementBase templ = structure.getMapAsMapping();
[javac] ^
[javac] /home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/src/org/jibx/binding/Utility.java:414: warning: [deprecation] toURL() in java.io.File has been deprecated
[javac] file.toURL(), valid);
[javac] ^
[javac] 2 errors
[javac] 1 warning
BUILD FAILED
/home/diablo/dev/gentoo-java/build/dev-java/jibx-tools/jibx.orig/build/build.xml:1194: Compile failed; see the compiler error output for details.
Total time: 10 seconds
I have attached patch for 1.1.5 version but I am not sure if it is correct because I did not find a way to run tests.
Please check it and confirm if it is ok.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | JiBX 1.1.5 [ 13506 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] | |
| Assignee | Dennis Sosnoski [ dsosnoski ] | |
| Fix Version/s | JiBX 1.1.6 [ 14068 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Fixed in current CVS code, along with a couple of small enhancements to the binding and schema generation.