Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      164

      Description

      It is difficult to work with uc in netbeans. It is a fairly small project, at
      least compared to glassfish, but there are a LOT of separate nb projects.

      Recommendations:
      1) Create ONE NB project that encompasses everything.
      2) Design this one project so that it can easily be built, run and debugged
      directly inside NB.

      Note that the source file layout can stay as is – it's just the NB project
      itself that needs to be setup.

        Activity

        Hide
        Byron Nevins added a comment -

        Created an attachment (id=10)
        nbproject directory for a "mega-updatecenter" project

        Show
        Byron Nevins added a comment - Created an attachment (id=10) nbproject directory for a "mega-updatecenter" project
        Hide
        Byron Nevins added a comment -

        I created a project that is useful but imperfect. I've attached it for your
        amusement. You unzip it into your "updatecenter" build directory. I.e. it
        should look like this:

        C:/work-dir/updatecenter/nbproject

        When you open this project, it does this:

        ALL of the source code for UC is under this one project.
        You can enter "Alt-Shift-O" and jump ro any other class in the project instantly
        I.e. it is very handy for debugging and editing, not for building.

        Unfortunately the red wavy lines are everywhere, a little more work needs to be
        done on the classpath.

        What I did for the classpath (it's supposed to work!) is put the following in
        %HOME%/build.properties

        JDIC_STUB_LIB=C:/uc/lib/jdic/windows
        UPDATECENTER_HOME=c:/uc
        nb.code.completion.path2=$

        {UPDATECENTER_HOME}/lib/updatecenter.jar;${UPDATECENTER_HOME}

        /lib/updatecenter-gui.jar;$

        {UPDATECENTER_HOME}/lib/updatecenter-javahelp.jar;${UPDATECENTER_HOME}

        /lib/jhall.jar;$

        {UPDATECENTER_HOME}/lib/swing-layout-1.0.1.jar;${JDIC_STUB_LIB}/jdic_stub.jar;${UPDATECENTER_HOME}

        /lib/jdic/jdic.jar;

        – the nbproject files refer to this path...

        Show
        Byron Nevins added a comment - I created a project that is useful but imperfect. I've attached it for your amusement. You unzip it into your "updatecenter" build directory. I.e. it should look like this: C:/work-dir/updatecenter/nbproject When you open this project, it does this: ALL of the source code for UC is under this one project. You can enter "Alt-Shift-O" and jump ro any other class in the project instantly I.e. it is very handy for debugging and editing, not for building. Unfortunately the red wavy lines are everywhere, a little more work needs to be done on the classpath. What I did for the classpath (it's supposed to work!) is put the following in %HOME%/build.properties JDIC_STUB_LIB=C:/uc/lib/jdic/windows UPDATECENTER_HOME=c:/uc nb.code.completion.path2=$ {UPDATECENTER_HOME}/lib/updatecenter.jar;${UPDATECENTER_HOME} /lib/updatecenter-gui.jar;$ {UPDATECENTER_HOME}/lib/updatecenter-javahelp.jar;${UPDATECENTER_HOME} /lib/jhall.jar;$ {UPDATECENTER_HOME}/lib/swing-layout-1.0.1.jar;${JDIC_STUB_LIB}/jdic_stub.jar;${UPDATECENTER_HOME} /lib/jdic/jdic.jar; – the nbproject files refer to this path...
        Hide
        Byron Nevins added a comment -

        too late.

        Show
        Byron Nevins added a comment - too late.

          People

          • Assignee:
            sv96363
            Reporter:
            Byron Nevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: