254Lecture5: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m 1 revision(s) |
(No difference)
|
Latest revision as of 22:35, 8 March 2008
by nasser
Lecture on Basics
- Paths
- Packages/JARs
- Class paths
- tidiness
- ant
- JUnit
Command prompt
- dir
- dir /b > in.txt
- dir /b > in2.txt
- fc in.txt in2.txt ? diff.txt
- sort in.txt > res.txt
Paths
- echo this is fuyn!! - (what he wrote)
- echo %path%
- set path=%path%
- does nothing
- set path=%path%;01
- makes it the subdir 01
- jar of mylib.jar
- set pather=%path% semi colon
- javac -classpath mylib.jar Main.java
- java -classpath mylib.jar Main (look inside the jar file to find the file)
- javac -d E:\....\bin *.java
- jar tf JabRef-2.0.1.jar ( his example jar file )
- jar xf JabRef-2.0.1.jar ??
- jar cf myjob.jar * (cf= create file)
- jar cfm mylib.jar mine.txt * (manifest file)
Lab tomorrow morning.