You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(10) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Gabriel L. <gl...@gm...> - 2011-01-22 10:02:56
|
Hi, according to archives, this mailing list seems to be not active. But maybe there is still somebody reading it. I have just made a checkout of CIShell from SVN, and I wanted to ask, If there are some instructions, on how to build an executable from sources? Thank you for any help. Best regards, Gabriel. |
From: Bruce H. <bh...@bh...> - 2007-08-01 18:57:16
|
Ok, I wasn't kidding... get rid of the System.out.println("Blah!"); Also, is it really necessary to be committing these commented out debug System.out messages? Also also, does anyone here actually read what I'm typing. I've yet to get a reply to any post i've made. Bruce On 8/1/07, tea...@us... <tea...@us...> wrote: > Revision: 450 > http://cishell.svn.sourceforge.net/cishell/?rev=450&view=rev > Author: teakettle22 > Date: 2007-08-01 09:47:06 -0700 (Wed, 01 Aug 2007) > > Log Message: > ----------- > added an asNWB function > > Modified Paths: > -------------- > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java > > Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java 2007-08-01 16:44:53 UTC (rev 449) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java 2007-08-01 16:47:06 UTC (rev 450) > @@ -59,7 +59,8 @@ > > ServiceReference[] refs = bContext.getServiceReferences( > AlgorithmFactory.class.getName(), filter); > - // ConverterGraph g = new ConverterGraph(refs); > + ConverterGraph g = new ConverterGraph(refs); > + g.asNWB(); > // System.out.println("Blah!"); > // System.out.println(g); > if (refs != null) { > > Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java 2007-08-01 16:44:53 UTC (rev 449) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java 2007-08-01 16:47:06 UTC (rev 450) > @@ -245,7 +245,7 @@ > BufferedWriter bw = new BufferedWriter(out); > > writeNodes(bw,nodes); > - > + writeEdges(bw,output); > } > catch(IOException ex){ > System.out.println("Blurt!"); > @@ -255,26 +255,25 @@ > > private void writeNodeHeader(BufferedWriter bw, int numNodes) throws IOException{ > bw.flush(); > - bw.write("*Nodes " + numNodes); > + bw.write("*Nodes " + numNodes + "\nid*int label*string\n"); > > } > > private void writeNodes(BufferedWriter bw, Map nodes) throws IOException{ > - System.out.println("*Nodes " + nodes.size()); > + System.out.println("*Nodes " + nodes.size() + "\n"); > writeNodeHeader(bw, nodes.size()); > String[] keySet = new String[nodes.keySet().size()]; > keySet = (String[])nodes.keySet().toArray(keySet); > - > for(int i = 0; i < keySet.length; i++){ > bw.flush(); > - bw.write(nodes.get(keySet[i]) + " " + keySet[i]); > + bw.write(nodes.get(keySet[i]) + " \"" + keySet[i]+"\"\n"); > } > > } > > private void writeEdgeHeader(BufferedWriter bw, int numEdges) throws IOException{ > bw.flush(); > - bw.write("*DirectedEdges " + numEdges); > + bw.write("*DirectedEdges " + numEdges + "\nsource*int target*int\n"); > } > > > @@ -288,7 +287,7 @@ > for(int i = 0; i < edgeArray.length; i++){ > System.out.println(edgeArray[i]); > bw.flush(); > - bw.write(edgeArray[i]); > + bw.write(edgeArray[i]+"\n"); > } > } > > @@ -307,8 +306,9 @@ > ServiceReference[] references = new ServiceReference[paths.size()]; > references = (ServiceReference[])paths.toArray(references); > > - for(int j = 0; j < references.length; j++){ > - nodeNames.add(s); > + for(int j = 0; j < references.length; j++){ > + ServiceReference r = references[j]; > + nodeNames.add(r.getProperty("service.pid").toString()); > } > } > > @@ -316,6 +316,7 @@ > names = (String[])nodeNames.toArray(names); > > for(int i = 0; i < names.length; i++){ > + System.out.println(names[i] + " " + (i+1)); > nodesToInt.put(names[i], new Integer(i+1)); > } > > @@ -328,16 +329,23 @@ > keySet = (String[])m.keySet().toArray(keySet); > for(int i = 0; i < keySet.length; i++){ > String s = keySet[i]; > - > + System.out.println(keySet[i]); > ArrayList paths = (ArrayList)this.inDataToAlgorithm.get(s); > + if(paths != null){ > ServiceReference[] references = new ServiceReference[paths.size()]; > references = (ServiceReference[])paths.toArray(references); > > for(int j = 0; j < references.length; j++){ > - String output = m.get(s).toString() + " "; > - output += m.get(references[j].getProperty("service.pid")).toString(); > - edges.add(output); > + String output1 = m.get(s).toString() + " "; > + String output2 = references[j].getProperty("service.pid").toString(); > + output1 += m.get(output2).toString(); > + output2 = m.get(output2).toString() + " " + m.get(references[j].getProperty("out_data")).toString(); > + System.out.println(output1); > + System.out.println(output2); > + edges.add(output1); > + edges.add(output2); > } > + } > > } > return edges; > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-30 18:05:51
|
Last time I made a commit with a "blah" in it, it was with Professor Rawlins on Fluency. Yeah, he had a cow. I'm not gonna have a cow, but please don't commit 'blahs' :-P > + System.out.println("Blah!"); Bruce On 7/30/07, tea...@us... <tea...@us...> wrote: > Revision: 445 > http://cishell.svn.sourceforge.net/cishell/?rev=445&view=rev > Author: teakettle22 > Date: 2007-07-30 10:54:45 -0700 (Mon, 30 Jul 2007) > > Log Message: > ----------- > fixed some errors, return cast arrays rather than ArrayLists. > > Modified Paths: > -------------- > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java > > Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java 2007-07-30 17:28:26 UTC (rev 444) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/ConverterLoaderImpl.java 2007-07-30 17:54:45 UTC (rev 445) > @@ -60,6 +60,7 @@ > ServiceReference[] refs = bContext.getServiceReferences( > AlgorithmFactory.class.getName(), filter); > ConverterGraph g = new ConverterGraph(refs); > + System.out.println("Blah!"); > System.out.println(g); > if (refs != null) { > for (int i = 0; i < refs.length; ++i) { > > Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java 2007-07-30 17:28:26 UTC (rev 444) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java 2007-07-30 17:54:45 UTC (rev 445) > @@ -43,7 +43,8 @@ > > private void createConverterPaths(Map algorithms, Map testPaths, > Map comparePaths){ > - String[] keySet = (String[])algorithms.keySet().toArray(); > + String[] keySet = new String[algorithms.keySet().size()]; > + keySet = (String[])algorithms.keySet().toArray(keySet); > for(int i = 0; i < keySet.length; i++){ > String s = keySet[i]; > if(s.startsWith("file-ext")){ > @@ -155,7 +156,8 @@ > > public String printTestConverterPaths(){ > StringBuffer sb = new StringBuffer(); > - String[] keySet = (String[])this.fileExtensionTestConverters.keySet().toArray(); > + String[] keySet = new String[this.fileExtensionTestConverters.keySet().size()]; > + keySet = (String[])this.fileExtensionTestConverters.keySet().toArray(keySet); > for(int i = 0; i < keySet.length; i++){ > String s = keySet[i]; > sb.append(printTestConverterPath(s)); > @@ -183,7 +185,8 @@ > > public String toString(){ > StringBuffer str = new StringBuffer(); > - String[] keySet = (String[])this.inDataToAlgorithm.keySet().toArray(); > + String[] keySet = new String[this.inDataToAlgorithm.keySet().size()]; > + keySet = (String[])this.inDataToAlgorithm.keySet().toArray(keySet); > for(int i = 0; i < keySet.length; i++){ > String s = keySet[i]; > str.append(s + "\n"); > @@ -201,29 +204,29 @@ > return str.toString(); > } > > - public ArrayList getTestPath(String s){ > - return (ArrayList)this.fileExtensionTestConverters.get(s); > + public ServiceReference[] getTestPath(String s){ > + return (ServiceReference[])((ArrayList)this.fileExtensionTestConverters.get(s)).toArray(); > } > > - public ArrayList getTestPaths(){ > + public ServiceReference[][] getTestPaths(){ > String[] fileExtensions = (String[])this.fileExtensionTestConverters.keySet().toArray(); > ArrayList graphs = new ArrayList(); > for(int i = 0; i < fileExtensions.length; i++){ > graphs.add(getTestPath(fileExtensions[i])); > } > - return graphs; > + return (ServiceReference[][])graphs.toArray(); > } > > public ConverterPath getComparePath(String s){ > return (ConverterPath)this.fileExtensionCompareConverters.get(s); > } > > - public ArrayList getComparePaths(){ > + public ServiceReference[] getComparePaths(){ > String[] fileExtensions = (String[])this.fileExtensionCompareConverters.keySet().toArray(); > ArrayList graphs = new ArrayList(); > for(int i = 0; i < fileExtensions.length; i++){ > graphs.add(getComparePath(fileExtensions[i])); > } > - return graphs; > + return (ServiceReference[])graphs.toArray(); > } > } > \ No newline at end of file > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-30 15:58:39
|
Has some neat widgets which may come in handy at times. http://www.eclipse.org/nebula/ Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-26 19:50:19
|
Please don't use Java 1.5 features. Everything in CIShell must stay 1.4 to maximize the number of environments it can run in. Bruce On 7/25/07, tea...@us... <tea...@us...> wrote: > Revision: 439 > http://cishell.svn.sourceforge.net/cishell/?rev=439&view=rev > Author: teakettle22 > Date: 2007-07-25 13:50:58 -0700 (Wed, 25 Jul 2007) > > Log Message: > ----------- > first implementation of the converter graph. Warning!!! Many errors; unusable, committing to store it so that I don't rely on local storage. > > Added Paths: > ----------- > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterNode.java > trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterPath.java > > Added: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java (rev 0) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterGraph.java 2007-07-25 20:50:58 UTC (rev 439) > @@ -0,0 +1,124 @@ > +package org.cishell.testing.convertertester.core.converter.graph; > + > +import java.util.ArrayList; > +import java.util.HashMap; > +import java.util.Map; > + > +import org.osgi.framework.ServiceReference; > + > +public class ConverterGraph { > + prefuse.data.Graph converterGraph; > + Map<String, ArrayList<ServiceReference>> inDataToAlgorithm; > + Map<String, ArrayList<ConverterPath>> fileExtensionTestConverters; > + Map<String, ConverterPath> fileExtensionCompareConverters; > + ServiceReference[] converters; > + private static final String testOutData = "prefuse.data.Graph"; > + > + public ConverterGraph(ServiceReference[] converters){ > + this.converters = converters; > + inDataToAlgorithm = new HashMap<String, ArrayList<ServiceReference>>(); > + fileExtensionTestConverters = new HashMap<String, ArrayList<ConverterPath>>(); > + fileExtensionCompareConverters = new HashMap<String, ConverterPath>(); > + > + associateAlgorithms(this.converters, this.inDataToAlgorithm); > + createConverterPaths(this.inDataToAlgorithm, this.fileExtensionTestConverters, this.fileExtensionCompareConverters); > + } > + > + private void associateAlgorithms(ServiceReference[] sr, Map<String, ArrayList<ServiceReference>> hm){ > + for(ServiceReference srv : sr){ > + String s = srv.getProperty("in_data").toString(); > + if(hm.get(s) == null){ > + ArrayList<ServiceReference> al = new ArrayList<ServiceReference>(); > + al.add(srv); > + hm.put(s, al); > + } > + else{ > + hm.get(s).add(srv); > + } > + } > + } > + > + private void createConverterPaths(Map<String, ArrayList<ServiceReference>> algorithms, Map<String, ArrayList<ConverterPath>> testPaths, > + Map<String, ConverterPath> comparePaths){ > + > + for(String s : algorithms.keySet()){ > + if(s.startsWith("file-ext")){ > + > + > + ConverterPath test = new ConverterPath(); > + //ConverterPath > + test.setInData(s); > + createPaths(algorithms, testPaths, comparePaths, test, s); > + } > + } > + } > + > + private void createPaths(Map<String,ArrayList<ServiceReference>> algorithms, Map<String, ArrayList<ConverterPath>> testPaths, > + Map<String, ConverterPath> comparePaths, ConverterPath path, String dataType){ > + /* > + if(path.getInData().equals(path.getOutData())){ > + if(testPaths.get(path.getInData()) == null){ > + ArrayList<ConverterPath> paths = new ArrayList<ConverterPath>(); > + paths.add(new ConverterPath(path)); > + testPaths.put(path.getInData(), paths); > + System.out.println(path); > + } > + else{ > + testPaths.get(path.getInData()).add(new ConverterPath(path)); > + System.out.println(path); > + } > + }*/ > + try{ > + ArrayList<ServiceReference> algs = new ArrayList<ServiceReference>(algorithms.get(dataType)); > + > + algs.removeAll(path.getPath()); > + for(ServiceReference sr : algs){ > + //for(ServiceReference sr: algs){ > + System.out.println(sr.getProperty("service.pid")); > + //} > + ConverterPath p = new ConverterPath(path); > + System.out.println(); > + if(p.addAlgoritm(sr)){ > + algs.remove(sr); > + createPaths(algorithms, testPaths,comparePaths,p,p.getOutData()); > + } > + > + else{ > + if(testPaths.get(path.getInData()) == null){ > + ArrayList<ConverterPath> paths = new ArrayList<ConverterPath>(); > + paths.add(p); > + testPaths.put(path.getInData(), paths); > + System.out.println(p); > + } > + else{ > + testPaths.get(path.getInData()).add(p); > + System.out.println(p); > + } > + algs.remove(sr); > + } > + } > + }catch(NullPointerException npe){ > + npe.printStackTrace(); > + } > + } > + > + > + > + public String toString(){ > + String str = ""; > + for(String s : this.inDataToAlgorithm.keySet()){ > + str += s + "\n"; > + for(ServiceReference sr : this.inDataToAlgorithm.get(s)){ > + str += "\t" + sr.getProperty("service.pid") + "\n"; > + } > + } > + > + for(String s : this.fileExtensionTestConverters.keySet()){ > + for(ConverterPath cp : this.fileExtensionTestConverters.get(s)){ > + str += cp.toString(); > + } > + } > + > + return str; > + } > +} > \ No newline at end of file > > Added: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterNode.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterNode.java (rev 0) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterNode.java 2007-07-25 20:50:58 UTC (rev 439) > @@ -0,0 +1,32 @@ > +package org.cishell.testing.convertertester.core.converter.graph; > + > +public class ConverterNode { > + String name; > + int id; > + > + public ConverterNode(String s, int i){ > + name = s; > + id = i; > + } > + > + public String getName(){ > + return name; > + } > + > + public int getID(){ > + return id; > + } > + > + public void setName(String s){ > + name = s; > + } > + > + public void setID(int i){ > + id = i; > + } > + > + public String toString(){ > + return name + " " + id; > + } > + > +} > > Added: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterPath.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterPath.java (rev 0) > +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/converter/graph/ConverterPath.java 2007-07-25 20:50:58 UTC (rev 439) > @@ -0,0 +1,69 @@ > +package org.cishell.testing.convertertester.core.converter.graph; > + > +import java.util.ArrayList; > +import java.util.List; > + > +import org.osgi.framework.ServiceReference; > + > +public class ConverterPath { > + String in_data; > + String out_data = null; > + ArrayList<ServiceReference> path; > + > + public ConverterPath(){ > + path = new ArrayList<ServiceReference>(); > + } > + > + public ConverterPath(ConverterPath p){ > + in_data = p.getInData(); > + out_data = p.getOutData(); > + > + this.path = new ArrayList<ServiceReference>(p.getPath()); > + > + } > + > + public void setInData(String s){ > + this.in_data = s; > + } > + > + public void setOutData(String s){ > + this.out_data = s; > + } > + > + public boolean addAlgoritm(ServiceReference sr){ > + boolean val = true; > + //System.out.println(this.in_data + " " + this.out_data); > + if(path.contains(sr)){ > + System.out.println("Path already contains " + sr.getProperty("service.pid")); > + //this.setOutData(sr.getProperty("out_data").toString()); > + return false; > + } > + //System.out.println("Adding: " + sr.getProperty("service.pid")); > + path.add(sr); > + this.setOutData(sr.getProperty("out_data").toString()); > + return val; > + } > + > + public String getInData(){ > + return this.in_data; > + } > + > + public String getOutData(){ > + return this.out_data; > + } > + > + public List<ServiceReference> getPath(){ > + return this.path; > + } > + > + public String toString(){ > + String val = this.in_data +" -->\n"; > + > + for(ServiceReference sr : this.path){ > + val += "\t" + sr.getProperty("service.pid") + "\n"; > + } > + val += "--> " + this.out_data + "\n"; > + return val; > + } > + > +} > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-25 19:38:49
|
Google has come up with a singleton detector for finding singletons and global state in Java programs. This doesn't really apply to us anymore now that we use OSGi and have removed singletons completely from cishell (IVC used to have a facade and several singletons). But this seems like it'd be a nice tool for java coders who are looking to move their architecture to OSGi/a more modular architecture. http://code.google.com/p/google-singleton-detector/ Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-25 19:11:22
|
You may want to consider rather than creating your own REPL using OSGi's built in extensible console. You can read about how to do that here: http://www.ibm.com/developerworks/library/os-ecl-osgiconsole/index.html (just skip to the Extending the console section). This would probably be good especially if we start to provide even more of these kind of insider utilities. Also, it should say "CIShell's Converter Tester" (though i'm not sure an introduction is really ncessary on the console...). This hasn't been stressed enough, but CIShell is the technology. The technology related stuff for our cyberinfrastructure development should be placed under the cishell umbrella. Algorithms, datasets, and converters that are specific to network science belong to Network Workbench. Sometimes its fuzzy, but that is the split for the most part. This choice has been made because of our years of experience well before network workbench even existed. We will reuse this technology over and over again on different cyberinfrastructures. And ideally other groups will create their own applications and cyberinfrastructures from this base. Lemme know if you are ever unsure of where something belongs or what it should be named. Bruce On 7/25/07, mwl...@us... <mwl...@us...> wrote: > Revision: 436 > http://cishell.svn.sourceforge.net/cishell/?rev=436&view=rev > Author: mwlinnem > Date: 2007-07-25 11:18:02 -0700 (Wed, 25 Jul 2007) > > Log Message: > ----------- > Initial import. Separates out the commandline code from the core ConverterTester. > > Added Paths: > ----------- > trunk/testing/org.cishell.testing.convertertester.commandline/META-INF/ > trunk/testing/org.cishell.testing.convertertester.commandline/META-INF/MANIFEST.MF > trunk/testing/org.cishell.testing.convertertester.commandline/build.properties > trunk/testing/org.cishell.testing.convertertester.commandline/src/ > trunk/testing/org.cishell.testing.convertertester.commandline/src/org/ > trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/ > trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/ > trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/convertertester/ > trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/convertertester/commandline/ > trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/convertertester/commandline/Activator.java > > Added: trunk/testing/org.cishell.testing.convertertester.commandline/META-INF/MANIFEST.MF > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.commandline/META-INF/MANIFEST.MF (rev 0) > +++ trunk/testing/org.cishell.testing.convertertester.commandline/META-INF/MANIFEST.MF 2007-07-25 18:18:02 UTC (rev 436) > @@ -0,0 +1,18 @@ > +Manifest-Version: 1.0 > +Bundle-ManifestVersion: 2 > +Bundle-Name: Converter Tester Command-Line > +Bundle-SymbolicName: org.cishell.testing.convertertester.commandline > +Bundle-Version: 0.0.1 > +Bundle-ClassPath: . > +Bundle-Localization: plugin > +Import-Package: org.cishell.framework, > + org.cishell.framework.algorithm, > + org.cishell.framework.data, > + org.cishell.service.conversion, > + org.osgi.framework;version="1.3.0", > + org.osgi.service.component;version="1.0.0", > + org.osgi.service.log;version="1.3.0", > + org.osgi.service.metatype;version="1.1.0", > + org.osgi.service.prefs;version="1.1.0" > +Bundle-Activator: org.cishell.testing.convertertester.commandline.Activator > +Require-Bundle: org.cishell.testing.convertertester.core.new > > Added: trunk/testing/org.cishell.testing.convertertester.commandline/build.properties > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.commandline/build.properties (rev 0) > +++ trunk/testing/org.cishell.testing.convertertester.commandline/build.properties 2007-07-25 18:18:02 UTC (rev 436) > @@ -0,0 +1,4 @@ > +source.. = src/ > +output.. = build/ > +bin.includes = META-INF/,\ > + . > > Added: trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/convertertester/commandline/Activator.java > =================================================================== > --- trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/convertertester/commandline/Activator.java (rev 0) > +++ trunk/testing/org.cishell.testing.convertertester.commandline/src/org/cishell/testing/convertertester/commandline/Activator.java 2007-07-25 18:18:02 UTC (rev 436) > @@ -0,0 +1,91 @@ > +package org.cishell.testing.convertertester.commandline; > + > +import java.io.File; > +import java.io.FileNotFoundException; > +import java.util.Scanner; > + > +import org.cishell.framework.CIShellContext; > +import org.cishell.framework.LocalCIShellContext; > +import org.cishell.testing.convertertester.core.tester.ConverterTester; > +import org.osgi.framework.BundleActivator; > +import org.osgi.framework.BundleContext; > + > + > +public class Activator implements BundleActivator{ > + private ConverterTester ct; > + private BundleContext b; > + private CIShellContext c; > + private File configFile; > + > + public static final String QUIT = "q"; > + > + public void start(BundleContext b){ > + this.b = b; > + this.c = new LocalCIShellContext(b); > + > + startCommandLine(); > + } > + > + > + > + public void stop(BundleContext b){ > + System.out.println("Goodbye!"); > + > + b = null; > + c = null; > + configFile = null; > + ct = null; > + } > + > + public void startCommandLine(){ > + Scanner in = new Scanner(System.in); > + while(true) { > + System.out.println("Welcome to NWB's Converter Tester"); > + System.out.println( "Please enter the name of a configuration " + > + "file or\n a directory of configuration files (" + QUIT + > + ") to quit): "); > + > + String s = in.nextLine(); > + if(s.trim().equalsIgnoreCase(QUIT)) > + break; > + try{ > + configFile = new File(s); > + processConfigurationFile(configFile); > + } > + catch (NullPointerException ex){ > + System.out.println("Invalid file name");; > + } > + catch(FileNotFoundException fnfe){ > + System.out.println("Could not find the specified " + > + "configuration file"); > + } > + } > + } > + > + private void processConfigurationFile(File f) > + throws FileNotFoundException { > + System.out.println("Processing " + f.getName()); > + if(!f.isHidden() && (f.getName().charAt(0) != '.')){ > + if(f.isDirectory()){ > + File[] files = f.listFiles(); > + for (int ii = 0; ii < files.length; ii++) { > + File ff = files[ii]; > + processConfigurationFile(ff); > + } > + } > + else{ > + try{ > + ct = new ConverterTester(b, c, f); > + System.out.println(ct); > + ct.testFiles(); > + ct.printResults(); > + }catch(Exception ex){ > + System.out.println("Failed to create " + > + "ConverterTester\n\n"); > + ex.printStackTrace(); > + } > + } > + } > + } > +} > + > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-24 22:21:56
|
If you are not sure where to place a new project in the repository or what to name a package/folder, please just come and ask me. I'd rather reduce the commit clutter. Bruce ---------- Forwarded message ---------- From: mwl...@us... <mwl...@us...> Date: Jul 24, 2007 3:39 PM Subject: [CIShell-SVN] SF.net SVN: cishell: [430] trunk/testing To: cis...@li... Revision: 430 http://svn.sourceforge.net/cishell/?rev=430&view=rev Author: mwlinnem Date: 2007-07-24 12:39:05 -0700 (Tue, 24 Jul 2007) Log Message: ----------- Was in wrong directory. Removed Paths: ------------- trunk/testing/META-INF/ trunk/testing/OSGI-INF/ trunk/testing/build.properties trunk/testing/src/ Deleted: trunk/testing/build.properties =================================================================== --- trunk/testing/build.properties 2007-07-24 19:25:33 UTC (rev 429) +++ trunk/testing/build.properties 2007-07-24 19:39:05 UTC (rev 430) @@ -1,5 +0,0 @@ -source.. = src/ -output.. = build/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Cishell-svn mailing list Cis...@li... https://lists.sourceforge.net/lists/listinfo/cishell-svn -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Russell D. <fu...@gm...> - 2007-07-20 18:43:47
|
Hmm, I hope this email can send to cishell-developers . . . oh well, I'll know soon. Bleh, being sick is not happy. It seems like lots of good stuff is being worked on right now. The properties file will need to be altered to be legal, specifically in_data and out_data, and the label and service.pid should probably be changed ;) . > > +#menu_path=Visualization/SubMenu/additions > +label=My Algorithm > +description=This algorithm does this and this... > +in_data=file:mime/type or java.lang.ClassName or null > +out_data=file:mime/type or java.lang.ClassName or null > +service.pid=org.my.algorithm.MyAlgorithm > +remoteable=false Stuff should 'happen' in the execute method. If it happens earlier, then the algorithm object cannot reasonably be passed around for later execution. Also, the results of the testing should probably be returned in a series of files -- one that's in a log-like format, one that's a summary, one for each conversion leg that's a problem, that sort of thing. Perhaps even a conversion graph with metadata for the problems found along each edge. Hopefully in not too long we can just add the algorithm to the menu, run it, and have the results of the tests available to take a look at. Russell > > + public ConverterTesterAlgorithm(Data[] data, Dictionary parameters, > + CIShellContext csContext, BundleContext bContext ) { > + this.data = data; > + this.parameters = parameters; > + this.context = csContext; > + > + this.tester = new ConverterTester(bContext, csContext); > + } > + > + public Data[] execute() { > + return null; > + } > > |
From: Bruce H. <bh...@bh...> - 2007-07-18 20:52:56
|
I finally got a chance to see if the new version of eclipse introduces any bugs/errors with cishell and it appears it doesn't. There may still be some bugs creeping around related to the new version, but that'll come out once we start testing it more. I'll be working now on creating a better release engineering cycle with automatic building and such. After I get the release engineering straightened out, I want to have a full-day code review of all of the cishell core, gui, and related technology code to find bugs, propose extensions, and propose possible refactors. Cheers, Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-07-04 14:47:08
|
Please remove your spurious println debug message. Committed code should not contain these things. Thanks for fixing the guibuilder weirdness. SWT can be a pain in the butt in this area!! Bruce On 7/2/07, mwl...@us... <mwl...@us...> wrote: > > Revision: 415 > http://svn.sourceforge.net/cishell/?rev=415&view=rev > Author: mwlinnem > Date: 2007-07-02 13:01:38 -0700 (Mon, 02 Jul 2007) > > Log Message: > ----------- > Changed text wrap in dialog boxes to work correctly on Windows. > > Modified Paths: > -------------- > > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java > > Modified: > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java > =================================================================== > --- > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java > 2007-07-02 18:31:24 UTC (rev 414) > +++ > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java > 2007-07-02 20:01:38 UTC (rev 415) > @@ -41,6 +41,8 @@ > * @author Bruce Herr (bh...@bh...) > */ > public class SWTGui implements GUI, UpdateListener { > + public static final int TEXT_WRAP_LENGTH = 350; > + > private Shell shell; > private SWTGuiComposite composite; > private SelectionListener listener; > @@ -70,12 +72,15 @@ > if(message != null && !message.equals("")){ > Label msg = new Label(shell, SWT.WRAP); > msg.setText(message); > - msg.pack(); > - msg.update(); > - > + msg.pack(true); > GridData labelData = new GridData(); > - labelData.horizontalAlignment = SWT.FILL; > + labelData.horizontalAlignment = GridData.CENTER; > labelData.grabExcessHorizontalSpace = true; > + System.out.println(msg.getSize().x); > + if (msg.getSize().x > TEXT_WRAP_LENGTH) { > + System.out.println(msg.getSize().x); > + labelData.widthHint = TEXT_WRAP_LENGTH; > + } > msg.setLayoutData(labelData); > } > > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-06-28 18:15:41
|
Did this actually work? That details box was a pain in the ass to even get to work like it did... Bruce On 6/27/07, mwl...@us... <mwl...@us...> wrote: > > Revision: 406 > http://svn.sourceforge.net/cishell/?rev=406&view=rev > Author: mwlinnem > Date: 2007-06-27 11:55:18 -0700 (Wed, 27 Jun 2007) > > Log Message: > ----------- > Fixed issue with error dialog boxes where error details text area would > not expand when window was enlarged. > > Modified Paths: > -------------- > > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/builder/AbstractDialog.java > > Modified: > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/builder/AbstractDialog.java > =================================================================== > --- > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/builder/AbstractDialog.java > 2007-06-27 18:54:31 UTC (rev 405) > +++ > trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/builder/AbstractDialog.java > 2007-06-27 18:55:18 UTC (rev 406) > @@ -264,10 +264,6 @@ > if ((description != null) && !description.equals("")) { > desc.setText(description); > } > - > - GridData data = new GridData(GridData.FILL_BOTH | > GridData.VERTICAL_ALIGN_CENTER); > - data.widthHint = 300; > - desc.setLayoutData(data); > } > > /* > @@ -319,10 +315,14 @@ > detailsText.setText(""); > details.setText("Details >>"); > data.heightHint = 0; > + data.grabExcessHorizontalSpace = false; > + data.grabExcessVerticalSpace = false; > } else { > - detailsText.setText(detailsString); > + detailsText.setText(detailsString); > details.setText("Details <<"); > data.heightHint = DETAILS_HEIGHT; > + data.grabExcessHorizontalSpace = true; > + data.grabExcessVerticalSpace = true; > } > > detailsText.setLayoutData(data); > @@ -345,12 +345,9 @@ > detailsText.setEditable(false); > detailsText.setBackground(Display.getCurrent().getSystemColor( > SWT.COLOR_WHITE)); > > - GridData data = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); > - data.grabExcessHorizontalSpace = true; > - data.horizontalSpan = 2; > - data.grabExcessVerticalSpace = false; > + GridData data = new GridData(GridData.FILL_BOTH | > + GridData.GRAB_VERTICAL | GridData.GRAB_HORIZONTAL > ); > data.widthHint = 400; > - data.heightHint = 0; > > detailsText.setLayoutData(data); > detailsText.setVisible(false); > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |
From: Bruce H. <bh...@bh...> - 2007-04-04 23:01:55
|
Well, you found probably the best fix we can get until we can spend more time on the templates... Bruce On 4/4/07, fu...@us... <fu...@us...> wrote: > > Revision: 382 > http://svn.sourceforge.net/cishell/?rev=382&view=rev > Author: fugu13 > Date: 2007-04-04 15:54:11 -0700 (Wed, 04 Apr 2007) > > Log Message: > ----------- > Added a space to the METADAT.XML template after the description variable, > which I verified appears in the output. I tried doing this more elegantly > in code, but Bruce is right, for some reason stuff just doesn't seem to > work; it has something to do with the multiple levels of indirection > and redirection occurring with getValue, I think. > > Modified Paths: > -------------- > > trunk/templates/org.cishell.templates.wizards/templates_3.0/java_algorithm/OSGI-INF/metatype/METADATA.XML > > Modified: > trunk/templates/org.cishell.templates.wizards/templates_3.0/java_algorithm/OSGI-INF/metatype/METADATA.XML > =================================================================== > --- > trunk/templates/org.cishell.templates.wizards/templates_3.0/java_algorithm/OSGI-INF/metatype/METADATA.XML > 2007-03-15 21:39:40 UTC (rev 381) > +++ > trunk/templates/org.cishell.templates.wizards/templates_3.0/java_algorithm/OSGI-INF/metatype/METADATA.XML > 2007-04-04 22:54:11 UTC (rev 382) > @@ -1,7 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> > <metatype:MetaData xmlns:metatype=" > http://www.osgi.org/xmlns/metatype/v1.0.0"> > <OCD name="$algName$" id="$algFullClass$.OCD" > - description="$algDesc$"> > + description="$algDesc$ "> > $attributeDefinitions$ </OCD> > <Designate pid="$algFullClass$"> > <Object ocdref="$algFullClass$.OCD" /> > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > |
From: Bruce H. <bh...@bh...> - 2006-10-30 18:44:12
|
The Cyberinfrastructure Shell (CIShell) 0.2.1 and the Network Workbench Tool 0.2.0 has been released! In addition, the Network Workbench Community Wiki is now open! *About The Cyberinfrastructure Shell* The Cyberinfrastructure Shell (CIShell) is an open source, community-driven application/specification for the integration and utilization of datasets, algorithms, tools, and computing resources. Algorithm integration support is built in for Java and most other programming languages (algorithm integration guide coming soon). Being Java based, it will run on almost all platforms. The software and specification is released under an Apache 2.0License. *About the Network Workbench Tool* The Network Workbench (NWB) Tool is a large-scale network analysis, modeling and visualization toolkit for biomedical, social science and physics research. It is a standalone desktop application and can be run on multiple platforms including Windows, Linux and Mac OSX. It is built on Cyberinfrastructure Shell <http://cishell.org/> framework to integrate various datasets and algorithms. Although the framework is developed using JAVA, it can integrate algorithms developed by other programing languages such as FORTRAN, C and C++. *About the NWB Community Wiki* The Network Workbench Community Wiki is a place for users of the Network Workbench Tool <https://nwb.slis.indiana.edu/community/?n=Main.NWBTool>, the Cyberinfrastructure Shell <http://cishell.org/>, or any other CIShell based program to get, upload, and request algorithms and datasets to be used in their tool. This site is here so that the community can work together to create a tool which will meet their needs and the needs of the scientific community at large. *New Features* * Algorithm meta-data printing (useful for giving credit to algorithm writers and others involved among other uses) * More flexible static executable algorithm integration templates * Many new algorithms and converters to use * Bug fixes (Please submit any new bugs here<https://sourceforge.net/tracker/?group_id=164787> ) *Downloads* CIShell 0.2.1: https://sourceforge.net/project/showfiles.php?group_id=164787 NWB Tool 0.2.0: http://nwb.slis.indiana.edu/releases/nwb-installer_0.2.0.jar *Links* CIShell Website: http://cishell.org CIShell Sourceforge Site: http://sourceforge.net/projects/cishell NWB Tool: http://nwb.slis.indiana.edu NWB Community Wiki: https://nwb.slis.indiana.edu/community Cheers! The CIShell/Network Workbench Team Information Visualization Lab Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University |
From: Bruce H. <bh...@bh...> - 2006-10-19 17:11:48
|
Did you try using TreeSet? I thought we had done some tests and TreeSets were actually calling the compare method like it should... Bruce > > > + /** > + * Only add the unique converters to the 'Converter set' > + * @param set The set of unique converters > + * @param converters List of potential converters > + */ > + private void addUniqueConverters(Set set, Converter[] converters) { > + for (int i = 0; i < converters.length; ++i) { > + boolean uniqueConverter = true; > + for (Iterator iter = set.iterator(); iter.hasNext();) { > + if (iter.next().equals(converters[i])) { > + uniqueConverter = false; > + break; > + } > + } > + if (uniqueConverter) { > + set.add(converters[i]); > + } > + } > + } > + > > |
From: Bruce H. <bh...@bh...> - 2006-10-17 17:02:09
|
CIShell <http://cishell.org/> 0.2.0 alpha has been released! This release adds multi-step automatic data conversion, converters to support GraphML, XGMML, and Pajek file formats, File/Save and File/View, lots of bug fixes, and many useful algorithms and datasets to evaluate cishell with. The next release will be on October 30th, 2006. You can download the release at sourceforge<http://sourceforge.net/project/showfiles.php?group_id=164787&package_id=186687&release_id=456387> What is the Cyberinfrastructure Shell? The Cyberinfrastructure Shell ( CIShell) is an open source, community-driven specification for the integration and utilization of datasets, algorithms, tools, and computing resources. Support is built in for Java and most other programming languages. Being Java based, it will run on almost all platforms (currently we support Linux, Mac OSX, and Windows). The software and specification is released under an Apache 2.0 License<http://www.opensource.org/licenses/apache2.0.php>. Check out **http://cishell.org for more information. Cheers, Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA <http://sourceforge.net/project/showfiles.php?group_id=164787&package_id=186687&release_id=452368> |
From: Bruce H. <bh...@bh...> - 2006-10-11 20:45:34
|
What was the brandPluginID used for before? Bruce On 10/11/06, hu...@us... <hu...@us...> wrote: > > Revision: 266 > http://svn.sourceforge.net/cishell/?rev=266&view=rev > Author: huangb > Date: 2006-10-11 13:40:45 -0700 (Wed, 11 Oct 2006) > > Log Message: > ----------- > update the instantiation of the SaveDataChooser. Remove the input > parameter: > String brandPluginID, since it is not used. > > Modified Paths: > -------------- > > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/Save.java > > Modified: > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/Save.java > =================================================================== > --- > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/Save.java 2006-10-11 > 20:38:15 UTC (rev 265) > +++ > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/Save.java 2006-10-11 > 20:40:45 UTC (rev 266) > @@ -68,7 +68,6 @@ > SaveDataChooser sdc = new > SaveDataChooser(data[0], > parentShell, > converters, > > "title", > - > Save.class.getName(), > > context); > sdc.createContent(parentShell); > sdc.open(); > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > |
From: Bruce H. <bh...@bh...> - 2006-10-11 20:44:18
|
The reason it only checks data[0] is it is only ever passed in 1 data object, since that is what its in_data specifies. Currently there is no way to specify you can take in any number of data models. I'm not sure how best to allow that either.. Bruce On 10/11/06, hu...@us... <hu...@us...> wrote: > > Revision: 264 > http://svn.sourceforge.net/cishell/?rev=264&view=rev > Author: huangb > Date: 2006-10-11 13:36:20 -0700 (Wed, 11 Oct 2006) > > Log Message: > ----------- > Add the comments "why only check data[0]? An user can select > multiple objects from data manager." in the validate() method > > Modified Paths: > -------------- > > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/SaveFactory.java > > Modified: > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/SaveFactory.java > =================================================================== > --- > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/SaveFactory.java > 2006-10-11 20:26:21 UTC (rev 263) > +++ > trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/save/SaveFactory.java > 2006-10-11 20:36:20 UTC (rev 264) > @@ -65,6 +65,8 @@ > DataConversionService conversionManager = > (DataConversionService) context.getService( > DataConversionService.class.getName()); > > + //Fix me > + //Bonnie:why only check data[0]? An user can select > multiple objects from data manager. > Converter[] converters = conversionManager.findConverters(data[0], > "file-ext:*"); > if (converters.length == 0) { > return "No valid converters from " + > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Cishell-svn mailing list > Cis...@li... > https://lists.sourceforge.net/lists/listinfo/cishell-svn > |
From: Weixia\(Bonnie\) H. <hu...@in...> - 2006-10-06 16:10:30
|
Sure. _____ From: bh...@gm... [mailto:bh...@gm...] On Behalf Of Bruce Herr Sent: Friday, October 06, 2006 11:58 AM To: Weixia(Bonnie) Huang Cc: cis...@li...; Ben Markines; Sabbineni, Ramya; Thakre, Vivek S Subject: Re: move several libs from nwb repository to cishell repository How about we just call it cern.colt? I realize there are other packages, but in general this library is thought of as the colt library, and cern.colt is the main part of the api. Bruce On 10/6/06, Weixia(Bonnie) Huang <hu...@in...> wrote: coltlib contains several different packages: cern.colt.*, cern.jet.* and help.aida.*. so I decide to not use the classpath for it. _____ From: bh...@gm... [mailto:bh...@gm...] On Behalf Of Bruce Herr Sent: Friday, October 06, 2006 11:42 AM To: Weixia(Bonnie) Huang; cis...@li... Cc: Ben Markines; Sabbineni, Ramya; Thakre, Vivek S Subject: Re: move several libs from nwb repository to cishell repository that makes sense. please rename all those libraries you committed to 'the classpath' (e.g. edu.uci.ics.jung or org.apache.commons.collections) Bruce ps (remember to include cis...@li... on all cishell related development emails) On 10/6/06, Weixia(Bonnie) Huang < hu...@in... <mailto:hu...@in...> > wrote: All, Since Ben began to work on new conversion service in cishell, he realize that he needs du.uci.ics.junglib(v1.7.4). And since junglib has dependence on coltlib and org.apache.commons.collections, I move all of them from nwb to cishell repository. Thanks, Bonnie |
From: Bruce H. <bh...@bh...> - 2006-10-06 15:57:51
|
How about we just call it cern.colt? I realize there are other packages, but in general this library is thought of as the colt library, and cern.colt is the main part of the api. Bruce On 10/6/06, Weixia(Bonnie) Huang <hu...@in...> wrote: > > coltlib contains several different packages: cern.colt.*, cern.jet.* and > help.aida.*. so I decide to not use the classpath for it. > > > > > > ------------------------------ > > *From:* bh...@gm... [mailto:bh...@gm...] *On Behalf Of *Bruce > Herr > *Sent:* Friday, October 06, 2006 11:42 AM > *To:* Weixia(Bonnie) Huang; cis...@li... > *Cc:* Ben Markines; Sabbineni, Ramya; Thakre, Vivek S > *Subject:* Re: move several libs from nwb repository to cishell repository > > > > that makes sense. please rename all those libraries you committed to 'the > classpath' (e.g. edu.uci.ics.jung or org.apache.commons.collections) > > Bruce > > ps (remember to include cis...@li... on all > cishell related development emails) > > On 10/6/06, *Weixia(Bonnie) Huang* < hu...@in...> wrote: > > All, > > Since Ben began to work on new conversion service in cishell, he realize > that he needs du.uci.ics.junglib(v1.7.4). And since junglib has dependence > on coltlib and org.apache.commons.collections, I move all of them from nwb > to cishell repository. > > Thanks, > Bonnie > > > |
From: Weixia\(Bonnie\) H. <hu...@in...> - 2006-10-06 15:50:18
|
coltlib contains several different packages: cern.colt.*, cern.jet.* and help.aida.*. so I decide to not use the classpath for it. _____ From: bh...@gm... [mailto:bh...@gm...] On Behalf Of Bruce Herr Sent: Friday, October 06, 2006 11:42 AM To: Weixia(Bonnie) Huang; cis...@li... Cc: Ben Markines; Sabbineni, Ramya; Thakre, Vivek S Subject: Re: move several libs from nwb repository to cishell repository that makes sense. please rename all those libraries you committed to 'the classpath' (e.g. edu.uci.ics.jung or org.apache.commons.collections) Bruce ps (remember to include cis...@li... on all cishell related development emails) On 10/6/06, Weixia(Bonnie) Huang < hu...@in... <mailto:hu...@in...> > wrote: All, Since Ben began to work on new conversion service in cishell, he realize that he needs du.uci.ics.junglib(v1.7.4). And since junglib has dependence on coltlib and org.apache.commons.collections, I move all of them from nwb to cishell repository. Thanks, Bonnie |
From: Bruce H. <bh...@bh...> - 2006-10-06 15:42:23
|
that makes sense. please rename all those libraries you committed to 'the classpath' (e.g. edu.uci.ics.jung or org.apache.commons.collections) Bruce ps (remember to include cis...@li... on all cishell related development emails) On 10/6/06, Weixia(Bonnie) Huang <hu...@in...> wrote: > > All, > > Since Ben began to work on new conversion service in cishell, he realize > that he needs du.uci.ics.junglib(v1.7.4). And since junglib has dependence > on coltlib and org.apache.commons.collections, I move all of them from nwb > to cishell repository. > > Thanks, > Bonnie > > > |
From: Bruce H. <bh...@bh...> - 2006-10-04 01:40:52
|
the "Argument cannot be null" i think if on my plate w/ the gui builder. i will fix this monday morning. basically it occurs when you call guibuilder from the gui thread... w/ the data validator, are you putting both algorithmfactory and datavalidators as its interfaces in the component.xml? bruce On 9/30/06, Ben Markines <bma...@cs...> wrote: > > Some things that I think may be wrong: > > I don't think the FileLoad is setting the property AlgorithmProperty.LABE= Lfor the data 'model'. It is null during the save. > > When I execute: > String message =3D "The file:\n" + file.getPath() + "\nalready > exists. Are you sure you want to overwrite it?"; > return guiBuilder.showConfirm("File Overwrite", message, > message); > > It throws a ' java.lang.IllegalArgumentException : Argument cannot be > null'. I might be using the guiBuilder incorrectly because > showInformation() is giving me the same error. This also might be a resu= lt > of a missing plugin? > > Save will be printing to log as long as this error shows up. > > Also I have implemented DataValidator, and tried adding > <provide interface=3D > "org.cishell.framework.algorithm.DataValidator"/> > to save.xml, but am still not receiving a call to validate... how am I > supposed to register the class to receive these notifications? > > The checked in code has the following fixes for: > * File/Save should start off with a suggested name like: > data.$EXTENSION_USED or $THE_LABEL_OF_THE_DATA.$EXTENSION_USED > * File/Save using the nwb persister isn't actually saving where i tell it > to. I loaded w/ the file/load then after that went file/save, chose where= to > save it, and it wasn't saved there. > > Regards, > Ben > > > On 9/29/06, Weixia(Bonnie) Huang < hu...@in...> wrote: > > > > I have fixed all items in File =E0Load implementation and commit the > > code. Let me know if you find more problems needed to be fixed before M= onday > > release. > > > > > > > > Thanks, > > > > -Bonnie > > > > > > > > ------------------------------ > > > > *From:* bh...@gm... [mailto:bh...@gm...] *On Behalf Of *Bruce > > Herr > > *Sent:* Thursday, September 28, 2006 6:51 PM > > *To:* Weixia(Bonnie) Huang; Ben Markines; > > cis...@li... > > *Subject:* persistence plugin changes to make > > > > > > > > Ben and Bonnie, > > > > I looked over the persistence plugin. I made a couple fixes on some > > minor things (moved load and save to the start group of the File menu, = added > > OSGI-INF to build.properties...). > > > > Here are some minor things i'd like you to do: > > * I have committed the new gui builder (and updated plugins to use it). > > Please update the load and save plugins so that errors are popped up to= the > > user rather than on the console log when loading/saving. > > * Get rid of some debugging messages that are printed to system.out > > * nwb persisters should use file-ext:nwb NOT file-ext:.(dot)nwb > > * File/Save should also extend DataValidator and make itself clickable > > only when the selected datamodel(s) can possibly be saved (must have at > > least one converter) > > * File/Save should start off with a suggested name like: > > data.$EXTENSION_USED or $THE_LABEL_OF_THE_DATA.$EXTENSION_USED > > * File/Save using the nwb persister isn't actually saving where i tell > > it to. I loaded w/ the file/load then after that went file/save, chose = where > > to save it, and it wasn't saved there. > > > > Other related things: > > * We will need to make converters that will hook in file:text/nwb data > > too (what santo outputs). This may mean we need 4 converters > > (file:text/nwb->file-ext:nwb, file-ext:nwb->file:text/nwb, file:text/nw= b-> > > java.blah.NWBModel, java.blah.NWBModel->file:text/nwb). We will need > > less once we get multi-step conversions going. > > * edu.iu.nwb.converters isn't compiling... > > * Please email the developer list with any other bugs/things we need to > > fix so that we can get them done. > > > > One final thing, > > From here on out, ALL developer talk should be done through cishell-dev= el...@li... > > so that outsiders can see what we are up to and possibly join in > > discussions as well. > > > > Bruce > > > > |
From: Weixia\(Bonnie\) H. <hu...@in...> - 2006-09-29 21:38:01
|
Ben, Regarding to * File/Save using the nwb persister isn't actually saving where i tell it to. I loaded w/ the file/load then after that went file/save, chose where to save it, and it wasn't saved there. File-->Save. works in windows. But there's a bug. The new saved file can't be accessed before closing the cishell application. The error message is file "is in use by another application and cannot be accessed." Please fix it. Thanks, -Bonnie _____ From: bh...@gm... [mailto:bh...@gm...] On Behalf Of Bruce Herr Sent: Thursday, September 28, 2006 6:51 PM To: Weixia(Bonnie) Huang; Ben Markines; cis...@li... Subject: persistence plugin changes to make Ben and Bonnie, I looked over the persistence plugin. I made a couple fixes on some minor things (moved load and save to the start group of the File menu, added OSGI-INF to build.properties...). Here are some minor things i'd like you to do: * I have committed the new gui builder (and updated plugins to use it). Please update the load and save plugins so that errors are popped up to the user rather than on the console log when loading/saving. * Get rid of some debugging messages that are printed to system.out * nwb persisters should use file-ext:nwb NOT file-ext:.(dot)nwb * File/Save should also extend DataValidator and make itself clickable only when the selected datamodel(s) can possibly be saved (must have at least one converter) * File/Save should start off with a suggested name like: data.$EXTENSION_USED or $THE_LABEL_OF_THE_DATA.$EXTENSION_USED * File/Save using the nwb persister isn't actually saving where i tell it to. I loaded w/ the file/load then after that went file/save, chose where to save it, and it wasn't saved there. Other related things: * We will need to make converters that will hook in file:text/nwb data too (what santo outputs). This may mean we need 4 converters (file:text/nwb->file-ext:nwb, file-ext:nwb->file:text/nwb, file:text/nwb-> java.blah.NWBModel, java.blah.NWBModel->file:text/nwb). We will need less once we get multi-step conversions going. * edu.iu.nwb.converters isn't compiling... * Please email the developer list with any other bugs/things we need to fix so that we can get them done. One final thing, >From here on out, ALL developer talk should be done through cis...@li... so that outsiders can see what we are up to and possibly join in discussions as well. Bruce |
From: Weixia\(Bonnie\) H. <hu...@in...> - 2006-09-29 21:32:50
|
I have fixed all items in File-->Load implementation and commit the code. Let me know if you find more problems needed to be fixed before Monday release. Thanks, -Bonnie _____ From: bh...@gm... [mailto:bh...@gm...] On Behalf Of Bruce Herr Sent: Thursday, September 28, 2006 6:51 PM To: Weixia(Bonnie) Huang; Ben Markines; cis...@li... Subject: persistence plugin changes to make Ben and Bonnie, I looked over the persistence plugin. I made a couple fixes on some minor things (moved load and save to the start group of the File menu, added OSGI-INF to build.properties...). Here are some minor things i'd like you to do: * I have committed the new gui builder (and updated plugins to use it). Please update the load and save plugins so that errors are popped up to the user rather than on the console log when loading/saving. * Get rid of some debugging messages that are printed to system.out * nwb persisters should use file-ext:nwb NOT file-ext:.(dot)nwb * File/Save should also extend DataValidator and make itself clickable only when the selected datamodel(s) can possibly be saved (must have at least one converter) * File/Save should start off with a suggested name like: data.$EXTENSION_USED or $THE_LABEL_OF_THE_DATA.$EXTENSION_USED * File/Save using the nwb persister isn't actually saving where i tell it to. I loaded w/ the file/load then after that went file/save, chose where to save it, and it wasn't saved there. Other related things: * We will need to make converters that will hook in file:text/nwb data too (what santo outputs). This may mean we need 4 converters (file:text/nwb->file-ext:nwb, file-ext:nwb->file:text/nwb, file:text/nwb-> java.blah.NWBModel, java.blah.NWBModel->file:text/nwb). We will need less once we get multi-step conversions going. * edu.iu.nwb.converters isn't compiling... * Please email the developer list with any other bugs/things we need to fix so that we can get them done. One final thing, >From here on out, ALL developer talk should be done through cis...@li... so that outsiders can see what we are up to and possibly join in discussions as well. Bruce |