Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Data source XML gets cannot be resolved to a type warning

    GWT version: 2.5.0
    SmartGWT version: 3.1-p20130419

    I have the following data source file:

    Code:
    <DataSource 
    	dbName="Mysql"
    	tableName="contactlists"
    	ID="contactlists"
    	dataSourceVersion="1"
    	generatedBy="v8.3p_2013-02-26/EVAL Deployment 2013-02-26"
    	serverType="sql"
    >
    	<fields>
    		<field name="ID"                        title="ID"            type="sequence"          hidden="true" primaryKey="true"/>
    		<field name="AccountID"                 title="Account ID"    type="integer"           hidden="true" foreignKey="accounts.ID"/>
    		<field name="Name"                      title="Name"          type="text" length="45"  hidden="false"/>
    		<field name="UploadedFile"              title="Uploaded File" type="binary"            hidden="true"/>
    		<field name="UploadedFile_filename"     title="File Name"     type="text" length="255" hidden="false"/>
    		<field name="UploadedFile_filesize"     title="Size"          type="integer"           hidden="false"/>
    		<field name="UploadedFile_date_created" title="Date Created"  type="datetime"          hidden="false"/>
    	</fields>
    </DataSource>
    On line 11 with the foreign key specification I'm getting an Eclipse warning of "cannot be resolved to a type." Is there any way to get rid of this warning?

    #2
    Eclipse has no valadition behavior that is even applicable to this file. Please specify exactly where this message is appearing, why you think it's related to this file, and any other context you can provide.

    Comment


      #3
      Originally posted by Isomorphic View Post
      Eclipse has no valadition behavior that is even applicable to this file. Please specify exactly where this message is appearing, why you think it's related to this file, and any other context you can provide.
      The data source file is in the resource area/directory and so I believe Eclipse validates that area.

      I've attached a screen shot of Eclipse warning. Because I had to reduce the GIF file to 800X325 it may be a bit hard to read.
      Attached Files

      Comment


        #4
        The screenshot is illegible (sometimes a picture is not worth a thousand words) but whatever odd Eclipse feature has decided that it knows something about this file and can validate it, it has only produced a warning. So, ignore it, or at your leisure try to figure out what you installed that is doing inappropriate levels of validation, and disable it.

        Comment

        Working...
        X