Find some error in your codes

hxfcalf
2010-12-29
2013-03-22
  • hxfcalf
    hxfcalf
    2010-12-29

    package com.infocetera.connect
    public class JSConnect extends SocketApplet {
      …
      shouldTokenizeMsg = false;  //error

        public void initConnection() {
            super.initConnection();
            System.err.println("ID: " + sessionId);

            write("START <" + directory + "><" + user + "><" + sessionId + ">");  //error
            write("ID " + myid);                                                                            //error


    package com.infocetera.tableview;

    public class TableView extends ScrollCanvas implements ItemListener,
            ActionListener, KeyListener, MouseListener, MouseMotionListener {

        public void paint(Graphics g) {  //error, parent method has a " final " define

     
  • hxfcalf
    hxfcalf
    2010-12-29

    package org.ramadda.db
    ….
    public class DbTypeHandler extends BlobTypeHandler {

                    js.append(mapVarName+".addMarker(''," +               //error, repeat +
                              + MapOutputHandler.newllp(south, east) +
                              "," + HtmlUtil.squote(icon) +
                              "," + HtmlUtil.squote(info) +
                              ");\n");
                } else {
                    if ( !makeRectangles) {
                        js.append(mapVarName+".addMarker(''," +          //error, repeat +
                                  + MapOutputHandler.newllp(south, east) +
                                  "," + HtmlUtil.squote(icon) +
                                  "," + HtmlUtil.squote(info) +
                                  ");\n");

                    } else {
                        js.append(mapVarName+".addMarker(''," +                               //error, repeat +
                                  + MapOutputHandler.newllp(south+ (north - south) / 2,
                                                            west + (east - west) / 2) +

     
  • hxfcalf
    hxfcalf
    2010-12-29

    package com.infocetera.common;  //error  should be package com.infocetera.tableview;

    public class IfcApplet extends Applet {

    package com.infocetera.tableview;


    import com.infocetera.common.*; //error, no this package

    public class TableView extends ScrollCanvas implements ItemListener,

     
  • hxfcalf
    hxfcalf
    2010-12-29

    package com.infocetera.tableview;

    import com.infocetera.common.*; //error, no this package
    public class TableViewApplet extends IfcApplet {

     
  • Jeff McWhirter
    Jeff McWhirter
    2011-01-01

    Are you compiling all of the source under the com tree? There are some packages from prior work of mine from 10+ years ago that are just there and are not used. If you use the top-level ant script the compile should be OK.

    -Jeff

     
  • hxfcalf
    hxfcalf
    2011-01-04

    Hi,Jeff
    All the codes comes from svn check out, and before compile it I always check the newest codes out. So 10+ years ago code should not occur.

     
  • Jeff McWhirter
    Jeff McWhirter
    2011-01-04

    Sorry. I meant that there was some code I wrote quite some time ago that was checked in but did not compile. It should now but how are you building ramadda? Are you using the ANT script?

     
  • hxfcalf
    hxfcalf
    2011-01-05

    I`m using Windows netbeans , It have a snv client plugin, I use it checkout the src, lib, and use these form a new project. So, I`m not use your ant script.
    Today, I`m work in Fedora, it work very well.
    Thanks a lot for your help.