Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: JiBX 1.2.1
-
Fix Version/s: None
-
Component/s: CodeGen
-
Labels:None
-
Environment:windows 7
-
Number of attachments :
Description
the same project works in one eclipse workspace but does not work on another when "codegen" ant task is run. The same problem appears in different developers machines (not all though, some get the problem and some don't) -
Output when error occurrs
—
[echo] Running cust generation from schema
[java] Warning: Undefined attribute names for SchemaCustom at (source unknown)
[java] ERROR codegen.CodeGen - Error: Multiple matches to schema account.xsd (first match SchemaCustom at (line 4, col 14)) for SchemaCustom at (line 7, col 14)
[java] Error: Multiple matches to schema account.xsd (first match SchemaCustom at (line 4, col 14)) for SchemaCustom at (line 7, col 14)
[java] Terminating due to errors in customized schemas
—
Same exact project when codegen runs successfully on different eclipse workspace on same machine or on different developers machine
—
[echo] Running cust generation from schema
[java] Warning: Undefined attribute names for SchemaCustom at (source unknown)
[java] Loaded and validated 1 specified schema(s) and 1 referenced schema(s)
[java] Generated 1 top-level classes in package com.labcorp.ncp.domain.jibxtest.common.types
[java] Generated 1 top-level classes in package com.labcorp.ncp.domain.jibxtest.account
[java] Total classes in model: 2
BUILD SUCCESSFUL
Total time: 1 second
—
I'm not sure what I can do to try to resolve an intermittent problem dealing with Eclipse workspaces. I'll try to at least provide a more useful error message in hopes of tracking this down, though.