bug in compiling with precompiled enum classes
-----------------------------------------------
Key: JIBX-432
URL: http://jira.codehaus.org/browse/JIBX-432
Project: JiBX
Issue Type: Bug
Components: BindGen, CodeGen
Affects Versions: JiBX 1.2.3
Environment: java 1.5, windows xp.
Reporter: Elhanan Maayan
Attachments: AgentWSRequest.xsd, esbunderwite.jar, types.xsd
when attempting to generate and bind a modular schemas, and the first schema
has a simple type converted into enum, the the 2nd schema bind fails on:
[bind] Generating code for mapping com.pnx.underwrite.legacy.esb.ResponseStatus
loaded from
C:\workdir\clientworkspace\applications\underwrite\launchers\esbgen\genbin
[bind] at
org.jibx.binding.classes.ClassFile.getClassGen(ClassFile.java:1286)
[bind] at
org.jibx.binding.classes.ClassFile.removeMethod(ClassFile.java:1339)
[bind] at
org.jibx.binding.classes.ExistingMethod.delete(ExistingMethod.java:144)
[bind] at
org.jibx.binding.classes.MungedClass.purgeUnusedMethods(MungedClass.java:151)
[bind] at
org.jibx.binding.classes.MungedClass.fixDispositions(MungedClass.java:381)
[bind] at org.jibx.binding.Compile.compile(Compile.java:237)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[bind] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[bind] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[bind] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[bind] at java.lang.reflect.Method.invoke(Method.java:592)
[bind] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[bind] at org.apache.tools.ant.Task.perform(Task.java:348)
[bind] at org.apache.tools.ant.Target.execute(Target.java:357)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[bind] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[bind] at
org.eclipse.ant.internal.launching.remote.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[bind] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[bind] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[bind] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[bind] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[bind] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[bind] at java.lang.reflect.Method.invoke(Method.java:592)
[bind] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[bind] at org.apache.tools.ant.Task.perform(Task.java:348)
[bind] at org.apache.tools.ant.Target.execute(Target.java:357)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[bind] at
org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[bind] at
org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
[bind] at
org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)
--
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
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs