From leavens@cs.iastate.edu Tue Mar 11 07:55:00 2003 Date: Tue, 11 Mar 2003 07:52:59 -0600 (CST) From: Gary T. Leavens To: Adam Sanford Cc: Staff for Com S 362 Subject: Re: Eclipse Hi Adam, On Tue, 11 Mar 2003, Adam Sanford wrote: > Is there something special you need to do with eclipse to get it to > "resolve" newly installed api's such as J3d for example. I have read the > installation, set class paths even though the installations said I don't > need to do that, nothing seems to work. I'm therefor blaming eclipse :) it > sounds reasonable enough to me! > > An error I'm getting is, "Unable to resolve javax.media". > > Any input would be greatly appreciated. It sounds like that you still need to set the Java build path in Eclipse. In your Eclipse session, right click on the project's icon, at the bottom of the pop-up menu, click on Properties. Then select the middle item from the left "Java Build Path". On the right a panel with 4 tabs shows. Select the third tab from the left labeled "Libraries". From the second button on the right, select "Add External Jars", and then browse for and select the jar file for J3d (e.g., c:\junit\j3d.jar). Once you've done that, click okay at the bottom. Look in the Eclipse documentation or at the web page http://www.3plus4software.de/eclipse/index_en.html for more help on Eclipse. Or see me or Tongjie if that doesn't help. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 --------------------------------------------- From leavens@cs.iastate.edu Tue Mar 25 13:55:14 2003 Date: Tue, 25 Mar 2003 13:53:53 -0600 (CST) From: Gary T. Leavens To: David A. Avila Cc: Staff for Com S 362 Subject: Re: HW7, problem 1 Hi David, On Tue, 25 Mar 2003, David A. Avila wrote: > For the first problem, you mention only use the return line if there are > values returned to the user. Can we use the return line for messages to the > user also?? Sorry, you are right. Use the return line in a SSD for both values returned and other messages to the user. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ---------------------- From leavens@cs.iastate.edu Sun Mar 30 06:41:04 2003 Date: Sun, 30 Mar 2003 06:38:40 -0600 (CST) From: Gary T. Leavens To: Ritesh Desai Cc: Staff for Com S 362 Subject: RE: Homework 7 due date Hi Ritesh, On Sun, 30 Mar 2003, Ritesh Desai wrote: > Hey is problem 2 for hw 7 still due on Monday or Wednesday, because I > thought you were postponing it again. No, it's still due on Monday. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 --------------------------------------------- From leavens@cs.iastate.edu Sun Mar 30 11:00:30 2003 Date: Sun, 30 Mar 2003 11:00:15 -0600 (CST) From: Gary T. Leavens To: Emily Ericson Cc: Staff for Com S 362 Subject: Re: Hw8 Hi Emily, On Sun, 30 Mar 2003, Emily Ericson wrote: > I was wondering about part (iii) of homework 8, it says that all parts of the > homework should be on the web page. Is there any specific place we should put > the justification for our choice of use cases or should we just crate a new > page? I don't have any particular place for it, anywhere is fine. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 --------------------------------------------- From leavens@cs.iastate.edu Thu Apr 3 15:00:27 2003 Date: Thu, 3 Apr 2003 14:59:57 -0600 (CST) From: Gary T. Leavens To: Matthew M. Oehlerking Cc: Staff for Com S 362 Subject: RE: COMS 362: Re: Unix permission groups for 362 (fwd) Hi Matthew, On Thu, 3 Apr 2003, Matthew M. Oehlerking wrote: > Are you going to go over CVS and how to use it, in particular how to use > it with Eclipse? I have used MS SourceSafe and am familiar with what > CVS does but I do not know how to use it or even where the repository is > in relation to the CS machines. There is a web page, http://www.cs.iastate.edu/~leavens/ComS362/using_cvs.shtml that has (I think) what you need to know to use CVS on our machines. It basically refers you to the Eclipse documentation for using CVS with Eclipse, but it tells you how to find that documentation. I can also answer questions if you like... -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 --------------------------------------------- From leavens@cs.iastate.edu Sat Apr 5 18:34:40 2003 Date: Sat, 5 Apr 2003 18:34:23 -0600 (CST) From: Gary T. Leavens To: kwendzel@iastate.edu Cc: Staff for Com S 362 Subject: Re: CS 362: Help with code hi Kevin, On Sat, 5 Apr 2003 kwendzel@iastate.edu wrote: > I'm trying to write my portion of the code for our group's project, and am > still having problems with one aspect of it. I attached the source but shrunk > it down so only code applicable to my problem would be included. > > I am storing the names of all the files in the local directory into an array > of strings. I'm then looking at the array one element at a time and looking > specifically at the last 5 characters of the string (via the substring > command). What I'm trying to accomplish is to filter the list by extensions, > so right now I'm testing for .java files in my current directory. I am having > no problems extracting the ".java" from java source files, but when I compare > that with the string ".java", it never matches. What am I doing wrong. The problem is in the code: if (test == test2) //If test == ".java") you are comparing using ==, which compares the object identities of strings. You should instead use .equals to compare the values (characters) in the strings. Let me know if that doesn't work. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 --------------------------------------------- From leavens@cs.iastate.edu Sun Apr 6 14:55:23 2003 Date: Sun, 6 Apr 2003 14:53:14 -0500 (CDT) From: Gary T. Leavens To: Joe Lahart Cc: cs362s@cs.iastate.edu Subject: Re: UML software Hi Joe, Curt used something called "omnigraffle", which only works on the mac. On Sun, 6 Apr 2003, Joe Lahart wrote: > I was wondering what software was used to make all of the UML diagrams on > the Sticksync page -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ---------------------------------------------