Admin: Java CoG Kit REU

From Java CoG Kit

Jump to: navigation, search

Goal of this project is to improve the Java CoG Kit graphical components and the code in general. Please add tasks to this page but sort them by topics. It also contains some tasks for Guru.

The code for this is at svn co https://www.sourceforge.net/svnroot/cogkit/trunk/7. IN eclipse point to https://www.sourceforge.net/svnroot/cogkit/trunk/ chose 7 and create a Java project with the name "Project7".


Contents

Source forge maintenance

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)

Grid FTP Browser

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)

GridShell

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.


GridImageviewer

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)

GridLog

This is a new component that is used across a variety of other components that is used to Log the output, we have so much duplication of this all over the code as everyone write his own that I like to see just one.

This should be used aslo in Karajan, GridShell, and every other GUI component that we have

log4j

All occurences of

EXAMPLE:

static Logger logger = Logger.getLogger(JobSubmission.class.getName());

should be replaced with

static Logger logger = Logger.getLogger(JobSubmission.class);

A note in the coding guidelines on the use of loggers need to be added.

naturaly the class name may be different from JobSubmission ;-)

This has been done but should be confirmed once more. The guide needs to be updated

Workflow component editor

Create a component list from the Workflow directory and allow karajan to interface with them. e.g. when I click on one component, it shows up in the karajan editor.

GT2 Providers

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)
[ ] we have the GT2 and the GT2FT provider in seperat modules. They should be moved into one module.
[ ] code cleanup, javadoc ...
[ ] doicumentation and example
[ ] The joint provider should be "PRE-WS" as it is still in GT4.


GT3 Providers

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)
[ ] we have the GT2 and the GT2FT provider in seperat modules. They should be moved into one module.
[ ] code cleanup, javadoc ...
[ ] doicumentation and example
[ ] The joint provider should be "PRE-WS" as it is still in GT4.
[ ] We will be completly eliminating GT3 providers from the build process. In near future, we will even remove them from the source.

Reducing the number of modules

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)
[ ] we have the GT2 and the GT2FT provider in seperat modules. They should be moved into one module.
[ ] code cleanup, javadoc ...
[ ] doicumentation and example
[ ] The joint provider should be "PRE-WS" as it is still in GT4.
[ ] We will be completly eliminating GT3 providers from the build process. In near future, we will even remove them from the source.
[ ] we have too many modules that are in many cases necessary. The proposal is to reorganize the gt2 and GT3 modules as mentioned before
[ ] join the modules abstraction-*
[ ] join the module setup
[ ] all
[ ] resources
[ ] broker - I need to caheck if broker belongs here (Gregor)
[ ] the resulting module will be called "common"

SVN

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)
[ ] we have the GT2 and the GT2FT provider in seperat modules. They should be moved into one module.
[ ] code cleanup, javadoc ...
[ ] doicumentation and example
[ ] The joint provider should be "PRE-WS" as it is still in GT4.
[ ] We will be completly eliminating GT3 providers from the build process. In near future, we will even remove them from the source.
[ ] we have too many modules that are in many cases necessary. The proposal is to reorganize the gt2 and GT3 modules as mentioned before
[ ] join the modules abstraction-*
[ ] join the module setup
[ ] all
[ ] resources
[ ] broker - I need to caheck if broker belongs here (Gregor)
[ ] the resulting module will be called "common"
[ ] switch the whole code maintenance to SVN.

Skin

Refactor the following images to constants to prepare for a skin. See Imageviewerimpl for an example.

gridface/impl/desktop/AbstractDesktop.java:    this.setWallpaper(org.cogkit.util.ImageLoader.loadIcon("images/logos/cogdesktop.png"));
gridface/impl/desktop/GridDesktopContainer.java:    this.setIconImage(ImageLoader.loadIcon("images/logos/globus-icon.png").getImage());
gridface/impl/desktop/GridDesktopContainer.java:    this.setIconImage(ImageLoader.loadIcon("images/logos/globus-icon.png").getImage());
gridface/impl/desktop/GridDesktopContainer.java:    "images/32x32/co/view-tree.png");
gridface/impl/desktop/GridDesktopContainer.java:    "images/32x32/co/kdmconfig.png");
gridface/impl/desktop/GridDesktopContainer.java:    "images/32x32/co/fileshare.png");
gridface/impl/desktop/GridDesktopContainer.java:// "images/32x32/co/setup-icon.png");
gridface/impl/desktop/GridDesktopContainer.java:    newIcon.setIconImageURI("images/32x32/co/setup-icon.png");
gridface/impl/desktop/GridDesktopContainer.java:// "images/32x32/co/window-globus.png");
gridface/impl/desktop/GridDesktopContainer.java:    newIcon.setIconImageURI("images/32x32/co/window-globus.png");
gridface/impl/desktop/GridDesktopContainer.java:    "images/32x32/co/window-graph.png"){
gridface/impl/desktop/GridDesktopContainer.java:    //DesktopUtilities.showSplashWindow("images/logos/about.png",null,100);
gridface/impl/desktop/icons/AbstractIcon.java:    return "images/32x32/co/binary.png";
gridface/impl/desktop/icons/GenericIconImpl.java:    return "images/32x32/co/win-doc.png";
gridface/impl/desktop/icons/GenericIconImpl.java:    return "images/32x32/co/win-vsd.png";
gridface/impl/desktop/icons/GenericIconImpl.java:    return "images/32x32/co/win-pdf.png";
gridface/impl/desktop/icons/GenericIconImpl.java:    return "images/32x32/co/win-xls.png";
gridface/impl/desktop/icons/GenericIconImpl.java:    return "images/32x32/co/win-ppt.png";
gridface/impl/desktop/icons/GridIconImpl.java:    return "images/32x32/co/kcmsystem.png";
gridface/impl/desktop/icons/GridIconImpl.java:    return "images/32x32/co/jobspec-icon.png";
gridface/impl/desktop/icons/GridIconImpl.java:    return "images/32x32/co/konsole2.png";
gridface/impl/desktop/icons/GridIconImpl.java:    return "images/32x32/co/window-globus-ogsa.png";
gridface/impl/desktop/icons/GridIconImpl.java:    this.addOverlay("images/32x32/co/button-ok.png",true);
gridface/impl/desktop/icons/GridIconImpl.java:    this.addOverlay("images/32x32/co/button-cancel.png",true);
gridface/impl/desktop/icons/GridIconImpl.java:    this.addOverlay("images/32x32/co/task.png",true);
gridface/impl/desktop/icons/GridIconImpl.java:    this.addOverlay("images/32x32/bw/button-cancel.png",true);
gridface/impl/desktop/icons/GridIconImpl.java:    this.addOverlay("images/32x32/bw/exec.png",true);
gridface/impl/desktop/icons/GridIconImpl.java:    this.addOverlay("images/32x32/co/exit.png",true);
gridface/impl/desktop/util/GCMLoggerTable.java:    public static ImageIcon unknownStatusImage= new ImageIcon(ImageLoader.loadIcon("images/32x32/co/exit.png").getImage().getScaledInstance(10,10,Image.SCALE_AREA_AVERAGING));
gridface/impl/desktop/util/GCMLoggerTable.java:    public static ImageIcon cancelledImage= new ImageIcon(ImageLoader.loadIcon("images/32x32/bw/button-cancel.png").getImage().getScaledInstance(10,10,Image.SCALE_AREA_AVERAGING));
gridface/impl/desktop/util/GCMLoggerTable.java:    public static ImageIcon completedImage= new ImageIcon(ImageLoader.loadIcon("images/32x32/co/button-ok.png").getImage().getScaledInstance(10,10,Image.SCALE_AREA_AVERAGING));
gridface/impl/desktop/util/GCMLoggerTable.java:    public static ImageIcon failImage= new ImageIcon(ImageLoader.loadIcon("images/32x32/co/button-cancel.png").getImage().getScaledInstance(10,10,Image.SCALE_AREA_AVERAGING));
gridface/impl/desktop/util/GCMLoggerTable.java:    public static ImageIcon activeImage= new ImageIcon(ImageLoader.loadIcon("images/32x32/co/task.png").getImage().getScaledInstance(10,10,Image.SCALE_AREA_AVERAGING));
gridface/impl/desktop/util/GCMLoggerTable.java:    public static ImageIcon suspendedImage= new ImageIcon(ImageLoader.loadIcon("images/32x32/co/exec.png").getImage().getScaledInstance(10,10,Image.SCALE_AREA_AVERAGING));


gui/about/CoGAbout.java:    setImageResource("images/logos/about.png");
gui/about/CoGAboutBeanInfo.java:    super("about-icon.png");

gui/grapheditor/ant/AntNode.java:    setIcon(ImageLoader.loadIcon("images/16x16/co/task.png"));
gui/grapheditor/ant/AntRenderer.java:    ImageLoader.loadIcon("images/16x16/co/overlay-running.png").getImage()));
gui/grapheditor/ant/AntRenderer.java:    ImageLoader.loadIcon("images/16x16/co/overlay-failed.png").getImage()));
gui/grapheditor/ant/AntRenderer.java:    ImageLoader.loadIcon("images/16x16/co/overlay-completed.png").getImage()));
gui/grapheditor/ant/EchoNode.java:    loadIcon("images/ant-echo.png");
gui/grapheditor/ant/FlowEdge.java:    loadIcon("images/ant-flow.png");
gui/grapheditor/ant/ForNode.java:    loadIcon("images/ant-for.png");
gui/grapheditor/ant/ForNodeEnd.java:    loadIcon("images/dot.png"); 
gui/grapheditor/ant/JoinNode.java:    loadIcon("images/dot.png");
gui/grapheditor/ant/ParallelNode.java:    loadIcon("images/ant-parallel.png");
gui/grapheditor/ant/ProjectPropertyNode.java:    loadIcon("images/ant-property.png");
gui/grapheditor/ant/SerialNode.java:    loadIcon("images/ant-sequential.png");
gui/grapheditor/ant/TargetCanvas.java:    execute.setIcon(il.loadImage("images/ant-execute.png"));
gui/grapheditor/ant/TargetDependency.java:    loadIcon("images/ant-dependency.png");
gui/grapheditor/ant/TargetNode.java:    loadIcon("images/ant-target.png");

gui/grapheditor/edges/LoopEdge.java:    getProperty("icon").setValue(ImageLoader.loadIcon("images/icon-arrow.png"));
gui/grapheditor/edges/SimpleArrow.java:    private static Icon ICON = ImageLoader.loadIcon("images/16x16/co/arrow.png");

gui/grapheditor/generic/GenericNode.java:    private static Icon ICON = ImageLoader.loadIcon("images/16x16/co/task.png");
gui/grapheditor/generic/StatusIconHelper.java:    ImageLoader.loadIcon("images/16x16/co/overlay-running.png").getImage()));
gui/grapheditor/generic/StatusIconHelper.java:    ImageLoader.loadIcon("images/16x16/co/overlay-failed.png").getImage()));
gui/grapheditor/generic/StatusIconHelper.java:    ImageLoader.loadIcon("images/16x16/co/overlay-completed.png").getImage()));

gui/grapheditor/targets/html/GenericHTMLEdgeRenderer.java:    String imageName = "arrow" + d.width + "x" + d.height + ".png";
gui/grapheditor/targets/html/GenericHTMLNodeRenderer.java:    iconName = "icon" + iconIndex++ + ".png";
gui/grapheditor/targets/html/HtmlGraphView.java:    wr.write("if (edges[i].indexOf(\"x0.png\") >= 0){\n");

gui/grapheditor/targets/svg/GenericSVGNodeRenderer.java:    iconName = "icon"+iconIndex+++".png";

gui/grapheditor/targets/swing/SwingCanvasRenderer.java:    private static Icon ICON_CLOSE = ImageLoader.loadIcon("images/16x16/co/fileclose.png");
gui/grapheditor/targets/swing/SwingCanvasRenderer.java:    aboutBean.setImageResource("images/logos/about-small.png");
gui/grapheditor/targets/swing/SwingRootCanvasRenderer.java:    private static Icon ICON_NEW = ImageLoader.loadIcon("images/16x16/co/filenew.png");
gui/grapheditor/targets/swing/SwingRootCanvasRenderer.java:    private static Icon ICON_LOAD = ImageLoader.loadIcon("images/16x16/co/fileopen.png");
gui/grapheditor/targets/swing/SwingRootCanvasRenderer.java:    private static Icon ICON_SAVE = ImageLoader.loadIcon("images/16x16/co/filesave.png");
gui/grapheditor/targets/swing/SwingRootCanvasRenderer.java:    private static Icon ICON_SAVEAS = ImageLoader.loadIcon("images/16x16/co/filesaveas.png");

gui/grapheditor/targets/swing/util/NodeComponentWrapper.java:    ImageLoader.loadIcon("images/cursor-circle.png").getImage(), new Point(8, 8), "null");
gui/grapheditor/targets/swing/views/GraphView.java:    ImageLoader.loadIcon("images/cursor-arrow.png"), CanvasAction.ACTION_SELECTOR);
gui/grapheditor/util/StatusManager.java:    busy = il.loadImage("images/16x16/co/status-busy.png");
gui/grapheditor/util/StatusManager.java:    idle = il.loadImage("images/16x16/co/status-idle.png");

gui/grapheditor/util/tree/TreeNodeRenderer.java:    expanded.setIcon(ImageLoader.loadIcon("images/node-expanded.png"));
gui/grapheditor/util/tree/TreeNodeRenderer.java:    collapsed.setIcon(ImageLoader.loadIcon("images/node-collapsed.png"));
gui/grapheditor/util/tree/TreeNodeRenderer.java:    string.setIcon(ImageLoader.loadIcon("images/tree-node.png"));
gui/setup/CoGSetupBeanInfo.java:    super("setup-icon.png");

gui/setup/controls/CAControl.java:    private static final ImageIcon I_DIRECTORY = ImageLoader.loadIcon("images/16x16/co/folder.png");
gui/setup/controls/CAControl.java:    private static final ImageIcon I_MISSING = ImageLoader.loadIcon("images/16x16/co/button-cancel.png");
gui/setup/controls/CAControl.java:    private static final ImageIcon I_BINARY = ImageLoader.loadIcon("images/16x16/co/binary.png");
gui/setup/controls/CAControl.java:    private static final ImageIcon I_UNKNOWN = ImageLoader.loadIcon("images/16x16/co/help.png");
gui/setup/controls/CAControl.java:    private static final ImageIcon I_PREDEFINED = ImageLoader.loadIcon("images/16x16/co/encrypted.png");

gui/setup/panels/LogoPanel.java:    ImageIcon globusIcon = il.loadImage("images/logos/globus.png");
gui/setup/SetupFrame.java:    setIconImage(il.loadImage("images/16x16/co/setup-gear.png").getImage());

gui/setup/util/ButtonWithState.java:    yes = il.loadImage("images/22x22/co/iconCheck.png");
gui/setup/util/ButtonWithState.java:    no = il.loadImage("images/22x22/co/iconX.png");
gui/setup/util/ButtonWithState.java:    none = il.loadImage("images/22x22/co/iconBlank.png");

Karajan Shell

Develop an interactive Karajan Shell

  • add graph <filename>.xml
  • add node "filename"
  • delete node "name"
  • delete edge "from" "to"
  • run graph
  • halt
  • resume
  • checkpoint filename
  • restart filename
  • join grapha graphb
  • diff grapha graphb
  • set breakpoint "name" -- at the node from
  • add breakpoint from to -- between the nodes from and to
  • list futures -- lists all futures and displays if they have a value
  • list nodes -- list the nodes and shows their status
  • set repository url
  • add node "name" -- if the name is in the repository add it. E.g. if the filename is the url of a repo it will add it from a repo.
  • repository enable
  • repository disable

cog-sysinfo

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)
[ ] we have the GT2 and the GT2FT provider in seperat modules. They should be moved into one module.
[ ] code cleanup, javadoc ...
[ ] doicumentation and example
[ ] The joint provider should be "PRE-WS" as it is still in GT4.
[ ] We will be completly eliminating GT3 providers from the build process. In near future, we will even remove them from the source.
[ ] we have too many modules that are in many cases necessary. The proposal is to reorganize the gt2 and GT3 modules as mentioned before
[ ] join the modules abstraction-*
[ ] join the module setup
[ ] all
[ ] resources
[ ] broker - I need to caheck if broker belongs here (Gregor)
[ ] the resulting module will be called "common"
[ ] switch the whole code maintenance to SVN.
[ ] Complete org.cogkit.etc.Sysinfo in https://www.sourceforge.net/svnroot/cogkit/trunk/7. There is a preliminary documentation in SysInfo-man.txt. First implement completly the local sysinfo. (Guru)

ScriptExecute

[ ] create backup scripts http://sourceforge.net/docs/E09/#backup (TBD)
[ ] familiarize with the GridFTP browser and record bugs to this tasklist (Matt)
[ ] if you put into the location without a uri prefix an error occurs. Modify the program so that entering a hostname without a URI is expanded to file:// (Matt)
[ ] When you browse the directory you see . and .. that should be removed. This is related to the potential use of older gridftp software based on the list command. (Matt)
[ ] switch the internal use of the list command to MLST (Chris)
[x] clean up the code (Matt)
[x] develop javadoc (Matt)
[ ] create a developers manual that tells how to integrate the component in a Java program. (Matt)
[ ] can we develop tests? (Matt)
[x] assume you just downloaded the cogkit and compiled it from the cvs. you forgot to call cog-setup. you decided to use the directory browser and type in gridftp://wiggum.mcs.anl.gov. You should be presented with a dialog, that you have not initialized the cog kit. Would you like to do so? than cog-setup comes up. The desktop may already have something like this implemented. Possibly good to make this a separate component. (Matt)
[x] The login window of the browser component is not centered relative to the component. (Matt)
[ ] find bugs and add them to this list
[ ] In OSX the window bar shows org. .... GridshellImpl and not "Java CoG Kit"
[ ] The frame showing the Gridshell should show "Java CoG Kit GridShell" and not just GridShell.
[ ] Check all man pages as ther man page for mv was missing
[ ] The implementation make the help command more similar to man. help man should do man man and help mv should do help mv. Document what the help command actually does.
[ ] clean up code (Chris)
[ ] remove hard coded links (Chris)
[ ] develop simple documentation (Chris)
[ ] we have the GT2 and the GT2FT provider in seperat modules. They should be moved into one module.
[ ] code cleanup, javadoc ...
[ ] doicumentation and example
[ ] The joint provider should be "PRE-WS" as it is still in GT4.
[ ] We will be completly eliminating GT3 providers from the build process. In near future, we will even remove them from the source.
[ ] we have too many modules that are in many cases necessary. The proposal is to reorganize the gt2 and GT3 modules as mentioned before
[ ] join the modules abstraction-*
[ ] join the module setup
[ ] all
[ ] resources
[ ] broker - I need to caheck if broker belongs here (Gregor)
[ ] the resulting module will be called "common"
[ ] switch the whole code maintenance to SVN.
[ ] Complete org.cogkit.etc.Sysinfo in https://www.sourceforge.net/svnroot/cogkit/trunk/7. There is a preliminary documentation in SysInfo-man.txt. First implement completly the local sysinfo. (Guru)
[x] ScriptExecute assigned to (Gregor)
[x] Avialability: svn co https://svn.sourceforge.net/svnroot/cogkit/trunk/8

Problem: Process builder seems not to be able to execute pipeed commands like

"ifconfig | fgrep inet"

What we need is a simple executor that can. To do so the command is written in a shell script and that is executed.


org.cogkit.etc;

class ScriptExecute

 allows the execution of piped commands the way this is done is that the
 command is first written in a shell script. than the shell script is executed.

 String command;
 String result;

 String tmpFile; // unique name of temporary file to be executed
                 // can this be done in memory without a file?
               
 // use processbuilder internally

Karajan Script Generator

Now to a fun project (first come first serve, project duration 3 days, priority high):

I have started to put together some hack at

svn co https://svn.sourceforge.net/svnroot/cogkit/trunk/8

In here you find

trunk/8/.../MethodList.java

which is a rough beginning for the automatic karajan wrapper generator.

The way it works is to use Java reflection to list all methods of a Java class that I select and to automatically create a Karajan Script Wrapper for that.

Example:

assume I have a class (or interface)

package org.cogkit;

class test {

   public void set(String a)
   public String hallo (int b)

}

than invoking

cog-generate-karajan -jar ... -class org.cogkit.test

will create the code based on

http://wiki.cogkit.org/index.php/V:4.1.4/Karajan:Java_Library

However this reference manual is somewhat difficult to follow, so I suggest you look ate the example in:

http://www.cogkit.org/viewcvs/viewcvs.cgi/*checkout*/src/cog/modules/karajan/examples/currentTimeMillis-def.xml?rev=1.3&content-type=text/plain

and

http://www.cogkit.org/viewcvs/viewcvs.cgi/*checkout*/src/cog/modules/karajan/examples/currentTimeMillis.xml?rev=1.2&content-type=text/plain

when the option -gui is used you are presented with a table in which you can select which methods are part of your new method.k. Parameters can be parsed with the Argument parser.


The table looks like:

Selected Return Name Parameters


[x] void set String a [x] String hallo int b

I think this is a fun project and probably takes less than three days to improve the prototype and come up with a nice version of it.

Deepti has actually to do a project in which she wraps the class (or a modification of it)

http://wiki.cogkit.org/index.php/Java_CoG_Kit_Abstraction_Guide#TaskGraph

It would be nice to test the functionality with it.

GWT

Reimplement many of the GUI tools with http://code.google.com/webtoolkit/

JSON

http://www.json.org/

Personal tools
Collaboration and Jobs