This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

ever hear of OOPad?

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It said freeware, so here I am. I downloaded this OOPad111 from CDNET.com, something to play around with and hopefully learn a thing or two.
I'm supposed to change one of the batch files over to my directories (evidently, I should know which one by looking at them.) And then run a .jar file from the command line. Well, I think I have the right files picked out: cpath.bat and OOPad.jar (an executable .jar file)
So, I'm thinking, Should I incorporate cpath.bat into the classpath in AUTOEXEC.BAT, or rewrite the classpath in cpath.bat itself?? I'm thinking the former, but documentation sounds like it suggests the latter. Will not two set classpath statements cause conflict??
BTW - OPPad URL: http://home.i1.net/~paladin
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. I never heard of OOPad
[This message has been edited by Michael Finney (edited October 19, 2000).]
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, I know it is not an editor.
The http://home.i1.net/~paladin/paladin/anansi/oopad.html told me so.
 
Steven YaegerII
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was in the tutorial section, if I remember correctly, at CDNET.com. It said something about learning OOP concepts. Guess I need to take a .jar tutorial first.
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you set the classpath and set it again, the first will be lost.
Unless, a setlocal is done first.
What windows operating system? 98?
Here is an example of what I did to run argo a long time ago.

setlocal
call setclass
ECHO c:\jdk1.1.8\bin\java uci.uml.Main
c:\jdk1.1.8\bin\java uci.uml.Main
ECHO done with java uci.uml.Main
endlocal
Anyway, this may help you with running jars.
http://www.javasoft.com/docs/books/tutorial/jar/basics/run.html
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what the setclass.bat file looked like. I do not know if any of this is helpful.
(BTW, running argo has become a lot easier lately. http://argouml.tigris.org/ I just do this now java -jar argouml-0.8.1.jar )

@ECHO OFF

set javalibroot=c:\jdk1.1.8\lib
rem this is where I put my class files
set classpath=.
rem this is where jdk's standard classes are
set classpath=%classpath%;%javalibroot%\classes.zip
rem for ARGO UML
rem set classpath=%classpath%;c:\argo\argouml070.jar
set classpath=%classpath%;c:\MichaelsHD\argo\argouml070.jar
rem this is needed for swing
rem set classpath=%classpath%;%javalibroot%\swingall.jar
rem set classpath=%classpath%;D:\Swing-1.1.1\swingall.jar
set classpath=%classpath%;C:\Swing-1.1.1\swingall.jar
rem set classpath=%classpath%;C:\argo\xml4j.jar
set classpath=%classpath%;C:\MichaelsHD\argo\xml4j.jar
@ECHO OFF

rem classes.zip from your JDK distribution argouml070.jar swing-1.1.1-beta2/swing.jar xml4j.jar
echo %CLASSPATH%

 
Steven YaegerII
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Micheal,
Ah yes, I love the pain! I've had ArgoUML for a few days now, waiting to see if I could finally get OOPad working. I changed the classname in the Main-Class of the manifest to the .class file instead of the .java one. Then I copied the .zip file to a fresh folder, and went through Sun's tutorial and did every thing from the cmmd line. For now it's a lost cause.
No time to fret, though. I was wondering, since you have ArgoUML, would you mind walking me through it? The readme doc says to change settings to uci, graphedit, and util, which are all folders??? I cannot see any batch files or a manifest file. I will start from the .zip download. Would you have time for this?
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not follow everything you posted.
all I had to do was java -jar argouml-0.8.1.jar
 
Steven YaegerII
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's no biggie.....maybe when school's out I'll come back to it and play around some more. I still have to finish the 1.4 revision, too. I think when I am done with it I am going to take a break and practice methods for awhile, so I can get better at them.
I probally had no business trying it in the first place. It sure seemed pretty simple until I started seeing conflicting information. I'll try to keep it simple next time.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!