"ant -f build/build.xml jar-tools" does not compile
----------------------------------------------------
Key: JIBX-207
URL: http://jira.codehaus.org/browse/JIBX-207
Project: JiBX
Issue Type: Bug
Reporter: Alex Fansky
Fix For: JiBX 1.1.5
Attachments: jibx-tools-1.1.5-fixes.patch
[EMAIL PROTECTED] 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs