Creating jar
I need to create a jar file in a folder consisting the files inside the folders that are outside the current working folder. I tried a lot with -c option but i cant get it.
Let me brief what i need.
i am having some java files in the path"D:\velu"
and i need to create a jar named code.jar inside the folder"D:\velu\JarClasses".
say my current working directory(CWD) is "D:\velu\JarClasses".
Any ideas from ur experience?
[482 byte] By [
Er.Vela] at [2007-11-27 4:29:23]

Friends
when working in "D:\velu\JarClasses", i tried this command.
jar cf cons_May_10_eTime_PR_code.jar -C D:\velu\eTime *.java
it does'nt works saying that file or folder "D:\velu\eTime\*.java" not exists
But if i tried this command
jar cf cons_May_10_eTime_PR_code.jar -C D:\velu\eTime .
it works to jar all the files in "D:\velu\eTime" which is not needed.
so how could i jar only the java files.