Build error for project xutil: CodedValueType => "cannot find symbol"

  6 posts   Feedicon  
Replies: 5 - Last Post: November 16, 2009 11:08
by: RashmiG
showing 1 - 6 of 6
 
Posted: August 24, 2009 16:10 by Jim

Bernie and forum members,

I have recently updated my SVN source copy to Rev 72, and now I am seeing an error that I have not seen before, and am not familiar with. Google searches were not much of any help.

The SetupGuide is an excellent writeup, clear, crisp and concise, but I am unable to see where I might have gone wrong in following it. I do not recall seeing this error with the previous SVN source that I had from about a week or so ago. Perhaps the source code is in a sate of flux?

At any rate, the following describes what I am seeing on this end. Any pointers to what I am doing wrong would be most appreciated.

At the point of "Build Steps" of the SetupGuide, the specified build order is

1. omar
2. xutil
3. adt
...
12. xca

omar builds fine, but xutil does not.

I am seeing this in the output log:

[START output log]

init:
deps-clean:
Deleting directory S:\HIEOS\SVN\src\xutil\build
clean:
init:
deps-jar:
xjc-typedef-target:
jaxb-code-generation:
Created dir: S:\HIEOS\SVN\src\xutil\build\generated-sources\jaxb
Created dir: S:\HIEOS\SVN\src\xutil\build\generated\jaxbCache
Created dir: S:\HIEOS\SVN\src\xutil\build\generated\jaxbCache\ATNA_JAXB
Compiling file:/S:/HIEOS/SVN/src/xutil/xml-resources/jaxb/ATNA_JAXB/healthcare-security-audit.xsd
Writing output to S:\HIEOS\SVN\src\xutil\build\generated\jaxbCache\ATNA_JAXB
Copying 8 files to S:\HIEOS\SVN\src\xutil\build\generated-sources\jaxb
Created dir: S:\HIEOS\SVN\src\xutil\build\classes
Compiling 122 source files to S:\HIEOS\SVN\src\xutil\build\classes

S:\HIEOS\SVN\src\xutil\src\com\vangent\hieos\xutil\atna\AuditMessageBuilder.java:39: cannot find symbol
symbol  : class CodedValueType
location: class com.vangent.hieos.xutil.atna.AuditMessageBuilder
    private CodedValueType eventId;

S:\HIEOS\SVN\src\xutil\src\com\vangent\hieos\xutil\atna\AuditMessageBuilder.java:40: cannot find symbol
symbol  : class CodedValueType
location: class com.vangent.hieos.xutil.atna.AuditMessageBuilder
    private CodedValueType eventType;

...

and so on for another 65 cases of "cannot find symbol"

...

[END output log]

Thanks for any insight.

Jim

 
Posted: August 25, 2009 04:35 by Bernie Thuman
This is likely due to a recent upgrade to NetBeans IDE 6.7.1 project files. Are you able to try a build using this version of NetBeans? The Wiki documentation is really geared to the tagged 1.0 version (based on NetBeans 6.5.1) -- the trunk is "a work in progress".

Please let me know and sorry for the inconvenience.
 
Posted: August 26, 2009 16:01 by Anonymous User
Hi Bernie,

RE: Are you able to try a build using this version of NetBeans?

Yes, I have now installed both Netbeans 6.5.1 and Netbeans 6.7.1 on my dev platform, as well as the app servers:

GlassFish ESB v2.1
GlassFish v2.1
GlassFish v3-prelude

so I am in a position to test for a variety of combinations.


As to the SVN versions, I have some feedback for you:

[1] Netbeans 6.5.1 + SVN at /tags/hieos-1.0 => Builds as expected (no errors)

[2] Netbeans 6.7.1 + SVN at /trunk => Builds as expected (no errors)

[3] And of course, Netbeans 6.5.1 + SVN at /trunk produced the error(s) which prompted the original post.


Perhaps the SetupGuide should be updated with this information (specifically, the "Check-out Procedure", step 4)?


Thanks for the update on the status of code in SVN!

Jim
 
Posted: November 03, 2009 11:15 by RashmiG
Hi,

I'm using eclipse instead of netbeans and I get these compile errors for the class 'XATNALogger' and 'AuditMessageBuilder' as below:

CodedValueType cannot be resolved to a type.

Can anybody guide me please
 
Posted: November 03, 2009 15:57 by anandsastry
CodedValueType is a generated JAXB type, based on the schema, healthcare-security-audit.xsd, that is a part of xutil.

HIEOS has been built using Netbeans 6.7.1. It's project files, that have been checked in, are responsible for managing dependencies such as XJC compliation of the above schema, JAXB type generation, and subsequent compilation of those generated types. Hence, you should have no issues if you use Netbeans.

Since you are using Eclipse, you will have to manage these dependencies yourself. You could choose to use Eclipse projects to help with the dependencies or set up all dependencies in an ant-based framework that is IDE agnostic.
 
Posted: November 16, 2009 11:08 by RashmiG
Thanks Anand,

I switched to using netbeans instead. I couldn't find how to work it out in eclipse.
showing 1 - 6 of 6
Replies: 5 - Last Post: November 16, 2009 11:08
by: RashmiG
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close